/external/clang/include/clang/Tooling/ |
D | Tooling.h | 139 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/ |
D | PrintPreprocessedOutput.cpp | 563 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/ |
D | FrontendActionTest.cpp | 156 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/ |
D | PPDirectives.cpp | 416 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 …]
|
D | Pragma.cpp | 107 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 …]
|
D | PPLexerChange.cpp | 126 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()
|
D | Preprocessor.cpp | 76 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/ |
D | PPCallbacksTest.cpp | 175 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/ |
D | AndroidFragmentApplication.java | 48 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/ |
D | VideoRenderer.java | 127 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/ |
D | asynchronous_signal_handler.h | 50 typedef std::map<int, SignalHandler> Callbacks; typedef 51 Callbacks registered_callbacks_;
|
D | asynchronous_signal_handler.cc | 67 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/ |
D | Log.h | 70 struct Callbacks struct 82 const Log::Callbacks &log_callbacks); argument 89 Log::Callbacks &log_callbacks);
|
/external/webrtc/webrtc/base/ |
D | callback.h.pump | 14 // 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/ |
D | Log.cpp | 316 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/ |
D | VideoRendererGui.java | 92 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/ |
D | ModuleMap.h | 62 llvm::SmallVector<std::unique_ptr<ModuleMapCallbacks>, 1> Callbacks; variable 297 Callbacks.push_back(std::move(Callback)); in addModuleMapCallbacks()
|
D | Preprocessor.h | 361 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/ |
D | BugReporter.h | 109 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/ |
D | ProcessFreeBSD.cpp | 55 Log::Callbacks log_callbacks = { in Initialize()
|
/external/icu/icu4c/source/test/intltest/ |
D | regextst.h | 36 virtual void Callbacks();
|
/external/lldb/source/Commands/ |
D | CommandObjectLog.cpp | 281 Log::Callbacks log_callbacks; in DoExecute() 356 Log::Callbacks log_callbacks; in DoExecute()
|
/external/lldb/source/Plugins/Process/Linux/ |
D | ProcessLinux.cpp | 52 Log::Callbacks log_callbacks = { in Initialize()
|
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/ |
D | PeerConnectionClient.java | 104 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/ |
D | PeerConnectionTest.java | 57 VideoRenderer.Callbacks, 460 VideoRenderer.Callbacks videoCallbacks) { in createVideoRenderer() 477 VideoRenderer.Callbacks videoCallbacks) {
|