Home
last modified time | relevance | path

Searched refs:is_erased (Results 1 – 4 of 4) sorted by relevance

/external/pigweed/pw_kvs/
Dflash_partition_test.cc157 bool is_erased = true; in TEST() local
158 ASSERT_EQ(OkStatus(), test_partition.IsErased(&is_erased)); in TEST()
159 ASSERT_EQ(false, is_erased); in TEST()
164 is_erased = false; in TEST()
165 ASSERT_EQ(OkStatus(), test_partition.IsErased(&is_erased)); in TEST()
166 ASSERT_EQ(true, is_erased); in TEST()
247 bool is_erased = true; in TEST() local
248 ASSERT_EQ(OkStatus(), test_partition.IsErased(&is_erased)); in TEST()
249 ASSERT_EQ(true, is_erased); in TEST()
261 EXPECT_EQ(OkStatus(), test_partition.IsErased(&is_erased)); in TEST()
[all …]
Dflash_memory.cc100 bool* is_erased) { in IsRegionErased() argument
102 if (is_erased == nullptr) { in IsRegionErased()
119 *is_erased = false; in IsRegionErased()
136 *is_erased = true; in IsRegionErased()
/external/pigweed/pw_kvs/size_report/
Dbase_with_only_flash.cc27 volatile bool is_erased; variable
50 is_erased = tmp_bool; in main()
/external/pigweed/pw_kvs/public/pw_kvs/
Dflash_memory.h236 bool* is_erased);
240 Status IsErased(bool* is_erased) { in IsErased() argument
241 return IsRegionErased(0, this->size_bytes(), is_erased); in IsErased()