/external/libtextclassifier/native/utils/base/ |
D | arena.h | 181 class UnsafeArena : public BaseArena { 184 explicit UnsafeArena(const size_t block_size) in UnsafeArena() function 186 UnsafeArena(const size_t block_size, bool align) in UnsafeArena() function 193 UnsafeArena(char* first_block, const size_t block_size) in UnsafeArena() function 195 UnsafeArena(char* first_block, const size_t block_size, bool align) in UnsafeArena() function 279 UnsafeArena(const UnsafeArena&) = delete; 280 UnsafeArena& operator=(const UnsafeArena&) = delete;
|
D | arena_test.cc | 201 UnsafeArena ua(buffer, blksize); in DoTest() 254 void TestArena2(UnsafeArena* const arena) { in TestArena2() 348 UnsafeArena arena(512); in TEST() 357 UnsafeArena arena(buffer, 512); in TEST() 382 TestStrndupUnterminated<UnsafeArena>(); in TEST()
|
D | arena_leakage_unittest.cc | 23 UnsafeArena arena(32); in TEST()
|
D | arena.cc | 487 char* UnsafeArena::Realloc(char* original, size_t oldsize, size_t newsize) { in AllocNewBlock() 513 void UnsafeArena::UnusedKeyMethod() {} in AllocNewBlock()
|
/external/libtextclassifier/native/utils/grammar/semantics/ |
D | value.h | 37 static const SemanticValue* Create(const T value, UnsafeArena* arena) { in Create() 50 const SemanticValue* Create(const StringPiece value, UnsafeArena* arena) { in Create() 56 const SemanticValue* Create(const UnicodeText value, UnsafeArena* arena) { in Create() 64 UnsafeArena* arena) { in Create() 74 UnsafeArena* arena) { in Create() 80 UnsafeArena* arena) { in Create() 86 const T value, UnsafeArena* arena) { in Create()
|
D | composer.h | 53 UnsafeArena* arena) const; 59 UnsafeArena* arena) const override; 65 UnsafeArena* arena) const;
|
D | composer.cc | 86 UnsafeArena* arena) const { in Eval() 100 UnsafeArena* arena) const { in Eval() 122 UnsafeArena* arena) const { in Apply()
|
D | evaluator.h | 37 UnsafeArena* arena) const = 0;
|
/external/libtextclassifier/native/utils/grammar/parsing/ |
D | parser.h | 44 UnsafeArena* arena) const; 61 UnsafeArena* arena) const; 64 void EmitSymbol(const Symbol& symbol, UnsafeArena* arena,
|
D | matcher.h | 59 UnsafeArena* arena) in Matcher() 71 UnsafeArena* arena) in Matcher() 127 UnsafeArena* arena_;
|
D | parser.cc | 30 inline bool CheckMemoryUsage(const UnsafeArena* arena) { in CheckMemoryUsage() 83 UnsafeArena* arena) const { in SortedSymbolsForInput() 192 void Parser::EmitSymbol(const Symbol& symbol, UnsafeArena* arena, in EmitSymbol() 255 UnsafeArena* arena) const { in Parse()
|
D | chart_test.cc | 33 UnsafeArena arena_;
|
/external/libtextclassifier/native/utils/grammar/ |
D | analyzer.h | 42 const TextContext& input, UnsafeArena* arena, 47 UnsafeArena* arena, bool deduplicate_derivations = true) const;
|
D | analyzer.cc | 49 const TextContext& input, UnsafeArena* arena, in Parse() 74 UnsafeArena* arena, bool deduplicate_derivations) const { in Parse()
|
/external/libtextclassifier/native/utils/grammar/semantics/evaluators/ |
D | arithmetic-eval.cc | 27 const ArithmeticExpression* expression, UnsafeArena* arena) { in Reduce() 99 UnsafeArena* arena) const { in Apply()
|
D | arithmetic-eval.h | 40 UnsafeArena* arena) const override;
|
D | span-eval.h | 35 UnsafeArena* arena) const override { in Apply()
|
D | compose-eval.h | 38 UnsafeArena* arena) const override;
|
D | merge-values-eval.h | 42 UnsafeArena* arena) const override;
|
D | constituent-eval.h | 33 UnsafeArena*) const override { in Apply() argument
|
D | merge-values-eval.cc | 23 UnsafeArena* arena) const { in Apply()
|
D | const-eval.h | 36 UnsafeArena* arena) const override { in Apply()
|
D | parse-number-eval.h | 40 UnsafeArena* arena) const override { in Apply()
|
/external/libtextclassifier/native/annotator/grammar/ |
D | grammar-annotator.cc | 207 UnsafeArena arena(/*block_size=*/16 << 10); in Annotate() 238 UnsafeArena arena(/*block_size=*/16 << 10); in SuggestSelection() 294 UnsafeArena arena(/*block_size=*/16 << 10); in ClassifyText()
|
/external/libtextclassifier/native/annotator/datetime/ |
D | grammar-parser.cc | 58 UnsafeArena arena(/*block_size=*/16 << 10); in Parse()
|