Searched refs:used_entries (Results 1 – 8 of 8) sorted by relevance
128 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 …]
99 esp_err_t NVSHandleSimple::get_used_entry_count(size_t& used_entries) in get_used_entry_count() argument101 used_entries = 0; in get_used_entry_count()108 used_entries = used_entry_count; in get_used_entry_count()
537 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() argument557 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()
224 nvsStats.used_entries = 0; in fillStats()
1049 nvsStats.used_entries += mUsedEntryCount; in calcEntries()
519 size_t used_entries; /**< Amount of used entries. */ member598 esp_err_t nvs_get_used_entry_count(nvs_handle_t handle, size_t* used_entries);
869 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()
1861 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 …]