Home
last modified time | relevance | path

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

12

/aosp_15_r20/external/pigweed/pw_kvs/
H A Dflash_partition_test.cc118 FlashPartition& test_partition = FlashTestPartition(); in TEST() local
120 ASSERT_GE(kMaxFlashAlignment, test_partition.alignment_bytes()); in TEST()
124 WriteData(test_partition, 0); in TEST()
126 WriteData(test_partition, 0xff); in TEST()
128 WriteData(test_partition, 0x55); in TEST()
130 WriteData(test_partition, 0xa3); in TEST()
138 FlashPartition& test_partition = FlashTestPartition(); in TEST() local
144 ASSERT_GE(kMaxFlashAlignment, test_partition.alignment_bytes()); in TEST()
147 std::min(sizeof(test_data), test_partition.sector_size_bytes()); in TEST()
150 ASSERT_EQ(OkStatus(), test_partition.Erase(0, test_partition.sector_count())); in TEST()
[all …]
H A Dkey_value_store_fuzz_test.cc48 FlashPartition& test_partition = FlashTestPartition(); in TEST() local
49 ASSERT_EQ(OkStatus(), test_partition.Erase()); in TEST()
51 KeyValueStoreBuffer<kMaxEntries, kMaxUsableSectors> kvs_(&test_partition, in TEST()
56 if (test_partition.sector_size_bytes() < 4 * 1024 || in TEST()
57 test_partition.sector_count() < 4) { in TEST()
111 FlashPartition& test_partition = FlashTestPartition(); in TEST() local
112 ASSERT_EQ(OkStatus(), test_partition.Erase()); in TEST()
114 KeyValueStoreBuffer<kMaxEntries, kMaxUsableSectors> kvs_(&test_partition, in TEST()
119 if (test_partition.sector_size_bytes() < 4 * 1024 || in TEST()
120 test_partition.sector_count() < 4) { in TEST()
H A Dkey_value_store_put_test.cc36 FlashPartitionWithStatsBuffer<kMaxUsableSectors> test_partition( variable
46 : 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()
75 test_partition.SaveStorageStats(kvs_, "Put_VaryingKeysAndValues") in TEST_F()
H A Dkey_value_store_test.cc118 FlashPartition test_partition(&test_flash, 0, test_flash.sector_count()); in TEST() local
123 KeyValueStoreBuffer<kMaxEntries, kMaxUsableSectors> kvs(&test_partition, in TEST()
134 FlashPartition test_partition(&test_flash, 0, 0); in TEST() local
139 KeyValueStoreBuffer<kMaxEntries, kMaxUsableSectors> kvs(&test_partition, in TEST()
150 FlashPartition test_partition(&test_flash, 0, test_flash.sector_count()); in TEST() local
155 KeyValueStoreBuffer<kMaxEntries, 2> kvs(&test_partition, format); in TEST()
H A Dkey_value_store_initialized_test.cc42 FlashPartition& test_partition = FlashTestPartition(); variable
47 return AlignUp(size, test_partition.alignment_bytes()); in RoundUpForAlignment()
85 EmptyInitializedKvs() : kvs_(&test_partition, default_format) { in EmptyInitializedKvs()
86 EXPECT_EQ(OkStatus(), test_partition.Erase()); in EmptyInitializedKvs()
270 KeyValueStoreBuffer<kMaxEntries, kMaxUsableSectors> new_kvs(&test_partition, in TEST_F()
H A Dfake_flash_test_partition.cc43 FlashPartition test_partition(&test_flash); variable
47 FlashPartition& FlashTestPartition() { return test_partition; } in FlashTestPartition()
H A Dfake_flash_test_logical_sector_partition.cc51 FlashPartitionWithLogicalSectors test_partition(&test_flash, variable
56 FlashPartition& FlashTestPartition() { return test_partition; } in FlashTestPartition()
H A Dfake_flash_test_key_value_store.cc57 FlashPartition test_partition(&test_flash); variable
67 test_kvs(&test_partition, kvs_format);
H A DBUILD.gn363 pw_source_set("test_partition") {
619 ":test_partition",
637 ":test_partition",
656 ":test_partition",
H A DCMakeLists.txt362 pw_add_library(pw_kvs.test_partition STATIC
623 pw_kvs.test_partition
646 pw_kvs.test_partition
671 pw_kvs.test_partition
H A DBUILD.bazel268 name = "test_partition",
762 ":test_partition",
782 ":test_partition",
822 ":test_partition",
/aosp_15_r20/external/linux-kselftest/tools/testing/selftests/cgroup/
H A Dtest_cpuset_prs.sh79 test_partition() function
127 test_partition root
130 test_partition isolated
133 test_partition member
136 test_partition isolated
139 test_partition root
142 test_partition member
149 test_partition root
154 test_partition root
/aosp_15_r20/external/pigweed/pw_kvs/size_report/
H A Dbase_with_only_flash.cc22 pw::kvs::FlashPartition& test_partition = pw::kvs::FlashTestPartition(); variable
42 test_partition.Erase() in main()
47 test_partition.Write(0, pw::as_bytes(pw::span(working_buffer))) in main()
51 test_partition.IsErased(&tmp_bool) in main()
55 test_partition.Read(0, as_writable_bytes(pw::span(working_buffer))) in main()
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/range/test/algorithm_test/
Dpartition.cpp118 void test_partition() in test_partition() function
132 test->add( BOOST_TEST_CASE( &boost_range_test_algorithm_partition::test_partition ) ); in init_unit_test_suite()
/aosp_15_r20/external/pytorch/test/
H A Dtest_jit_string.py214 … def test_partition() -> Tuple[Tuple[str, str, str], Tuple[str, str, str], Tuple[str, str, str], function
226 self.checkScript(test_partition, ())
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/library/core/tests/iter/traits/
H A Diterator.rs414 fn test_partition() { in test_partition() function
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.81.0/lib/rustlib/src/rust/library/core/tests/iter/traits/
H A Diterator.rs414 fn test_partition() { in test_partition() function
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/lib/rustlib/src/rust/library/core/tests/iter/traits/
H A Diterator.rs414 fn test_partition() { in test_partition() function
/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/lib/rustlib/src/rust/library/core/tests/iter/traits/
H A Diterator.rs414 fn test_partition() { in test_partition() function
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/library/core/tests/iter/traits/
H A Diterator.rs414 fn test_partition() { in test_partition() function
/aosp_15_r20/external/pigweed/pw_bloat/
H A Ddocs.rst290 │ │pw::kvs::(anonymous namespace)::test_partition │ 24│
/aosp_15_r20/external/python/cpython3/Lib/test/
Dtest_unicode.py487 def test_partition(self): member in UnicodeTest
488 string_tests.MixinStrUnicodeUserStringTest.test_partition(self)
Dstring_tests.py1380 def test_partition(self): member in MixinStrUnicodeUserStringTest
/aosp_15_r20/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

12