HomeSort by relevance Sort by last modified time
    Searched refs:Promise (Results 1 - 25 of 48) sorted by null

1 2

  /external/libmojo/mojo/edk/js/
drain_data.h 22 // and rejecting or resolving the Promise.
30 // Returns a Promise that will be settled when no more data can be read.
46 // all of the buffered data to the JS Promise and then delete this.
55 v8::UniquePersistent<v8::Promise::Resolver> resolver_;
drain_data.cc 32 v8::Handle<v8::Promise::Resolver> resolver(
33 v8::Promise::Resolver::New(isolate_));
105 // The "settled" value of the promise always includes all of the data
109 v8::Handle<v8::Promise::Resolver> resolver(
110 v8::Local<v8::Promise::Resolver>::New(isolate_, resolver_));
  /external/v8/src/js/
promise.js 19 var GlobalPromise = global.Promise;
26 // ES#sec-promise.all
27 // Promise.all ( iterable )
30 throw %make_type_error(kCalledOnNonObject, "Promise.all");
70 // handled by the combined Promise.
72 SET_PRIVATE(throwawayPromise, promiseHandledBySymbol, deferred.promise);
87 return deferred.promise;
90 // ES#sec-promise.race
91 // Promise.race ( iterable )
113 // handled by the combined Promise
    [all...]
  /external/autotest/client/site_tests/video_WebRtcMediaRecorder/
