Home
last modified time | relevance | path

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

12345678

/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/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.js109 workingCopyFn: async (deferred) => { argument
119 deferred.resolve();
121 upstreamFn: async (deferred) => { argument
134 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/pulseaudio/conf/
Ddaemon.conf89 ; enable-deferred-volume = yes
90 deferred-volume-safety-margin-usec = 1
91 ; deferred-volume-extra-delay-usec = 0
/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 …]
Djs_native_api.h438 napi_deferred* deferred,
441 napi_deferred deferred,
444 napi_deferred deferred,
/third_party/typescript/tests/baselines/reference/
DfunduleUsedAcrossFileBoundary.symbols32 var deferred = Q.defer<T>(); // used to be an error
33 >deferred : Symbol(deferred, Decl(funduleUsedAcrossFileBoundary_file2.ts, 1, 7))
DfunduleUsedAcrossFileBoundary.js14 var deferred = Q.defer<T>(); // used to be an error variable
20 var deferred = Q.defer(); // used to be an error
DfunduleUsedAcrossFileBoundary.types23 var deferred = Q.defer<T>(); // used to be an error
24 >deferred : string
DuseBeforeDeclaration.types8 …log("Version: " + sys.version); // the call of sys.version is deferred, should not report an erro…
DuseBeforeDeclaration.symbols8 …log("Version: " + sys.version); // the call of sys.version is deferred, should not report an erro…
/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/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/mindspore/patches/
D0025-js-callback-bugfix.patch32 - napi_deferred deferred;
33 + napi_deferred deferred = nullptr;
D0020-add-ohos-js-callback-api-and-bugfix.patch1026 - if (asyncContext->deferred) {
1027 + if (asyncContext->deferred != nullptr) {
1029 - napi_resolve_deferred(env, asyncContext->deferred, result[PARAM1]);
1030 + napi_resolve_deferred(env, asyncContext->deferred, result[PARAM0]);
1032 - napi_reject_deferred(env, asyncContext->deferred, result[PARAM0]);
1033 + napi_reject_deferred(env, asyncContext->deferred, error);
1083 - status = napi_create_promise(env, &asyncContext->deferred, &result);
1089 + status = napi_create_promise(env, &asyncContext->deferred, &result);
1143 - status = napi_create_promise(env, &asyncContext->deferred, &result);
1149 + status = napi_create_promise(env, &asyncContext->deferred, &result);
[all …]
/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/flutter/skia/third_party/externals/dawn/src/dawn_native/
DDevice.cpp432 for (const auto& deferred : deferredResults) { in Tick() local
433 deferred.callback(deferred.status, deferred.result, deferred.userdata); in Tick()
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_fence.c250 const bool deferred = flags & PIPE_FLUSH_DEFERRED; in iris_fence_flush() local
265 if (!deferred) { in iris_fence_flush()
286 if (deferred) in iris_fence_flush()
292 if (deferred && iris_batch_bytes_used(batch) > 0) { in iris_fence_flush()
/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()
/third_party/typescript/tests/cases/compiler/
DfunduleUsedAcrossFileBoundary.ts12 var deferred = Q.defer<T>(); // used to be an error
/third_party/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_batch_cache.h69 void fd_bc_flush(struct fd_context *ctx, bool deferred) assert_dt;

12345678