Home
last modified time | relevance | path

Searched refs:Detokenizer (Results 1 – 11 of 11) sorted by relevance

/external/pigweed/pw_tokenizer/py/
Ddetokenize_test.py104 detok = detokenize.Detokenizer(
114 detok = detokenize.Detokenizer(
131 detok = detokenize.Detokenizer(
147 detok = detokenize.Detokenizer(tokens.Database([
163 detok = detokenize.Detokenizer(
177 detok = detokenize.Detokenizer(io.BytesIO(EMPTY_ELF))
189 detok = detokenize.Detokenizer(io.BytesIO(EMPTY_ELF), show_errors=True)
199 detok = detokenize.Detokenizer(io.BytesIO(EMPTY_ELF), show_errors=True)
214 detok = detokenize.Detokenizer(io.BytesIO(EMPTY_ELF))
231 detok = detokenize.Detokenizer(io.BytesIO(ELF_WITH_TOKENIZER_SECTIONS))
[all …]
/external/pigweed/pw_tokenizer/java/dev/pigweed/tokenizer/
Ddetokenizer.cc34 Detokenizer* HandleToPointer(jlong handle) { in HandleToPointer()
35 Detokenizer* detokenizer = nullptr; in HandleToPointer()
41 jlong PointerToHandle(Detokenizer* detokenizer) { in PointerToHandle()
62 PointerToHandle(new Detokenizer(tokens.ok() ? tokens : TokenDatabase())); in DETOKENIZER_METHOD()
DDetokenizer.java29 public class Detokenizer { class
42 public Detokenizer() { in Detokenizer() method in Detokenizer
46 public Detokenizer(byte[] tokenDatabase) { in Detokenizer() method in Detokenizer
/external/pigweed/pw_tokenizer/
Ddetokenize.cc100 Detokenizer::Detokenizer(const TokenDatabase& database) { in Detokenizer() function in pw::tokenizer::Detokenizer
106 DetokenizedString Detokenizer::Detokenize( in Detokenize()
Ddetokenize_test.cc47 Detokenizer detok_;
136 Detokenizer detok_;
232 Detokenizer detok_;
Ddetokenize_fuzzer.cc63 static Detokenizer detokenizer(TokenDatabase::Create<kBasicData>()); in LLVMFuzzerTestOneInput()
Ddocs.rst776 To detokenize in Python, import ``Detokenizer`` from the ``pw_tokenizer``
783 detokenizer = pw_tokenizer.Detokenizer('path/to/database.csv', 'other/path.elf')
790 class, which can be used in place of the standard ``Detokenizer``. This class
807 Detokenizer detokenizer(TokenDatabase::Create(token_database_array));
823 Detokenizer OpenDatabase(std::string_view path) {
832 return Detokenizer(database);
834 return Detokenizer(kDefaultDatabase);
1004 ``pw_tokenizer.Detokenizer``.
/external/pigweed/pw_tokenizer/public/pw_tokenizer/
Ddetokenize.h75 class Detokenizer {
79 Detokenizer(const TokenDatabase& database);
/external/pigweed/pw_tokenizer/py/pw_tokenizer/
Ddetokenize.py171 class Detokenizer: class
246 self._detokenizer = Detokenizer(*(path.load() for path in self.paths))
255 self._detokenizer = Detokenizer(*(path.load()
261 _Detokenizer = Union[Detokenizer, AutoUpdatingDetokenizer]
459 detokenizer = Detokenizer(tokens.Database.merged(*databases),
D__init__.py16 from pw_tokenizer.detokenize import AutoUpdatingDetokenizer, Detokenizer
Dserial_detokenizer.py72 detokenizer = detokenize.Detokenizer(tokens.Database.merged(*databases),