Home
last modified time | relevance | path

Searched defs:Callback (Results 1 – 25 of 224) sorted by relevance

123456789

/external/llvm-project/clang/unittests/Tooling/
DRefactoringCallbacksTest.cpp22 const T &AMatcher, RefactoringCallback &Callback) { in expectRewritten()
40 ReplaceStmtWithText Callback("id", ";"); in TEST() local
47 ReplaceStmtWithText Callback("id", ";"); in TEST() local
54 ReplaceStmtWithText Callback("id", ";"); in TEST() local
61 ReplaceStmtWithText Callback("id", "2"); in TEST() local
68 ReplaceStmtWithStmt Callback("always-false", "should-be"); in TEST() local
80 ReplaceIfStmtWithItsBody Callback("id", true); in TEST() local
91 ReplaceIfStmtWithItsBody Callback("id", false); in TEST() local
100 auto Callback = ReplaceNodeWithTemplate::create("id", "FOO"); in TEST() local
108 auto Callback = ReplaceNodeWithTemplate::create("decl", "long x = ${init}"); in TEST() local
[all …]
/external/clang/unittests/Tooling/
DRefactoringCallbacksTest.cpp25 RefactoringCallback &Callback) { in expectRewritten()
42 ReplaceStmtWithText Callback("id", ";"); in TEST() local
49 ReplaceStmtWithText Callback("id", ";"); in TEST() local
56 ReplaceStmtWithText Callback("id", ";"); in TEST() local
63 ReplaceStmtWithText Callback("id", "2"); in TEST() local
71 ReplaceStmtWithStmt Callback("always-false", "should-be"); in TEST() local
82 ReplaceIfStmtWithItsBody Callback("id", true); in TEST() local
93 ReplaceIfStmtWithItsBody Callback("id", false); in TEST() local
/external/llvm-project/clang/test/Rewriter/
Drewrite-interface-locals.mm9 typedef void (^Callback)(NSData *data, NSError *error); category
11 - (void)doSomething:(NSData *)data callback:(Callback)callback; argument
16 - (void)doSomething:(NSData *)data callback:(Callback)callback { argument
/external/clang/test/Rewriter/
Drewrite-interface-locals.mm9 typedef void (^Callback)(NSData *data, NSError *error); category
11 - (void)doSomething:(NSData *)data callback:(Callback)callback; argument
16 - (void)doSomething:(NSData *)data callback:(Callback)callback { argument
/external/llvm-project/compiler-rt/lib/scudo/
Dscudo_termination.cpp21 bool AddDieCallback(DieCallbackType Callback) { return true; } in AddDieCallback()
23 bool RemoveDieCallback(DieCallbackType Callback) { return true; } in RemoveDieCallback()
25 void SetUserDieCallback(DieCallbackType Callback) {} in SetUserDieCallback()
/external/rust/crates/rayon/src/iter/
Dskip.rs68 struct Callback<CB> { in with_producer() struct
69 callback: CB, in with_producer()
70 n: usize, in with_producer()
73 impl<T, CB> ProducerCallback<T> for Callback<CB> in with_producer() implementation
Dtake.rs67 struct Callback<CB> { in with_producer() struct
68 callback: CB, in with_producer()
69 n: usize, in with_producer()
72 impl<T, CB> ProducerCallback<T> for Callback<CB> in with_producer() implementation
Dlen.rs66 struct Callback<CB> { in with_producer() struct
67 callback: CB, in with_producer()
68 min: usize, in with_producer()
71 impl<T, CB> ProducerCallback<T> for Callback<CB> in with_producer() implementation
200 struct Callback<CB> { in with_producer() struct
201 callback: CB, in with_producer()
202 max: usize, in with_producer()
205 impl<T, CB> ProducerCallback<T> for Callback<CB> in with_producer() implementation
Dstep_by.rs73 struct Callback<CB> { in with_producer() struct
74 callback: CB, in with_producer()
75 step: usize, in with_producer()
76 len: usize, in with_producer()
79 impl<T, CB> ProducerCallback<T> for Callback<CB> in with_producer() implementation
Drev.rs63 struct Callback<CB> { in with_producer() struct
64 callback: CB, in with_producer()
65 len: usize, in with_producer()
68 impl<T, CB> ProducerCallback<T> for Callback<CB> in with_producer() implementation
Dchunks.rs77 struct Callback<CB> { in with_producer() struct
78 size: usize, in with_producer()
79 len: usize, in with_producer()
80 callback: CB, in with_producer()
83 impl<T, CB> ProducerCallback<T> for Callback<CB> in with_producer() implementation
Denumerate.rs64 struct Callback<CB> { in with_producer() struct
65 callback: CB, in with_producer()
68 impl<I, CB> ProducerCallback<I> for Callback<CB> in with_producer() implementation
Dmap_with.rs90 struct Callback<CB, U, F> { in with_producer() struct
91 callback: CB, in with_producer()
92 item: U, in with_producer()
93 map_op: F, in with_producer()
96 impl<T, U, F, R, CB> ProducerCallback<T> for Callback<CB, U, F> in with_producer() implementation
419 struct Callback<CB, INIT, F> { in with_producer() struct
420 callback: CB, in with_producer()
421 init: INIT, in with_producer()
422 map_op: F, in with_producer()
425 impl<T, INIT, U, F, R, CB> ProducerCallback<T> for Callback<CB, INIT, F> in with_producer() implementation
/external/llvm-project/clang/include/clang/ASTMatchers/
DASTMatchFinder.h290 internal::CollectMatchesCallback Callback; in match() local
306 internal::CollectMatchesCallback Callback; in match() local
316 internal::CollectMatchesCallback Callback; in matchDynamic() local
332 internal::CollectMatchesCallback Callback; in matchDynamic() local
/external/llvm-project/clang/tools/clang-refactor/
DClangRefactor.cpp103 llvm::function_ref<void(SourceRange R)> Callback) override { in forAllRanges()
118 llvm::function_ref<void(SourceRange R)> Callback) override { in forAllRanges()
433 TUCallbackType Callback; in getFrontendActionFactory() member in __anon23ca4d3d0111::ClangRefactorTool::getFrontendActionFactory::ToolASTConsumer
434 ToolASTConsumer(TUCallbackType Callback) in getFrontendActionFactory()
443 explicit ToolASTAction(TUCallbackType Callback) in getFrontendActionFactory()
456 TUCallbackType Callback; in getFrontendActionFactory() member in __anon23ca4d3d0111::ClangRefactorTool::getFrontendActionFactory::ToolASTAction
461 ToolActionFactory(TUCallbackType Callback) in getFrontendActionFactory()
469 TUCallbackType Callback; in getFrontendActionFactory() member in __anon23ca4d3d0111::ClangRefactorTool::getFrontendActionFactory::ToolActionFactory
/external/compiler-rt/lib/tsan/dd/
Ddd_rtl.h34 struct Callback : DDCallback { struct
37 Callback(Thread *thr); argument
/external/compiler-rt/lib/tsan/rtl/
Dtsan_rtl_mutex.cc28 struct Callback : DDCallback { struct
29 ThreadState *thr;
30 uptr pc;
32 Callback(ThreadState *thr, uptr pc) in Callback() argument
39 u32 Unwind() override { return CurrentStackId(thr, pc); } in Unwind()
40 int UniqueTid() override { return thr->unique_id; } in UniqueTid()
/external/javassist/src/main/javassist/tools/
DCallback.java51 public abstract class Callback { class
64 public Callback(String src){ in Callback() method in Callback
/external/llvm-project/llvm/tools/llvm-exegesis/lib/
DSnippetGenerator.h153 const function_ref<bool(ArrayRef<choice_type>)> Callback) const { in performGeneration()
222 void generate(const function_ref<bool(ArrayRef<choice_type>)> Callback) { in generate()
/external/llvm-project/compiler-rt/lib/tsan/rtl/
Dtsan_rtl_mutex.cpp27 struct Callback final : public DDCallback { struct
28 ThreadState *thr;
29 uptr pc;
31 Callback(ThreadState *thr, uptr pc) in Callback() function
38 u32 Unwind() override { return CurrentStackId(thr, pc); } in Unwind()
39 int UniqueTid() override { return thr->unique_id; } in UniqueTid()
/external/libtextclassifier/native/utils/grammar/utils/
Dir.h55 struct Callback { struct
60 CallbackId id = kNoCallback; argument
82 Callback callback; argument
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DRedundantSmartptrGetCheck.cpp38 MatchFinder::MatchCallback *Callback) { in registerMatchersForGetArrowStart()
76 MatchFinder::MatchCallback *Callback) { in registerMatchersForGetEquals()
/external/llvm-project/clang/lib/Driver/ToolChains/
DMipsLinux.cpp57 const auto &Callback = Multilibs.includeDirsCallback(); in AddClangSystemIncludeArgs() local
98 if (const auto &Callback = Multilibs.includeDirsCallback()) { in addLibCxxIncludePaths() local
/external/llvm-project/clang/lib/Tooling/
DRefactoringCallbacks.cpp33 RefactoringCallback *Callback) { in addDynamicMatcher()
46 for (const auto &Callback : Refactoring.Callbacks) { in HandleTranslationUnit() local
50 for (const auto &Callback : Refactoring.Callbacks) { in HandleTranslationUnit() local
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowRemoteCallbackList.java18 private final class Callback implements IBinder.DeathRecipient { class in ShadowRemoteCallbackList
22 Callback(E callback, Object cookie) { in Callback() method in ShadowRemoteCallbackList.Callback

123456789