Home
last modified time | relevance | path

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

12345678910>>...12

/external/cronet/stable/third_party/libc++/src/test/std/thread/thread.stoptoken/stopcallback/
Ddtor.pass.cpp97 struct Callback { in main() struct
98 std::atomic<bool>& started_; in main()
99 std::atomic<bool>& waitDone_; in main()
100 std::atomic<bool>& finished_; in main()
101 bool moved = false; in main()
103 Callback(std::atomic<bool>& started, std::atomic<bool>& waitDone, std::atomic<bool>& finished) in main() function
105Callback(Callback&& other) : started_(other.started_), waitDone_(other.waitDone_), finished_(other… in main() argument
109 void operator()() const { in main()
121 ~Callback() { in main()
/external/cronet/tot/third_party/libc++/src/test/std/thread/thread.stoptoken/stopcallback/
Ddtor.pass.cpp97 struct Callback { in main() struct
98 std::atomic<bool>& started_; in main()
99 std::atomic<bool>& waitDone_; in main()
100 std::atomic<bool>& finished_; in main()
101 bool moved = false; in main()
103 Callback(std::atomic<bool>& started, std::atomic<bool>& waitDone, std::atomic<bool>& finished) in main() function
105Callback(Callback&& other) : started_(other.started_), waitDone_(other.waitDone_), finished_(other… in main() argument
109 void operator()() const { in main()
121 ~Callback() { in main()
/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/rust/android-crates-io/crates/gdbstub/src/target/ext/
Dlldb_register_info_override.rs13 pub struct Callback<'a> { struct
15 pub(crate) token: CallbackToken<'a>, argument
18 impl<'a> Callback<'a> { impl
/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/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowBluetoothLeBroadcast.java105 int reason, Map<BluetoothLeBroadcast.Callback, Executor> callbackExecutorMap) { in sendOnBroadcastStartFailed()
118 Map<BluetoothLeBroadcast.Callback, Executor> callbackExecutorMap) { in sendOnBroadcastStarted()
129 int reason, Map<BluetoothLeBroadcast.Callback, Executor> callbackExecutorMap) { in sendOnBroadcastStopFailed()
142 Map<BluetoothLeBroadcast.Callback, Executor> callbackExecutorMap) { in sendOnBroadcastStopped()
155 Map<BluetoothLeBroadcast.Callback, Executor> callbackExecutorMap) { in sendOnBroadcastUpdateFailed()
168 Map<BluetoothLeBroadcast.Callback, Executor> callbackExecutorMap) { in sendOnBroadcastUpdated()
/external/rust/android-crates-io/crates/rayon/src/iter/
Dfold_chunks_with.rs104 struct Callback<CB, T, F> { in with_producer() struct
105 chunk_size: usize, in with_producer()
106 len: usize, in with_producer()
107 item: T, in with_producer()
108 fold_op: F, in with_producer()
109 callback: CB, in with_producer()
112 impl<T, U, F, CB> ProducerCallback<T> for Callback<CB, U, F> in with_producer() implementation
Dfold_chunks.rs106 struct Callback<CB, ID, F> { in with_producer() struct
107 chunk_size: usize, in with_producer()
108 len: usize, in with_producer()
109 identity: ID, in with_producer()
110 fold_op: F, in with_producer()
111 callback: CB, in with_producer()
114 impl<T, CB, ID, U, F> ProducerCallback<T> for Callback<CB, ID, F> in with_producer() implementation
Dtake.rs66 struct Callback<CB> { in with_producer() struct
67 callback: CB, in with_producer()
68 n: usize, in with_producer()
71 impl<T, CB> ProducerCallback<T> for Callback<CB> in with_producer() implementation
Dskip.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.rs65 struct Callback<CB> { in with_producer() struct
66 callback: CB, in with_producer()
67 min: usize, in with_producer()
70 impl<T, CB> ProducerCallback<T> for Callback<CB> in with_producer() implementation
199 struct Callback<CB> { in with_producer() struct
200 callback: CB, in with_producer()
201 max: usize, in with_producer()
204 impl<T, CB> ProducerCallback<T> for Callback<CB> in with_producer() implementation
Dstep_by.rs70 struct Callback<CB> { in with_producer() struct
71 callback: CB, in with_producer()
72 step: usize, in with_producer()
73 len: usize, in with_producer()
76 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.rs75 struct Callback<CB> { in with_producer() struct
76 size: usize, in with_producer()
77 len: usize, in with_producer()
78 callback: CB, in with_producer()
81 impl<T, CB> ProducerCallback<T> 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
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
/external/webrtc/rtc_base/
Dcallback_list.h62 struct Callback { struct
67 std::vector<Callback> receivers_; argument
/external/rust/android-crates-io/crates/diplomat_core/src/hir/
Dmethods.rs52 pub struct Callback { struct
54 pub params: Vec<CallbackParam>, argument
66 impl CallbackInstantiationFunctionality for Callback { argument
/external/leveldb/util/
Denv_test.cc104 struct Callback { in TEST_F() struct
105 RunState* state_; // Pointer to shared state. in TEST_F()
106 const int id_; // Order# for the execution of this callback. in TEST_F()
108 Callback(RunState* s, int id) : state_(s), id_(id) {} in TEST_F() function
110 static void Run(void* arg) { in TEST_F()
/external/openthread/src/core/common/
Dcallback.hpp159 class Callback class
164 template <typename HandlerType> class Callback<HandlerType, kContextAsLastArg> : public CallbackBas… class
231 template <typename HandlerType> class Callback<HandlerType, kContextAsFirstArg> : public CallbackBa… class
/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/compiler-rt/lib/tsan/dd/
Ddd_rtl.h34 struct Callback : DDCallback { struct
37 Callback(Thread *thr); argument
/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/ADT/
DCombinationGenerator.h72 const function_ref<bool(ArrayRef<choice_type>)> Callback) const { in performGeneration()
141 void generate(const function_ref<bool(ArrayRef<choice_type>)> Callback) { in generate()
/external/javassist/src/main/javassist/tools/
DCallback.java51 public abstract class Callback { class
64 public Callback(String src){ in Callback() method in Callback
/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/DebugInfo/PDB/Native/
DInputFile.h167 CallbackT Callback) { in iterateOneModule()
178 CallbackT Callback) { in iterateSymbolGroups()
206 llvm::function_ref<Error(uint32_t, const SymbolGroup &, SubsectionT &)> in iterateModuleSubsections()

12345678910>>...12