Searched refs:handle_1 (Results 1 – 3 of 3) sorted by relevance
/hal_espressif-3.6.0/components/nvs_flash/test/ |
D | test_nvs.c | 55 nvs_handle_t handle_1; variable 64 TEST_ESP_OK(nvs_open("deinit_ns", NVS_READWRITE, &handle_1)); 70 nvs_handle_t handle_1; variable 79 TEST_ESP_ERR(ESP_ERR_NVS_NOT_FOUND, nvs_open("test_namespace1", NVS_READONLY, &handle_1)); 81 TEST_ESP_ERR(ESP_ERR_NVS_INVALID_HANDLE, nvs_set_i32(handle_1, "foo", 0x12345678)); 82 nvs_close(handle_1); 84 TEST_ESP_OK(nvs_open("test_namespace2", NVS_READWRITE, &handle_1)); 85 TEST_ESP_OK(nvs_erase_all(handle_1)); 86 TEST_ESP_OK(nvs_set_i32(handle_1, "foo", 0x12345678)); 87 TEST_ESP_OK(nvs_set_i32(handle_1, "foo", 0x23456789)); [all …]
|
/hal_espressif-3.6.0/components/nvs_flash/test_nvs_host/ |
D | test_nvs.cpp | 590 nvs_handle_t handle_1; variable 602 TEST_ESP_OK(nvs_open("const_name", NVS_READWRITE, &handle_1)); 607 nvs_close(handle_1); 619 nvs_handle_t handle_1; variable 629 TEST_ESP_OK(nvs_open("ro_ns", NVS_READWRITE, &handle_1)); 630 nvs_close(handle_1); 632 TEST_ESP_OK(nvs_open("ro_ns", NVS_READONLY, &handle_1)); 633 TEST_ESP_ERR(nvs_set_i32(handle_1, "key", 47), ESP_ERR_NVS_READ_ONLY); 634 TEST_ESP_ERR(nvs_set_str(handle_1, "key", str), ESP_ERR_NVS_READ_ONLY); 635 TEST_ESP_ERR(nvs_set_blob(handle_1, "key", blob, 8), ESP_ERR_NVS_READ_ONLY); [all …]
|
D | test_nvs_handle.cpp | 93 NVSHandleSimple *handle_1; variable 103 …r::get_instance()->open_handle(NVS_DEFAULT_PART_NAME, "ns_1", NVS_READWRITE, &handle_1) == ESP_OK); 106 delete handle_1;
|