Home
last modified time | relevance | path

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

1234

/external/v8/src/js/
Dpromise.js122 function PromiseHandle(value, handler, deferred) { argument
125 if (debug_is_active) %DebugPushPromise(deferred.promise);
127 if (IS_UNDEFINED(deferred.resolve)) {
128 ResolvePromise(deferred.promise, result);
130 %_Call(deferred.resolve, UNDEFINED, result);
134 if (IS_UNDEFINED(deferred.reject)) {
137 %PromiseReject(deferred.promise, exception, false);
138 PromiseSet(deferred.promise, kRejected, exception);
140 %_Call(deferred.reject, UNDEFINED, exception);
174 function PromiseAttachCallbacks(promise, deferred, onResolve, onReject) { argument
[all …]
/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/runtime/
Druntime-promise.cc63 Handle<Object> tasks, Handle<Object> deferred, in EnqueuePromiseReactionJob() argument
69 Handle<Object> argv[] = {deferred, status}; in EnqueuePromiseReactionJob()
85 isolate->factory()->NewPromiseReactionJobInfo(value, tasks, deferred, in EnqueuePromiseReactionJob()
96 Handle<Object> deferred = JSReceiver::GetDataProperty( in PromiseFulfill() local
98 EnqueuePromiseReactionJob(isolate, value, tasks, deferred, status); in PromiseFulfill()
135 CONVERT_ARG_HANDLE_CHECKED(Object, deferred, 2); in RUNTIME_FUNCTION()
137 EnqueuePromiseReactionJob(isolate, value, tasks, deferred, status); in RUNTIME_FUNCTION()
/external/v8/src/compiler/
Dschedule.cc329 if (block->deferred()) { in EnsureCFGWellFormedness()
347 split_edge_block->set_deferred(block->deferred()); in EnsureSplitEdgeForm()
372 DCHECK(block->deferred() && block->PredecessorCount() > 1); in EnsureDeferredCodeSingleEntryPoint()
377 if (!pred->deferred()) { in EnsureDeferredCodeSingleEntryPoint()
407 if (!block->deferred()) { in PropagateDeferredMark()
408 bool deferred = block->PredecessorCount() > 0; in PropagateDeferredMark() local
410 if (!pred->deferred()) { in PropagateDeferredMark()
411 deferred = false; in PropagateDeferredMark()
414 if (deferred) { in PropagateDeferredMark()
462 if (block->deferred()) os << " (deferred)"; in operator <<()
Dschedule.h116 bool deferred() const { return deferred_; } in NON_EXPORTED_BASE()
117 void set_deferred(bool deferred) { deferred_ = deferred; } in NON_EXPORTED_BASE()
/external/skia/tools/
Ddump_record.cpp60 SkDeferredCanvas deferred(recorder.beginRecording(src->cullRect()), in main() local
62 src->playback(&deferred); in main()
/external/v8/src/
Disolate.cc239 for (DeferredHandles* deferred = deferred_handles_head_; in IterateDeferredHandles() local
240 deferred != NULL; in IterateDeferredHandles()
241 deferred = deferred->next_) { in IterateDeferredHandles()
242 deferred->Iterate(visitor); in IterateDeferredHandles()
255 for (DeferredHandles* deferred = deferred_handles_head_; in IsDeferredHandle() local
256 deferred != NULL; in IsDeferredHandle()
257 deferred = deferred->next_) { in IsDeferredHandle()
258 List<Object**>* blocks = &deferred->blocks_; in IsDeferredHandle()
260 Object** block_limit = (i == 0) ? deferred->first_block_limit_ in IsDeferredHandle()
2704 void Isolate::LinkDeferredHandles(DeferredHandles* deferred) { in Throw() argument
[all …]
Dhandles.cc191 DeferredHandles* deferred = impl_->Detach(prev_limit_); in Detach() local
198 return deferred; in Detach()
/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/libevent/
Dbufferevent.c215 &(bevp)->deferred); \
229 if (!p->deferred.queued) in _bufferevent_run_readcb()
246 if (!p->deferred.queued) in _bufferevent_run_writecb()
264 if (!p->deferred.queued) in _bufferevent_run_eventcb()
326 event_deferred_cb_init(&bufev_private->deferred, in bufferevent_init_common()
330 event_deferred_cb_init(&bufev_private->deferred, in bufferevent_init_common()
Dlistener.c452 struct deferred_cb deferred; member
509 event_deferred_cb_init(&res->deferred, in new_accepting_socket()
579 &as->deferred); in start_accepting()
671 &as->deferred); in accepted_socket_cb()
696 &as->deferred); in accepted_socket_cb()
/external/libcxx/src/
Dfuture.cpp169 if (__state_ & static_cast<unsigned>(deferred)) in __sub_wait()
171 __state_ &= ~static_cast<unsigned>(deferred); in __sub_wait()
/external/v8/src/crankshaft/mips/
Dlithium-codegen-mips.cc3229 DeferredMathAbsTaggedHeapNumber* deferred = in DoMathAbs() local
3233 __ JumpIfNotSmi(input, deferred->entry()); in DoMathAbs()
3236 __ bind(deferred->exit()); in DoMathAbs()
3953 DeferredMaybeGrowElements* deferred = in DoMaybeGrowElements() local
3970 __ jmp(deferred->entry()); in DoMaybeGrowElements()
3974 __ Branch(deferred->entry(), le, ToRegister(current_capacity), in DoMaybeGrowElements()
3979 __ Branch(deferred->entry(), ge, ToRegister(key), in DoMaybeGrowElements()
3982 __ Branch(deferred->entry(), ge, ToRegister(key), in DoMaybeGrowElements()
3992 __ bind(deferred->exit()); in DoMaybeGrowElements()
4112 DeferredStringCharCodeAt* deferred = in DoStringCharCodeAt() local
[all …]
/external/v8/src/crankshaft/ia32/
Dlithium-codegen-ia32.cc3064 DeferredMathAbsTaggedHeapNumber* deferred = in DoMathAbs() local
3068 __ JumpIfNotSmi(input_reg, deferred->entry()); in DoMathAbs()
3070 __ bind(deferred->exit()); in DoMathAbs()
3797 DeferredMaybeGrowElements* deferred = in DoMaybeGrowElements() local
3814 __ jmp(deferred->entry()); in DoMaybeGrowElements()
3819 __ j(less_equal, deferred->entry()); in DoMaybeGrowElements()
3824 __ j(greater_equal, deferred->entry()); in DoMaybeGrowElements()
3827 __ j(greater_equal, deferred->entry()); in DoMaybeGrowElements()
3831 __ bind(deferred->exit()); in DoMaybeGrowElements()
3931 DeferredStringCharCodeAt* deferred = in DoStringCharCodeAt() local
[all …]
/external/v8/src/crankshaft/arm/
Dlithium-codegen-arm.cc3297 DeferredMathAbsTaggedHeapNumber* deferred = in DoMathAbs() local
3301 __ JumpIfNotSmi(input, deferred->entry()); in DoMathAbs()
3304 __ bind(deferred->exit()); in DoMathAbs()
3978 DeferredMaybeGrowElements* deferred = in DoMaybeGrowElements() local
3995 __ jmp(deferred->entry()); in DoMaybeGrowElements()
4000 __ b(le, deferred->entry()); in DoMaybeGrowElements()
4005 __ b(ge, deferred->entry()); in DoMaybeGrowElements()
4008 __ b(ge, deferred->entry()); in DoMaybeGrowElements()
4017 __ bind(deferred->exit()); in DoMaybeGrowElements()
4137 DeferredStringCharCodeAt* deferred = in DoStringCharCodeAt() local
[all …]
/external/v8/src/crankshaft/x64/
Dlithium-codegen-x64.cc3267 DeferredMathAbsTaggedHeapNumber* deferred = in DoMathAbs() local
3271 __ JumpIfNotSmi(input_reg, deferred->entry()); in DoMathAbs()
3273 __ bind(deferred->exit()); in DoMathAbs()
4067 DeferredMaybeGrowElements* deferred = in DoMaybeGrowElements() local
4084 __ jmp(deferred->entry()); in DoMaybeGrowElements()
4089 __ j(less_equal, deferred->entry()); in DoMaybeGrowElements()
4094 __ j(greater_equal, deferred->entry()); in DoMaybeGrowElements()
4097 __ j(greater_equal, deferred->entry()); in DoMaybeGrowElements()
4106 __ bind(deferred->exit()); in DoMaybeGrowElements()
4220 DeferredStringCharCodeAt* deferred = in DoStringCharCodeAt() local
[all …]
/external/v8/src/crankshaft/arm64/
Dlithium-codegen-arm64.cc1404 DeferredAllocate* deferred = new(zone()) DeferredAllocate(this, instr); in DoAllocate() local
1429 __ Allocate(size, result, temp1, temp2, deferred->entry(), flags); in DoAllocate()
1433 __ Allocate(size.X(), result, temp1, temp2, deferred->entry(), flags); in DoAllocate()
1436 __ Bind(deferred->exit()); in DoAllocate()
2067 DeferredCheckMaps* deferred = NULL; in DoCheckMaps() local
2069 deferred = new(zone()) DeferredCheckMaps(this, instr, object); in DoCheckMaps()
2070 __ Bind(deferred->check_maps()); in DoCheckMaps()
2085 __ B(ne, deferred->entry()); in DoCheckMaps()
3407 DeferredMathAbsTagged* deferred = in DoMathAbsTagged() local
3423 __ JumpIfNotSmi(input, deferred->entry()); in DoMathAbsTagged()
[all …]
/external/v8/src/crankshaft/ppc/
Dlithium-codegen-ppc.cc3508 DeferredMathAbsTaggedHeapNumber* deferred = in DoShiftI() local
3512 __ JumpIfNotSmi(input, deferred->entry()); in DoShiftI()
3515 __ bind(deferred->exit()); in DoShiftI()
4268 DeferredMaybeGrowElements* deferred = in DoShiftI() local
4285 __ b(deferred->entry()); in DoShiftI()
4290 __ ble(deferred->entry()); in DoShiftI()
4295 __ bge(deferred->entry()); in DoShiftI()
4298 __ bge(deferred->entry()); in DoShiftI()
4307 __ bind(deferred->exit()); in DoShiftI()
4424 DeferredStringCharCodeAt* deferred = in DoShiftI() local
[all …]
/external/v8/src/crankshaft/s390/
Dlithium-codegen-s390.cc3452 DeferredMathAbsTaggedHeapNumber* deferred = in DoShiftI() local
3456 __ JumpIfNotSmi(input, deferred->entry()); in DoShiftI()
3459 __ bind(deferred->exit()); in DoShiftI()
4225 DeferredMaybeGrowElements* deferred = in DoShiftI() local
4242 __ b(deferred->entry()); in DoShiftI()
4247 __ ble(deferred->entry()); in DoShiftI()
4252 __ bge(deferred->entry()); in DoShiftI()
4255 __ bge(deferred->entry()); in DoShiftI()
4264 __ bind(deferred->exit()); in DoShiftI()
4375 DeferredStringCharCodeAt* deferred = in DoShiftI() local
[all …]
/external/v8/src/crankshaft/x87/
Dlithium-codegen-x87.cc3338 DeferredMathAbsTaggedHeapNumber* deferred = in DoMathAbs() local
3342 __ JumpIfNotSmi(input_reg, deferred->entry()); in DoMathAbs()
3344 __ bind(deferred->exit()); in DoMathAbs()
4125 DeferredMaybeGrowElements* deferred = in DoMaybeGrowElements() local
4142 __ jmp(deferred->entry()); in DoMaybeGrowElements()
4147 __ j(less_equal, deferred->entry()); in DoMaybeGrowElements()
4152 __ j(greater_equal, deferred->entry()); in DoMaybeGrowElements()
4155 __ j(greater_equal, deferred->entry()); in DoMaybeGrowElements()
4159 __ bind(deferred->exit()); in DoMaybeGrowElements()
4259 DeferredStringCharCodeAt* deferred = in DoStringCharCodeAt() local
[all …]
/external/v8/src/crankshaft/mips64/
Dlithium-codegen-mips64.cc3433 DeferredMathAbsTaggedHeapNumber* deferred = in DoMathAbs() local
3437 __ JumpIfNotSmi(input, deferred->entry()); in DoMathAbs()
3440 __ bind(deferred->exit()); in DoMathAbs()
4188 DeferredMaybeGrowElements* deferred = in DoMaybeGrowElements() local
4205 __ jmp(deferred->entry()); in DoMaybeGrowElements()
4209 __ Branch(deferred->entry(), le, ToRegister(current_capacity), in DoMaybeGrowElements()
4214 __ Branch(deferred->entry(), ge, ToRegister(key), in DoMaybeGrowElements()
4217 __ Branch(deferred->entry(), ge, ToRegister(key), in DoMaybeGrowElements()
4227 __ bind(deferred->exit()); in DoMaybeGrowElements()
4347 DeferredStringCharCodeAt* deferred = in DoStringCharCodeAt() local
[all …]

1234