/third_party/node/deps/npm/node_modules/run-queue/ |
D | queue.js | 17 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/ |
D | test_promise.c | 4 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/ |
D | DawnTest.cpp | 486 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/ |
D | bench.js | 22 .add('async.map', function(deferred) argument 39 deferred.resolve(); 44 .add('asynckit.parallel', function(deferred) argument 61 deferred.resolve();
|
/third_party/parse5/bench/perf/ |
D | index.js | 109 workingCopyFn: async (deferred) => { argument 119 deferred.resolve(); 121 upstreamFn: async (deferred) => { argument 134 deferred.resolve();
|
/third_party/node/test/node-api/test_callback_scope/ |
D | binding.c | 55 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/ |
D | daemon.conf | 89 ; 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/ |
D | ejdb2_node.c | 127 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 …]
|
D | js_native_api.h | 438 napi_deferred* deferred, 441 napi_deferred deferred, 444 napi_deferred deferred,
|
/third_party/typescript/tests/baselines/reference/ |
D | funduleUsedAcrossFileBoundary.symbols | 32 var deferred = Q.defer<T>(); // used to be an error 33 >deferred : Symbol(deferred, Decl(funduleUsedAcrossFileBoundary_file2.ts, 1, 7))
|
D | funduleUsedAcrossFileBoundary.js | 14 var deferred = Q.defer<T>(); // used to be an error variable 20 var deferred = Q.defer(); // used to be an error
|
D | funduleUsedAcrossFileBoundary.types | 23 var deferred = Q.defer<T>(); // used to be an error 24 >deferred : string
|
D | useBeforeDeclaration.types | 8 …log("Version: " + sys.version); // the call of sys.version is deferred, should not report an erro…
|
D | useBeforeDeclaration.symbols | 8 …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/ |
D | DeferredClears.md | 19 - 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/ |
D | Core.h | 173 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/ |
D | DawnTest.cpp | 1072 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/ |
D | 0025-js-callback-bugfix.patch | 32 - napi_deferred deferred; 33 + napi_deferred deferred = nullptr;
|
D | 0020-add-ohos-js-callback-api-and-bugfix.patch | 1026 - 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/ |
D | daemon.conf.in | 95 ; 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/ |
D | Device.cpp | 432 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/ |
D | iris_fence.c | 250 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/ |
D | crocus_fence.c | 216 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/ |
D | funduleUsedAcrossFileBoundary.ts | 12 var deferred = Q.defer<T>(); // used to be an error
|
/third_party/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_batch_cache.h | 69 void fd_bc_flush(struct fd_context *ctx, bool deferred) assert_dt;
|