/aosp_15_r20/packages/modules/Bluetooth/system/gd/common/ |
D | sync_map_count_test.cc | 77 struct TestString { struct 78 TestString(std::string string) : string_(string) {} in TestString() argument 81 bool operator<(const TestString& other) const { return other.string_ > string_; } in operator <() argument 82 bool operator==(const TestString& other) const { return other.string_ == string_; } in operator ==() argument 89 void LoadTestStringMap(SyncMapCount<TestString>& map) { in LoadTestStringMap() 91 map.Put(TestString(*p)); in LoadTestStringMap() 97 SyncMapCount<TestString> map; in TEST() 103 ASSERT_EQ(3ul, m[TestString("Three")]); in TEST() 104 ASSERT_EQ(2ul, m[TestString("Two")]); in TEST() 105 ASSERT_EQ(1ul, m[TestString("One")]); in TEST() [all …]
|
/aosp_15_r20/external/swiftshader/third_party/subzero/unittest/AssemblerX8664/ |
H A D | XmmArith.cpp | 21 static constexpr char TestString[] = \ in TEST_F() 46 ASSERT_DOUBLE_EQ(V0 Op V1, test.Dst<Type>()) << TestString; \ in TEST_F() 54 static constexpr char TestString[] = \ in TEST_F() 78 ASSERT_DOUBLE_EQ(V0 Op V1, test.Dst<Type>()) << TestString; \ in TEST_F() 126 static constexpr char TestString[] = \ in TEST_F() 145 << TestString; \ in TEST_F() 151 static constexpr char TestString[] = \ in TEST_F() 169 << TestString; \ in TEST_F() 175 static constexpr char TestString[] = \ in TEST_F() 189 << TestString; \ in TEST_F() [all …]
|
H A D | GPRArith.cpp | 35 static constexpr char TestString[] = \ in TEST_F() 52 ASSERT_EQ(IsTrue, test.Dest()) << TestString; \ in TEST_F() 53 ASSERT_EQ((0xF00F00 | IsTrue), test.contentsOfDword(T0)) << TestString; \ in TEST_F() 114 static constexpr char TestString[] = \ in TEST_F() 125 << TestString << " with Disp " << Disp; \ in TEST_F() 131 static constexpr char TestString[] = \ in TEST_F() 152 << TestString << " " << Disp; \ in TEST_F() 154 << TestString << " " << Disp; \ in TEST_F() 156 << TestString << " " << Disp; \ in TEST_F() 158 << TestString << " " << Disp; \ in TEST_F() [all …]
|
H A D | DataMov.cpp | 23 static constexpr char TestString[] = "(" #Reg ", " #Size ")"; \ in TEST_F() 32 ASSERT_EQ(Value, test.Reg##Suffix()) << TestString; \ in TEST_F() 33 ASSERT_EQ((Marker & ~Mask##Size) | Value, test.Reg##d()) << TestString; \ in TEST_F() 101 static constexpr char TestString[] = "(" #Src ", " #Size ")"; \ in TEST_F() 114 << TestString; \ in TEST_F() 158 static constexpr char TestString[] = \ in TEST_F() 174 ASSERT_EQ((Marker & ~MaskResult##Size) | Value, test.Dst()) << TestString; \ in TEST_F() 175 ASSERT_EQ(Value, test.Dst##Suffix()) << TestString; \ in TEST_F() 219 static constexpr char TestString[] = \ in TEST_F() 234 ASSERT_EQ((Marker & MaskResult##Size) | Value, test.Dst()) << TestString; \ in TEST_F() [all …]
|
H A D | Locked.cpp | 39 static constexpr char TestString[] = \ in TEST_F() 53 ASSERT_EQ(V0, test.Dst1()) << TestString; \ in TEST_F() 54 ASSERT_EQ(V1, test.contentsOfDword(T0)) << TestString; \ in TEST_F() 91 static constexpr char TestString[] = \ in TEST_F() 105 ASSERT_EQ(V0, test.Reg1()) << TestString; \ in TEST_F() 106 ASSERT_EQ(V1, test.Reg0()) << TestString; \ in TEST_F() 148 static constexpr char TestString[] = \ in TEST_F() 163 ASSERT_EQ(V0, test.Dst1()) << TestString; \ in TEST_F() 164 ASSERT_EQ(Mask##Size &(V1 + V0), test.contentsOfDword(T0)) << TestString; \ in TEST_F() 292 static constexpr char TestString[] = \ in TEST_F() [all …]
|
H A D | LowLevel.cpp | 159 static constexpr char TestString[] = \ in TEST_F() 164 ASSERT_EQ(ByteCount, codeBytesSize()) << TestString; \ in TEST_F() 166 << TestString; \ in TEST_F() 172 static constexpr char TestString[] = \ in TEST_F() 177 ASSERT_EQ(ByteCount, codeBytesSize()) << TestString; \ in TEST_F() 179 << TestString; \ in TEST_F() 185 static constexpr char TestString[] = \ in TEST_F() 190 ASSERT_EQ(ByteCount, codeBytesSize()) << TestString; \ in TEST_F() 192 << TestString; \ in TEST_F() 198 static constexpr char TestString[] = \ in TEST_F() [all …]
|
H A D | Other.cpp | 19 static constexpr char TestString[] = "(" #Size ", " #__VA_ARGS__ ")"; \ in TEST_F() 21 ASSERT_EQ(Size##u, codeBytesSize()) << TestString; \ in TEST_F() 22 ASSERT_TRUE(verifyBytes<Size>(codeBytes(), __VA_ARGS__)) << TestString; \ in TEST_F()
|
/aosp_15_r20/external/swiftshader/third_party/subzero/unittest/AssemblerX8632/ |
H A D | XmmArith.cpp | 21 static constexpr char TestString[] = \ in TEST_F() 49 ASSERT_DOUBLE_EQ(V0 Op V1, test.Dst<Type>()) << TestString; \ in TEST_F() 57 static constexpr char TestString[] = \ in TEST_F() 83 ASSERT_DOUBLE_EQ(V0 Op V1, test.Dst<Type>()) << TestString; \ in TEST_F() 125 static constexpr char TestString[] = \ in TEST_F() 145 << TestString; \ in TEST_F() 151 static constexpr char TestString[] = \ in TEST_F() 170 << TestString; \ in TEST_F() 176 static constexpr char TestString[] = \ in TEST_F() 190 << TestString; \ in TEST_F() [all …]
|
H A D | GPRArith.cpp | 126 static constexpr char TestString[] = \ in TEST_F() 139 << TestString << " with Disp " << Disp; \ in TEST_F() 145 static constexpr char TestString[] = \ in TEST_F() 165 << TestString << " " << Disp; \ in TEST_F() 167 << TestString << " " << Disp; \ in TEST_F() 169 << TestString << " " << Disp; \ in TEST_F() 171 << TestString << " " << Disp; \ in TEST_F() 178 static constexpr char TestString[] = \ in TEST_F() 215 << TestString << " " << Disp; \ in TEST_F() 218 << TestString << " " << Disp; \ in TEST_F() [all …]
|
H A D | Locked.cpp | 39 static constexpr char TestString[] = \ in TEST_F() 56 ASSERT_EQ(V0, test.Dst1()) << TestString; \ in TEST_F() 57 ASSERT_EQ(V1, test.contentsOfDword(T0)) << TestString; \ in TEST_F() 88 static constexpr char TestString[] = \ in TEST_F() 107 ASSERT_EQ(V0, test.Reg1()) << TestString; \ in TEST_F() 108 ASSERT_EQ(V1, test.Reg0()) << TestString; \ in TEST_F() 148 static constexpr char TestString[] = \ in TEST_F() 165 ASSERT_EQ(V0, test.Dst1()) << TestString; \ in TEST_F() 166 ASSERT_EQ(Mask##Size &(V1 + V0), test.contentsOfDword(T0)) << TestString; \ in TEST_F() 263 static constexpr char TestString[] = \ in TEST_F() [all …]
|
H A D | LowLevel.cpp | 112 static constexpr char TestString[] = \ in TEST_F() 118 ASSERT_EQ(ByteCount, codeBytesSize()) << TestString; \ in TEST_F() 120 << TestString; \ in TEST_F() 126 static constexpr char TestString[] = \ in TEST_F() 131 ASSERT_EQ(ByteCount, codeBytesSize()) << TestString; \ in TEST_F() 133 << TestString; \ in TEST_F() 139 static constexpr char TestString[] = \ in TEST_F() 145 ASSERT_EQ(ByteCount, codeBytesSize()) << TestString; \ in TEST_F() 147 << TestString; \ in TEST_F() 153 static constexpr char TestString[] = \ in TEST_F() [all …]
|
H A D | DataMov.cpp | 374 static constexpr char TestString[] = "(" #FloatLength ", " #Xmm ")"; \ in TEST_F() 390 << TestString << " value is " << Value; \ in TEST_F() 423 static constexpr char TestString[] = "(" #FloatLength ", " #Xmm ")"; \ in TEST_F() 445 << TestString << " value is " << Value; \ in TEST_F() 478 static constexpr char TestString[] = \ in TEST_F() 505 << TestString << " value is " << Value; \ in TEST_F() 535 static constexpr char TestString[] = "(" #Src ", " #Dst ")"; \ in TEST_F() 550 << TestString << " value is " << Value; \ in TEST_F() 557 static constexpr char TestString[] = "(" #Dst ", Addr)"; \ in TEST_F() 573 << TestString << " value is " << Value; \ in TEST_F() [all …]
|
H A D | Other.cpp | 19 static constexpr char TestString[] = "(" #Size ", " #__VA_ARGS__ ")"; \ in TEST_F() 21 ASSERT_EQ(Size##u, codeBytesSize()) << TestString; \ in TEST_F() 22 ASSERT_TRUE(verifyBytes<Size>(codeBytes(), __VA_ARGS__)) << TestString; \ in TEST_F()
|
/aosp_15_r20/external/noto-fonts/emoji-compat/tests/src/androidx/emoji2/bundled/util/ |
H A D | TestString.java | 25 public class TestString { class 36 public TestString(int... codePoints) { in TestString() method in TestString 46 public TestString(Emoji.EmojiMapping emojiMapping) { in TestString() method in TestString 50 public TestString(String string) { in TestString() method in TestString 55 public TestString append(int... codePoints) { in append() 62 public TestString prepend(int... codePoints) { in prepend() 69 public TestString append(Emoji.EmojiMapping emojiMapping) { in append() 73 public TestString withSuffix() { in withSuffix() 78 public TestString withPrefix() { in withPrefix()
|
/aosp_15_r20/external/angle/third_party/abseil-cpp/absl/crc/ |
H A D | crc32c_benchmark.cc | 25 std::string TestString(size_t len) { in TestString() function 36 std::string data = TestString(len); in BM_Calculate() 47 std::string extension = TestString(len); in BM_Extend() 63 std::string extension = TestString(total); in BM_ExtendCacheMiss() 111 std::string string_b = TestString(string_b_len); in BM_Concat() 134 std::string source = TestString(string_len); in BM_Memcpy() 156 std::string full_string = TestString(full_string_len); in BM_RemoveSuffix()
|
/aosp_15_r20/external/cronet/third_party/abseil-cpp/absl/crc/ |
H A D | crc32c_benchmark.cc | 25 std::string TestString(size_t len) { in TestString() function 36 std::string data = TestString(len); in BM_Calculate() 47 std::string extension = TestString(len); in BM_Extend() 63 std::string extension = TestString(total); in BM_ExtendCacheMiss() 111 std::string string_b = TestString(string_b_len); in BM_Concat() 134 std::string source = TestString(string_len); in BM_Memcpy() 156 std::string full_string = TestString(full_string_len); in BM_RemoveSuffix()
|
/aosp_15_r20/external/private-join-and-compute/third_party/abseil-cpp-20230125.2/absl/crc/ |
H A D | crc32c_benchmark.cc | 25 std::string TestString(size_t len) { in TestString() function 36 std::string data = TestString(len); in BM_Calculate() 47 std::string extension = TestString(len); in BM_Extend() 63 std::string extension = TestString(total); in BM_ExtendCacheMiss() 111 std::string string_b = TestString(string_b_len); in BM_Concat() 134 std::string source = TestString(string_len); in BM_Memcpy() 156 std::string full_string = TestString(full_string_len); in BM_RemoveSuffix()
|
/aosp_15_r20/external/abseil-cpp/absl/crc/ |
H A D | crc32c_benchmark.cc | 25 std::string TestString(size_t len) { in TestString() function 36 std::string data = TestString(len); in BM_Calculate() 47 std::string extension = TestString(len); in BM_Extend() 63 std::string extension = TestString(total); in BM_ExtendCacheMiss() 111 std::string string_b = TestString(string_b_len); in BM_Concat() 134 std::string source = TestString(string_len); in BM_Memcpy() 156 std::string full_string = TestString(full_string_len); in BM_RemoveSuffix()
|
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/crc/ |
D | crc32c_benchmark.cc | 25 std::string TestString(size_t len) { in TestString() function 36 std::string data = TestString(len); in BM_Calculate() 47 std::string extension = TestString(len); in BM_Extend() 63 std::string extension = TestString(total); in BM_ExtendCacheMiss() 111 std::string string_b = TestString(string_b_len); in BM_Concat() 134 std::string source = TestString(string_len); in BM_Memcpy() 156 std::string full_string = TestString(full_string_len); in BM_RemoveSuffix()
|
D | crc32c_test.cc | 67 std::string TestString(size_t len) { in TestString() function 132 std::string string_before = TestString(size); in TEST() 159 std::string sample_string = TestString(bytes); in TEST()
|
/aosp_15_r20/external/rust/android-crates-io/crates/config/tests/ |
D | env.rs | 420 String(TestString), in test_parse_string_and_list() 424 struct TestString { in test_parse_string_and_list() struct 451 TestStringEnum::String(TestString { in test_parse_string_and_list() 472 String(TestString), in test_parse_string() 476 struct TestString { in test_parse_string() struct 495 TestStringEnum::String(TestString { string_val }) => { in test_parse_string() 544 String(TestString), in test_parse_off_string() 548 struct TestString { in test_parse_off_string() struct 567 TestStringEnum::String(TestString { string_val_1 }) => { in test_parse_off_string()
|
/aosp_15_r20/external/pigweed/pw_checksum/ |
H A D | crc32_test.cc | 111 void TestString() { in TestString() function 118 TestString<Crc32>(); in TEST() 119 TestString<Crc32EightBit>(); in TEST() 120 TestString<Crc32FourBit>(); in TEST() 121 TestString<Crc32OneBit>(); in TEST()
|
/aosp_15_r20/external/kotlinx.serialization/formats/protobuf/commonTest/src/kotlinx/serialization/protobuf/ |
H A D | ProtobufPrimitiveWrappersTest.kt | 34 TestString("testing"), in testString() 35 TestString.serializer(), ProtoBuf, hexResultToCheck = "120774657374696E67" in testString() 60 TestString(""), in testDefaultPrimitiveValues() 61 TestString.serializer(), ProtoBuf, hexResultToCheck = "1200" in testDefaultPrimitiveValues()
|
/aosp_15_r20/external/rust/android-crates-io/crates/config/tests/legacy/ |
D | env.rs | 286 String(TestString), in test_parse_string() 290 struct TestString { in test_parse_string() struct 308 TestStringEnum::String(TestString { string_val }) => assert_eq!(test_string, string_val), in test_parse_string() 320 String(TestString), in test_parse_off_string() 324 struct TestString { in test_parse_off_string() struct 342 TestStringEnum::String(TestString { string_val_1 }) => { in test_parse_off_string()
|
/aosp_15_r20/external/noto-fonts/emoji-compat/tests/src/androidx/emoji2/bundled/ |
H A D | AllEmojisTest.java | 45 import androidx.emoji2.bundled.util.TestString; 181 final Spanned spanned = (Spanned) EmojiCompat.get().process(new TestString(str).toString()); in assertSpanCanRenderEmoji() 223 TestString string = new TestString(str); in assertEmojiCompatAddsEmoji() 230 string = new TestString(str).withPrefix().withSuffix(); in assertEmojiCompatAddsEmoji() 237 string = new TestString(str).withSuffix(); in assertEmojiCompatAddsEmoji()
|