Home
last modified time | relevance | path

Searched refs:Item (Results 1 – 17 of 17) sorted by relevance

/hal_espressif-3.6.0/components/nvs_flash/src/
Dnvs_types.cpp20 uint32_t Item::calculateCrc32() const in calculateCrc32()
24 result = esp_rom_crc32_le(result, p + offsetof(Item, nsIndex), in calculateCrc32()
25 offsetof(Item, crc32) - offsetof(Item, nsIndex)); in calculateCrc32()
26 result = esp_rom_crc32_le(result, p + offsetof(Item, key), sizeof(key)); in calculateCrc32()
27 result = esp_rom_crc32_le(result, p + offsetof(Item, data), sizeof(data)); in calculateCrc32()
31 uint32_t Item::calculateCrc32WithoutValue() const in calculateCrc32WithoutValue()
35 result = esp_rom_crc32_le(result, p + offsetof(Item, nsIndex), in calculateCrc32WithoutValue()
36 offsetof(Item, datatype) - offsetof(Item, nsIndex)); in calculateCrc32WithoutValue()
37 result = esp_rom_crc32_le(result, p + offsetof(Item, key), sizeof(key)); in calculateCrc32WithoutValue()
38 result = esp_rom_crc32_le(result, p + offsetof(Item, chunkIndex), sizeof(chunkIndex)); in calculateCrc32WithoutValue()
[all …]
Dnvs_page.cpp93 esp_err_t Page::writeEntry(const Item& item) in writeEntry()
168 Item item; in writeItem()
187 if (keySize > Item::MAX_KEY_LENGTH) { in writeItem()
218 item = Item(nsIndex, datatype, span, key, chunkIdx); in writeItem()
234 item.varLength.dataCrc32 = Item::calculateCrc32(src, dataSize); in writeItem()
269 Item item; in readItem()
296 Item ditem; in readItem()
307 …if (Item::calculateCrc32(reinterpret_cast<uint8_t*>(data), item.varLength.dataSize) != item.varLen… in readItem()
320 Item item; in cmpItem()
349 Item ditem; in cmpItem()
[all …]
Dnvs_storage.cpp37 Item item; in populateBlobIndices()
66 Item item; in eraseOrphanDataBlobs()
103 Item item; in init()
148 esp_err_t Storage::findItem(uint8_t nsIndex, ItemType datatype, const char* key, Page* &page, Item&… in findItem()
241 Item item; in writeMultiPageBlob()
271 Item item; in writeItem()
439 Item item; in readMultiPageBlob()
481 Item item; in cmpMultiPageBlob()
527 Item item; in readItem()
549 Item item; in eraseMultiPageBlob()
[all …]
Dnvs_storage.hpp39 char mName[Item::MAX_KEY_LENGTH + 1];
53 char key[Item::MAX_KEY_LENGTH + 1];
151 void fillEntryInfo(Item &item, nvs_entry_info_t &info);
153 …esp_err_t findItem(uint8_t nsIndex, ItemType datatype, const char* key, Page* &page, Item& item, u…
Dnvs_types.hpp50 class Item class
85Item(uint8_t nsIndex, ItemType datatype, uint8_t span, const char* key_, uint8_t chunkIdx = CHUNK_… in Item() function in nvs::Item
98 Item() in Item() function in nvs::Item
Dnvs_page.hpp55 static const uint8_t CHUNK_ANY = Item::CHUNK_ANY;
106 …esp_err_t findItem(uint8_t nsIndex, ItemType datatype, const char* key, size_t &itemIndex, Item& i…
192 esp_err_t readEntry(size_t index, Item& dst) const;
194 esp_err_t writeEntry(const Item& item);
Dnvs_item_hash_list.hpp31 esp_err_t insert(const Item& item, size_t index);
33 size_t find(size_t start, const Item& item);
Dnvs_encrypted_partition.cpp46 if (size != sizeof(Item)) return ESP_ERR_INVALID_SIZE; in read()
85 uint8_t entrySize = sizeof(Item); in write()
Dnvs_item_hash_list.cpp45 esp_err_t HashList::insert(const Item& item, size_t index) in insert()
106 size_t HashList::find(size_t start, const Item& item) in find()
Dnvs_pagemanager.cpp66 Item item; in load()
/hal_espressif-3.6.0/components/nvs_flash/host_test/nvs_page_test/main/
Dnvs_page_test.cpp730 Item item; in test_Page_findItem__uninitialized()
739 Item item; in test_Page_find__wrong_ns()
749 Item item; in test_Page_find__wrong_type()
763 Item item; in test_Page_find__key_empty()
773 Item item; in test_Page_find__wrong_key()
783 Item item; in test_Page_find__too_large_index()
/hal_espressif-3.6.0/components/nvs_flash/test_nvs_host/
Dtest_nvs.cpp56 Item item1;
66 Item item2 = item1;
80 strncpy(item2.key, "foo", Item::MAX_KEY_LENGTH);
310 Item item(1, ItemType::U32, 1, key);
324 Item item(1, ItemType::U32, 1, key);
517 char name[Item::MAX_KEY_LENGTH + 1];
544 char name[Item::MAX_KEY_LENGTH];
570 char name[Item::MAX_KEY_LENGTH + 1];
1616 nvs::Item item(1, ItemType::U8, 1, "opmode");
1694 char item_name[Item::MAX_KEY_LENGTH + 1];
[all …]
/hal_espressif-3.6.0/tools/kconfig_new/
DREADME.md98 ### KConfig Item Types
/hal_espressif-3.6.0/docs/en/api-reference/system/
Dfreertos_additions.rst40 … Allow-Split buffers will **require an additional 8 bytes for a header**. Item sizes will also be …
121 //Return Item
177 //Return Item
/hal_espressif-3.6.0/docs/en/api-reference/storage/
Dnvs_flash.rst367 Item hash list
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble/ble_compatibility_test/
Desp_ble_compatibility_test_report.md22 <td colspan="9" font size="2" align="center">Test Item</td>
/hal_espressif-3.6.0/tools/test_idf_size/
Doverflow_esp32c3.map543 … esp-idf/nvs_flash/libnvs_flash.a(nvs_page.cpp.obj) (nvs::Item::calculateCrc32() const)
35507 …ge::findItem(unsigned char, nvs::ItemType, char const*, nvs::Page*&, nvs::Item&, unsigned char, nv…
35664 … 0x000000004200c466 nvs::HashList::insert(nvs::Item const&, unsigned int)
35670 … 0x000000004200c5ae nvs::HashList::find(unsigned int, nvs::Item const&)
35691 0x000000004200c8d6 nvs::Page::writeEntry(nvs::Item const&)
35706 … 0x000000004200ce72 nvs::Page::readEntry(unsigned int, nvs::Item&) const
35718 …::findItem(unsigned char, nvs::ItemType, char const*, unsigned int&, nvs::Item&, unsigned char, nv…
35763 0x000000004200e288 nvs::Item::calculateCrc32() const
35766 0x000000004200e2c2 nvs::Item::calculateCrc32WithoutValue() const
35769 … 0x000000004200e2fc nvs::Item::calculateCrc32(unsigned char const*, unsigned int)
[all …]