/external/pigweed/pw_kvs/ |
D | flash_partition_test.cc | 111 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 …]
|
D | key_value_store_fuzz_test.cc | 37 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()
|
D | fake_flash_test_partition.cc | 43 FlashPartition test_partition(&test_flash); variable 47 FlashPartition& FlashTestPartition() { return test_partition; } in FlashTestPartition()
|
D | fake_flash_test_key_value_store.cc | 55 FlashPartition test_partition(&test_flash); variable 65 test_kvs(&test_partition, kvs_format);
|
D | key_value_store_test.cc | 117 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()
|
D | key_value_store_initialized_test.cc | 41 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()
|
D | BUILD | 165 name = "test_partition", 390 ":test_partition", 404 ":test_partition", 432 ":test_partition",
|
D | BUILD.gn | 225 pw_source_set("test_partition") { 376 ":test_partition", 393 ":test_partition", 416 ":test_partition",
|
/external/pigweed/pw_kvs/size_report/ |
D | base_with_only_flash.cc | 22 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/ |
D | abtest.py | 134 def test_partition(partition, upcoming_partition): function 167 test_partition(left, right) 169 test_partition(right, None)
|
/external/tensorflow/tensorflow/python/keras/ |
D | initializers_test.py | 256 def test_partition(self): member in KerasInitializersTest
|
/external/python/cpython2/Lib/test/ |
D | string_tests.py | 1222 def test_partition(self): member in MixinStrUnicodeUserStringTest
|
D | test_bytes.py | 361 def test_partition(self): member in BaseBytesTest
|
/external/python/cpython3/Lib/test/ |
D | string_tests.py | 1326 def test_partition(self): member in MixinStrUnicodeUserStringTest
|
D | test_unicode.py | 416 def test_partition(self): member in UnicodeTest 417 string_tests.MixinStrUnicodeUserStringTest.test_partition(self)
|
D | test_bytes.py | 765 def test_partition(self): member in BaseBytesTest
|