Home
last modified time | relevance | path

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

12

/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()>;
Dcancelable_callback.h105 void MakeForwarder(RepeatingCallback<void(Args...)>* out) const { in MakeForwarder()
147 internal::CancelableCallbackImpl<RepeatingCallback<Signature>>;
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 …]
Dbind.h227 inline RepeatingCallback<MakeUnboundRunType<Functor, Args...>>
251 using CallbackType = RepeatingCallback<UnboundRunType>;
283 RepeatingCallback<Signature> BindRepeating(
284 RepeatingCallback<Signature> closure) {
Dcallback_unittest.nc18 … // [r"fatal error: no viable conversion from 'RepeatingCallback<int \(\)>' to 'const RepeatingCa…
Dcallback_list.h205 : public internal::CallbackListBase<RepeatingCallback<void(Args...)>> {
207 using CallbackType = RepeatingCallback<void(Args...)>;
Dcallback_helpers.h66 RepeatingCallback<void(Args...)> AdaptCallbackForRepeating( in AdaptCallbackForRepeating()
/external/v4l2_codec2/components/include/v4l2_codec2/components/
DVideoEncoder.h50 base::RepeatingCallback<void(uint32_t, std::unique_ptr<BitstreamBuffer>* buffer)>;
52 using InputBufferDoneCB = base::RepeatingCallback<void(uint64_t)>;
53 using OutputBufferDoneCB = base::RepeatingCallback<void(
55 using DrainDoneCB = base::RepeatingCallback<void(bool)>;
56 using ErrorCB = base::RepeatingCallback<void()>;
DVideoDecoder.h29 using GetPoolCB = base::RepeatingCallback<std::unique_ptr<VideoFramePool>(
32 using OutputCB = base::RepeatingCallback<void(std::unique_ptr<VideoFrame>)>;
33 using ErrorCB = base::RepeatingCallback<void()>;
/external/zlib/google/
Dzip.h74 using FilterCallback = base::RepeatingCallback<bool(const base::FilePath&)>;
128 using FilterCallback = base::RepeatingCallback<bool(const base::FilePath&)>;
155 using FilterCallback = base::RepeatingCallback<bool(const base::FilePath&)>;
166 typedef base::RepeatingCallback<std::unique_ptr<WriterDelegate>(
169 typedef base::RepeatingCallback<bool(const base::FilePath&)> DirectoryCreator;
/external/angle/third_party/zlib/google/
Dzip.h81 using ProgressCallback = base::RepeatingCallback<bool(const Progress&)>;
83 using FilterCallback = base::RepeatingCallback<bool(const base::FilePath&)>;
181 typedef base::RepeatingCallback<std::unique_ptr<WriterDelegate>(
184 typedef base::RepeatingCallback<bool(const base::FilePath&)> DirectoryCreator;
/external/libchrome/components/policy/core/common/
Dpolicy_scheduler.h34 using Task = base::RepeatingCallback<void(TaskCallback callback)>;
37 using SchedulerCallback = base::RepeatingCallback<void(bool success)>;
/external/libchrome/mojo/public/cpp/system/
Dsimple_watcher.h53 using ReadyCallback = base::RepeatingCallback<void(MojoResult result)>;
58 base::RepeatingCallback<void(MojoResult result,
/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/libbrillo/brillo/message_loops/
Dmessage_loop_utils.h21 base::RepeatingCallback<bool()> terminate);
Dmessage_loop_utils.cc14 base::RepeatingCallback<bool()> terminate) { in MessageLoopRunUntil()
/external/libbrillo/brillo/
Dasynchronous_signal_handler_interface.h24 base::RepeatingCallback<bool(const struct signalfd_siginfo&)>;
/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&,
/external/libchrome/libchrome_tools/patches/
Dr680000-forward-compatibility-patch-part-1.patch13 - Add bool operators == and != for base::RepeatingCallback.
37 @@ -123,6 +123,14 @@ class RepeatingCallback<R(Args...)> : public internal::CallbackBaseCopyable {
41 + bool operator==(const RepeatingCallback& other) const {
45 + bool operator!=(const RepeatingCallback& other) const {
/external/v4l2_codec2/common/include/v4l2_codec2/common/
DV4L2DevicePoller.h35 using EventCallback = base::RepeatingCallback<void(bool event)>;
/external/libchrome/base/trace_event/
Dmemory_dump_scheduler.h27 using PeriodicCallback = RepeatingCallback<void(MemoryDumpLevelOfDetail)>;
/external/libchrome/base/threading/
Dthread_id_name_manager.h34 using SetNameCallback = base::RepeatingCallback<void(const char* name)>;

12