/external/clang/unittests/Tooling/ |
D | RefactoringCallbacksTest.cpp | 25 RefactoringCallback &Callback) { in expectRewritten() argument 27 Finder.addMatcher(AMatcher, &Callback); in expectRewritten() 34 EXPECT_TRUE(tooling::applyAllReplacements(Callback.getReplacements(), in expectRewritten() 42 ReplaceStmtWithText Callback("id", ";"); in TEST() local 43 expectRewritten(Code, Expected, id("id", declStmt()), Callback); in TEST() 49 ReplaceStmtWithText Callback("id", ";"); in TEST() local 50 expectRewritten(Code, Expected, id("id", declStmt()), Callback); in TEST() 56 ReplaceStmtWithText Callback("id", ";"); in TEST() local 57 expectRewritten(Code, Expected, id("id", declStmt()), Callback); in TEST() 63 ReplaceStmtWithText Callback("id", "2"); in TEST() local [all …]
|
/external/libchrome/base/ |
D | bind_unittest.cc | 351 Callback<int()> c0 = Bind(&Sum, 32, 16, 8, 4, 2, 1); in TEST_F() 354 Callback<int(int)> c1 = Bind(&Sum, 32, 16, 8, 4, 2); in TEST_F() 357 Callback<int(int,int)> c2 = Bind(&Sum, 32, 16, 8, 4); in TEST_F() 360 Callback<int(int,int,int)> c3 = Bind(&Sum, 32, 16, 8); in TEST_F() 363 Callback<int(int,int,int,int)> c4 = Bind(&Sum, 32, 16); in TEST_F() 366 Callback<int(int,int,int,int,int)> c5 = Bind(&Sum, 32); in TEST_F() 369 Callback<int(int,int,int,int,int,int)> c6 = Bind(&Sum); in TEST_F() 375 Callback<int(int,int,int,int,int,int)> c6 = Bind(&Sum); in TEST_F() 378 Callback<int(int,int,int,int,int)> c5 = Bind(c6, 32); in TEST_F() 381 Callback<int(int,int,int,int)> c4 = Bind(c5, 16); in TEST_F() [all …]
|
D | callback_unittest.cc | 54 Callback<void()> callback_a_; 55 const Callback<void()> callback_b_; // Ensure APIs work with const. 56 Callback<void()> null_callback_; 62 Callback<void()> c0; in TEST_F() 63 Callback<void(int)> c1; in TEST_F() 64 Callback<void(int,int)> c2; in TEST_F() 65 Callback<void(int,int,int)> c3; in TEST_F() 66 Callback<void(int,int,int,int)> c4; in TEST_F() 67 Callback<void(int,int,int,int,int)> c5; in TEST_F() 68 Callback<void(int,int,int,int,int,int)> c6; in TEST_F() [all …]
|
D | critical_closure.h | 31 explicit CriticalClosure(const Callback<R(void)>& closure) in CriticalClosure() 42 Callback<R(void)> closure_; 66 Callback<R(void)> MakeCriticalClosure(const Callback<R(void)>& closure) { in MakeCriticalClosure() 73 inline Callback<R(void)> MakeCriticalClosure(const Callback<R(void)>& closure) { in MakeCriticalClosure()
|
D | cancelable_callback.h | 67 explicit CancelableCallback(const base::Callback<void(A...)>& callback) in CancelableCallback() 89 void Reset(const base::Callback<void(A...)>& callback) { in Reset() 102 const base::Callback<void(A...)>& callback() const { in callback() 119 base::Callback<void(A...)> forwarder_; 122 base::Callback<void(A...)> callback_;
|
D | task_runner_util.h | 20 void ReturnAsParamAdapter(const Callback<ReturnType(void)>& func, in ReturnAsParamAdapter() 27 void ReplyAdapter(const Callback<void(ReplyArgType)>& callback, in ReplyAdapter() 57 const Callback<TaskReturnType(void)>& task, in PostTaskAndReplyWithResult() 58 const Callback<void(ReplyArgType)>& reply) { in PostTaskAndReplyWithResult()
|
D | callback.h | 350 class Callback<R(Args...), copy_mode> 360 Callback() : internal::CallbackBase<copy_mode>(nullptr) {} in Callback() function 362 Callback(internal::BindStateBase* bind_state, in Callback() function 371 bool Equals(const Callback& other) const { in Equals()
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowRemoteCallbackList.java | 15 private HashMap<IBinder, Callback> callbacks = new HashMap<IBinder, Callback>(); 20 private final class Callback implements IBinder.DeathRecipient { class in ShadowRemoteCallbackList 24 Callback(E callback, Object cookie) { in Callback() method in ShadowRemoteCallbackList.Callback 50 Callback cb = new Callback(callback, cookie); in register() 63 Callback cb = callbacks.remove(callback.asBinder()); in unregister() 75 for (Callback cb : callbacks.values()) { in kill() 106 for (Callback cb : callbacks.values()) { in beginBroadcast() 115 return ((Callback) activeBroadcast[index]).callback; in getBroadcastItem() 120 return ((Callback) activeBroadcast[index]).cookie; in getBroadcastCookie()
|
/external/v8/src/heap/ |
D | remembered-set.h | 102 template <typename Callback> 103 static void Iterate(Heap* heap, Callback callback) { in Iterate() 110 template <typename Callback> 111 static void IterateMemoryChunks(Heap* heap, Callback callback) { in IterateMemoryChunks() 126 template <typename Callback> 127 static void Iterate(MemoryChunk* chunk, Callback callback) { in Iterate() 182 template <typename Callback> 183 static void IterateTyped(Heap* heap, Callback callback) { in IterateTyped() 192 template <typename Callback> 193 static void IterateTyped(MemoryChunk* chunk, Callback callback) { in IterateTyped() [all …]
|
/external/libbrillo/brillo/streams/ |
D | stream.h | 92 using ErrorCallback = base::Callback<void(const Error*)>; 206 const base::Callback<void(size_t)>& success_callback, 292 const base::Callback<void(size_t)>& success_callback, 374 const base::Callback<void(AccessMode)>& callback, 400 const base::Callback<void(size_t)>& success_callback, 415 const base::Callback<void(size_t, bool)>& success_callback, 425 const base::Callback<void(size_t, bool)>& success_callback, 434 const base::Callback<void(size_t, bool)>& success_callback, 449 const base::Callback<void(size_t)>& success_callback, 459 const base::Callback<void(size_t)>& success_callback, [all …]
|
/external/libbrillo/brillo/dbus/ |
D | dbus_object_internal_impl.h | 77 const base::Callback<R(Args...)>& handler) : handler_(handler) {} in SimpleDBusInterfaceMethodHandler() 98 base::Callback<R(Args...)> handler_; 111 const base::Callback<void(Args...)>& handler) : handler_(handler) {} in SimpleDBusInterfaceMethodHandler() 135 base::Callback<void(Args...)> handler_; 156 const base::Callback<bool(ErrorPtr*, Args...)>& handler) in SimpleDBusInterfaceMethodHandlerWithError() 185 base::Callback<bool(ErrorPtr*, Args...)> handler_; 207 const base::Callback<bool(ErrorPtr*, dbus::Message*, Args...)>& handler) in SimpleDBusInterfaceMethodHandlerWithErrorAndMessage() 237 base::Callback<bool(ErrorPtr*, dbus::Message*, Args...)> handler_; 254 const base::Callback<void(std::unique_ptr<Response>, Args...)>& handler) in DBusInterfaceMethodHandler() 279 base::Callback<void(std::unique_ptr<Response>, Args...)> handler_; [all …]
|
D | async_event_sequencer.h | 41 using Handler = base::Callback<void(bool success)>; 42 using ExportHandler = base::Callback<void(const std::string& interface_name, 45 using CompletionAction = base::Callback<void(bool all_succeeded)>; 46 using CompletionTask = base::Callback<void(void)>;
|
/external/lzma/CPP/7zip/UI/Common/ |
D | ArchiveOpenCallback.cpp | 21 if (!Callback) in SetTotal() 23 return Callback->Open_SetTotal(files, bytes); in SetTotal() 32 if (!Callback) in SetCompleted() 34 return Callback->Open_SetCompleted(files, bytes); in SetCompleted() 88 if (Callback) in GetStream() 90 RINOK(Callback->Open_CheckBreak()); in GetStream() 148 if (!Callback) in CryptoGetTextPassword() 151 return Callback->Open_CryptoGetTextPassword(password); in CryptoGetTextPassword()
|
D | UpdateCallback.cpp | 45 Callback(NULL), in CArchiveUpdateCallback() 74 return Callback->SetTotal(size); in SetTotal() 81 return Callback->SetCompleted(completeValue); in SetCompleted() 88 return Callback->SetRatioInfo(inSize, outSize); in SetRatioInfo() 116 RINOK(Callback->CheckBreak()); in GetUpdateItemInfo() 441 RINOK(Callback->CheckBreak()); in GetStream2() 453 RINOK(Callback->GetStream(name, isDir, true, mode)); in GetStream2() 468 RINOK(Callback->GetStream(DirItems->GetLogPath(up.DirIndex), isDir, false, mode)); in GetStream2() 489 inStreamSpec->Callback = this; in GetStream2() 501 return Callback->OpenFileError(path, ::GetLastError()); in GetStream2() [all …]
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
D | AbstractService.java | 30 import com.google.common.util.concurrent.ListenerCallQueue.Callback; 57 private static final Callback<Listener> STARTING_CALLBACK = 58 new Callback<Listener>("starting()") { 63 private static final Callback<Listener> RUNNING_CALLBACK = 64 new Callback<Listener>("running()") { 69 private static final Callback<Listener> STOPPING_FROM_STARTING_CALLBACK = 71 private static final Callback<Listener> STOPPING_FROM_RUNNING_CALLBACK = 74 private static final Callback<Listener> TERMINATED_FROM_NEW_CALLBACK = 76 private static final Callback<Listener> TERMINATED_FROM_RUNNING_CALLBACK = 78 private static final Callback<Listener> TERMINATED_FROM_STOPPING_CALLBACK = [all …]
|
D | ListenerCallQueue.java | 42 abstract static class Callback<L> { class in ListenerCallQueue 45 Callback(String methodCall) { in Callback() method in ListenerCallQueue.Callback 62 @GuardedBy("this") private final Queue<Callback<L>> waitQueue = Queues.newArrayDeque(); 71 synchronized void add(Callback<L> callback) { in add() 105 Callback<L> nextToRun; in run()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_quarantine.h | 42 template<typename Callback, typename Node> 45 typedef QuarantineCache<Callback> Cache; 60 void Put(Cache *c, Callback cb, Node *ptr, uptr size) { in Put() 66 void NOINLINE Drain(Cache *c, Callback cb) { in Drain() 87 void NOINLINE Recycle(Callback cb) { in Recycle() 101 void NOINLINE DoRecycle(Cache *c, Callback cb) { in DoRecycle() 118 template<typename Callback> 133 void Enqueue(Callback cb, void *ptr, uptr size) { in Enqueue() 176 NOINLINE QuarantineBatch* AllocBatch(Callback cb) { in AllocBatch()
|
/external/v8/src/ |
D | splay-tree.h | 149 template <class Callback> 150 void ForEach(Callback* callback); 167 template<class Callback> 170 explicit NodeToPairAdaptor(Callback* callback) in NodeToPairAdaptor() 177 Callback* callback_; 191 template <class Callback> 192 void ForEachNode(Callback* callback);
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | ListenerCallQueueTest.java | 21 import com.google.common.util.concurrent.ListenerCallQueue.Callback; 35 private static final Callback<Object> THROWING_CALLBACK = new Callback<Object>("throwing()") { 123 private Callback<Object> incrementingCallback(final AtomicInteger counter, final int expected) { in incrementingCallback() 124 return new Callback<Object>("incrementing") { in incrementingCallback() 131 private Callback<Object> countDownCallback(final CountDownLatch latch) { 132 return new Callback<Object>("countDown") {
|
/external/compiler-rt/lib/tsan/dd/ |
D | dd_rtl.cc | 58 Callback::Callback(Thread *thr) in Callback() function in __dsan::Callback 64 u32 Callback::Unwind() { in Unwind() 115 Callback cb(thr); in MutexBeforeLock() 128 Callback cb(thr); in MutexAfterLock() 141 Callback cb(thr); in MutexBeforeUnlock() 152 Callback cb(thr); in MutexDestroy()
|
/external/webrtc/webrtc/modules/desktop_capture/ |
D | desktop_and_cursor_composer.h | 23 public DesktopCapturer::Callback, 24 public MouseCursorMonitor::Callback { 35 void Start(DesktopCapturer::Callback* callback) override; 52 DesktopCapturer::Callback* callback_;
|
/external/libchrome/base/files/ |
D | file_path_watcher.h | 33 typedef base::Callback<void(const FilePath& path, bool error)> Callback; typedef 43 const Callback& callback) WARN_UNUSED_RESULT = 0; 101 bool Watch(const FilePath& path, bool recursive, const Callback& callback);
|
/external/guava/guava-testlib/test/com/google/common/testing/ |
D | TearDownStackTest.java | 50 final Callback callback = new Callback() { in testMultipleTearDownsHappenInOrder() 146 Callback callback = null; 150 public SimpleTearDown(Callback callback) { in SimpleTearDown() 163 private interface Callback { interface in TearDownStackTest
|
/external/webrtc/webrtc/common_audio/ |
D | lapped_transform.h | 33 class Callback { 35 virtual ~Callback() {} in ~Callback() 55 Callback* callback); 112 Callback* const block_processor_;
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchFinder.h | 283 internal::CollectMatchesCallback Callback; in match() local 285 Finder.addMatcher(Matcher, &Callback); in match() 287 return std::move(Callback.Nodes); in match() 299 internal::CollectMatchesCallback Callback; in match() local 301 Finder.addMatcher(Matcher, &Callback); in match() 303 return std::move(Callback.Nodes); in match()
|