Home
last modified time | relevance | path

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

/hal_espressif-3.4.0/components/nvs_flash/test_nvs_host/
Dtest_nvs.cpp99 CHECK(page.writeItem(1, ItemType::I32, "intval1", &val1, sizeof(val1)) == ESP_OK);
101 CHECK(page.writeItem(2, ItemType::I32, "intval1", &val2, sizeof(val2)) == ESP_OK);
115 CHECK(page.writeItem(1, ItemType::I32, "intval1", &val, sizeof(val)) == ESP_OK);
125 CHECK(page.writeItem(1, ItemType::I32, "intval1", &val, sizeof(val)) == ESP_OK);
138 CHECK(page.writeItem(1, "foo1", foo1) == ESP_OK);
140 CHECK(page.writeItem(2, "foo1", foo1) == ESP_OK);
148 CHECK(page.writeItem(1, name, i) == ESP_OK);
169 CHECK(page.writeItem(1, name, i) == ESP_OK);
171 CHECK(page.writeItem(1, "foo", 64UL) == ESP_ERR_NVS_PAGE_FULL);
182 CHECK(page.writeItem(1, ItemType::I32, "dummy", &val, sizeof(val)) == ESP_OK);
[all …]
Dtest_nvs_storage.cpp43 CHECK(storage->writeItem(ns_index, ItemType::BLOB, "test_blob", blob, sizeof(blob)) == ESP_OK);
46 …CHECK(storage->writeItem(ns_index, ItemType::BLOB, "test_blob", blob_new, sizeof(blob_new)) == ESP…
/hal_espressif-3.4.0/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.cpp211 err = page.writeItem(nsIndex, ItemType::BLOB_DATA, key, in writeMultiPageBlob()
247 … err = getCurrentPage().writeItem(nsIndex, ItemType::BLOB_IDX, key, item.data, sizeof(item.data)); in writeMultiPageBlob()
264 esp_err_t Storage::writeItem(uint8_t nsIndex, ItemType datatype, const char* key, const void* data,… in writeItem() function in nvs::Storage
346 err = page.writeItem(nsIndex, datatype, key, data, dataSize); in writeItem()
359 err = getCurrentPage().writeItem(nsIndex, datatype, key, data, dataSize); in writeItem()
414 auto err = writeItem(Page::NS_INDEX, ItemType::U8, nsName, &ns, sizeof(ns)); in createOrOpenNamespace()
Dnvs_page.cpp166 esp_err_t Page::writeItem(uint8_t nsIndex, ItemType datatype, const char* key, const void* data, si… in writeItem() function in nvs::Page
/hal_espressif-3.4.0/components/nvs_flash/host_test/nvs_page_test/main/
Dnvs_page_test.cpp215 …TEST_ASSERT_EQUAL(ESP_FAIL, page.writeItem(1, nvs::ItemType::U8, "test", &write_data, sizeof(write… in test_Page_write__initialize_write_failure()
228 …TEST_ASSERT_EQUAL(ESP_FAIL, fix.page.writeItem(1, nvs::ItemType::U8, "test", &write_data, sizeof(w… in test_Page_write__write_data_fails()
253 …TEST_ASSERT_EQUAL(ESP_OK, fix.page.writeItem(1, nvs::ItemType::U8, "test_key", &write_data, sizeof… in test_page_write__write_correct_entry_state()
276 …TEST_ASSERT_EQUAL(ESP_OK, fix.page.writeItem(1, nvs::ItemType::U8, "test_key", &write_data, sizeof… in test_Page_write__write_correct_data()
/hal_espressif-3.4.0/tools/test_idf_size/
Doverflow_esp32c3.map537 …esp-idf/nvs_flash/libnvs_flash.a(nvs_storage.cpp.obj) (nvs::Page::writeItem(unsigned char, nvs::It…
35525 …0x000000004200b6e0 nvs::Storage::writeItem(unsigned char, nvs::ItemType, char const…
35700 …0x000000004200cbdc nvs::Page::writeItem(unsigned char, nvs::ItemType, char const*, …
70625 nvs::Page::writeItem(unsigned char, nvs::ItemType, char const*, void const*, unsigned int, unsigned…
70670 nvs::Storage::writeItem(unsigned char, nvs::ItemType, char const*, void const*, unsigned int) esp-i…