Home
last modified time | relevance | path

Searched refs:used_entries (Results 1 – 8 of 8) sorted by relevance

/hal_espressif-3.6.0/components/nvs_flash/test/
Dtest_nvs.c128 TEST_ASSERT_TRUE(stat1.used_entries == 0);
159 TEST_ASSERT_TRUE(stat1.used_entries == 0);
168 TEST_ASSERT_TRUE(stat2.used_entries == 1);
176 TEST_ASSERT_TRUE(stat1.used_entries == 2);
184 TEST_ASSERT_TRUE(stat2.used_entries == 2);
192 TEST_ASSERT_TRUE(stat1.used_entries == 3);
206 TEST_ASSERT_TRUE(stat2.used_entries == 4);
216 TEST_ASSERT_TRUE(stat1.used_entries == 7);
218 TEST_ASSERT_TRUE(stat1.total_entries == (stat1.used_entries + stat1.free_entries));
225 …TEST_ASSERT_TRUE(stat1.used_entries == (h1_count_entries + h2_count_entries + stat1.namespace_coun…
[all …]
/hal_espressif-3.6.0/components/nvs_flash/src/
Dnvs_handle_simple.cpp99 esp_err_t NVSHandleSimple::get_used_entry_count(size_t& used_entries) in get_used_entry_count() argument
101 used_entries = 0; in get_used_entry_count()
108 used_entries = used_entry_count; in get_used_entry_count()
Dnvs_api.cpp537 nvs_stats->used_entries = 0; in nvs_get_stats()
554 extern "C" esp_err_t nvs_get_used_entry_count(nvs_handle_t c_handle, size_t* used_entries) in nvs_get_used_entry_count() argument
557 if(used_entries == nullptr){ in nvs_get_used_entry_count()
560 *used_entries = 0; in nvs_get_used_entry_count()
571 *used_entries = used_entry_count; in nvs_get_used_entry_count()
Dnvs_pagemanager.cpp224 nvsStats.used_entries = 0; in fillStats()
Dnvs_page.cpp1049 nvsStats.used_entries += mUsedEntryCount; in calcEntries()
/hal_espressif-3.6.0/components/nvs_flash/include/
Dnvs.h519 size_t used_entries; /**< Amount of used entries. */ member
598 esp_err_t nvs_get_used_entry_count(nvs_handle_t handle, size_t* used_entries);
/hal_espressif-3.6.0/components/nvs_flash/host_test/nvs_page_test/main/
Dnvs_page_test.cpp869 TEST_ASSERT_EQUAL(0, nvsStats.used_entries); in test_Page_calcEntries__uninit()
894 TEST_ASSERT_EQUAL(0, nvsStats.used_entries); in test_Page_calcEntries__corrupt()
907 TEST_ASSERT_EQUAL(2, nvsStats.used_entries); in test_Page_calcEntries__active_wo_blob()
920 TEST_ASSERT_EQUAL(4, nvsStats.used_entries); in test_Page_calcEntries__active_with_blob()
936 TEST_ASSERT_EQUAL(0, nvsStats.used_entries); in test_Page_calcEntries__invalid()
/hal_espressif-3.6.0/components/nvs_flash/test_nvs_host/
Dtest_nvs.cpp1861 CHECK(stat1.used_entries == 0);
1880 CHECK(stat1.used_entries == 0);
1889 CHECK(stat2.used_entries == 1);
1897 CHECK(stat1.used_entries == 2);
1905 CHECK(stat2.used_entries == 2);
1913 CHECK(stat1.used_entries == 3);
1927 CHECK(stat2.used_entries == 4);
1937 CHECK(stat1.used_entries == 7);
1939 CHECK(stat1.total_entries == (stat1.used_entries + stat1.free_entries));
1946 CHECK(stat1.used_entries == (h1_count_entries + h2_count_entries + stat1.namespace_count));
[all …]