Home
last modified time | relevance | path

Searched refs:findItem (Results 1 – 10 of 10) sorted by relevance

/hal_espressif-3.6.0/components/nvs_flash/src/
Dnvs_storage.cpp43 while (p.findItem(Page::NS_ANY, ItemType::BLOB_IDX, nullptr, itemIndex, item) == ESP_OK) { in populateBlobIndices()
72 while (p.findItem(Page::NS_ANY, ItemType::BLOB_DATA, nullptr, itemIndex, item) == ESP_OK) { in eraseOrphanDataBlobs()
104 while (p.findItem(Page::NS_INDEX, ItemType::U8, nullptr, itemIndex, item) == ESP_OK) { in init()
148 esp_err_t Storage::findItem(uint8_t nsIndex, ItemType datatype, const char* key, Page* &page, Item&… in findItem() function in nvs::Storage
152 auto err = it->findItem(nsIndex, datatype, key, itemIndex, item, chunkIdx, chunkStart); in findItem()
275 err = findItem(nsIndex, ItemType::BLOB_IDX, key, findPage, item); in writeItem()
277 err = findItem(nsIndex, datatype, key, findPage, item); in writeItem()
297 ESP_ERROR_CHECK(findItem(nsIndex, datatype, key, findPage, item)); in writeItem()
331 err = findItem(nsIndex, datatype, key, findPage, item); in writeItem()
374 ESP_ERROR_CHECK(findItem(nsIndex, datatype, key, findPage, item)); in writeItem()
[all …]
Dnvs_page.cpp275 esp_err_t rc = findItem(nsIndex, datatype, key, index, item, chunkIdx, chunkStart); in readItem()
326 esp_err_t rc = findItem(nsIndex, datatype, key, index, item, chunkIdx, chunkStart); in cmpItem()
373 esp_err_t rc = findItem(nsIndex, datatype, key, index, item, chunkIdx, chunkStart); in eraseItem()
380 esp_err_t Page::findItem(uint8_t nsIndex, ItemType datatype, const char* key, uint8_t chunkIdx, Ver… in findItem() function in nvs::Page
384 return findItem(nsIndex, datatype, key, index, item, chunkIdx, chunkStart); in findItem()
663 if (findItem(item.nsIndex, item.datatype, item.key, findItemIndex, dupItem) == ESP_OK) { in mLoadEntryTable()
808 esp_err_t Page::findItem(uint8_t nsIndex, ItemType datatype, const char* key, size_t &itemIndex, It… in findItem() function in nvs::Page
Dnvs_page.hpp104 …esp_err_t findItem(uint8_t nsIndex, ItemType datatype, const char* key, uint8_t chunkIdx = CHUNK_A…
106 …esp_err_t findItem(uint8_t nsIndex, ItemType datatype, const char* key, size_t &itemIndex, Item& i…
Dnvs_storage.hpp153 …esp_err_t findItem(uint8_t nsIndex, ItemType datatype, const char* key, Page* &page, Item& item, u…
Dnvs_pagemanager.cpp68 while (lastPage.findItem(Page::NS_ANY, ItemType::ANY, nullptr, itemIndex, item) == ESP_OK) { in load()
/hal_espressif-3.6.0/components/nvs_flash/host_test/nvs_page_test/main/
Dnvs_page_test.cpp732 … page.findItem(NVSValidPageFixture::NS_INDEX, nvs::ItemType::U8, "test_value", index, item)); in test_Page_findItem__uninitialized()
742 …fix.page.findItem(NVSValidPageFixture::NS_INDEX + 1, nvs::ItemType::U8, "test_value", index, item)… in test_Page_find__wrong_ns()
756 … fix.page.findItem(NVSValidPageFixture::NS_INDEX, nvs::ItemType::I8, "test_value", index, item)); in test_Page_find__wrong_type()
766 fix.page.findItem(NVSValidPageFixture::NS_INDEX, nvs::ItemType::U8, "", index, item)); in test_Page_find__key_empty()
776 … fix.page.findItem(NVSValidPageFixture::NS_INDEX, nvs::ItemType::U8, "different", index, item)); in test_Page_find__wrong_key()
786 … fix.page.findItem(NVSValidPageFixture::NS_INDEX, nvs::ItemType::U8, "test_value", index, item)); in test_Page_find__too_large_index()
794 fix.page.findItem(NVSValidPageFixture::NS_INDEX, nvs::ItemType::U8, "different")); in test_Page_findItem__without_read()
/hal_espressif-3.6.0/components/nvs_flash/test_nvs_host/
Dtest_nvs.cpp421 CHECK(page.findItem(1, itemTypeOf<int>(), "bar") == ESP_ERR_NVS_NOT_FOUND);
423 CHECK(page.findItem(1, itemTypeOf<int>(), "bar") == ESP_OK);
507 CHECK(page.findItem(Page::NS_INDEX, ItemType::U8, "wifi") == ESP_OK);
1738 TEST_ESP_ERR(p.findItem(0, ItemType::SZ, "key"), ESP_ERR_NVS_NOT_FOUND);
2321 TEST_ESP_OK(p.findItem(1, ItemType::BLOB, "dummyHex2BinKey"));
2331 TEST_ESP_ERR(p2.findItem(1, ItemType::BLOB, "dummyHex2BinKey"), ESP_ERR_NVS_TYPE_MISMATCH);
2334 TEST_ESP_OK(p2.findItem(1, ItemType::BLOB_IDX, "dummyHex2BinKey"));
2399 TEST_ESP_OK(p.findItem(1, ItemType::BLOB, "singlepage"));
2427 …if(!oldVerPresent && p.findItem(1, ItemType::BLOB, "singlepage", Item::CHUNK_ANY, VerOffset::VER_A…
2431 …if(!newVerPresent && p.findItem(1, ItemType::BLOB_IDX, "singlepage", Item::CHUNK_ANY, VerOffset::V…
[all …]
/hal_espressif-3.6.0/docs/zh_CN/api-reference/storage/
Dnvs_flash.rst370 …象均设有一个列表,包含一对数据:条目索引和条目哈希值。该列表可大大提高检索速度,而无需迭代所有条目并逐个从 flash 中读取。``Page::findItem`` 首先从哈希列表中检索条目哈希值…
/hal_espressif-3.6.0/docs/en/api-reference/storage/
Dnvs_flash.rst370 …erating over all entries, reading them from flash one at a time, `Page::findItem` first performs a…
/hal_espressif-3.6.0/tools/test_idf_size/
Doverflow_esp32c3.map35507 …0x000000004200afe8 nvs::Storage::findItem(unsigned char, nvs::ItemType, char const*…
35718 …0x000000004200d17c nvs::Page::findItem(unsigned char, nvs::ItemType, char const*, u…
70599 nvs::Page::findItem(unsigned char, nvs::ItemType, char const*, unsigned char, nvs::VerOffset) esp-i…
70600 nvs::Page::findItem(unsigned char, nvs::ItemType, char const*, unsigned int&, nvs::Item&, unsigned …
70656 nvs::Storage::findItem(unsigned char, nvs::ItemType, char const*, nvs::Page*&, nvs::Item&, unsigned…