Home
last modified time | relevance | path

Searched refs:Callback (Results 1 – 25 of 509) sorted by relevance

12345678910>>...21

/external/clang/unittests/Tooling/
DRefactoringCallbacksTest.cpp25 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/
Dcallback_unittest.cc47 Callback<void()> callback_a_;
48 const Callback<void()> callback_b_; // Ensure APIs work with const.
49 Callback<void()> null_callback_;
55 Callback<void()> c0; in TEST_F()
56 Callback<void(int)> c1; in TEST_F()
57 Callback<void(int,int)> c2; in TEST_F()
58 Callback<void(int,int,int)> c3; in TEST_F()
59 Callback<void(int,int,int,int)> c4; in TEST_F()
60 Callback<void(int,int,int,int,int)> c5; in TEST_F()
61 Callback<void(int,int,int,int,int,int)> c6; in TEST_F()
[all …]
/external/expat/xmlwf/
Dxmlwin32url.cxx50 class Callback : public IBindStatusCallback { class
65 Callback(XML_Parser, IMoniker *, StopHandler, void *);
66 ~Callback();
80 Callback::AddRef() in STDMETHODIMP_()
86 Callback::Release() in STDMETHODIMP_()
96 Callback::QueryInterface(REFIID riid, void** ppv) in QueryInterface()
109 Callback::OnStartBinding(DWORD, IBinding* pBinding) in OnStartBinding()
117 Callback::GetPriority(LONG *) in GetPriority()
123 Callback::OnLowResource(DWORD) in OnLowResource()
129 Callback::OnProgress(ULONG, ULONG, ULONG, LPCWSTR) in OnProgress()
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowRemoteCallbackList.java13 private final HashMap<IBinder, Callback> callbacks = new HashMap<>();
18 private final class Callback implements IBinder.DeathRecipient { class in ShadowRemoteCallbackList
22 Callback(E callback, Object cookie) { in Callback() method in ShadowRemoteCallbackList.Callback
48 Callback cb = new Callback(callback, cookie); in register()
61 Callback cb = callbacks.remove(callback.asBinder()); in unregister()
73 for (Callback cb : callbacks.values()) { in kill()
104 for (Callback cb : callbacks.values()) { in beginBroadcast()
113 return ((Callback) activeBroadcast[index]).callback; in getBroadcastItem()
118 return ((Callback) activeBroadcast[index]).cookie; in getBroadcastCookie()
/external/grpc-grpc-java/cronet/src/test/java/io/grpc/cronet/
DCronetClientStreamTest.java125 any(String.class), any(BidirectionalStream.Callback.class), any(Executor.class))) in setUp()
136 isA(BidirectionalStream.Callback.class), in startStream()
150 ArgumentCaptor<BidirectionalStream.Callback> callbackCaptor = in write()
151 ArgumentCaptor.forClass(BidirectionalStream.Callback.class); in write()
155 BidirectionalStream.Callback callback = callbackCaptor.getValue(); in write()
230 ArgumentCaptor<BidirectionalStream.Callback> callbackCaptor = in read()
231 ArgumentCaptor.forClass(BidirectionalStream.Callback.class); in read()
235 BidirectionalStream.Callback callback = callbackCaptor.getValue(); in read()
276 ArgumentCaptor<BidirectionalStream.Callback> callbackCaptor = in streamSucceeded()
277 ArgumentCaptor.forClass(BidirectionalStream.Callback.class); in streamSucceeded()
[all …]
/external/libxcam/xcore/
Dworker.h29 class CbClass : public ::XCam::Worker::Callback { \
53 class Callback {
55 Callback () {} in Callback() function
56 virtual ~Callback () {} in ~Callback()
62 XCAM_DEAD_COPY (Callback);
77 explicit Worker (const char *name, const SmartPtr<Callback> &cb = NULL);
88 bool set_callback (const SmartPtr<Callback> &callback);
101 SmartPtr<Callback> _callback;
Dimage_handler.h30 class CbClass : public ::XCam::ImageHandler::Callback { \
63 class Callback {
65 Callback () {} in Callback() function
66 virtual ~Callback () {} in ~Callback()
71 XCAM_DEAD_COPY (Callback);
78 bool set_callback (SmartPtr<Callback> cb) { in set_callback()
82 const SmartPtr<Callback> & get_callback () const { in get_callback()
109 SmartPtr<Callback> _callback;
/external/libbrillo/brillo/streams/
Dstream.h92 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 …]
Dstream.cc29 const base::Callback<void(size_t)>& success_callback, in ReadAsync()
104 const base::Callback<void(size_t)>& success_callback, in WriteAsync()
188 const base::Callback<void(size_t)>& success_callback, in IgnoreEOSCallback()
197 const base::Callback<void(size_t, bool)>& success_callback, in ReadAsyncImpl()
234 const base::Callback<void(size_t, bool)>& success_callback, in OnReadAsyncDone()
244 const base::Callback<void(size_t, bool)>& success_callback, in OnReadAvailable()
262 const base::Callback<void(size_t)>& success_callback, in WriteAsyncImpl()
297 const base::Callback<void(size_t)>& success_callback, in OnWriteAsyncDone()
306 const base::Callback<void(size_t)>& success_callback, in OnWriteAvailable()
/external/v8/src/heap/
Dremembered-set.h105 template <typename Callback>
107 Callback callback) { in Iterate()
117 template <typename Callback>
118 static void IterateMemoryChunks(Heap* heap, Callback callback) { in IterateMemoryChunks()
137 template <typename Callback>
138 static void Iterate(MemoryChunk* chunk, Callback callback, in Iterate()
228 template <typename Callback>
230 Callback callback) { in IterateTyped()
241 template <typename Callback>
242 static void IterateTyped(MemoryChunk* chunk, Callback callback) { in IterateTyped()
[all …]
Dworklist.h167 template <typename Callback>
168 void Update(Callback callback) { in Update()
181 template <typename Callback>
182 void Iterate(Callback callback) { in Iterate()
190 template <typename Callback>
191 void IterateGlobalPool(Callback callback) { in IterateGlobalPool()
240 template <typename Callback>
241 void Update(Callback callback) { in Update()
251 template <typename Callback>
252 void Iterate(Callback callback) const { in Iterate()
[all …]
/external/libbrillo/brillo/dbus/
Ddbus_object_internal_impl.h77 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 …]
/external/guava/guava/src/com/google/common/util/concurrent/
DAbstractService.java30 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 …]
DListenerCallQueue.java42 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/lzma/CPP/7zip/UI/Common/
DArchiveOpenCallback.cpp21 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()
DUpdateCallback.cpp45 Callback(NULL), in CArchiveUpdateCallback()
77 return Callback->SetTotal(size); in SetTotal()
84 return Callback->SetCompleted(completeValue); in SetCompleted()
91 return Callback->SetRatioInfo(inSize, outSize); in SetRatioInfo()
119 RINOK(Callback->CheckBreak()); in GetUpdateItemInfo()
450 RINOK(Callback->CheckBreak()); in GetStream2()
462 RINOK(Callback->GetStream(name, isDir, true, mode)); in GetStream2()
477 RINOK(Callback->GetStream(DirItems->GetLogPath(up.DirIndex), isDir, false, mode)); in GetStream2()
498 inStreamSpec->Callback = this; in GetStream2()
510 return Callback->OpenFileError(path, ::GetLastError()); in GetStream2()
[all …]
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_quarantine.h42 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/
Dsplay-tree.h144 template <class Callback>
145 void ForEach(Callback* callback);
162 template<class Callback>
165 explicit NodeToPairAdaptor(Callback* callback) in NodeToPairAdaptor()
172 Callback* callback_;
186 template <class Callback>
187 void ForEachNode(Callback* callback);
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DListenerCallQueueTest.java21 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/
Ddd_rtl.cc58 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/libchrome/base/files/
Dfile_path_watcher.h38 typedef base::Callback<void(const FilePath& path, bool error)> Callback; typedef
49 const Callback& callback) WARN_UNUSED_RESULT = 0;
98 bool Watch(const FilePath& path, bool recursive, const Callback& callback);
/external/webrtc/webrtc/modules/desktop_capture/
Ddesktop_and_cursor_composer.h23 public DesktopCapturer::Callback,
24 public MouseCursorMonitor::Callback {
35 void Start(DesktopCapturer::Callback* callback) override;
52 DesktopCapturer::Callback* callback_;
/external/guava/guava-testlib/test/com/google/common/testing/
DTearDownStackTest.java50 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/v8/tools/clang/base_bind_rewriters/tests/
Dcallback.h41 using Callback = RepeatingCallback<Signature>; variable
45 using Closure = Callback<void()>;
84 Callback<void()> Bind(Functor, Args&&...) { in Bind()
85 return Callback<void()>(); in Bind()
100 return Callback<void()>(); in AdaptCallbackForRepeating()
/external/webrtc/webrtc/common_audio/
Dlapped_transform.h33 class Callback {
35 virtual ~Callback() {} in ~Callback()
55 Callback* callback);
112 Callback* const block_processor_;

12345678910>>...21