Home
last modified time | relevance | path

Searched refs:test_partition (Results 1 – 16 of 16) sorted by relevance

/external/pigweed/pw_kvs/
Dflash_partition_test.cc111 FlashPartition& test_partition = FlashTestPartition(); in TEST() local
113 ASSERT_GE(kMaxFlashAlignment, test_partition.alignment_bytes()); in TEST()
117 WriteData(test_partition, 0); in TEST()
119 WriteData(test_partition, 0xff); in TEST()
121 WriteData(test_partition, 0x55); in TEST()
123 WriteData(test_partition, 0xa3); in TEST()
131 FlashPartition& test_partition = FlashTestPartition(); in TEST() local
137 ASSERT_GE(kMaxFlashAlignment, test_partition.alignment_bytes()); in TEST()
140 std::min(sizeof(test_data), test_partition.sector_size_bytes()); in TEST()
143 ASSERT_EQ(OkStatus(), test_partition.Erase(0, test_partition.sector_count())); in TEST()
[all …]
Dkey_value_store_fuzz_test.cc37 FlashPartitionWithStatsBuffer<kMaxUsableSectors> test_partition( variable
47 : kvs_(&test_partition, {.magic = 0x873a9b50, .checksum = &checksum}) { in EmptyInitializedKvs()
48 test_partition.Erase(0, test_partition.sector_count());
61 test_partition.ResetCounters(); in TEST_F()
73 test_partition.SaveStorageStats(kvs_, "fuzz Put_VaryingKeysAndValues"); in TEST_F()
Dfake_flash_test_partition.cc43 FlashPartition test_partition(&test_flash); variable
47 FlashPartition& FlashTestPartition() { return test_partition; } in FlashTestPartition()
Dfake_flash_test_key_value_store.cc55 FlashPartition test_partition(&test_flash); variable
65 test_kvs(&test_partition, kvs_format);
Dkey_value_store_test.cc117 FlashPartition test_partition(&test_flash, 0, test_flash.sector_count()); in TEST() local
122 KeyValueStoreBuffer<kMaxEntries, kMaxUsableSectors> kvs(&test_partition, in TEST()
133 FlashPartition test_partition(&test_flash, 0, 0); in TEST() local
138 KeyValueStoreBuffer<kMaxEntries, kMaxUsableSectors> kvs(&test_partition, in TEST()
149 FlashPartition test_partition(&test_flash, 0, test_flash.sector_count()); in TEST() local
154 KeyValueStoreBuffer<kMaxEntries, 2> kvs(&test_partition, format); in TEST()
Dkey_value_store_initialized_test.cc41 FlashPartition& test_partition = FlashTestPartition(); variable
46 return AlignUp(size, test_partition.alignment_bytes()); in RoundUpForAlignment()
84 EmptyInitializedKvs() : kvs_(&test_partition, default_format) { in EmptyInitializedKvs()
85 test_partition.Erase(); in EmptyInitializedKvs()
278 KeyValueStoreBuffer<kMaxEntries, kMaxUsableSectors> new_kvs(&test_partition, in TEST_F()
412 if (test_partition.sector_size_bytes() < 4 * 1024 || in TEST_F()
413 test_partition.sector_count() < 4) { in TEST_F()
DBUILD165 name = "test_partition",
390 ":test_partition",
404 ":test_partition",
432 ":test_partition",
DBUILD.gn225 pw_source_set("test_partition") {
376 ":test_partition",
393 ":test_partition",
416 ":test_partition",
/external/pigweed/pw_kvs/size_report/
Dbase_with_only_flash.cc22 pw::kvs::FlashPartition& test_partition = pw::kvs::FlashTestPartition(); variable
42 test_partition.Erase(); in main()
46 test_partition.Write(0, std::as_bytes(std::span(working_buffer))); in main()
49 test_partition.IsErased(&tmp_bool); in main()
52 test_partition.Read(0, as_writable_bytes(std::span(working_buffer))); in main()
/external/llvm-project/llvm/utils/
Dabtest.py134 def test_partition(partition, upcoming_partition): function
167 test_partition(left, right)
169 test_partition(right, None)
/external/tensorflow/tensorflow/python/keras/
Dinitializers_test.py256 def test_partition(self): member in KerasInitializersTest
/external/python/cpython2/Lib/test/
Dstring_tests.py1222 def test_partition(self): member in MixinStrUnicodeUserStringTest
Dtest_bytes.py361 def test_partition(self): member in BaseBytesTest
/external/python/cpython3/Lib/test/
Dstring_tests.py1326 def test_partition(self): member in MixinStrUnicodeUserStringTest
Dtest_unicode.py416 def test_partition(self): member in UnicodeTest
417 string_tests.MixinStrUnicodeUserStringTest.test_partition(self)
Dtest_bytes.py765 def test_partition(self): member in BaseBytesTest