Home
last modified time | relevance | path

Searched refs:TestString (Results 1 – 25 of 43) sorted by relevance

12

/external/noto-fonts/emoji-compat/tests/src/androidx/emoji2/bundled/util/
DTestString.java25 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()
/external/fmtlib/test/
Dostream-test.cc88 EXPECT_EQ("a string", format("{0}", TestString("a string"))); in TEST()
97 EXPECT_EQ("def ", format("{0:<5}", TestString("def"))); in TEST()
98 EXPECT_EQ(" def", format("{0:>5}", TestString("def"))); in TEST()
100 EXPECT_THROW_MSG(format("{0:=5}", TestString("def")), format_error, in TEST()
103 EXPECT_EQ(" def ", format("{0:^5}", TestString("def"))); in TEST()
104 EXPECT_EQ("def**", format("{0:*<5}", TestString("def"))); in TEST()
105 EXPECT_THROW_MSG(format("{0:+}", TestString()), format_error, in TEST()
107 EXPECT_THROW_MSG(format("{0:-}", TestString()), format_error, in TEST()
109 EXPECT_THROW_MSG(format("{0: }", TestString()), format_error, in TEST()
111 EXPECT_THROW_MSG(format("{0:#}", TestString()), format_error, in TEST()
[all …]
/external/swiftshader/third_party/subzero/unittest/AssemblerX8664/
DXmmArith.cpp21 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 …]
DLocked.cpp39 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 …]
DDataMov.cpp23 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 …]
DGPRArith.cpp35 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 …]
DOther.cpp19 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()
DLowLevel.cpp159 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 …]
DControlFlow.cpp19 static constexpr char TestString[] = \ in TEST_F()
33 ASSERT_EQ(Value0, test.Src0()) << TestString; \ in TEST_F()
34 ASSERT_EQ(Value1, test.Src1()) << TestString; \ in TEST_F()
35 ASSERT_EQ(0xBEEFul, test.Dest()) << TestString; \ in TEST_F()
/external/swiftshader/third_party/subzero/unittest/AssemblerX8632/
DXmmArith.cpp21 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 …]
DLocked.cpp39 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 …]
DGPRArith.cpp126 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 …]
DLowLevel.cpp112 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 …]
DDataMov.cpp374 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 …]
DOther.cpp19 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()
/external/angle/third_party/abseil-cpp/absl/crc/
Dcrc32c_benchmark.cc25 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()
Dcrc32c_test.cc69 std::string TestString(size_t len) { in TestString() function
134 std::string string_before = TestString(size); in TEST()
161 std::string sample_string = TestString(bytes); in TEST()
/external/cronet/third_party/abseil-cpp/absl/crc/
Dcrc32c_benchmark.cc25 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()
Dcrc32c_test.cc67 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()
/external/pigweed/pw_checksum/
Dcrc32_test.cc111 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()
/external/noto-fonts/emoji-compat/tests/src/androidx/emoji2/bundled/
DAllEmojisTest.java45 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()
/external/cronet/third_party/icu/source/test/intltest/
Dtsmthred.h46 void TestString();
/external/icu/icu4c/source/test/intltest/
Dtsmthred.h46 void TestString();
/external/libchrome/components/json_schema/
Djson_schema_validator_unittest_base.h50 void TestString();
/external/tensorflow/tensorflow/cc/experimental/libtf/impl/
Diostream_test.cc39 TEST(OStreamTest, TestString) { in TEST() argument

12