Home
last modified time | relevance | path

Searched refs:RepeatingCallback (Results 1 – 21 of 21) sorted by relevance

/external/v8/tools/clang/base_bind_rewriters/tests/
Dcallback.h38 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/
Dcallback.h74 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 …]
Dbind_helpers.h27 operator RepeatingCallback<R(Args...)>() const {
28 return RepeatingCallback<R(Args...)>();
40 operator RepeatingCallback<void(Args...)>() const {
50 static RepeatingCallback<void(Args...)> Repeatedly() { in Repeatedly()
Dcallback_forward.h14 class RepeatingCallback; variable
17 using Callback = RepeatingCallback<Signature>;
22 using RepeatingClosure = RepeatingCallback<void()>;
Dbind_unittest.cc402 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 …]
Dcancelable_callback.h105 void MakeForwarder(RepeatingCallback<void(Args...)>* out) const { in MakeForwarder()
147 internal::CancelableCallbackImpl<RepeatingCallback<Signature>>;
Dbind.h227 inline RepeatingCallback<MakeUnboundRunType<Functor, Args...>>
251 using CallbackType = RepeatingCallback<UnboundRunType>;
283 RepeatingCallback<Signature> BindRepeating(
284 RepeatingCallback<Signature> closure) {
Dcallback_list.h205 : public internal::CallbackListBase<RepeatingCallback<void(Args...)>> {
207 using CallbackType = RepeatingCallback<void(Args...)>;
Dcallback_helpers.h66 RepeatingCallback<void(Args...)> AdaptCallbackForRepeating( in AdaptCallbackForRepeating()
Dcallback_helpers_unittest.cc117 base::RepeatingCallback<void(int*)> wrapped = in TEST()
Dbind_internal.h575 struct FunctorTraits<RepeatingCallback<R(Args...)>> {
953 struct CallbackCancellationTraits<RepeatingCallback<Signature>,
/external/libchrome/mojo/public/cpp/system/
Dsimple_watcher.h53 using ReadyCallback = base::RepeatingCallback<void(MojoResult result)>;
58 base::RepeatingCallback<void(MojoResult result,
Dinvitation.h28 using ProcessErrorCallback = base::RepeatingCallback<void(const std::string&)>;
/external/libchrome/base/task/sequence_manager/
Dtask_queue_impl.h174 using OnNextWakeUpChangedCallback = RepeatingCallback<void(TimeTicks)>;
176 RepeatingCallback<void(const TaskQueue::Task&,
179 RepeatingCallback<void(const TaskQueue::Task&,
Dtask_queue.cc269 impl_->SetOnNextWakeUpChangedCallback(RepeatingCallback<void(TimeTicks)>()); in SetObserver()
Dsequence_manager_impl_unittest.cc2055 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/
Dprocess_error_callback.h16 base::RepeatingCallback<void(const std::string& error)>;
/external/libchrome/mojo/public/cpp/bindings/
Dconnection_error_callback.h19 base::RepeatingCallback<void(uint32_t /* custom_reason */,
/external/libchrome/base/threading/
Dthread_id_name_manager.h34 using SetNameCallback = base::RepeatingCallback<void(const char* name)>;
/external/libchrome/mojo/public/tools/bindings/
Dmojom.gni201 # base::RepeatingCallback.
/external/libchrome/mojo/core/
Dtrap_unittest.cc35 using ContextCallback = base::RepeatingCallback<void(const MojoTrapEvent&)>;