Home
last modified time | relevance | path

Searched refs:DoNothing (Results 1 – 25 of 69) sorted by relevance

123

/external/grpc-grpc/test/cpp/microbenchmarks/
Dbm_closure.cc55 static void DoNothing(void* arg, grpc_error* error) {} in DoNothing() function
62 GRPC_CLOSURE_INIT(&c, DoNothing, nullptr, grpc_schedule_on_exec_ctx)); in BM_ClosureInitAgainstExecCtx()
75 &c, DoNothing, nullptr, grpc_combiner_scheduler(combiner))); in BM_ClosureInitAgainstCombiner()
86 GRPC_CLOSURE_INIT(&c, DoNothing, nullptr, grpc_schedule_on_exec_ctx); in BM_ClosureRunOnExecCtx()
102 GRPC_CLOSURE_CREATE(DoNothing, nullptr, grpc_schedule_on_exec_ctx), in BM_ClosureCreateAndRun()
116 GRPC_CLOSURE_INIT(&c, DoNothing, nullptr, grpc_schedule_on_exec_ctx), in BM_ClosureInitAndRun()
127 GRPC_CLOSURE_INIT(&c, DoNothing, nullptr, grpc_schedule_on_exec_ctx); in BM_ClosureSchedOnExecCtx()
142 GRPC_CLOSURE_INIT(&c1, DoNothing, nullptr, grpc_schedule_on_exec_ctx); in BM_ClosureSched2OnExecCtx()
143 GRPC_CLOSURE_INIT(&c2, DoNothing, nullptr, grpc_schedule_on_exec_ctx); in BM_ClosureSched2OnExecCtx()
160 GRPC_CLOSURE_INIT(&c1, DoNothing, nullptr, grpc_schedule_on_exec_ctx); in BM_ClosureSched3OnExecCtx()
[all …]
/external/libchrome/base/task_scheduler/
Dtask_unittest.cc21 Task continue_on_shutdown(FROM_HERE, DoNothing(), in TEST()
27 Task skip_on_shutdown(FROM_HERE, DoNothing(), in TEST()
33 Task block_shutdown(FROM_HERE, DoNothing(), in TEST()
42 Task continue_on_shutdown(FROM_HERE, DoNothing(), in TEST()
48 Task skip_on_shutdown(FROM_HERE, DoNothing(), in TEST()
53 Task block_shutdown(FROM_HERE, DoNothing(), in TEST()
Dtask_tracker_unittest.cc579 Task delayed_task(FROM_HERE, DoNothing(), TaskTraits(GetParam()), in TEST_P()
587 Task delayed_task(FROM_HERE, DoNothing(), TaskTraits(GetParam()), in TEST_P()
599 Task undelayed_task(FROM_HERE, DoNothing(), TaskTraits(GetParam()), in TEST_P()
614 Task undelayed_task(FROM_HERE, DoNothing(), TaskTraits(GetParam()), in TEST_P()
631 Task undelayed_task(FROM_HERE, DoNothing(), TaskTraits(GetParam()), in TEST_P()
641 Task other_undelayed_task(FROM_HERE, DoNothing(), TaskTraits(GetParam()), in TEST_P()
658 Task undelayed_task(FROM_HERE, DoNothing(), TaskTraits(GetParam()), in TEST_P()
670 Task other_undelayed_task(FROM_HERE, DoNothing(), TaskTraits(GetParam()), in TEST_P()
690 Task delayed_task(FROM_HERE, DoNothing(), TaskTraits(GetParam()), in TEST_P()
693 Task undelayed_task(FROM_HERE, DoNothing(), TaskTraits(GetParam()), in TEST_P()
[all …]
Dpriority_queue_unittest.cc61 sequence_a->PushTask(Task(FROM_HERE, DoNothing(), in TEST()
67 sequence_b->PushTask(Task(FROM_HERE, DoNothing(), in TEST()
73 sequence_c->PushTask(Task(FROM_HERE, DoNothing(), in TEST()
79 sequence_d->PushTask(Task(FROM_HERE, DoNothing(), in TEST()
Dsequence_unittest.cc100 Task background_task(FROM_HERE, DoNothing(), {TaskPriority::BACKGROUND}, in TEST()
125 Task foreground_task(FROM_HERE, DoNothing(), {TaskPriority::USER_VISIBLE}, in TEST()
150 sequence->PushTask(Task(FROM_HERE, DoNothing(), TaskTraits(), TimeDelta())); in TEST()
159 sequence->PushTask(Task(FROM_HERE, DoNothing(), TaskTraits(), TimeDelta())); in TEST()
Dlazy_task_runner_unittest.cc172 DoNothing()); in TEST()
183 DoNothing()); in TEST()
194 g_com_sta_task_runner_user_visible.Get()->PostTask(FROM_HERE, DoNothing()); in TEST()
/external/llvm-project/clang/lib/Analysis/
DRetainSummaryManager.cpp303 return RetTy->isObjCIdType() ? getUnarySummary(FT, DoNothing) in getSummaryForObjCOrCFObject()
310 ArgEffect(DoNothing), in getSummaryForObjCOrCFObject()
311 ArgEffect(DoNothing)); in getSummaryForObjCOrCFObject()
323 ArgEffect(DoNothing), ArgEffect(DoNothing)); in getSummaryForObjCOrCFObject()
332 ArgEffect(DoNothing), ArgEffect(DoNothing)); in getSummaryForObjCOrCFObject()
340 ArgEffect(DoNothing), ArgEffect(DoNothing)); in getSummaryForObjCOrCFObject()
351 ArgEffect(DoNothing), ArgEffect(DoNothing)); in getSummaryForObjCOrCFObject()
359 ArgEffect(DoNothing), ArgEffect(DoNothing)); in getSummaryForObjCOrCFObject()
369 ArgEffect(DoNothing), ArgEffect(DoNothing)); in getSummaryForObjCOrCFObject()
379 ArgEffect(DoNothing), ArgEffect(DoNothing)); in getSummaryForObjCOrCFObject()
[all …]
/external/webrtc/rtc_base/
Dkeep_ref_until_done.h23 static inline void DoNothing(const scoped_refptr<T>& object) {} in DoNothing() function
31 return rtc::Bind(&impl::DoNothing<ObjectT>, scoped_refptr<ObjectT>(object)); in KeepRefUntilDone()
37 return rtc::Bind(&impl::DoNothing<ObjectT>, object); in KeepRefUntilDone()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
DInvokeDynamicTest.java21 DoNothing nothing = new DoNothing(); in doNothing()
110 public static class DoNothing { class in InvokeDynamicTest
116 @Implements(value = DoNothing.class, callThroughByDefault = false)
/external/libbrillo/brillo/message_loops/
Dfake_message_loop_test.cc69 loop_->PostDelayedTask(base::DoNothing(), TimeDelta::FromSeconds(1)); in TEST_F()
70 loop_->PostDelayedTask(base::DoNothing(), TimeDelta::FromSeconds(2)); in TEST_F()
89 loop_->PostDelayedTask(base::DoNothing(), TimeDelta::FromSeconds(1)); in TEST_F()
/external/llvm-project/clang/include/clang/Analysis/
DRetainSummaryManager.h55 DoNothing, enumerator
122 explicit ArgEffect(ArgEffectKind K = DoNothing, ObjKind O = ObjKind::AnyObj)
354 return Ret == RetEffect::MakeNoRet() && Receiver.getKind() == DoNothing
355 && DefaultArgEffect.getKind() == MayEscape && This.getKind() == DoNothing
524 ArgEffect ReceiverEff = ArgEffect(DoNothing),
526 ArgEffect ThisEff = ArgEffect(DoNothing)) {
534 ArgEffect(DoNothing), ArgEffect(DoNothing));
540 ArgEffect(DoNothing), ArgEffect(MayEscape));
/external/libchrome/base/message_loop/
Dmessage_pump_glib_unittest.cc208 injector()->AddEventAsTask(0, DoNothing()); in TEST_F()
214 injector()->AddEventAsTask(0, DoNothing()); in TEST_F()
223 injector()->AddEventAsTask(0, DoNothing()); in TEST_F()
228 injector()->AddEventAsTask(10, DoNothing()); in TEST_F()
397 ThreadTaskRunnerHandle::Get()->PostTask(FROM_HERE, DoNothing()); in AddEventsAndDrainGLib()
398 ThreadTaskRunnerHandle::Get()->PostTask(FROM_HERE, DoNothing()); in AddEventsAndDrainGLib()
Dmessage_loop_task_runner_perftest.cc63 task_runner->PostTask(FROM_HERE, DoNothing()); in Run()
163 loop->task_runner()->PostTask(FROM_HERE, DoNothing()); in Run()
/external/libchrome/base/
Dbarrier_closure_unittest.cc45 void DoNothing() {} in DoNothing() function in __anone92f543c0111::DestructionIndicator
55 base::BindOnce(&DestructionIndicator::DoNothing, in TEST()
/external/swiftshader/third_party/SPIRV-Tools/test/
Dtimer_test.cpp42 TEST(MockTimer, DoNothing) { in TEST() argument
110 TEST(MockCumulativeTimer, DoNothing) { in TEST() argument
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/
Dtimer_test.cpp42 TEST(MockTimer, DoNothing) { in TEST() argument
110 TEST(MockCumulativeTimer, DoNothing) { in TEST() argument
/external/deqp-deps/SPIRV-Tools/test/
Dtimer_test.cpp42 TEST(MockTimer, DoNothing) { in TEST() argument
110 TEST(MockCumulativeTimer, DoNothing) { in TEST() argument
/external/clang/lib/StaticAnalyzer/Checkers/
DRetainCountChecker.cpp660 ArgEffect ReceiverEff = DoNothing, in getPersistentSummary()
667 return getPersistentSummary(RetEffect::MakeNoRet(), DoNothing, DoNothing); in getDoNothingSummary()
672 DoNothing, MayEscape); in getDefaultSummary()
905 case DoNothing: in getStopTrackingHardEquivalent()
986 ModifiableSummaryTemplate->setReceiverEffect(DoNothing); in updateSummaryForCall()
1090 DoNothing, DoNothing); in getFunctionSummary()
1097 S = getPersistentSummary(RetEffect::MakeNoRet(), DoNothing, DoNothing); in getFunctionSummary()
1103 S = getPersistentSummary(RetEffect::MakeNoRet(), DoNothing, DoNothing); in getFunctionSummary()
1112 S = getPersistentSummary(RetEffect::MakeNoRet(), DoNothing, DoNothing); in getFunctionSummary()
1120 DoNothing, DoNothing); in getFunctionSummary()
[all …]
/external/libchrome/base/task/
Dcancelable_task_tracker_unittest.cc169 worker_thread.task_runner().get(), FROM_HERE, DoNothing(), in TEST_F()
347 FROM_HERE, DoNothing())); in PostDoNothingTask()
373 task_tracker_.PostTask(test_task_runner.get(), FROM_HERE, DoNothing()); in TEST_F()
392 task_tracker_.PostTask(test_task_runner.get(), FROM_HERE, DoNothing()); in TEST_F()
/external/libbrillo/brillo/dbus/
Dasync_event_sequencer.cc59 void DoNothing(bool /* success */) { in DoNothing() function
70 return base::Bind(&DoNothing); in GetDefaultCompletionAction()
/external/libchrome/base/test/
Dscoped_mock_time_message_loop_task_runner_unittest.cc80 Closure task_1 = DoNothing(); in TEST_F()
81 Closure task_2 = DoNothing(); in TEST_F()
/external/pigweed/pw_rpc/raw/
Draw_method_union_test.cc37 GetRawMethodFor<&Implementation::DoNothing, MethodType::kUnary>(10u),
55 StatusWithSize DoNothing(ServerContext&, ConstByteSpan, ByteSpan) { in DoNothing() function in pw::rpc::internal::__anon2fce3dc40111::FakeGeneratedServiceImpl
/external/grpc-grpc/src/core/ext/filters/client_channel/resolver/sockaddr/
Dsockaddr_resolver.cc114 void DoNothing(void* ignored) {} in DoNothing() function
126 grpc_slice_new(args.uri->path, strlen(args.uri->path), DoNothing); in CreateSockaddrResolver()
/external/pigweed/pw_rpc/nanopb/
Dnanopb_method_union_test.cc35 GetNanopbOrRawMethodFor<&Implementation::DoNothing,
75 StatusWithSize DoNothing(ServerContext&, ConstByteSpan, ByteSpan) { in DoNothing() function in pw::rpc::internal::__anon4e1b2bcc0111::FakeGeneratedServiceImpl
/external/pdfium/core/fxge/apple/
Dfx_apple_platform.cpp33 void DoNothing(void* info, const void* data, size_t size) {} in DoNothing() function
140 pClipMask->GetPitch() * pClipMask->GetHeight(), DoNothing); in DrawDeviceText()

123