Lines Matching +full:0 +full:xdd
32 "TOKENS\0\0"
34 "\0\0\0\0"
38 "\xFF\xEE\xEE\xDD----"
39 "One\0"
40 "TWO\0"
41 "333\0"
51 EXPECT_EQ(detok_.Detokenize("\1\0\0\0"sv).BestString(), "One"); in TEST_F()
52 EXPECT_EQ(detok_.Detokenize("\5\0\0\0"sv).BestString(), "TWO"); in TEST_F()
54 EXPECT_EQ(detok_.Detokenize("\xff\xee\xee\xdd"sv).BestString(), "FOUR"); in TEST_F()
59 EXPECT_TRUE(detok_.Detokenize("", 0u).BestString().empty()); in TEST_F()
61 EXPECT_TRUE(detok_.Detokenize("\1\0"sv).BestString().empty()); in TEST_F()
62 EXPECT_TRUE(detok_.Detokenize("\1\0\0"sv).BestString().empty()); in TEST_F()
63 EXPECT_TRUE(detok_.Detokenize("\0\0\0"sv).BestString().empty()); in TEST_F()
67 EXPECT_FALSE(detok_.Detokenize("\0\0\0\0"sv).ok()); in TEST_F()
68 EXPECT_TRUE(detok_.Detokenize("\0\0\0\0"sv).BestString().empty()); in TEST_F()
69 EXPECT_TRUE(detok_.Detokenize("\2\0\0\0"sv).BestString().empty()); in TEST_F()
76 EXPECT_EQ(detok_.Detokenize("", 0u).BestStringWithErrors(), in TEST_F()
80 EXPECT_EQ(detok_.Detokenize("\1\0"sv).BestStringWithErrors(), in TEST_F()
82 EXPECT_EQ(detok_.Detokenize("\1\0\0"sv).BestStringWithErrors(), in TEST_F()
84 EXPECT_EQ(detok_.Detokenize("\0\0\0"sv).BestStringWithErrors(), in TEST_F()
89 EXPECT_FALSE(detok_.Detokenize("\0\0\0\0"sv).ok()); in TEST_F()
90 EXPECT_EQ(detok_.Detokenize("\0\0\0\0"sv).BestStringWithErrors(), in TEST_F()
92 EXPECT_EQ(detok_.Detokenize("\2\0\0\0"sv).BestStringWithErrors(), in TEST_F()
101 "TOKENS\0\0"
103 "\0\0\0\0"
110 "\xDD\xDD\xDD\xDD----"
113 "\0"
114 "Use the %s, %s.\0"
115 "Now there are %d of %s!\0"
116 "%c!\0" // AA
117 "%hhu!\0" // BB
118 "%hu!\0" // CC
119 "%u!\0" // DD
120 "%lu!\0" // EE
159 Case{"\xDD\xDD\xDD\xDD\xfe\xff\x07"sv, "65535!"}, in TEST_F()
160 Case{"\xDD\xDD\xDD\xDD\xfe\xff\xff\xff\x1f"sv, "4294967295!"}, in TEST_F()
190 "TOKENS\0\0"
192 "\0\0\0\0"
206 "\xDD\xDD\xDD\xDD\xff\xff\xff\xff" // E
207 "\xDD\xDD\xDD\xDD\xff\xff\xff\xff" // F
209 "This string is present\0" // 1
210 "This string is removed\0" // 2
211 "One arg %d\0" // 3
212 "One arg %s\0" // 4
213 "Two args %s %u\0" // 5
214 "Two args %s %s %% %% %%\0" // 6
215 "Four args %d %d %d %d\0" // 7
216 "This one is removed\0" // 8
217 "This one is present\0" // 9
218 "Two ints %d %d\0" // A
219 "Three ints %d %d %d\0" // B
220 "Three strings %s %s %s\0" // C
221 "Two strings %s %s\0" // D
222 "Three %s %s %s\0" // E
223 "Five %d %d %d %d %s\0"; // F
237 TestCases(Case{"\0\0\0\0"sv, "This string is present"}, in TEST_F()
238 Case{"\0\0\0\0\x01"sv, "One arg -1"}, in TEST_F()
239 Case{"\0\0\0\0\x80"sv, "One arg [...]"}, in TEST_F()
240 Case{"\0\0\0\0\4Hey!\x04"sv, "Two args Hey! 2"})) { in TEST_F()
247 TestCases(Case{"\0\0\0\0\x80\x80\x80\x80\x00"sv, "Two args [...] 0"}, in TEST_F()
248 Case{"\0\0\0\0\x08?"sv, "One arg %s"}, in TEST_F()
249 Case{"\0\0\0\0\x01!\x01\x80"sv, "Two args ! \x80 % % %"})) { in TEST_F()
256 TestCases(Case{"\xBB\xBB\xBB\xBB\x00"sv, "Two ints 0 %d"}, in TEST_F()
263 auto result = detok_.Detokenize("\xDD\xDD\xDD\xDD\x01\x02\x01\x04\x05"sv); in TEST_F()
264 EXPECT_EQ((std::string_view)result.matches()[0].value(), "Five -1 1 -1 2 %s"); in TEST_F()
271 EXPECT_EQ(detok_.Detokenize("\0\0\0\0\x01\x00\x01\x02"sv).BestString(), in TEST_F()
272 "Four args -1 0 -1 1"); in TEST_F()
284 auto result = detok_.Detokenize("\0\0\0\0"sv); in TEST_F()