Searched refs:Item (Results 1 – 17 of 17) sorted by relevance
20 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 …]
93 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 …]
37 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 …]
39 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…
50 class Item class85 …Item(uint8_t nsIndex, ItemType datatype, uint8_t span, const char* key_, uint8_t chunkIdx = CHUNK_… in Item() function in nvs::Item98 Item() in Item() function in nvs::Item
55 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);
31 esp_err_t insert(const Item& item, size_t index);33 size_t find(size_t start, const Item& item);
46 if (size != sizeof(Item)) return ESP_ERR_INVALID_SIZE; in read()85 uint8_t entrySize = sizeof(Item); in write()
45 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()
66 Item item; in load()
730 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()
56 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 …]
98 ### KConfig Item Types
40 … Allow-Split buffers will **require an additional 8 bytes for a header**. Item sizes will also be …121 //Return Item177 //Return Item
367 Item hash list
22 <td colspan="9" font size="2" align="center">Test Item</td>
543 … 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&) const35718 …::findItem(unsigned char, nvs::ItemType, char const*, unsigned int&, nvs::Item&, unsigned char, nv…35763 0x000000004200e288 nvs::Item::calculateCrc32() const35766 0x000000004200e2c2 nvs::Item::calculateCrc32WithoutValue() const35769 … 0x000000004200e2fc nvs::Item::calculateCrc32(unsigned char const*, unsigned int)[all …]