Searched refs:Detokenize (Results 1 – 6 of 6) sorted by relevance
/external/pigweed/pw_tokenizer/ |
D | detokenize_test.cc | 44 class Detokenize : public ::testing::Test { class 46 Detokenize() : detok_(TokenDatabase::Create<kBasicData>()) {} in Detokenize() function in pw::tokenizer::__anon47a94f5a0111::Detokenize 50 TEST_F(Detokenize, NoFormatting) { in TEST_F() argument 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() 53 EXPECT_EQ(detok_.Detokenize("\xff\x00\x00\x00"sv).BestString(), "333"); in TEST_F() 54 EXPECT_EQ(detok_.Detokenize("\xff\xee\xee\xdd"sv).BestString(), "FOUR"); in TEST_F() 57 TEST_F(Detokenize, BestString_MissingToken_IsEmpty) { in TEST_F() argument 58 EXPECT_FALSE(detok_.Detokenize("").ok()); in TEST_F() 59 EXPECT_TRUE(detok_.Detokenize("", 0u).BestString().empty()); in TEST_F() [all …]
|
D | detokenize_fuzzer.cc | 79 detokenizer.Detokenize(std::span(&buffer[0], buffer.size())); in LLVMFuzzerTestOneInput() 87 auto detokenized_string = detokenizer.Detokenize(str); in LLVMFuzzerTestOneInput() 98 detokenizer.Detokenize(&buffer[0], buffer.size()); in LLVMFuzzerTestOneInput()
|
D | detokenize.cc | 106 DetokenizedString Detokenizer::Detokenize( in Detokenize() function in pw::tokenizer::Detokenizer
|
D | docs.rst | 810 return detokenizer.Detokenize(log_data).BestString(); 926 # Detokenize Base64-encoded strings in a file 929 # Detokenize Base64-encoded strings in output from a serial device
|
/external/pigweed/pw_tokenizer/public/pw_tokenizer/ |
D | detokenize.h | 83 DetokenizedString Detokenize(const std::span<const uint8_t>& encoded) const; 85 DetokenizedString Detokenize(const std::string_view& encoded) const { in Detokenize() function 86 return Detokenize(encoded.data(), encoded.size()); in Detokenize() 89 DetokenizedString Detokenize(const void* encoded, size_t size_bytes) const { in Detokenize() function 90 return Detokenize( in Detokenize()
|
/external/pigweed/pw_tokenizer/java/dev/pigweed/tokenizer/ |
D | detokenizer.cc | 81 DetokenizedString result = HandleToPointer(handle)->Detokenize(data, size); in DETOKENIZER_METHOD()
|