Home
last modified time | relevance | path

Searched refs:DetokenizedString (Results 1 – 4 of 4) sorted by relevance

/external/pigweed/pw_tokenizer/public/pw_tokenizer/
Ddetokenize.h44 class DetokenizedString {
46 DetokenizedString(uint32_t token,
50 DetokenizedString() : has_token_(false) {} in DetokenizedString() function
83 DetokenizedString Detokenize(const std::span<const uint8_t>& encoded) const;
85 DetokenizedString Detokenize(const std::string_view& encoded) const { in Detokenize()
89 DetokenizedString Detokenize(const void* encoded, size_t size_bytes) const { in Detokenize()
/external/pigweed/pw_tokenizer/
Ddetokenize.cc70 DetokenizedString::DetokenizedString( in DetokenizedString() function in pw::tokenizer::DetokenizedString
88 std::string DetokenizedString::BestString() const { in BestString()
92 std::string DetokenizedString::BestStringWithErrors() const { in BestStringWithErrors()
106 DetokenizedString Detokenizer::Detokenize( in Detokenize()
110 return DetokenizedString(); in Detokenize()
118 return DetokenizedString(token, in Detokenize()
/external/pigweed/pw_tokenizer/py/pw_tokenizer/
Ddetokenize.py63 class DetokenizedString: class
200 def detokenize(self, encoded_message: bytes) -> DetokenizedString:
203 return DetokenizedString(None, (), encoded_message,
207 return DetokenizedString(token, self.lookup(token), encoded_message,
248 def detokenize(self, data: bytes) -> DetokenizedString:
/external/pigweed/pw_tokenizer/java/dev/pigweed/tokenizer/
Ddetokenizer.cc81 DetokenizedString result = HandleToPointer(handle)->Detokenize(data, size); in DETOKENIZER_METHOD()