Home
last modified time | relevance | path

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

/hal_espressif-2.7.6/components/nvs_flash/src/
Dnvs_types.cpp24 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 …]
Dnvs_page.cpp105 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 …]
Dnvs_storage.cpp45 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 …]
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_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_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_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…
191 esp_err_t readEntry(size_t index, Item& dst) const;
193 esp_err_t writeEntry(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-2.7.6/components/nvs_flash/host_test/nvs_page_test/main/
Dnvs_page_test.cpp665 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()
/hal_espressif-2.7.6/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);
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 …]
/hal_espressif-2.7.6/tools/kconfig_new/
DREADME.md98 ### KConfig Item Types
/hal_espressif-2.7.6/docs/en/api-reference/system/
Dfreertos_additions.rst55Item sizes will also be rounded up to a 32-bit aligned size (multiple of 4 bytes), however the true
144 //Return Item
202 //Return Item
/hal_espressif-2.7.6/components/nvs_flash/
DREADME.rst247 Item hash list
/hal_espressif-2.7.6/examples/bluetooth/bluedroid/ble/ble_compatibility_test/
Desp_ble_compatibility_test_report.md22 <td colspan="9" font size="2" align="center">Test Item</td>