/external/libtextclassifier/native/annotator/ |
D | annotator_test-include.cc | 80 std::unique_ptr<Annotator> classifier = in TEST_F() 81 Annotator::FromPath(GetModelPath() + "wrong_embeddings.fb", unilib_.get(), in TEST_F() 86 void VerifyClassifyText(const Annotator* classifier) { in VerifyClassifyText() 126 std::unique_ptr<Annotator> classifier = Annotator::FromPath( in TEST_F() 132 std::unique_ptr<Annotator> classifier = Annotator::FromPath( in TEST_F() 149 std::unique_ptr<Annotator> classifier = Annotator::FromPath( in TEST_F() 163 std::unique_ptr<Annotator> classifier = Annotator::FromPath( in TEST_F() 194 std::unique_ptr<Annotator> classifier = Annotator::FromUnownedBuffer( in TEST_F() 211 std::unique_ptr<Annotator> classifier = Annotator::FromUnownedBuffer( in TEST_F() 224 std::unique_ptr<Annotator> classifier = Annotator::FromUnownedBuffer( in TEST_F() [all …]
|
D | annotator.cc | 59 const std::string& Annotator::kPhoneCollection = 61 const std::string& Annotator::kAddressCollection = 63 const std::string& Annotator::kDateCollection = 65 const std::string& Annotator::kUrlCollection = 67 const std::string& Annotator::kEmailCollection = 156 std::unique_ptr<Annotator> Annotator::FromUnownedBuffer( in FromUnownedBuffer() 164 auto classifier = std::unique_ptr<Annotator>(new Annotator()); in FromUnownedBuffer() 176 std::unique_ptr<Annotator> Annotator::FromString( in FromString() 179 auto classifier = std::unique_ptr<Annotator>(new Annotator()); in FromString() 197 std::unique_ptr<Annotator> Annotator::FromScopedMmap( in FromScopedMmap() [all …]
|
D | annotator.h | 108 class Annotator { 110 static std::unique_ptr<Annotator> FromUnownedBuffer( 114 static std::unique_ptr<Annotator> FromString( 118 static std::unique_ptr<Annotator> FromScopedMmap( 121 static std::unique_ptr<Annotator> FromScopedMmap( 124 static std::unique_ptr<Annotator> FromFileDescriptor( 127 static std::unique_ptr<Annotator> FromFileDescriptor( 130 static std::unique_ptr<Annotator> FromFileDescriptor( 133 static std::unique_ptr<Annotator> FromFileDescriptor( 136 static std::unique_ptr<Annotator> FromPath( [all …]
|
D | annotator_test-include.h | 38 class TestingAnnotator : public Annotator { 57 Annotator::FromUnownedBuffer(buffer, size, unilib, calendarlib) 61 using Annotator::ResolveConflicts;
|
D | annotator_jni.cc | 54 using libtextclassifier3::Annotator; 78 std::unique_ptr<Annotator> model) { in Create() 99 Annotator* model() const { return model_.get(); } in model() 112 std::unique_ptr<Annotator> model, in AnnotatorJniContext() 121 std::unique_ptr<Annotator> model_; 500 Annotator::FromFileDescriptor( in TC3_JNI_METHOD() 505 jni_cache, Annotator::FromFileDescriptor(fd))); in TC3_JNI_METHOD() 518 Annotator::FromPath( in TC3_JNI_METHOD() 523 AnnotatorJniContext::Create(jni_cache, Annotator::FromPath(path_str))); in TC3_JNI_METHOD() 534 Annotator::FromFileDescriptor( in TC3_JNI_METHOD() [all …]
|
D | annotator_jni_test.cc | 25 TEST(Annotator, ConvertIndicesBMPUTF8) { in TEST() argument
|
/external/llvm-project/polly/include/polly/CodeGen/ |
D | IRBuilder.h | 137 IRInserter(class ScopAnnotator &A) : Annotator(&A) {} in IRInserter() 143 if (Annotator) in InsertHelper() 144 Annotator->annotate(I); in InsertHelper() 148 class ScopAnnotator *Annotator = nullptr;
|
D | IslNodeBuilder.h | 68 IslNodeBuilder(PollyIRBuilder &Builder, ScopAnnotator &Annotator, in IslNodeBuilder() argument 71 : S(S), Builder(Builder), Annotator(Annotator), in IslNodeBuilder() 131 ScopAnnotator &Annotator; variable
|
D | LoopGenerators.h | 68 ScopAnnotator *Annotator = NULL, bool Parallel = false,
|
/external/llvm-project/polly/lib/CodeGen/ |
D | LoopGenerators.cpp | 86 ScopAnnotator *Annotator, bool Parallel, bool UseGuard, in createLoop() argument 121 if (Annotator) in createLoop() 122 Annotator->pushLoop(NewLoop, Parallel); in createLoop() 161 if (Annotator) in createLoop() 162 Annotator->annotateLoopLatch(B, NewLoop, Parallel, LoopVectDisabled); in createLoop()
|
D | CodeGeneration.cpp | 204 ScopAnnotator Annotator; in CodeGen() local 211 IRInserter(Annotator)); in CodeGen() 228 IslNodeBuilder NodeBuilder(Builder, Annotator, DL, LI, SE, DT, S, StartBlock); in CodeGen() 233 Annotator.buildAliasScopes(S); in CodeGen()
|
D | IslNodeBuilder.cpp | 427 Annotator.addInterIterationAliasFreeBasePtr(BasePtr); in createMark() 558 Predicate, &Annotator, MarkParallel, UseGuardBB, in createForSequential() 564 Annotator.popLoop(MarkParallel); in createForSequential() 713 Annotator.addAlternativeAliasBases(NewValuesReverse); in createForParallel() 717 Annotator.resetAlternativeAliasBases(); in createForParallel() 1403 Annotator.addAlternativeAliasBases(PreloadedPointer); in preloadInvariantEquivClass()
|
/external/llvm-project/clang/unittests/Format/ |
D | TestLexer.h | 79 TokenAnnotator Annotator(Style, Lex.getKeywords()); in annotate() 82 Annotator.annotate(Annotated); in annotate() 83 Annotator.calculateFormattingInformation(Annotated); in annotate()
|
/external/clang/lib/Format/ |
D | TokenAnalyzer.cpp | 103 TokenAnnotator Annotator(Style, Tokens.getKeywords()); in process() local 106 Annotator.annotate(*AnnotatedLines.back()); in process() 110 analyze(Annotator, AnnotatedLines, Tokens, Result); in process()
|
D | TokenAnalyzer.h | 88 analyze(TokenAnnotator &Annotator,
|
/external/llvm-project/clang/lib/Format/ |
D | TokenAnalyzer.cpp | 84 TokenAnnotator Annotator(Style, Lex.getKeywords()); in process() local 87 Annotator.annotate(*AnnotatedLines.back()); in process() 91 analyze(Annotator, AnnotatedLines, Lex); in process()
|
D | UsingDeclarationsSorter.h | 28 analyze(TokenAnnotator &Annotator,
|
D | NamespaceEndCommentsFixer.h | 38 analyze(TokenAnnotator &Annotator,
|
D | TokenAnalyzer.h | 88 analyze(TokenAnnotator &Annotator,
|
D | UsingDeclarationsSorter.cpp | 185 TokenAnnotator &Annotator, SmallVectorImpl<AnnotatedLine *> &AnnotatedLines, in analyze() argument
|
D | NamespaceEndCommentsFixer.cpp | 203 TokenAnnotator &Annotator, SmallVectorImpl<AnnotatedLine *> &AnnotatedLines, in analyze() argument
|
/external/llvm-project/llvm/tools/llvm-dis/ |
D | llvm-dis.cpp | 212 std::unique_ptr<AssemblyAnnotationWriter> Annotator; in main() local 214 Annotator.reset(new CommentWriter()); in main() 218 M->print(Out->os(), Annotator.get(), PreserveAssemblyUseListOrder); in main()
|
/external/llvm/tools/llvm-dis/ |
D | llvm-dis.cpp | 217 std::unique_ptr<AssemblyAnnotationWriter> Annotator; in main() local 219 Annotator.reset(new CommentWriter()); in main() 223 M->print(Out->os(), Annotator.get(), PreserveAssemblyUseListOrder); in main()
|
/external/libtextclassifier/native/actions/ |
D | actions-suggestions.h | 105 const Conversation& conversation, const Annotator* annotator, 215 const Annotator* annotator) const; 231 const Annotator* annotator,
|
D | actions_jni.cc | 44 using libtextclassifier3::Annotator; 511 const Annotator* annotator = reinterpret_cast<Annotator*>(annotatorPtr); in TC3_JNI_METHOD()
|