mediarecorder_test_utils.js 9 return new Promise(function(resolve, reject) {
20 return new Promise(function(resolve, reject) {
  /external/clang/test/SemaCXX/
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;
57 struct promise; // expected-note 2{{forward declaration}}
58 template<typename ...T> struct std::coroutine_traits<void, T...> { using promise_type = promise; };
63 // expected-error@-2 {{incomplete definition of type 'promise'}}
71 struct promise { struct
  /prebuilts/tools/common/m2/repository/org/jdeferred/jdeferred-core/1.2.2/
jdeferred-core-1.2.2.jar 
  /prebuilts/tools/common/m2/repository/org/jdeferred/jdeferred-core/1.2.3/
jdeferred-core-1.2.3.jar 
  /external/clang/include/clang/AST/
StmtCXX.h 302 Promise, ///< The promise statement.
314 CoroutineBodyStmt(Stmt *Body, Stmt *Promise, Stmt *InitSuspend,
319 SubStmts[CoroutineBodyStmt::Promise] = Promise;
335 Stmt *getPromiseDeclStmt() const { return SubStmts[SubStmt::Promise]; }
370 /// This statament models the initialization of the coroutine promise
376 /// <promise>.return_value(<operand>)
377 /// <promise>.return_void()
378 /// which we name the "promise call"
    [all...]
  /external/clang/lib/Sema/
SemaCoroutine.cpp 78 auto *Promise = R.getAsSingle<TypeDecl>();
79 if (!Promise) {
85 // The promise type is required to be a class type.
86 QualType PromiseType = S.Context.getTypeDeclType(Promise);
134 // If we don't have a promise variable, build one now.
144 // Create and default-initialize the promise.
263 assert(Coroutine->CoroutinePromise && "no promise for coroutine");
265 // Form a reference to the promise.
266 auto *Promise = Coroutine->CoroutinePromise;
268 Promise, Promise->getType().getNonReferenceType(), VK_LValue, Loc)
    [all...]
  /external/owasp/sanitizer/empiricism/
html-containment.js 255 function Promise() {
256 if (!(this instanceof Promise)) { return new Promise(); }
267 Promise.prototype.toString = function () { return "Promise"; };
272 if (argument instanceof Promise) {
  /prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/clang/include/clang/AST/
StmtCXX.h 304 Promise, ///< The promise statement.
328 Stmt *Promise = nullptr;
358 return getStoredStmts()[SubStmt::Promise];
415 /// This statament models the initialization of the coroutine promise
421 /// <promise>.return_value(<operand>)
422 /// <promise>.return_void()
423 /// which we name the "promise call".
448 /// \brief Retrieve the promise call that results from this 'co_return'
  /prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/clang/include/clang/AST/
StmtCXX.h 304 Promise, ///< The promise statement.
328 Stmt *Promise = nullptr;
358 return getStoredStmts()[SubStmt::Promise];
415 /// This statament models the initialization of the coroutine promise
421 /// <promise>.return_value(<operand>)
422 /// <promise>.return_void()
423 /// which we name the "promise call".
448 /// \brief Retrieve the promise call that results from this 'co_return'
  /prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/clang/include/clang/AST/
StmtCXX.h 304 Promise, ///< The promise statement.
328 Stmt *Promise = nullptr;
358 return getStoredStmts()[SubStmt::Promise];
415 /// This statament models the initialization of the coroutine promise
421 /// <promise>.return_value(<operand>)
422 /// <promise>.return_void()
423 /// which we name the "promise call".
448 /// \brief Retrieve the promise call that results from this 'co_return'
  /prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/clang/include/clang/AST/
StmtCXX.h 304 Promise, ///< The promise statement.
328 Stmt *Promise = nullptr;
358 return getStoredStmts()[SubStmt::Promise];
415 /// This statament models the initialization of the coroutine promise
421 /// <promise>.return_value(<operand>)
422 /// <promise>.return_void()
423 /// which we name the "promise call".
448 /// \brief Retrieve the promise call that results from this 'co_return'
  /prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/clang/include/clang/AST/
StmtCXX.h 304 Promise, ///< The promise statement.
328 Stmt *Promise = nullptr;
358 return getStoredStmts()[SubStmt::Promise];
415 /// This statament models the initialization of the coroutine promise
421 /// <promise>.return_value(<operand>)
422 /// <promise>.return_void()
423 /// which we name the "promise call".
448 /// \brief Retrieve the promise call that results from this 'co_return'
  /prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/clang/include/clang/AST/
StmtCXX.h 304 Promise, ///< The promise statement.
328 Stmt *Promise = nullptr;
358 return getStoredStmts()[SubStmt::Promise];
415 /// This statament models the initialization of the coroutine promise
421 /// <promise>.return_value(<operand>)
422 /// <promise>.return_void()
423 /// which we name the "promise call".
448 /// \brief Retrieve the promise call that results from this 'co_return'
  /prebuilts/clang/host/linux-x86/clang-3977809/prebuilt_include/clang/include/clang/AST/
StmtCXX.h 304 Promise, ///< The promise statement.
328 Stmt *Promise = nullptr;
358 return getStoredStmts()[SubStmt::Promise];
415 /// This statament models the initialization of the coroutine promise
421 /// <promise>.return_value(<operand>)
422 /// <promise>.return_void()
423 /// which we name the "promise call".
448 /// \brief Retrieve the promise call that results from this 'co_return'
  /prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/clang/include/clang/AST/
StmtCXX.h 304 Promise, ///< The promise statement.
328 Stmt *Promise = nullptr;
358 return getStoredStmts()[SubStmt::Promise];
415 /// This statament models the initialization of the coroutine promise
421 /// <promise>.return_value(<operand>)
422 /// <promise>.return_void()
423 /// which we name the "promise call".
448 /// \brief Retrieve the promise call that results from this 'co_return'
  /external/autotest/client/site_tests/webrtc_PausePlayPeerConnections/
pause-play.js 140 Promise.all(promises)
  /external/v8/src/builtins/
builtins-promise.h 24 // The promise which resolve/reject callbacks fulfill.
53 // These allocate and initialize a promise with pending state and
56 // This uses undefined as the parent promise for the promise init
59 // This uses the given parent as the parent promise for the promise
63 // This allocates and initializes a promise with the given state and
72 Node* promise, Node* native_context, Node* promise_context);
74 Node* PromiseHasHandler(Node* promise);
76 Node* CreatePromiseResolvingFunctionsContext(Node* promise, Node* debug_event
    [all...]
builtins-promise.cc 5 #include "src/builtins/builtins-promise.h"
30 void PromiseBuiltinsAssembler::PromiseInit(Node* promise) {
31 StoreObjectField(promise, JSPromise::kStatusOffset,
32 SmiConstant(v8::Promise::kPending));
33 StoreObjectField(promise, JSPromise::kFlagsOffset, SmiConstant(0));
78 Node* promise, Node* debug_event, Node* native_context) {
80 promise, debug_event, native_context);
125 Node* promise = AllocateJSPromise(context); local
126 PromiseInit(promise);
128 capability, JSPromiseCapability::kPromiseOffset, promise);
156 Node* promise = ConstructJS(CodeFactory::Construct(isolate()), context, local
1005 Node* const promise = local
1163 Node* const promise = Parameter(0); local
1195 Node* const promise = local
1206 Node* const promise = Parameter(1); local
1217 Node* const promise = Parameter(Descriptor::kPromise); local
1355 Node* const promise = Parameter(0); local
1530 Node* const promise = AllocateAndSetJSPromise( local
1549 Node* const promise = local
1556 Node* const promise = Parameter(1); local
1632 Node* const promise = AllocateAndInitJSPromise(context); local
1693 Node* const promise = AllocateAndInitJSPromise(context); local
1715 Node* const promise = Parameter(0); local
    [all...]
builtins-async-iterator.cc 33 typedef std::function<void(Node* const context, Node* const promise,
96 Node* const promise = AllocateAndInitJSPromise(context); local
116 if_method_undefined(native_context, promise, &reject_promise);
140 // Perform ! PerformPromiseThen(valueWrapperCapability.[[Promise]],
143 InternalPerformPromiseThen(context, wrapper, on_fulfilled, undefined, promise,
145 Return(promise);
150 InternalPromiseReject(context, promise, exception, TrueConstant());
152 Return(promise);
276 Node* const promise, Label* if_exception) {
285 // Return promiseCapability.[[Promise]]
    [all...]
  /external/llvm/include/llvm/ExecutionEngine/Orc/
RPCUtils.h 104 static Error readResult(ChannelT &C, std::promise<OptionalReturn> &P) {
118 static void abandon(std::promise<OptionalReturn> &P) {
160 static Error readResult(ChannelT &C, std::promise<OptionalReturn> &P) {
166 static void abandon(std::promise<OptionalReturn> &P) { P.set_value(false); }
404 std::promise<typename Func::OptionalReturn> Promise;
405 auto Result = Promise.get_future();
407 createOutstandingResult<Func>(std::move(Promise));
659 OutstandingResultImpl(std::promise<typename Func::OptionalReturn> &&P)
667 std::promise<typename Func::OptionalReturn> P
    [all...]
  /external/v8/include/
v8.h 93 class Promise;
    [all...]
  /external/v8/src/wasm/
wasm-js.cc 175 // WebAssembly.compile(bytes) -> Promise
183 v8::Local<v8::Promise::Resolver> resolver;
184 if (!v8::Promise::Resolver::New(context).ToLocal(&resolver)) return;
194 i::Handle<i::JSPromise> promise = Utils::OpenHandle(*resolver->GetPromise()); local
195 i::wasm::AsyncCompile(i_isolate, promise, bytes);
329 v8::Local<v8::Promise::Resolver> resolver;
330 if (!v8::Promise::Resolver::New(context).ToLocal(&resolver)) return;
360 i::Handle<i::JSPromise> promise = Utils::OpenHandle(*resolver->GetPromise()); local
364 i::wasm::AsyncInstantiate(i_isolate, promise,
373 i::wasm::AsyncCompileAndInstantiate(i_isolate, promise, bytes
    [all...]

Completed in 583 milliseconds

1 2