/external/libmojo/mojo/edk/js/tests/ |
D | connection_tests.js | 46 return Promise.resolve({result: 42}); 70 return Promise.resolve(); 98 return Promise.reject("Unexpected response"); 102 return Promise.resolve(); 121 return Promise.resolve({a: a}); 125 return Promise.resolve({a: a, b: b}); 152 return Promise.resolve();
|
D | sample_service_tests.js | 67 return Promise.resolve(); 80 return Promise.resolve({result: 1234}); 98 return Promise.resolve();
|
/external/libmojo/mojo/edk/js/ |
D | drain_data.cc | 32 v8::Handle<v8::Promise::Resolver> resolver( in GetPromise() 33 v8::Promise::Resolver::New(isolate_)); in GetPromise() 109 v8::Handle<v8::Promise::Resolver> resolver( in DeliverData() 110 v8::Local<v8::Promise::Resolver>::New(isolate_, resolver_)); in DeliverData()
|
D | drain_data.h | 55 v8::UniquePersistent<v8::Promise::Resolver> resolver_;
|
/external/clang/test/SemaCXX/ |
D | coroutines.cpp | 29 template<typename Promise> struct coro {}; 30 template<typename Promise, typename... Ps> 31 struct std::coroutine_traits<coro<Promise>, Ps...> { 32 using promise_type = Promise;
|
/external/autotest/client/site_tests/video_WebRtcMediaRecorder/ |
D | mediarecorder_test_utils.js | 9 return new Promise(function(resolve, reject) { 20 return new Promise(function(resolve, reject) {
|
/external/owasp/sanitizer/empiricism/ |
D | html-containment.js | 255 function Promise() { class 256 if (!(this instanceof Promise)) { return new Promise(); } 267 Promise.prototype.toString = function () { return "Promise"; }; 272 if (argument instanceof Promise) {
|
/external/clang/include/clang/AST/ |
D | StmtCXX.h | 302 Promise, ///< The promise statement. enumerator 314 CoroutineBodyStmt(Stmt *Body, Stmt *Promise, Stmt *InitSuspend, in CoroutineBodyStmt() argument 319 SubStmts[CoroutineBodyStmt::Promise] = Promise; in CoroutineBodyStmt() 335 Stmt *getPromiseDeclStmt() const { return SubStmts[SubStmt::Promise]; } in getPromiseDeclStmt()
|
/external/clang/lib/Sema/ |
D | SemaCoroutine.cpp | 78 auto *Promise = R.getAsSingle<TypeDecl>(); in lookupPromiseType() local 79 if (!Promise) { in lookupPromiseType() 86 QualType PromiseType = S.Context.getTypeDeclType(Promise); in lookupPromiseType() 266 auto *Promise = Coroutine->CoroutinePromise; in buildPromiseCall() local 268 Promise, Promise->getType().getNonReferenceType(), VK_LValue, Loc); in buildPromiseCall()
|
/external/libmojo/mojo/public/js/ |
D | router.js | 58 return Promise.reject(Error("Connection error")); 62 return new Promise(function(resolve, reject) {
|
/external/libmojo/mojo/public/tools/bindings/generators/js_templates/ |
D | interface_definition.tmpl | 29 return new Promise(function(resolve, reject) { 110 return Promise.reject(Error("Unhandled message: " + reader.messageName));
|
/external/llvm/include/llvm/ExecutionEngine/Orc/ |
D | RPCUtils.h | 404 std::promise<typename Func::OptionalReturn> Promise; in appendCallAsyncWithSeq() local 405 auto Result = Promise.get_future(); in appendCallAsyncWithSeq() 407 createOutstandingResult<Func>(std::move(Promise)); in appendCallAsyncWithSeq()
|
/external/v8/include/ |
D | v8.h | 93 class Promise; variable 3725 class V8_EXPORT Promise : public Object { 3740 Local<Promise> GetPromise(); 3768 Local<Promise> Catch(Local<Function> handler)); 3769 V8_WARN_UNUSED_RESULT MaybeLocal<Promise> Catch(Local<Context> context, 3773 Local<Promise> Then(Local<Function> handler)); 3774 V8_WARN_UNUSED_RESULT MaybeLocal<Promise> Then(Local<Context> context, 3783 V8_INLINE static Promise* Cast(Value* obj); 3786 Promise(); 5798 PromiseRejectMessage(Local<Promise> promise, PromiseRejectEvent event, in PromiseRejectMessage() [all …]
|
/external/v8/src/ |
D | api.cc | 3634 void v8::Promise::CheckCast(Value* that) { in CheckCast() 3640 void v8::Promise::Resolver::CheckCast(Value* that) { in CheckCast() 7112 MaybeLocal<Promise::Resolver> Promise::Resolver::New(Local<Context> context) { in New() 7119 RETURN_ON_FAILED_EXECUTION(Promise::Resolver); in New() 7120 RETURN_ESCAPED(Local<Promise::Resolver>::Cast(Utils::ToLocal(result))); in New() 7124 Local<Promise::Resolver> Promise::Resolver::New(Isolate* isolate) { in New() 7126 Promise::Resolver); in New() 7130 Local<Promise> Promise::Resolver::GetPromise() { in GetPromise() 7132 return Local<Promise>::Cast(Utils::ToLocal(promise)); in GetPromise() 7136 Maybe<bool> Promise::Resolver::Resolve(Local<Context> context, in Resolve() [all …]
|
D | api.h | 185 static inline Local<Promise> PromiseToLocal( 318 MAKE_TO_LOCAL(PromiseToLocal, JSObject, Promise) in MAKE_TO_LOCAL()
|
/external/v8/src/inspector/ |
D | v8-runtime-agent-impl.cc | 79 v8::Local<v8::Promise> promise = in add() 80 v8::Local<v8::Promise>::Cast(value.ToLocalChecked()); in add()
|
D | injected-script-source.js | 787 …Promise.resolve().then(/* suppressBlacklist */ inspectedGlobalObject.console.error.bind(inspectedG…
|
/external/v8/src/js/ |
D | promise.js | 57 var GlobalPromise = function Promise(executor) { class
|
/external/v8/src/wasm/ |
D | wasm-js.cc | 145 v8::Local<v8::Promise::Resolver> resolver; in WebAssemblyCompile() 146 if (!v8::Promise::Resolver::New(context).ToLocal(&resolver)) return; in WebAssemblyCompile()
|
/external/v8/ |
D | ChangeLog | 11379 Partial rollback of Promise error checking (issue 4633). 12210 Unstage non-standard Promise functions (issue 3237). 12332 Deprecate Promise::Chain from V8 APIs (issue 3237). 12950 Disable non-standard Promise functions in staging (issue 3237). 14845 [es6] Align Promise.resolve with the spec (issues 4161, 4341). 17504 Trigger exception debug events on Promise reject (Chromium issue 17722 Avoid brittle use of .bind in Promise.all (issue 3420). 17933 Add v8::Promise::Then (Chromium issue 371288). 18497 Promise constructor should not be enumerable (Chromium issue 352597). 18604 Split Promise API into Promise/Resolver. [all …]
|
/external/libchrome/base/ |
D | BUILD.gn | 2259 "android/java/src/org/chromium/base/Promise.java",
|