Home
last modified time | relevance | path

Searched refs:Callbacks (Results 1 – 25 of 113) sorted by relevance

12345

/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/CodeView/
DCVTypeVisitor.cpp25 static Error visitKnownRecord(CVType &Record, TypeVisitorCallbacks &Callbacks) { in visitKnownRecord() argument
28 if (auto EC = Callbacks.visitKnownRecord(Record, KnownRecord)) in visitKnownRecord()
35 TypeVisitorCallbacks &Callbacks) { in visitKnownMember() argument
38 if (auto EC = Callbacks.visitKnownMember(Record, KnownRecord)) in visitKnownMember()
44 TypeVisitorCallbacks &Callbacks) { in visitMemberRecord() argument
45 if (auto EC = Callbacks.visitMemberBegin(Record)) in visitMemberRecord()
50 if (auto EC = Callbacks.visitUnknownMember(Record)) in visitMemberRecord()
55 if (auto EC = visitKnownMember<Name##Record>(Record, Callbacks)) \ in visitMemberRecord()
66 if (auto EC = Callbacks.visitMemberEnd(Record)) in visitMemberRecord()
76 explicit CVTypeVisitor(TypeVisitorCallbacks &Callbacks);
[all …]
DCVSymbolVisitor.cpp18 CVSymbolVisitor::CVSymbolVisitor(SymbolVisitorCallbacks &Callbacks) in CVSymbolVisitor() argument
19 : Callbacks(Callbacks) {} in CVSymbolVisitor()
23 SymbolVisitorCallbacks &Callbacks) { in visitKnownRecord() argument
26 if (auto EC = Callbacks.visitKnownRecord(Record, KnownRecord)) in visitKnownRecord()
32 SymbolVisitorCallbacks &Callbacks) { in finishVisitation() argument
35 if (auto EC = Callbacks.visitUnknownSymbol(Record)) in finishVisitation()
40 if (auto EC = visitKnownRecord<Name>(Record, Callbacks)) \ in finishVisitation()
49 if (auto EC = Callbacks.visitSymbolEnd(Record)) in finishVisitation()
56 if (auto EC = Callbacks.visitSymbolBegin(Record)) in visitSymbolRecord()
58 return finishVisitation(Record, Callbacks); in visitSymbolRecord()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/CodeView/
DCVTypeVisitor.h32 TypeVisitorCallbacks &Callbacks,
34 Error visitTypeRecord(CVType &Record, TypeVisitorCallbacks &Callbacks,
37 Error visitMemberRecord(CVMemberRecord Record, TypeVisitorCallbacks &Callbacks,
40 TypeVisitorCallbacks &Callbacks);
43 TypeVisitorCallbacks &Callbacks);
45 Error visitTypeStream(const CVTypeArray &Types, TypeVisitorCallbacks &Callbacks,
47 Error visitTypeStream(CVTypeRange Types, TypeVisitorCallbacks &Callbacks);
48 Error visitTypeStream(TypeCollection &Types, TypeVisitorCallbacks &Callbacks);
DCVSymbolVisitor.h25 CVSymbolVisitor(SymbolVisitorCallbacks &Callbacks);
33 SymbolVisitorCallbacks &Callbacks;
DSymbolVisitorCallbackPipeline.h57 void addCallbackToPipeline(SymbolVisitorCallbacks &Callbacks) { in addCallbackToPipeline() argument
58 Pipeline.push_back(&Callbacks); in addCallbackToPipeline()
DTypeVisitorCallbackPipeline.h82 void addCallbackToPipeline(TypeVisitorCallbacks &Callbacks) { in addCallbackToPipeline() argument
83 Pipeline.push_back(&Callbacks); in addCallbackToPipeline()
/external/llvm/lib/DebugInfo/CodeView/
DCVTypeVisitor.cpp24 CVTypeVisitor::CVTypeVisitor(TypeVisitorCallbacks &Callbacks) in CVTypeVisitor() argument
25 : Callbacks(Callbacks) {} in CVTypeVisitor()
29 if (auto EC = Callbacks.visitTypeBegin(Record)) in visitTypeRecord()
33 if (auto EC = Callbacks.visitUnknownType(Record)) in visitTypeRecord()
37 if (auto EC = Callbacks.visitFieldListBegin(Record)) in visitTypeRecord()
41 if (auto EC = Callbacks.visitFieldListEnd(Record)) in visitTypeRecord()
50 if (auto EC = Callbacks.visit##Name(*Result)) \ in visitTypeRecord()
59 if (auto EC = Callbacks.visitTypeEnd(Record)) in visitTypeRecord()
103 if (auto EC = Callbacks.visitUnknownMember(Record)) in visitFieldList()
111 if (auto EC = Callbacks.visit##Name(*Result)) \ in visitFieldList()
/external/clang/include/clang/Tooling/
DTooling.h139 FactoryT *ConsumerFactory, SourceFileCallbacks *Callbacks = nullptr);
365 FactoryT *ConsumerFactory, SourceFileCallbacks *Callbacks) { in newFrontendActionFactory() argument
369 SourceFileCallbacks *Callbacks) in newFrontendActionFactory()
370 : ConsumerFactory(ConsumerFactory), Callbacks(Callbacks) {} in newFrontendActionFactory()
373 return new ConsumerFactoryAdaptor(ConsumerFactory, Callbacks); in newFrontendActionFactory()
380 SourceFileCallbacks *Callbacks) in newFrontendActionFactory()
381 : ConsumerFactory(ConsumerFactory), Callbacks(Callbacks) {} in newFrontendActionFactory()
393 if (Callbacks) in newFrontendActionFactory()
394 return Callbacks->handleBeginSource(CI, Filename); in newFrontendActionFactory()
398 if (Callbacks) in newFrontendActionFactory()
[all …]
/external/clang/lib/Frontend/
DPrintPreprocessedOutput.cpp575 PrintPPOutputPPCallbacks *Callbacks; member
582 : Prefix(prefix), Callbacks(callbacks), in UnknownPragmaHandler()
588 Callbacks->startNewLineIfNeeded(); in HandlePragma()
589 Callbacks->MoveToLine(PragmaTok.getLocation()); in HandlePragma()
590 Callbacks->OS.write(Prefix, strlen(Prefix)); in HandlePragma()
609 Callbacks->AvoidConcat(PrevPrevToken, PrevToken, PragmaTok)) in HandlePragma()
610 Callbacks->OS << ' '; in HandlePragma()
612 Callbacks->OS.write(&TokSpell[0], TokSpell.size()); in HandlePragma()
622 Callbacks->setEmittedDirectiveOnThisLine(); in HandlePragma()
629 PrintPPOutputPPCallbacks *Callbacks, in PrintPreprocessedTokens() argument
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/DebugInfo/CodeView/
DRandomAccessVisitorTest.cpp144 if (TI != TestState->Callbacks.Indices[VisitationOrder]) in ValidateVisitedRecord()
148 TestState->Callbacks.RawRecords[VisitationOrder]) in ValidateVisitedRecord()
152 TestState->Callbacks.VisitedRecords[VisitationOrder]) in ValidateVisitedRecord()
177 MockCallbacks Callbacks; member
218 EXPECT_THAT_ERROR(codeview::visitTypeRecord(T, TI, TestState->Callbacks), in TEST_F()
228 EXPECT_EQ(3u, TestState->Callbacks.count()); in TEST_F()
247 EXPECT_THAT_ERROR(codeview::visitTypeRecord(T, TI, TestState->Callbacks), in TEST_F()
257 EXPECT_EQ(3u, TestState->Callbacks.count()); in TEST_F()
276 EXPECT_THAT_ERROR(codeview::visitTypeRecord(T, TI, TestState->Callbacks), in TEST_F()
286 EXPECT_EQ(3u, TestState->Callbacks.count()); in TEST_F()
[all …]
/external/clang/unittests/Frontend/
DFrontendActionTest.cpp156 TestPPCallbacks *Callbacks; member in __anon5af6fb650111::TestPPCallbacksFrontendAction
160 : Callbacks(C), SeenEnd(false) {} in TestPPCallbacksFrontendAction()
164 PP.addPPCallbacks(std::unique_ptr<TestPPCallbacks>(Callbacks)); in ExecuteAction()
167 void EndSourceFileAction() override { SeenEnd = Callbacks->SeenEnd; } in EndSourceFileAction()
185 TestPPCallbacks *Callbacks = new TestPPCallbacks; in TEST() local
186 TestPPCallbacksFrontendAction TestAction(Callbacks); in TEST()
187 ASSERT_FALSE(Callbacks->SeenEnd); in TEST()
/external/clang/lib/Lex/
DPPDirectives.cpp497 if (Callbacks) in SkipExcludedConditionalBlock()
498 Callbacks->Endif(Tok.getLocation(), CondInfo.IfLoc); in SkipExcludedConditionalBlock()
524 if (Callbacks) in SkipExcludedConditionalBlock()
525 Callbacks->Else(Tok.getLocation(), CondInfo.IfLoc); in SkipExcludedConditionalBlock()
549 if (Callbacks) { in SkipExcludedConditionalBlock()
551 Callbacks->Elif(Tok.getLocation(), in SkipExcludedConditionalBlock()
574 if (Callbacks) { in SkipExcludedConditionalBlock()
576 Callbacks->SourceRangeSkipped(SourceRange(BeginLoc, Tok.getLocation())); in SkipExcludedConditionalBlock()
1197 if (Callbacks) in HandleLineDirective()
1198 Callbacks->FileChanged(CurPPLexer->getSourceLocation(), in HandleLineDirective()
[all …]
DPragma.cpp107 if (Callbacks) in HandlePragmaDirective()
108 Callbacks->PragmaDirective(IntroducerLoc, Introducer); in HandlePragmaDirective()
440 if (Callbacks) in HandlePragmaSystemHeader()
441 Callbacks->FileChanged(SysHeaderTok.getLocation(), in HandlePragmaSystemHeader()
921 PPCallbacks *Callbacks = PP.getPPCallbacks(); in HandlePragma() local
922 if (Callbacks) in HandlePragma()
923 Callbacks->PragmaDebug(Tok.getLocation(), II->getName()); in HandlePragma()
981 PPCallbacks *Callbacks = PP.getPPCallbacks(); in HandlePragma() local
986 else if (Callbacks) in HandlePragma()
987 Callbacks->PragmaDiagnosticPop(DiagLoc, Namespace); in HandlePragma()
[all …]
DPPLexerChange.cpp126 if (Callbacks && !CurLexer->Is_PragmaLexer) { in EnterSourceFileWithLexer()
130 Callbacks->FileChanged(CurLexer->getFileLoc(), in EnterSourceFileWithLexer()
151 if (Callbacks) { in EnterSourceFileWithPTH()
156 Callbacks->FileChanged(EnterLoc, PPCallbacks::EnterFile, FileType); in EnterSourceFileWithPTH()
402 if (Callbacks && !isEndOfMacro && CurPPLexer) in HandleEndOfFile()
426 if (Callbacks && !isEndOfMacro && CurPPLexer) { in HandleEndOfFile()
429 Callbacks->FileChanged(CurPPLexer->getSourceLocation(), in HandleEndOfFile()
/external/clang/unittests/Lex/
DPPCallbacksTest.cpp175 InclusionDirectiveCallbacks* Callbacks = new InclusionDirectiveCallbacks; in InclusionDirectiveFilenameRange() local
176 PP.addPPCallbacks(std::unique_ptr<PPCallbacks>(Callbacks)); in InclusionDirectiveFilenameRange()
189 return Callbacks->FilenameRange; in InclusionDirectiveFilenameRange()
221 PragmaOpenCLExtensionCallbacks* Callbacks = new PragmaOpenCLExtensionCallbacks; in PragmaOpenCLExtensionCall() local
222 PP.addPPCallbacks(std::unique_ptr<PPCallbacks>(Callbacks)); in PragmaOpenCLExtensionCall()
234 Callbacks->Name, in PragmaOpenCLExtensionCall()
235 Callbacks->State in PragmaOpenCLExtensionCall()
/external/webrtc/talk/app/webrtc/java/src/org/webrtc/
DVideoRenderer.java127 public static interface Callbacks { interface in VideoRenderer
160 public VideoRenderer(Callbacks callbacks) { in VideoRenderer()
184 private static native long nativeWrapVideoRenderer(Callbacks callbacks); in nativeWrapVideoRenderer()
/external/llvm/include/llvm/DebugInfo/CodeView/
DCVTypeVisitor.h23 explicit CVTypeVisitor(TypeVisitorCallbacks &Callbacks);
38 TypeVisitorCallbacks &Callbacks;
/external/libbrillo/brillo/
Dasynchronous_signal_handler.h49 typedef std::map<int, SignalHandler> Callbacks; typedef
50 Callbacks registered_callbacks_;
Dasynchronous_signal_handler.cc67 Callbacks::iterator callback_it = registered_callbacks_.find(signal); in UnregisterHandler()
79 Callbacks::iterator callback_it = registered_callbacks_.find(signal); in OnFileCanReadWithoutBlocking()
/external/webrtc/webrtc/base/
Dcallback.h.pump14 // Callbacks are callable object containers. They can hold a function pointer
18 // Callbacks are typed using template arguments. The format is:
21 // Callbacks are invoked using operator(), just like a function or a function
26 // Callbacks are similar in purpose to std::function (which isn't available on
/external/libchrome/mojo/public/java/system/javatests/src/org/chromium/mojo/bindings/
DCallbacksTest.java14 import org.chromium.mojo.bindings.Callbacks.Callback1;
15 import org.chromium.mojo.bindings.Callbacks.Callback7;
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
DVideoRendererGui.java92 private static class YuvImageRenderer implements VideoRenderer.Callbacks {
456 public static VideoRenderer.Callbacks createGuiRenderer( in createGuiRenderer()
522 VideoRenderer.Callbacks renderer, int x, int y, int width, int height, in update()
539 VideoRenderer.Callbacks renderer, RendererCommon.RendererEvents rendererEvents) { in setRendererEvents()
554 public static synchronized void remove(VideoRenderer.Callbacks renderer) { in remove()
570 public static synchronized void reset(VideoRenderer.Callbacks renderer) { in reset()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Passes/
DPassBuilder.cpp1221 static bool callbacksAcceptPassName(StringRef Name, CallbacksT &Callbacks) { in callbacksAcceptPassName() argument
1222 if (!Callbacks.empty()) { in callbacksAcceptPassName()
1224 for (auto &CB : Callbacks) in callbacksAcceptPassName()
1232 static bool isModulePassName(StringRef Name, CallbacksT &Callbacks) { in isModulePassName() argument
1257 return callbacksAcceptPassName<ModulePassManager>(Name, Callbacks); in isModulePassName()
1261 static bool isCGSCCPassName(StringRef Name, CallbacksT &Callbacks) { in isCGSCCPassName() argument
1282 return callbacksAcceptPassName<CGSCCPassManager>(Name, Callbacks); in isCGSCCPassName()
1286 static bool isFunctionPassName(StringRef Name, CallbacksT &Callbacks) { in isFunctionPassName() argument
1305 return callbacksAcceptPassName<FunctionPassManager>(Name, Callbacks); in isFunctionPassName()
1309 static bool isLoopPassName(StringRef Name, CallbacksT &Callbacks) { in isLoopPassName() argument
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/docs/tutorial/
DBuildingAJIT4.rst2 Building a JIT: Extreme Laziness - Using Compile Callbacks to JIT from ASTs
16 chapter introduces the Compile Callbacks and Indirect Stubs APIs and shows how
/external/llvm/docs/tutorial/
DBuildingAJIT4.rst2 Building a JIT: Extreme Laziness - Using Compile Callbacks to JIT from ASTs
16 chapter introduces the Compile Callbacks and Indirect Stubs APIs and shows how

12345