Home
last modified time | relevance | path

Searched refs:Promise (Results 1 – 25 of 111) sorted by relevance

12345

/external/v8/src/objects/
Djs-promise.h51 static const char* Status(Promise::PromiseState status);
52 Promise::PromiseState status() const;
53 void set_status(Promise::PromiseState status);
76 kSize + v8::Promise::kEmbedderFieldCount * kPointerSize;
87 STATIC_ASSERT(v8::Promise::kPending == 0);
88 STATIC_ASSERT(v8::Promise::kFulfilled == 1);
89 STATIC_ASSERT(v8::Promise::kRejected == 2);
Djs-promise-inl.h27 DCHECK_NE(Promise::kPending, status()); in ACCESSORS()
32 DCHECK_EQ(Promise::kPending, status()); in reactions()
/external/perfetto/ui/src/common/
Dengine.ts53 query(sqlQuery: string): Promise<RawQueryResult> {
58 async queryOneRow(query: string): Promise<number[]> {
66 async getNumberOfCpus(): Promise<number> {
77 async getNumberOfProcesses(): Promise<number> {
82 async getTraceTimeBounds(): Promise<TimeSpan> {
Dwasm_engine_proxy.ts95 parse(data: Uint8Array): Promise<void> {
105 notifyEof(): Promise<void> {
/external/skqp/experimental/canvaskit/perf/
Danimation.bench.js8 const LoadCanvasKit = new Promise(function(resolve, reject) {
37 return new Promise(function(resolve, reject) {
63 Promise.all(promises).then((responses) => {
94 Promise.all(promises).then((responses) => {
120 Promise.all(promises).then((responses) => {
155 Promise.all(promises).then((responses) => {
/external/libcxx/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.prom/
Dpromise.pass.cpp64 template <class Promise>
65 void do_test(coro::coroutine_handle<Promise>&& H) { in do_test()
69 ASSERT_SAME_TYPE(decltype(H.promise()), Promise&); in do_test()
74 ASSERT_SAME_TYPE(decltype(CH.promise()), Promise&); in do_test()
/external/skia/modules/canvaskit/perf/
Danimation.bench.js19 return new Promise(function(resolve, reject) {
45 Promise.all(promises).then((responses) => {
76 Promise.all(promises).then((responses) => {
102 Promise.all(promises).then((responses) => {
137 Promise.all(promises).then((responses) => {
/external/libcxx/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.resumption/
Ddestroy.pass.cpp41 template <class Promise>
42 void do_test(coro::coroutine_handle<Promise>&& H) { in do_test()
43 using HType = coro::coroutine_handle<Promise>; in do_test()
Dresume.pass.cpp54 template <class Promise>
55 void do_test(coro::coroutine_handle<Promise>&& H) { in do_test()
56 using HType = coro::coroutine_handle<Promise>; in do_test()
/external/perfetto/ui/src/controller/
Dpermalink_controller.ts85 private static async saveState(state: State): Promise<string> {
103 private static async saveTrace(trace: File): Promise<string> {
119 private static async loadState(id: string): Promise<State> {
131 private static async toSha256(str: string): Promise<string> {
/external/clang/test/SemaCXX/
Dcoroutines.cpp29 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/perfetto/ui/src/frontend/
Dlegacy_trace_viewer.ts58 const transitionPromise = new Promise(resolve => {
66 const loadPromise = new Promise(resolve => {
74 Promise.all([loadPromise, transitionPromise]).then(args => {
/external/libcxx/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.completion/
Ddone.pass.cpp31 template <class Promise>
32 void do_test(coro::coroutine_handle<Promise> const& H) { in do_test()
/external/perfetto/ui/src/base/
Ddeferred.ts20 export interface Deferred<T> extends Promise<T> {
31 const p = new Promise((res, rej) => [resolve, reject] = [res, rej]);
/external/autotest/client/site_tests/video_WebRtcMediaRecorder/
Dmediarecorder_test_utils.js9 return new Promise(function(resolve, reject) {
20 return new Promise(function(resolve, reject) {
/external/owasp/sanitizer/empiricism/
Dhtml-containment.js255 function Promise() { class
256 if (!(this instanceof Promise)) { return new Promise(); }
267 Promise.prototype.toString = function () { return "Promise"; };
272 if (argument instanceof Promise) {
/external/perfetto/ui/src/tracks/cpu_slices/
Dcontroller.ts39 Promise<void> {
83 bucketSizeNs: number): Promise<SummaryData> {
116 Promise<SliceData> {
/external/perfetto/ui/src/tracks/process_scheduling/
Dcontroller.ts40 Promise<void> {
93 bucketSizeNs: number): Promise<SummaryData> {
129 Promise<SliceData> {
/external/libchrome/mojo/public/js/lib/
Dinterface_endpoint_client.js99 return Promise.reject();
112 return Promise.reject(Error("Connection error"));
116 return new Promise(function(resolve, reject) {
/external/clang/include/clang/AST/
DStmtCXX.h302 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/
DSemaCoroutine.cpp78 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/autotest/client/site_tests/video_WebRtcResolutionSwitching/
Dresolution-switching.js50 Promise.all(promises)
63 Promise.all(this.peerConnections.map((pc) => pc.switchToRandomStream()))
/external/v8/src/builtins/
Dbuiltins-promise-gen.h86 Node* AllocateAndSetJSPromise(Node* context, v8::Promise::PromiseState status,
201 Node* IsPromiseStatus(Node* actual, v8::Promise::PromiseState expected);
202 void PromiseSetStatus(Node* promise, v8::Promise::PromiseState status);
/external/v8/src/
Dasync-hooks-wrapper.h84 static void ShellPromiseHook(PromiseHookType type, Local<Promise> promise,
86 static void PromiseHookDispatch(PromiseHookType type, Local<Promise> promise,
/external/perfetto/ui/src/tracks/process_summary/
Dcontroller.ts37 Promise<void> {
88 bucketSizeNs: number): Promise<Data> {

12345