Home
last modified time | relevance | path

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

12345678910

/third_party/node/deps/npm/node_modules/run-queue/
Dqueue.js17 this.deferred = {}
25 var deferred = this.deferred
26 if (!deferred.promise) {
27 deferred.promise = new this.Promise(function (resolve, reject) {
28 deferred.resolve = resolve
29 deferred.reject = reject
33 return deferred.promise
71 self.deferred.resolve()
76 self.deferred.reject(err)
/third_party/boost/libs/thread/test/sync/futures/future/
Dthen_deferred_pass.cpp65 boost::future<int> f2 = f1.then(boost::launch::deferred, &p2); in main()
87 boost::future<void> f2 = f1.then(boost::launch::deferred, &p3); in main()
106 boost::future<int> f2 = boost::async(p1).then(boost::launch::deferred, &p2); in main()
112 boost::future<int> f21 = f1.then(boost::launch::deferred, &p2); in main()
113 boost::future<int> f2= f21.then(boost::launch::deferred, &p2); in main()
119 boost::future<int> f2= f1.then(boost::launch::deferred, &p2).then(boost::launch::deferred, &p2); in main()
124 …:future<int> f2 = boost::async(p1).then(boost::launch::deferred, &p2).then(boost::launch::deferred in main()
Dasync_deferred_then_pass.cpp58 boost::future<int> f1 = boost::async(boost::launch::deferred, &p1); in main()
79 boost::future<int> f1 = boost::async(boost::launch::deferred, &p1); in main()
101 boost::future<int> f1 = boost::async(boost::launch::deferred, &p1); in main()
122 boost::future<int> f2 = boost::async(boost::launch::deferred, p1).then(&p2); in main()
127 boost::future<int> f1 = boost::async(boost::launch::deferred, p1); in main()
134 boost::future<int> f1 = boost::async(boost::launch::deferred, p1); in main()
140 boost::future<int> f2 = boost::async(boost::launch::deferred, p1).then(&p2).then(&p2); in main()
/third_party/node/test/js-native-api/test_promise/
Dtest_promise.c4 napi_deferred deferred = NULL; variable
10 if (deferred != NULL) { in createPromise()
14 NAPI_CALL(env, napi_create_promise(env, &deferred, &promise)); in createPromise()
28 NAPI_CALL(env, napi_resolve_deferred(env, deferred, argv[0])); in concludeCurrentPromise()
30 NAPI_CALL(env, napi_reject_deferred(env, deferred, argv[0])); in concludeCurrentPromise()
33 deferred = NULL; in concludeCurrentPromise()
/third_party/flutter/skia/third_party/externals/dawn/src/tests/
DDawnTest.cpp486 DeferredExpectation deferred; in AddBufferExpectation() local
487 deferred.file = file; in AddBufferExpectation()
488 deferred.line = line; in AddBufferExpectation()
489 deferred.readbackSlot = readback.slot; in AddBufferExpectation()
490 deferred.readbackOffset = readback.offset; in AddBufferExpectation()
491 deferred.size = size; in AddBufferExpectation()
492 deferred.rowBytes = size; in AddBufferExpectation()
493 deferred.rowPitch = size; in AddBufferExpectation()
494 deferred.expectation.reset(expectation); in AddBufferExpectation()
496 mDeferredExpectations.push_back(std::move(deferred)); in AddBufferExpectation()
[all …]
/third_party/node/deps/npm/node_modules/asynckit/
Dbench.js22 .add('async.map', function(deferred) argument
39 deferred.resolve();
44 .add('asynckit.parallel', function(deferred) argument
61 deferred.resolve();
/third_party/parse5/bench/perf/
Dindex.js106 workingCopyFn: async deferred => { argument
119 deferred.resolve();
121 upstreamFn: async deferred => { argument
138 deferred.resolve();
/third_party/node/test/node-api/test_callback_scope/
Dbinding.c55 static napi_deferred deferred = NULL; variable
83 napi_resolve_deferred(env, deferred, undefined_value)); in Callback()
96 if (deferred == NULL) { in TestResolveAsync()
98 NAPI_CALL(env, napi_create_promise(env, &deferred, &promise)); in TestResolveAsync()
/third_party/boost/boost/thread/futures/
Dfuture_status.hpp21 deferred in BOOST_SCOPED_ENUM_DECLARE_BEGIN()
26 enum state { uninitialized, waiting, ready, moved, deferred }; enumerator
Dlaunch.hpp21 deferred = 2, in BOOST_SCOPED_ENUM_DECLARE_BEGIN()
27 any = async | deferred in BOOST_SCOPED_ENUM_DECLARE_BEGIN()
/third_party/pulseaudio/conf/
Ddaemon.conf89 ; enable-deferred-volume = yes
90 deferred-volume-safety-margin-usec = 1
91 ; deferred-volume-extra-delay-usec = 0
/third_party/typescript/tests/baselines/reference/
DfunduleUsedAcrossFileBoundary.js14 var deferred = Q.defer<T>(); // used to be an error variable
20 var deferred = Q.defer(); // used to be an error
DfunduleUsedAcrossFileBoundary.symbols32 var deferred = Q.defer<T>(); // used to be an error
33 >deferred : Symbol(deferred, Decl(funduleUsedAcrossFileBoundary_file2.ts, 1, 7))
DfunduleUsedAcrossFileBoundary.types23 var deferred = Q.defer<T>(); // used to be an error
24 >deferred : string
/third_party/ejdb/src/bindings/ejdb2_node/
Dejdb2_node.c127 napi_deferred deferred; member
427 if (w->deferred) { in jn_work_destroy()
429 napi_reject_deferred(env, w->deferred, jn_undefined(env)); in jn_work_destroy()
576 if (!work->deferred) { in jn_resolve_pending_errors()
587 napi_reject_deferred(env, work->deferred, ex); in jn_resolve_pending_errors()
600 napi_reject_deferred(env, work->deferred, verr); in jn_resolve_pending_errors()
603 work->deferred = 0; in jn_resolve_pending_errors()
622 JNGO(ns, env, napi_create_promise(env, &work->deferred, &promise), finish); in jn_launch_promise()
653 JNGO(ns, env, napi_resolve_deferred(env, work->deferred, jn_undefined(env)), finish); in jn_open_complete()
654 work->deferred = 0; in jn_open_complete()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/doc/
DDeferredClears.md19 - Otherwise the clear is deferred.
40 deferred clears.
43 particular, the previously deferred clears are overridden by and/or re-deferred along with the new
/third_party/skia/third_party/externals/dawn/src/dawn_node/interop/
DCore.h173 return state->deferred.Promise(); in napi_value()
176 return state->deferred.Promise(); in Value()
179 return state->deferred.Promise(); in Promise()
184 state->deferred.Reject(value); in Reject()
191 Reject(Napi::Error::New(state->deferred.Env(), err)); in Reject()
196 state->deferred.Resolve(value); in Resolve()
201 Napi::Promise::Deferred deferred; member
208 state->deferred.Promise().AddFinalizer(
241 PromiseBase::Resolve(ToJS(state->deferred.Env(), std::forward<T>(value))); in Resolve()
255 PromiseBase::Resolve(state->deferred.Env().Undefined()); in Resolve()
/third_party/boost/libs/thread/test/
Dtest_11818.cpp26 boost::launch::deferred, in main()
48 boost::launch::deferred, in main()
/third_party/skia/third_party/externals/dawn/src/tests/
DDawnTest.cpp1072 DeferredExpectation deferred; in AddBufferExpectation() local
1073 deferred.file = file; in AddBufferExpectation()
1074 deferred.line = line; in AddBufferExpectation()
1075 deferred.readbackSlot = readback.slot; in AddBufferExpectation()
1076 deferred.readbackOffset = readback.offset; in AddBufferExpectation()
1077 deferred.size = size; in AddBufferExpectation()
1078 deferred.rowBytes = size; in AddBufferExpectation()
1079 deferred.bytesPerRow = size; in AddBufferExpectation()
1080 deferred.expectation.reset(expectation); in AddBufferExpectation()
1082 mDeferredExpectations.push_back(std::move(deferred)); in AddBufferExpectation()
[all …]
/third_party/boost/libs/thread/test/sync/futures/async/
Dasync_pass.cpp200 boost::async(boost::launch::deferred, f0); in main()
313 boost::future<long> f = boost::async(boost::launch::deferred, A(3)); in main()
365 boost::future<long> f = boost::async(boost::launch::deferred, &A::doit, &a); in main()
414 …boost::future<int> f = boost::async(boost::launch::deferred, BOOST_THREAD_MAKE_RV_REF(MoveOnly())); in main()
462 boost::future<int> f = boost::async(boost::launch::deferred, f0); in main()
556 boost::future<int&> f = boost::async(boost::launch::deferred, f1); in main()
644 boost::future<void> f = boost::async(boost::launch::deferred, f2); in main()
691 boost::future<MoveOnly> f = boost::async(boost::launch::deferred, &f3_1); in main()
787 … boost::future<boost::csbl::unique_ptr<int> > f = boost::async(boost::launch::deferred, &f3, 3); in main()
859 …boost::future<boost::csbl::unique_ptr<int> > f = boost::async(boost::launch::deferred, &f4, boost:… in main()
/third_party/pulseaudio/src/daemon/
Ddaemon.conf.in95 ; enable-deferred-volume = yes
96 ; deferred-volume-safety-margin-usec = 8000
97 ; deferred-volume-extra-delay-usec = 0
/third_party/grpc/test/http2_test/
Dhttp2_test_server.py88 deferred = endpoint.listen(H2Factory(test_case))
98 deferred.addErrback(listen_error)
/third_party/boost/libs/thread/doc/
Dfuture_ref.qbk34 deferred = unspecified,
37 any = async | deferred
41 ready, timeout, deferred
172 deferred = unspecified,
175 any = async | deferred
178 The enum type launch is a bitmask type with launch::async and launch::deferred denoting individual …
183 … created by `async(launch::deferred, ...)` or `::then(launch::deferred, ...)` has associated a lau…
295 ready, timeout, deferred
711 - `future_status::deferred` if the shared state contains a deferred function. (Not implemented yet)
749 - `future_status::deferred` if the shared state contains a deferred function. (Not implemented yet)
[all …]
/third_party/mesa3d/src/amd/vulkan/
Dradv_device.c4493 struct radv_deferred_queue_submission *deferred = NULL; in radv_create_deferred_submission() local
4518 deferred = calloc(1, size); in radv_create_deferred_submission()
4519 if (!deferred) in radv_create_deferred_submission()
4522 deferred->queue = queue; in radv_create_deferred_submission()
4524 deferred->cmd_buffers = (void *)(deferred + 1); in radv_create_deferred_submission()
4525 deferred->cmd_buffer_count = submission->cmd_buffer_count; in radv_create_deferred_submission()
4527 memcpy(deferred->cmd_buffers, submission->cmd_buffers, in radv_create_deferred_submission()
4528 submission->cmd_buffer_count * sizeof(*deferred->cmd_buffers)); in radv_create_deferred_submission()
4531 deferred->buffer_binds = (void *)(deferred->cmd_buffers + submission->cmd_buffer_count); in radv_create_deferred_submission()
4532 deferred->buffer_bind_count = submission->buffer_bind_count; in radv_create_deferred_submission()
[all …]
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_fence.c216 const bool deferred = flags & PIPE_FLUSH_DEFERRED; in crocus_fence_flush() local
218 if (!deferred) { in crocus_fence_flush()
232 if (deferred) in crocus_fence_flush()
238 if (deferred && crocus_batch_bytes_used(batch) > 0) { in crocus_fence_flush()

12345678910