Home
last modified time | relevance | path

Searched refs:Annotator (Results 1 – 25 of 35) sorted by relevance

12

/external/libtextclassifier/native/annotator/
Dannotator_test-include.cc80 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 …]
Dannotator.cc59 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 …]
Dannotator.h108 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 …]
Dannotator_test-include.h38 class TestingAnnotator : public Annotator {
57 Annotator::FromUnownedBuffer(buffer, size, unilib, calendarlib)
61 using Annotator::ResolveConflicts;
Dannotator_jni.cc54 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 …]
Dannotator_jni_test.cc25 TEST(Annotator, ConvertIndicesBMPUTF8) { in TEST() argument
/external/llvm-project/polly/include/polly/CodeGen/
DIRBuilder.h137 IRInserter(class ScopAnnotator &A) : Annotator(&A) {} in IRInserter()
143 if (Annotator) in InsertHelper()
144 Annotator->annotate(I); in InsertHelper()
148 class ScopAnnotator *Annotator = nullptr;
DIslNodeBuilder.h68 IslNodeBuilder(PollyIRBuilder &Builder, ScopAnnotator &Annotator, in IslNodeBuilder() argument
71 : S(S), Builder(Builder), Annotator(Annotator), in IslNodeBuilder()
131 ScopAnnotator &Annotator; variable
DLoopGenerators.h68 ScopAnnotator *Annotator = NULL, bool Parallel = false,
/external/llvm-project/polly/lib/CodeGen/
DLoopGenerators.cpp86 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()
DCodeGeneration.cpp204 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()
DIslNodeBuilder.cpp427 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/
DTestLexer.h79 TokenAnnotator Annotator(Style, Lex.getKeywords()); in annotate()
82 Annotator.annotate(Annotated); in annotate()
83 Annotator.calculateFormattingInformation(Annotated); in annotate()
/external/clang/lib/Format/
DTokenAnalyzer.cpp103 TokenAnnotator Annotator(Style, Tokens.getKeywords()); in process() local
106 Annotator.annotate(*AnnotatedLines.back()); in process()
110 analyze(Annotator, AnnotatedLines, Tokens, Result); in process()
DTokenAnalyzer.h88 analyze(TokenAnnotator &Annotator,
/external/llvm-project/clang/lib/Format/
DTokenAnalyzer.cpp84 TokenAnnotator Annotator(Style, Lex.getKeywords()); in process() local
87 Annotator.annotate(*AnnotatedLines.back()); in process()
91 analyze(Annotator, AnnotatedLines, Lex); in process()
DUsingDeclarationsSorter.h28 analyze(TokenAnnotator &Annotator,
DNamespaceEndCommentsFixer.h38 analyze(TokenAnnotator &Annotator,
DTokenAnalyzer.h88 analyze(TokenAnnotator &Annotator,
DUsingDeclarationsSorter.cpp185 TokenAnnotator &Annotator, SmallVectorImpl<AnnotatedLine *> &AnnotatedLines, in analyze() argument
DNamespaceEndCommentsFixer.cpp203 TokenAnnotator &Annotator, SmallVectorImpl<AnnotatedLine *> &AnnotatedLines, in analyze() argument
/external/llvm-project/llvm/tools/llvm-dis/
Dllvm-dis.cpp212 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/
Dllvm-dis.cpp217 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/
Dactions-suggestions.h105 const Conversation& conversation, const Annotator* annotator,
215 const Annotator* annotator) const;
231 const Annotator* annotator,
Dactions_jni.cc44 using libtextclassifier3::Annotator;
511 const Annotator* annotator = reinterpret_cast<Annotator*>(annotatorPtr); in TC3_JNI_METHOD()

12