/external/v8/tools/clang/base_bind_rewriters/tests/ |
D | callback.h | 38 class RepeatingCallback; variable 41 using Callback = RepeatingCallback<Signature>; 44 using RepeatingClosure = RepeatingCallback<void()>; 58 OnceCallback(RepeatingCallback<R(Args...)> other) {} in OnceCallback() 59 OnceCallback& operator=(RepeatingCallback<R(Args...)> other) { return *this; } 69 class RepeatingCallback<R(Args...)> { 71 RepeatingCallback() {} in RepeatingCallback() function 73 RepeatingCallback(const RepeatingCallback&) = default; 74 RepeatingCallback& operator=(const RepeatingCallback&) = default; 76 RepeatingCallback(RepeatingCallback&&) = default; [all …]
|
/external/libchrome/base/ |
D | callback.h | 74 OnceCallback(RepeatingCallback<RunType> other) in OnceCallback() 77 OnceCallback& operator=(RepeatingCallback<RunType> other) { 104 class RepeatingCallback<R(Args...)> : public internal::CallbackBaseCopyable { 110 constexpr RepeatingCallback() = default; 111 RepeatingCallback(std::nullptr_t) = delete; 113 explicit RepeatingCallback(internal::BindStateBase* bind_state) in RepeatingCallback() function 117 RepeatingCallback(const RepeatingCallback&) = default; 118 RepeatingCallback& operator=(const RepeatingCallback&) = default; 119 RepeatingCallback(RepeatingCallback&&) noexcept = default; 120 RepeatingCallback& operator=(RepeatingCallback&&) noexcept = default; [all …]
|
D | bind_helpers.h | 27 operator RepeatingCallback<R(Args...)>() const { 28 return RepeatingCallback<R(Args...)>(); 40 operator RepeatingCallback<void(Args...)>() const { 50 static RepeatingCallback<void(Args...)> Repeatedly() { in Repeatedly()
|
D | callback_forward.h | 14 class RepeatingCallback; variable 17 using Callback = RepeatingCallback<Signature>; 22 using RepeatingClosure = RepeatingCallback<void()>;
|
D | bind_unittest.cc | 402 RepeatingCallback<int(int)> c0 = BindRepeating(&Sum, 1, 2, 4, 8, 16); in TEST_F() 411 RepeatingCallback<int()> c1 = BindRepeating(c0, 11); in TEST_F() 438 RepeatingCallback<int(int)> c2 = BindRepeating(&Sum, 2, 3, 5, 7, 11); in TEST_F() 527 RepeatingCallback<int()> ref_copies_cb = BindRepeating(&Identity, ref_n); in TEST_F() 532 RepeatingCallback<int()> const_ref_copies_cb = in TEST_F() 561 RepeatingCallback<int()> array_cb = BindRepeating(&ArrayGet, array, 1); in TEST_F() 564 RepeatingCallback<int()> const_array_cb = in TEST_F() 611 RepeatingCallback<int(int)> normal_func_cb = in TEST_F() 657 RepeatingCallback<int()> copy_cb = BindRepeating(&Identity, n); in TEST_F() 658 RepeatingCallback<int()> const_ref_cb = BindRepeating(&Identity, ConstRef(n)); in TEST_F() [all …]
|
D | cancelable_callback.h | 105 void MakeForwarder(RepeatingCallback<void(Args...)>* out) const { in MakeForwarder() 147 internal::CancelableCallbackImpl<RepeatingCallback<Signature>>;
|
D | bind.h | 227 inline RepeatingCallback<MakeUnboundRunType<Functor, Args...>> 251 using CallbackType = RepeatingCallback<UnboundRunType>; 283 RepeatingCallback<Signature> BindRepeating( 284 RepeatingCallback<Signature> closure) {
|
D | callback_list.h | 205 : public internal::CallbackListBase<RepeatingCallback<void(Args...)>> { 207 using CallbackType = RepeatingCallback<void(Args...)>;
|
D | callback_helpers.h | 66 RepeatingCallback<void(Args...)> AdaptCallbackForRepeating( in AdaptCallbackForRepeating()
|
D | callback_helpers_unittest.cc | 117 base::RepeatingCallback<void(int*)> wrapped = in TEST()
|
D | bind_internal.h | 575 struct FunctorTraits<RepeatingCallback<R(Args...)>> { 953 struct CallbackCancellationTraits<RepeatingCallback<Signature>,
|
/external/libchrome/mojo/public/cpp/system/ |
D | simple_watcher.h | 53 using ReadyCallback = base::RepeatingCallback<void(MojoResult result)>; 58 base::RepeatingCallback<void(MojoResult result,
|
D | invitation.h | 28 using ProcessErrorCallback = base::RepeatingCallback<void(const std::string&)>;
|
/external/libchrome/base/task/sequence_manager/ |
D | task_queue_impl.h | 174 using OnNextWakeUpChangedCallback = RepeatingCallback<void(TimeTicks)>; 176 RepeatingCallback<void(const TaskQueue::Task&, 179 RepeatingCallback<void(const TaskQueue::Task&,
|
D | task_queue.cc | 269 impl_->SetOnNextWakeUpChangedCallback(RepeatingCallback<void(TimeTicks)>()); in SetObserver()
|
D | sequence_manager_impl_unittest.cc | 2055 void SetShouldExit(RepeatingCallback<bool()> should_exit) { in SetShouldExit() 2076 RepeatingCallback<bool()> should_exit_; 2090 void SetShouldExit(RepeatingCallback<bool()> should_exit) { in SetShouldExit() 2109 RepeatingCallback<bool()> should_exit_; 2126 RepeatingCallback<bool()> should_exit = BindRepeating( in TEST_P() 2150 RepeatingCallback<bool()> should_exit = BindRepeating( in TEST_P() 2177 RepeatingCallback<bool()> should_exit = BindRepeating( in TEST_P() 2201 RepeatingCallback<bool()> should_exit = BindRepeating( in TEST_P()
|
/external/libchrome/mojo/core/embedder/ |
D | process_error_callback.h | 16 base::RepeatingCallback<void(const std::string& error)>;
|
/external/libchrome/mojo/public/cpp/bindings/ |
D | connection_error_callback.h | 19 base::RepeatingCallback<void(uint32_t /* custom_reason */,
|
/external/libchrome/base/threading/ |
D | thread_id_name_manager.h | 34 using SetNameCallback = base::RepeatingCallback<void(const char* name)>;
|
/external/libchrome/mojo/public/tools/bindings/ |
D | mojom.gni | 201 # base::RepeatingCallback.
|
/external/libchrome/mojo/core/ |
D | trap_unittest.cc | 35 using ContextCallback = base::RepeatingCallback<void(const MojoTrapEvent&)>;
|