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

1 2 3

  /external/libcxx/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.completion/
done.pass.cpp 15 // template <class Promise = void>
31 template <class Promise>
32 void do_test(coro::coroutine_handle<Promise> const& H) {
  /external/v8/src/objects/
js-promise.h 9 #include "src/objects/promise.h"
17 // Representation of promise objects in the specification. Our layout of
33 // [result]: Checks that the promise is settled and returns the result.
36 // [reactions]: Checks that the promise is pending and returns the reactions.
41 // [has_handler]: Whether this promise has a reject handler or not.
44 // [handled_hint]: Whether this promise will be handled by a catch
51 static const char* Status(Promise::PromiseState status);
52 Promise::PromiseState status() const;
53 void set_status(Promise::PromiseState status);
56 static Handle<Object> Fulfill(Handle<JSPromise> promise,
    [all...]
js-promise-inl.h 8 #include "src/objects/js-promise.h"
27 DCHECK_NE(Promise::kPending, status());
32 DCHECK_EQ(Promise::kPending, status());
  /external/libcxx/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.resumption/
destroy.pass.cpp 15 // template <class Promise = void>
41 template <class Promise>
42 void do_test(coro::coroutine_handle<Promise>&& H) {
43 using HType = coro::coroutine_handle<Promise>;
resume.pass.cpp 15 // template <class Promise = void>
54 template <class Promise>
55 void do_test(coro::coroutine_handle<Promise>&& H) {
56 using HType = coro::coroutine_handle<Promise>;
  /external/libcxx/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.prom/
promise.pass.cpp 15 // template <class Promise>
16 // struct coroutine_handle<Promise>;
18 // Promise& promise() const
51 assert(&h.promise() == this);
52 assert(&h2.promise() == this);
53 assert(&h3.promise() == this);
64 template <class Promise>
65 void do_test(coro::coroutine_handle<Promise>&& H) {
69 ASSERT_SAME_TYPE(decltype(H.promise()), Promise&)
    [all...]
  /external/skia/experimental/wasm-skp-debugger/
ready.js 5 return new Promise(function (resolve, reject) {
  /external/skia/modules/canvaskit/
ready.js 5 return new Promise(function (resolve, reject) {
  /external/skia/modules/pathkit/
ready.js 5 return new Promise(function (resolve, reject) {
  /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
  /external/autotest/client/site_tests/video_WebRtcResolutionSwitching/
resolution-switching.js 50 Promise.all(promises)
63 Promise.all(this.peerConnections.map((pc) => pc.switchToRandomStream()))
  /external/skqp/experimental/canvaskit/
ready.js 5 return new Promise(function (resolve, reject) {
  /external/skqp/modules/pathkit/
ready.js 5 return new Promise(function (resolve, reject) {
  /external/v8/src/
async-hooks-wrapper.h 84 static void ShellPromiseHook(PromiseHookType type, Local<Promise> promise,
86 static void PromiseHookDispatch(PromiseHookType type, Local<Promise> promise,
async-hooks-wrapper.cc 131 void AsyncHooks::ShellPromiseHook(PromiseHookType type, Local<Promise> promise,
134 PerIsolateData::Get(promise->GetIsolate())->GetAsyncHooks();
145 promise->SetPrivate(currentContext,
148 Local<Promise> parent_promise = parent.As<Promise>();
154 promise->SetPrivate(currentContext,
160 promise->SetPrivate(currentContext,
167 promise
174 promise
    [all...]
  /external/autotest/client/common_lib/cros/webrtc_scripts/
loopback-peerconnection.js 43 * @return {!Promise} a Promise that resolves when everything is initalized.
55 return Promise.all(promises).then(() => {
112 * @return {!Promise} A promise that resolved when everything is initialized.
123 return Promise.resolve();
  /external/autotest/client/site_tests/video_WebRtcMainFeedSwitching/
main-feed-switching.js 53 Promise.all(promises)
  /external/autotest/client/site_tests/webrtc_PausePlayPeerConnections/
pause-play.js 41 Promise.all(promises)
  /external/libchrome/mojo/public/js/lib/
control_message_proxy.js 49 return Promise.resolve(runResponseMessageParams);
59 * @return {Promise} that resolves to a RunResponseMessageParams.
interface_endpoint_client.js 99 return Promise.reject();
112 return Promise.reject(Error("Connection error"));
116 return new Promise(function(resolve, reject) {
  /external/v8/src/builtins/
builtins-promise-gen.h 10 #include "src/objects/promise.h"
20 // The promise which resolve/reject callbacks fulfill.
37 // Promise capability from Promise.all
40 // Values array from Promise.all
53 // This is used by the Promise.prototype.finally builtin to store
54 // onFinally callback and the Promise constructor.
74 // These allocate and initialize a promise with pending state and
77 // This uses undefined as the parent promise for the promise ini
    [all...]
  /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) {

Completed in 478 milliseconds

1 2 3