Home
last modified time | relevance | path

Searched refs:readItem (Results 1 – 8 of 8) sorted by relevance

/hal_espressif-3.6.0/components/nvs_flash/src/
Dnvs_handle_simple.cpp36 return mStoragePtr->readItem(mNsIndex, datatype, key, data, dataSize); in get_typed_item()
59 return mStoragePtr->readItem(mNsIndex, nvs::ItemType::SZ, key, out_str, len); in get_string()
66 return mStoragePtr->readItem(mNsIndex, nvs::ItemType::BLOB, key, out_blob, len); in get_blob()
Dnvs_storage.hpp78 …esp_err_t readItem(uint8_t nsIndex, ItemType datatype, const char* key, void* data, size_t dataSiz…
91 esp_err_t readItem(uint8_t nsIndex, const char* key, T& value) in readItem() function in nvs::Storage
93 return readItem(nsIndex, itemTypeOf(value), key, &value, sizeof(value)); in readItem()
Dnvs_page.hpp98 …esp_err_t readItem(uint8_t nsIndex, ItemType datatype, const char* key, void* data, size_t dataSiz…
115 esp_err_t readItem(uint8_t nsIndex, const char* key, T& value) in readItem() function in nvs::Page
117 return readItem(nsIndex, itemTypeOf(value), key, &value, sizeof(value)); in readItem()
Dnvs_storage.cpp463 …err = findPage->readItem(nsIndex, ItemType::BLOB_DATA, key, static_cast<uint8_t*>(data) + offset, … in readMultiPageBlob()
521 esp_err_t Storage::readItem(uint8_t nsIndex, ItemType datatype, const char* key, void* data, size_t… in readItem() function in nvs::Storage
540 return findPage->readItem(nsIndex, datatype, key, data, dataSize); in readItem()
Dnvs_page.cpp266 esp_err_t Page::readItem(uint8_t nsIndex, ItemType datatype, const char* key, void* data, size_t da… in readItem() function in nvs::Page
/hal_espressif-3.6.0/components/nvs_flash/host_test/nvs_page_test/main/
Dnvs_page_test.cpp294 …TEST_ASSERT_EQUAL(ESP_FAIL, fix.page.readItem(NVSValidPageFixture::NS_INDEX, "test_value", read_va… in test_Page_readItem__read_entry_fails()
327 …TEST_ASSERT_EQUAL(ESP_ERR_NVS_NOT_FOUND, fix.page.readItem(NVSValidPageFixture::NS_INDEX, "test_va… in test_Page_readItem__read_corrupted_entry()
355 …TEST_ASSERT_EQUAL(ESP_FAIL, fix.page.readItem(NVSValidPageFixture::NS_INDEX, "test_value", read_va… in test_Page_readItem__read_corrupted_second_read_fail()
385 …TEST_ASSERT_EQUAL(ESP_FAIL, fix.page.readItem(NVSValidPageFixture::NS_INDEX, "test_value", read_va… in test_Page_readItem__read_corrupted_erase_fail()
403 …TEST_ASSERT_EQUAL(ESP_OK, fix.page.readItem(NVSValidPageFixture::NS_INDEX, "test_value", read_valu… in test_Page_readItem__read_entry_suceeds()
428 TEST_ASSERT_EQUAL(ESP_FAIL, fix.page.readItem(NVSValidPageFixture::NS_INDEX, in test_Page_readItem__blob_read_data_fails()
462 TEST_ASSERT_EQUAL(ESP_FAIL, fix.page.readItem(NVSValidPageFixture::NS_INDEX, in test_Page_readItem__corrupt_data_erase_failure()
502 TEST_ASSERT_EQUAL(ESP_ERR_NVS_NOT_FOUND, fix.page.readItem(NVSValidPageFixture::NS_INDEX, in test_Page_readItem__blob_corrupt_data()
531 TEST_ASSERT_EQUAL(ESP_OK, fix.page.readItem(NVSValidPageFixture::NS_INDEX, in test_Page_readItem__blob_read_entry_suceeds()
/hal_espressif-3.6.0/components/nvs_flash/test_nvs_host/
Dtest_nvs.cpp104 CHECK(page.readItem(2, ItemType::I32, "intval1", &readVal, sizeof(readVal)) == ESP_OK);
116 … CHECK(page.readItem(1, ItemType::U32, "intval1", &val, sizeof(val)) == ESP_ERR_NVS_TYPE_MISMATCH);
209 CHECK(page.readItem(1, "stuff1", value) == ESP_OK);
211 CHECK(page.readItem(1, "stuff2", value) == ESP_OK);
213 CHECK(page.readItem(1, "stuff3", value) == ESP_OK);
215 CHECK(page.readItem(1, "stuff4", value) == ESP_OK);
219 CHECK(page.readItem(1, ItemType::SZ, "foobaar", buf, sizeof(buf)) == ESP_OK);
223 CHECK(page.readItem(1, ItemType::BLOB, "baz", buf, sizeof(buf)) == ESP_OK);
238 TEST_ESP_OK(page.readItem(1, keyname, value));
241 TEST_ESP_OK(page.readItem(1, keyname, value));
[all …]
/hal_espressif-3.6.0/tools/test_idf_size/
Doverflow_esp32c3.map35522 …0x000000004200b64c nvs::Storage::readItem(unsigned char, nvs::ItemType, char const*…
35724 …0x000000004200d4e8 nvs::Page::readItem(unsigned char, nvs::ItemType, char const*, v…
70617 nvs::Page::readItem(unsigned char, nvs::ItemType, char const*, void*, unsigned int, unsigned char, …
70667 nvs::Storage::readItem(unsigned char, nvs::ItemType, char const*, void*, unsigned int) esp-idf/nvs_…