Searched refs:getUsedEntryCount (Results 1 – 5 of 5) sorted by relevance
/hal_espressif-3.6.0/components/nvs_flash/host_test/nvs_page_test/main/ |
D | nvs_page_test.cpp | 139 TEST_ASSERT_EQUAL(1, page.getUsedEntryCount()); in test_Page_load__corrupt_entry_table() 285 TEST_ASSERT_EQUAL(2, fix.page.getUsedEntryCount()); in test_Page_readItem__read_entry_fails() 298 TEST_ASSERT_EQUAL(2, fix.page.getUsedEntryCount()); in test_Page_readItem__read_entry_fails() 307 TEST_ASSERT_EQUAL(2, fix.page.getUsedEntryCount()); in test_Page_readItem__read_corrupted_entry() 331 TEST_ASSERT_EQUAL(1, fix.page.getUsedEntryCount()); in test_Page_readItem__read_corrupted_entry() 340 TEST_ASSERT_EQUAL(2, fix.page.getUsedEntryCount()); in test_Page_readItem__read_corrupted_second_read_fail() 365 TEST_ASSERT_EQUAL(2, fix.page.getUsedEntryCount()); in test_Page_readItem__read_corrupted_erase_fail() 393 TEST_ASSERT_EQUAL(2, fix.page.getUsedEntryCount()); in test_Page_readItem__read_entry_suceeds() 405 TEST_ASSERT_EQUAL(2, fix.page.getUsedEntryCount()); in test_Page_readItem__read_entry_suceeds() 416 TEST_ASSERT_EQUAL(4, fix.page.getUsedEntryCount()); in test_Page_readItem__blob_read_data_fails() [all …]
|
/hal_espressif-3.6.0/components/nvs_flash/src/ |
D | nvs_pagemanager.cpp | 156 auto unused = Page::ENTRY_COUNT - it->getUsedEntryCount(); in requestNewPage() 177 size_t usedEntries = erasedPage->getUsedEntryCount(); in requestNewPage() 194 assert(usedEntries == newPage->getUsedEntryCount()); in requestNewPage()
|
D | nvs_page.hpp | 132 size_t getUsedEntryCount() const in getUsedEntryCount() function in nvs::Page
|
D | nvs_storage.cpp | 688 assert(usedCount == p->getUsedEntryCount()); in debugCheck()
|
/hal_espressif-3.6.0/components/nvs_flash/test_nvs_host/ |
D | test_nvs.cpp | 135 CHECK(page.getUsedEntryCount() == 0); 139 CHECK(page.getUsedEntryCount() == 1); 141 CHECK(page.getUsedEntryCount() == 2); 143 CHECK(page.getUsedEntryCount() == 1); 150 CHECK(page.getUsedEntryCount() == Page::ENTRY_COUNT - 1); 157 CHECK(page.getUsedEntryCount() == 1); 390 CHECK(page.getUsedEntryCount() == 1); 1636 CHECK(p.getUsedEntryCount() == 1); 1664 CHECK(p.getUsedEntryCount() == 0); 1732 CHECK(p.getUsedEntryCount() == 2);
|