Home
last modified time | relevance | path

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

123

/external/clang/include/clang/Tooling/
DTooling.h139 FactoryT *ConsumerFactory, SourceFileCallbacks *Callbacks = nullptr);
360 FactoryT *ConsumerFactory, SourceFileCallbacks *Callbacks) { in newFrontendActionFactory() argument
364 SourceFileCallbacks *Callbacks) in newFrontendActionFactory()
365 : ConsumerFactory(ConsumerFactory), Callbacks(Callbacks) {} in newFrontendActionFactory()
368 return new ConsumerFactoryAdaptor(ConsumerFactory, Callbacks); in newFrontendActionFactory()
375 SourceFileCallbacks *Callbacks) in newFrontendActionFactory()
376 : ConsumerFactory(ConsumerFactory), Callbacks(Callbacks) {} in newFrontendActionFactory()
388 if (Callbacks) in newFrontendActionFactory()
389 return Callbacks->handleBeginSource(CI, Filename); in newFrontendActionFactory()
393 if (Callbacks) in newFrontendActionFactory()
[all …]
/external/clang/lib/Frontend/
DPrintPreprocessedOutput.cpp563 PrintPPOutputPPCallbacks *Callbacks; member
570 : Prefix(prefix), Callbacks(callbacks), in UnknownPragmaHandler()
576 Callbacks->startNewLineIfNeeded(); in HandlePragma()
577 Callbacks->MoveToLine(PragmaTok.getLocation()); in HandlePragma()
578 Callbacks->OS.write(Prefix, strlen(Prefix)); in HandlePragma()
588 Callbacks->AvoidConcat(PrevPrevToken, PrevToken, PragmaTok)) in HandlePragma()
589 Callbacks->OS << ' '; in HandlePragma()
591 Callbacks->OS.write(&TokSpell[0], TokSpell.size()); in HandlePragma()
601 Callbacks->setEmittedDirectiveOnThisLine(); in HandlePragma()
608 PrintPPOutputPPCallbacks *Callbacks, in PrintPreprocessedTokens() argument
[all …]
/external/clang/unittests/Frontend/
DFrontendActionTest.cpp156 TestPPCallbacks *Callbacks; member in __anon212ce9e60111::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.cpp416 if (Callbacks) in SkipExcludedConditionalBlock()
417 Callbacks->Endif(Tok.getLocation(), CondInfo.IfLoc); in SkipExcludedConditionalBlock()
443 if (Callbacks) in SkipExcludedConditionalBlock()
444 Callbacks->Else(Tok.getLocation(), CondInfo.IfLoc); in SkipExcludedConditionalBlock()
468 if (Callbacks) { in SkipExcludedConditionalBlock()
470 Callbacks->Elif(Tok.getLocation(), in SkipExcludedConditionalBlock()
493 if (Callbacks) { in SkipExcludedConditionalBlock()
495 Callbacks->SourceRangeSkipped(SourceRange(BeginLoc, Tok.getLocation())); in SkipExcludedConditionalBlock()
1054 if (Callbacks) in HandleLineDirective()
1055 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()
904 PPCallbacks *Callbacks = PP.getPPCallbacks(); in HandlePragma() local
905 if (Callbacks) in HandlePragma()
906 Callbacks->PragmaDebug(Tok.getLocation(), II->getName()); in HandlePragma()
964 PPCallbacks *Callbacks = PP.getPPCallbacks(); in HandlePragma() local
969 else if (Callbacks) in HandlePragma()
970 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()
DPreprocessor.cpp76 CurLexerKind(CLK_Lexer), CurSubmodule(nullptr), Callbacks(nullptr), in Preprocessor()
532 if (Callbacks) in EndSourceFile()
533 Callbacks->EndOfMainFile(); in EndSourceFile()
792 if (Callbacks && (getLangOpts().Modules || getLangOpts().DebuggerSupport)) in LexAfterModuleImport()
793 Callbacks->moduleImport(ModuleImportLoc, ModuleImportPath, Imported); in LexAfterModuleImport()
/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/libgdx/backends/gdx-backend-android/src/com/badlogic/gdx/backends/android/
DAndroidFragmentApplication.java48 public interface Callbacks { interface in AndroidFragmentApplication
71 protected Callbacks callbacks;
75 if (activity instanceof Callbacks) { in onAttach()
76 this.callbacks = (Callbacks)activity; in onAttach()
77 } else if (getParentFragment() instanceof Callbacks) { in onAttach()
78 this.callbacks = (Callbacks)getParentFragment(); in onAttach()
79 } else if (getTargetFragment() instanceof Callbacks) { in onAttach()
80 this.callbacks = (Callbacks)getTargetFragment(); in onAttach()
/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/libbrillo/brillo/
Dasynchronous_signal_handler.h50 typedef std::map<int, SignalHandler> Callbacks; typedef
51 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/lldb/include/lldb/Core/
DLog.h70 struct Callbacks struct
82 const Log::Callbacks &log_callbacks); argument
89 Log::Callbacks &log_callbacks);
/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/lldb/source/Core/
DLog.cpp316 typedef std::map <ConstString, Log::Callbacks> CallbackMap;
340 Log::RegisterLogChannel (const ConstString &channel, const Log::Callbacks &log_callbacks) in RegisterLogChannel()
352 Log::GetLogChannelCallbacks (const ConstString &channel, Log::Callbacks &log_callbacks) in GetLogChannelCallbacks()
429 Log::Callbacks log_callbacks = { DisableLog, EnableLog, ListLogCategories }; in Initialize()
/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/clang/include/clang/Lex/
DModuleMap.h62 llvm::SmallVector<std::unique_ptr<ModuleMapCallbacks>, 1> Callbacks; variable
297 Callbacks.push_back(std::move(Callback)); in addModuleMapCallbacks()
DPreprocessor.h361 std::unique_ptr<PPCallbacks> Callbacks; variable
777 PPCallbacks *getPPCallbacks() const { return Callbacks.get(); } in getPPCallbacks()
779 if (Callbacks) in addPPCallbacks()
781 std::move(Callbacks)); in addPPCallbacks()
782 Callbacks = std::move(C); in addPPCallbacks()
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/
DBugReporter.h109 VisitorList Callbacks; variable
305 visitor_iterator visitor_begin() { return Callbacks.begin(); } in visitor_begin()
306 visitor_iterator visitor_end() { return Callbacks.end(); } in visitor_end()
/external/lldb/source/Plugins/Process/FreeBSD/
DProcessFreeBSD.cpp55 Log::Callbacks log_callbacks = { in Initialize()
/external/icu/icu4c/source/test/intltest/
Dregextst.h36 virtual void Callbacks();
/external/lldb/source/Commands/
DCommandObjectLog.cpp281 Log::Callbacks log_callbacks; in DoExecute()
356 Log::Callbacks log_callbacks; in DoExecute()
/external/lldb/source/Plugins/Process/Linux/
DProcessLinux.cpp52 Log::Callbacks log_callbacks = { in Initialize()
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/
DPeerConnectionClient.java104 private VideoRenderer.Callbacks localRender;
105 private VideoRenderer.Callbacks remoteRender;
262 final VideoRenderer.Callbacks localRender, in createPeerConnection()
263 final VideoRenderer.Callbacks remoteRender, in createPeerConnection()
/external/webrtc/talk/app/webrtc/java/testcommon/src/org/webrtc/
DPeerConnectionTest.java57 VideoRenderer.Callbacks,
460 VideoRenderer.Callbacks videoCallbacks) { in createVideoRenderer()
477 VideoRenderer.Callbacks videoCallbacks) {

123