Home
last modified time | relevance | path

Searched refs:BestStringWithErrors (Results 1 – 3 of 3) sorted by relevance

/external/pigweed/pw_tokenizer/
Ddetokenize_test.cc218 EXPECT_EQ(detok_.Detokenize("", 0u).BestStringWithErrors(), in TEST_F()
223 EXPECT_EQ(detok_.Detokenize("\1", 1u).BestStringWithErrors(), "One"); in TEST_F()
224 EXPECT_EQ(detok_.Detokenize("\1\0"sv).BestStringWithErrors(), "One"); in TEST_F()
225 EXPECT_EQ(detok_.Detokenize("\1\0\0"sv).BestStringWithErrors(), "One"); in TEST_F()
230 EXPECT_EQ(detok_.Detokenize("\0"sv).BestStringWithErrors(), in TEST_F()
232 EXPECT_EQ(detok_.Detokenize("\0\0\0"sv).BestStringWithErrors(), in TEST_F()
234 EXPECT_EQ(detok_.Detokenize("\0\0\0\0"sv).BestStringWithErrors(), in TEST_F()
236 EXPECT_EQ(detok_.Detokenize("\2\0\0\0"sv).BestStringWithErrors(), in TEST_F()
238 EXPECT_EQ(detok_.Detokenize("\x10\x32\x54\x76\x99"sv).BestStringWithErrors(), in TEST_F()
240 EXPECT_EQ(detok_.Detokenize("\x98\xba\xdc\xfe"sv).BestStringWithErrors(), in TEST_F()
[all …]
Ddetokenize.cc198 std::string DetokenizedString::BestStringWithErrors() const { in BestStringWithErrors() function in pw::tokenizer::DetokenizedString
/external/pigweed/pw_tokenizer/public/pw_tokenizer/
Ddetokenize.h76 std::string BestStringWithErrors() const;