Searched refs:Item (Results 1 – 16 of 16) sorted by relevance
24 uint32_t Item::calculateCrc32() const in calculateCrc32()28 result = esp_rom_crc32_le(result, p + offsetof(Item, nsIndex), in calculateCrc32()29 offsetof(Item, crc32) - offsetof(Item, nsIndex)); in calculateCrc32()30 result = esp_rom_crc32_le(result, p + offsetof(Item, key), sizeof(key)); in calculateCrc32()31 result = esp_rom_crc32_le(result, p + offsetof(Item, data), sizeof(data)); in calculateCrc32()35 uint32_t Item::calculateCrc32WithoutValue() const in calculateCrc32WithoutValue()39 result = esp_rom_crc32_le(result, p + offsetof(Item, nsIndex), in calculateCrc32WithoutValue()40 offsetof(Item, datatype) - offsetof(Item, nsIndex)); in calculateCrc32WithoutValue()41 result = esp_rom_crc32_le(result, p + offsetof(Item, key), sizeof(key)); in calculateCrc32WithoutValue()42 result = esp_rom_crc32_le(result, p + offsetof(Item, chunkIndex), sizeof(chunkIndex)); in calculateCrc32WithoutValue()[all …]
105 esp_err_t Page::writeEntry(const Item& item) in writeEntry()180 Item item; in writeItem()199 if (keySize > Item::MAX_KEY_LENGTH) { in writeItem()226 item = Item(nsIndex, datatype, span, key, chunkIdx); in writeItem()242 item.varLength.dataCrc32 = Item::calculateCrc32(src, dataSize); in writeItem()276 Item item; in readItem()303 Item ditem; in readItem()314 …if (Item::calculateCrc32(reinterpret_cast<uint8_t*>(data), item.varLength.dataSize) != item.varLen… in readItem()327 Item item; in cmpItem()356 Item ditem; in cmpItem()[all …]
45 Item item; in populateBlobIndices()74 Item item; in eraseOrphanDataBlobs()111 Item item; in init()156 esp_err_t Storage::findItem(uint8_t nsIndex, ItemType datatype, const char* key, Page* &page, Item&… in findItem()249 Item item; in writeMultiPageBlob()279 Item item; in writeItem()447 Item item; in readMultiPageBlob()490 Item item; in cmpMultiPageBlob()536 Item item; in readItem()558 Item item; in eraseMultiPageBlob()[all …]
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
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…
31 esp_err_t insert(const Item& item, size_t index);33 size_t find(size_t start, const Item& 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…191 esp_err_t readEntry(size_t index, Item& dst) const;193 esp_err_t writeEntry(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()
665 Item item; in test_Page_findItem__uninitialized()674 Item item; in test_Page_find__wrong_ns()684 Item item; in test_Page_find__wrong_type()698 Item item; in test_Page_find__key_empty()708 Item item; in test_Page_find__wrong_key()718 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);323 Item item(1, ItemType::U32, 1, key);516 char name[Item::MAX_KEY_LENGTH + 1];543 char name[Item::MAX_KEY_LENGTH];569 char name[Item::MAX_KEY_LENGTH + 1];1611 nvs::Item item(1, ItemType::U8, 1, "opmode");1689 char item_name[Item::MAX_KEY_LENGTH + 1];[all …]
98 ### KConfig Item Types
55 …Item sizes will also be rounded up to a 32-bit aligned size (multiple of 4 bytes), however the true144 //Return Item202 //Return Item
247 Item hash list
22 <td colspan="9" font size="2" align="center">Test Item</td>