Home
last modified time | relevance | path

Searched refs:writeItem (Results 1 – 5 of 5) sorted by relevance

/device/soc/esp/esp32/components/nvs_flash/src/
Dnvs_handle_simple.cpp29 return mStoragePtr->writeItem(mNsIndex, datatype, key, data, dataSize); in set_typed_item()
44 return mStoragePtr->writeItem(mNsIndex, nvs::ItemType::SZ, key, str, strlen(str) + 1); in set_string()
52 return mStoragePtr->writeItem(mNsIndex, nvs::ItemType::BLOB, key, blob, len); in set_blob()
Dnvs_storage.hpp76 …esp_err_t writeItem(uint8_t nsIndex, ItemType datatype, const char* key, const void* data, size_t …
85 esp_err_t writeItem(uint8_t nsIndex, const char* key, const T& value) in writeItem() function in nvs::Storage
87 return writeItem(nsIndex, itemTypeOf(value), key, &value, sizeof(value)); in writeItem()
Dnvs_page.hpp96 …esp_err_t writeItem(uint8_t nsIndex, ItemType datatype, const char* key, const void* data, size_t …
109 esp_err_t writeItem(uint8_t nsIndex, const char* key, const T& value) in writeItem() function in nvs::Page
111 return writeItem(nsIndex, itemTypeOf(value), key, &value, sizeof(value)); in writeItem()
Dnvs_storage.cpp219 err = page.writeItem(nsIndex, ItemType::BLOB_DATA, key, in writeMultiPageBlob()
255 … err = getCurrentPage().writeItem(nsIndex, ItemType::BLOB_IDX, key, item.data, sizeof(item.data)); in writeMultiPageBlob()
272 esp_err_t Storage::writeItem(uint8_t nsIndex, ItemType datatype, const char* key, const void* data,… in writeItem() function in nvs::Storage
354 err = page.writeItem(nsIndex, datatype, key, data, dataSize); in writeItem()
367 err = getCurrentPage().writeItem(nsIndex, datatype, key, data, dataSize); in writeItem()
427 auto err = writeItem(Page::NS_INDEX, ItemType::U8, nsName, &ns, sizeof(ns)); in createOrOpenNamespace()
Dnvs_page.cpp178 esp_err_t Page::writeItem(uint8_t nsIndex, ItemType datatype, const char* key, const void* data, si… in writeItem() function in nvs::Page