Home
last modified time | relevance | path

Searched refs:deferred (Results 1 – 25 of 138) sorted by relevance

123456

/external/perfetto/src/ipc/
Ddeferred_unittest.cc35 Deferred<TestMessage> deferred; in TEST() local
37 deferred.Bind([num_callbacks](AsyncResult<TestMessage> msg) { in TEST()
50 deferred.Resolve(std::move(res)); in TEST()
54 EXPECT_DCHECK(deferred.Resolve(std::move(res))); in TEST()
55 EXPECT_DCHECK(deferred.Reject()); in TEST()
62 Deferred<TestMessage> deferred; in TEST() local
64 deferred.Bind([num_callbacks](AsyncResult<TestMessage> msg) { in TEST()
74 deferred.Reject(); in TEST()
75 EXPECT_DCHECK(deferred.Resolve(std::move(res))); in TEST()
76 EXPECT_DCHECK(deferred.Reject()); in TEST()
[all …]
/external/perfetto/ui/src/base/
Ddeferred_unittest.ts18 const deferred: Deferred<void> = defer<void>(); constant
20 deferred.then(() => i++);
23 deferred.resolve();
25 await deferred;
30 const deferred: Deferred<string> = defer<string>(); constant
31 deferred.resolve('foo');
32 return expect(deferred).resolves.toBe('foo');
36 const deferred: Deferred<string> = defer<string>(); constant
37 deferred.reject('foo');
38 return expect(deferred).rejects.toBe('foo');
/external/libcxx/test/std/thread/futures/futures.overview/
Dlaunch.pass.cpp30 … (static_cast<int>(std::launch::async) | static_cast<int>(std::launch::deferred)), ""); in main()
32 LIBCPP_STATIC_ASSERT(std::launch::any == (std::launch::async | std::launch::deferred), ""); in main()
33 static_assert(std::launch(0) == (std::launch::async & std::launch::deferred), ""); in main()
34 LIBCPP_STATIC_ASSERT(std::launch::any == (std::launch::async ^ std::launch::deferred), ""); in main()
35 LIBCPP_STATIC_ASSERT(std::launch::deferred == ~std::launch::async, ""); in main()
37 x &= std::launch::deferred; in main()
40 x |= std::launch::deferred; in main()
42 x ^= std::launch::deferred; in main()
46 static_assert(static_cast<int>(std::launch::deferred) == 2, ""); in main()
Dfuture_status.pass.cpp27 static_assert(static_cast<int>(std::future_status::deferred) == 2, ""); in main()
/external/tcpdump/tests/
Dsflow_multiple_counter_30_pdus.out13 deferred 0, late collision 0, excessive collision 0, mac trans error 0
25 deferred 0, late collision 0, excessive collision 0, mac trans error 0
37 deferred 0, late collision 0, excessive collision 0, mac trans error 0
49 deferred 0, late collision 0, excessive collision 0, mac trans error 0
61 deferred 0, late collision 0, excessive collision 0, mac trans error 0
73 deferred 0, late collision 0, excessive collision 0, mac trans error 0
85 deferred 0, late collision 0, excessive collision 0, mac trans error 0
99 deferred 0, late collision 0, excessive collision 0, mac trans error 0
111 deferred 0, late collision 0, excessive collision 0, mac trans error 0
123 deferred 0, late collision 0, excessive collision 0, mac trans error 0
[all …]
/external/libcxx/test/std/thread/futures/futures.async/
Dasync.pass.cpp113 std::launch AnyPolicy = std::launch::async | std::launch::deferred; in main()
120 test<int>(checkInt, true, std::launch::deferred, f0); in main()
127 test<int&>(checkIntRef, true, std::launch::deferred, f1); in main()
134 test<void>(checkVoid, true, std::launch::deferred, f2); in main()
150 std::future<void> f = std::async(std::launch::deferred, f5, 3); in main()
Dasync_race.pass.cpp58 std::future<int> f = std::async(std::launch::deferred, f_deferred); in test_each()
/external/v8/src/compiler/
Dschedule.cc351 if (block->deferred()) { in EnsureCFGWellFormedness()
388 split_edge_block->set_deferred(block->deferred()); in EnsureSplitEdgeForm()
413 DCHECK(block->deferred() && block->PredecessorCount() > 1); in EnsureDeferredCodeSingleEntryPoint()
418 if (!pred->deferred()) { in EnsureDeferredCodeSingleEntryPoint()
463 if (!block->deferred()) { in PropagateDeferredMark()
464 bool deferred = block->PredecessorCount() > 0; in PropagateDeferredMark() local
466 if (!pred->deferred() && (pred->rpo_number() < block->rpo_number())) { in PropagateDeferredMark()
467 deferred = false; in PropagateDeferredMark()
470 if (deferred) { in PropagateDeferredMark()
518 if (block->deferred()) os << " (deferred)"; in operator <<()
Dschedule.h124 bool deferred() const { return deferred_; } in NON_EXPORTED_BASE()
125 void set_deferred(bool deferred) { deferred_ = deferred; } in NON_EXPORTED_BASE()
/external/tensorflow/tensorflow/core/framework/
Dlog_memory.cc92 Allocator* allocator, bool deferred) { in RecordRawDeallocation() argument
98 deallocation.set_deferred(deferred); in RecordRawDeallocation()
Dlog_memory.h106 bool deferred);
/external/grpc-grpc/test/http2_test/
Dhttp2_test_server.py83 deferred = endpoint.listen(H2Factory(test_case))
91 deferred.addErrback(listen_error)
/external/llvm/lib/Support/
DThreadPool.cpp142 auto Future = std::async(std::launch::deferred, std::move(Task)).share(); in asyncImpl()
147 auto Future = std::async(std::launch::deferred, std::move(Task), false).share(); in asyncImpl()
/external/libcxx/src/
Dfuture.cpp161 if (__state_ & static_cast<unsigned>(deferred)) in __sub_wait()
163 __state_ &= ~static_cast<unsigned>(deferred); in __sub_wait()
/external/v8/src/
Disolate.cc281 for (DeferredHandles* deferred = deferred_handles_head_; deferred != nullptr; in IterateDeferredHandles() local
282 deferred = deferred->next_) { in IterateDeferredHandles()
283 deferred->Iterate(visitor); in IterateDeferredHandles()
296 for (DeferredHandles* deferred = deferred_handles_head_; deferred != nullptr; in IsDeferredHandle() local
297 deferred = deferred->next_) { in IsDeferredHandle()
298 std::vector<Object**>* blocks = &deferred->blocks_; in IsDeferredHandle()
300 Object** block_limit = (i == 0) ? deferred->first_block_limit_ in IsDeferredHandle()
3179 void Isolate::LinkDeferredHandles(DeferredHandles* deferred) { in Throw() argument
3180 deferred->next_ = deferred_handles_head_; in Throw()
3182 deferred_handles_head_->previous_ = deferred; in Throw()
[all …]
Dhandles.cc208 DeferredHandles* deferred = impl_->Detach(prev_limit_); in Detach() local
215 return deferred; in Detach()
/external/libevent/
Dlistener.c455 struct event_callback deferred; member
512 event_deferred_cb_init_(&res->deferred, in new_accepting_socket()
583 &as->deferred); in start_accepting()
675 &as->deferred); in accepted_socket_cb()
700 &as->deferred); in accepted_socket_cb()
/external/libchrome/mojo/core/
Dchannel.cc688 bool deferred = false; in OnReadComplete() local
692 &deferred)) { in OnReadComplete()
705 DCHECK(!deferred); in OnReadComplete()
711 } else if (deferred) { in OnReadComplete()
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/compaction/mm_compaction_suitable/
Dformat14 …"Normal"}, {2, "Movable"}), REC->order, __print_symbolic(REC->ret, {0, "deferred"}, {1, "skipped"}…
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/compaction/mm_compaction_finished/
Dformat14 …"Normal"}, {2, "Movable"}), REC->order, __print_symbolic(REC->ret, {0, "deferred"}, {1, "skipped"}…
/external/v8/tools/turbolizer/src/
Dsource-resolver.ts475 isDeferred: match.groups.deferred != undefined,
497 [/^\s*---\s*BLOCK\ B(?<id>\d+)\s*(?<deferred>\(deferred\))?(\ <-\ )?(?<in>[^-]*)?\ ---$/
/external/libcxx/include/
Dfuture31 deferred = 2,
32 any = async | deferred
39 deferred
82 // setting the result with deferred notification
111 // setting the result with deferred notification
139 // setting the result with deferred notification
405 deferred = 2,
406 any = async | deferred
481 deferred
548 deferred = 8
[all …]
/external/perfetto/include/perfetto/ipc/
DBUILD.gn25 "deferred.h",
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/compaction/mm_compaction_end/
Dformat16 …e_end, REC->sync ? "sync" : "async", __print_symbolic(REC->status, {0, "deferred"}, {1, "skipped"}…
/external/oj-libjdwp/src/share/back/
DthreadControl.h48 jvmtiError threadControl_suspendThread(jthread thread, jboolean deferred);

123456