/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins_promise.h | 49 const JSHandle<PromiseCapability> &capability); 63 const JSHandle<PromiseCapability> &capa); 67 … const JSHandle<PromiseCapability> &capability, 73 … const JSHandle<PromiseCapability> &resultCapa, 79 … const JSHandle<PromiseCapability> &resultCapability,
|
D | builtins_promise_handler.cpp | 148 JSHandle<PromiseCapability> promiseCapability(thread, executor->GetCapability()); in Executor() 190 JSHandle<PromiseCapability> capa = in ResolveElementFunction() 191 JSHandle<PromiseCapability>::Cast(JSHandle<JSTaggedValue>(thread, func->GetCapabilities())); in ResolveElementFunction() 363 …JSHandle<PromiseCapability> promiseCapability = JSPromise::NewPromiseCapability(thread, constructo… in PromiseResolve() 407 JSHandle<PromiseCapability> capa = in AllSettledResolveElementFunction() 408 …JSHandle<PromiseCapability>::Cast(JSHandle<JSTaggedValue>(thread, resolveElement->GetCapability())… in AllSettledResolveElementFunction() 472 JSHandle<PromiseCapability> capa = in AllSettledRejectElementFunction() 473 …JSHandle<PromiseCapability>::Cast(JSHandle<JSTaggedValue>(thread, rejectElement->GetCapability())); in AllSettledRejectElementFunction() 535 JSHandle<PromiseCapability> capa = in AnyRejectElementFunction() 536 …JSHandle<PromiseCapability>::Cast(JSHandle<JSTaggedValue>(thread, rejectElement->GetCapability())); in AnyRejectElementFunction()
|
D | builtins_async_from_sync_iterator.cpp | 45 JSHandle<PromiseCapability> pcap = in Next() 81 JSHandle<PromiseCapability> pcap = in Throw() 153 JSHandle<PromiseCapability> pcap = in Return()
|
D | builtins_promise.cpp | 130 JSHandle<PromiseCapability> capa = JSPromise::NewPromiseCapability(thread, ctor); in All() 197 …JSHandle<PromiseCapability> promiseCapability = JSPromise::NewPromiseCapability(thread, thisValue); in Race() 268 …JSHandle<PromiseCapability> promiseCapability = JSPromise::NewPromiseCapability(thread, thisValue); in Resolve() 304 …JSHandle<PromiseCapability> promiseCapability = JSPromise::NewPromiseCapability(thread, thisValue); in Reject() 377 …JSHandle<PromiseCapability> resultCapability = JSPromise::NewPromiseCapability(thread, constructor… in Then() 390 const JSHandle<PromiseCapability> &capability) in PerformPromiseThen() 451 const JSHandle<PromiseCapability> &capa) in PerformPromiseAll() 571 … const JSHandle<PromiseCapability> &capability, in PerformPromiseRace() 669 …JSHandle<PromiseCapability> promiseCapability = JSPromise::NewPromiseCapability(thread, thisValue); in Any() 716 … const JSHandle<PromiseCapability> &resultCapability, in PerformPromiseAny() [all …]
|
D | builtins_async_iterator.cpp | 50 JSHandle<PromiseCapability> pcap = JSPromise::NewPromiseCapability(thread, promiseFunc); in Return()
|
D | builtins_promise_job.cpp | 52 JSHandle<PromiseCapability> capability(thread, reaction->GetPromiseCapability()); in PromiseReactionJob()
|
/arkcompiler/ets_runtime/ecmascript/ |
D | js_promise.h | 37 ACCESSORS(PromiseCapability, PROMISE_CAPABILITY_OFFSET, HANDLER_OFFSET) 50 class PromiseCapability final : public Record { 52 CAST_CHECK(PromiseCapability, IsPromiseCapability); 118 …static JSHandle<PromiseCapability> NewPromiseCapability(JSThread *thread, const JSHandle<JSTaggedV…
|
D | js_async_from_sync_iterator.h | 30 … JSHandle<PromiseCapability> &promiseCapability);
|
D | js_async_function.cpp | 46 JSHandle<PromiseCapability> pcap = in AsyncFunctionAwait() 77 JSHandle<PromiseCapability> tcap = in AsyncFunctionAwait() 136 JSHandle<PromiseCapability> tcap = in AsyncFunctionAwait()
|
D | js_async_generator_object.cpp | 70 JSHandle<PromiseCapability> capability(thread, next->GetCapability()); in AsyncGeneratorResolve() 106 JSHandle<PromiseCapability> capability(thread, next->GetCapability()); in AsyncGeneratorReject() 193 JSHandle<PromiseCapability> tcap = in AsyncGeneratorResumeNext() 253 JSHandle<PromiseCapability> pcap = in AsyncGeneratorEnqueue() 322 … JSHandle<PromiseCapability> promiseCapability = JSPromise::NewPromiseCapability(thread, promise); in PromiseResolve()
|
D | js_promise.cpp | 82 JSHandle<PromiseCapability> JSPromise::NewPromiseCapability(JSThread *thread, const JSHandle<JSTagg… in NewPromiseCapability() 94 JSHandle<PromiseCapability> promiseCapability = factory->NewPromiseCapability(); in NewPromiseCapability()
|
D | js_async_from_sync_iterator.cpp | 57 … JSHandle<PromiseCapability> &promiseCapability) in AsyncFromSyncIteratorContinuation()
|
D | object_factory.h | 81 class PromiseCapability; variable 298 JSHandle<PromiseCapability> NewPromiseCapability();
|
D | global_env_constants.cpp | 140 … factory->NewEcmaReadOnlyHClass(hClass, PromiseCapability::SIZE, JSType::PROMISE_CAPABILITY)); in InitRootsClass()
|
D | dump.cpp | 779 PromiseCapability::Cast(obj)->Dump(os); in DumpObject() 2574 void PromiseCapability::Dump(std::ostream &os) const in Dump() 3822 PromiseCapability::Cast(obj)->DumpForSnapshot(vec); in DumpObject() 4894 void PromiseCapability::DumpForSnapshot(std::vector<std::pair<CString, JSTaggedValue>> &vec) const in DumpForSnapshot()
|
D | object_factory.cpp | 2019 JSHandle<PromiseCapability> ObjectFactory::NewPromiseCapability() in NewPromiseCapability() 2024 JSHandle<PromiseCapability> obj(thread_, header); in NewPromiseCapability()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | js_promise_test.cpp | 80 JSHandle<PromiseCapability> capbility = JSPromise::NewPromiseCapability(thread, promise); in HWTEST_F_L0() 100 JSHandle<PromiseCapability> capbility = JSPromise::NewPromiseCapability(thread, promise); in HWTEST_F_L0() 119 JSHandle<PromiseCapability> capbility = JSPromise::NewPromiseCapability(thread, promise); in HWTEST_F_L0()
|
D | dump_test.cpp | 898 CHECK_DUMP_FIELDS(Record::SIZE, PromiseCapability::SIZE, 3U); in HWTEST_F_L0() 899 JSHandle<PromiseCapability> promiseCapa = factory->NewPromiseCapability(); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/jobs/tests/ |
D | pending_job_test.cpp | 123 JSHandle<PromiseCapability> capbility = JSPromise::NewPromiseCapability(thread, promiseFunc); in HWTEST_F_L0() 159 JSHandle<PromiseCapability> capbility = JSPromise::NewPromiseCapability(thread, promiseFunc); in HWTEST_F_L0() 195 JSHandle<PromiseCapability> capbility = JSPromise::NewPromiseCapability(thread, promiseFunc); in HWTEST_F_L0() 241 JSHandle<PromiseCapability> capbility = JSPromise::NewPromiseCapability(thread, promiseFunc); in HWTEST_F_L0()
|
D | micro_job_queue_test.cpp | 189 JSHandle<PromiseCapability> capbility = JSPromise::NewPromiseCapability(thread, promiseFunc); in HWTEST_F_L0() 232 JSHandle<PromiseCapability> capbility1 = JSPromise::NewPromiseCapability(thread, promiseFunc); in HWTEST_F_L0() 244 JSHandle<PromiseCapability> capbility2 = JSPromise::NewPromiseCapability(thread, promiseFunc); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/mem/ |
D | object_xray.h | 392 PromiseCapability::Cast(object)->VisitRangeSlot(visitor); in VisitObjectBody()
|
/arkcompiler/ets_runtime/ecmascript/napi/ |
D | jsnapi.cpp | 145 using ecmascript::PromiseCapability; 1924 JSHandle<PromiseCapability> capacity(JSNApiHelper::ToJSHandle(this)); in GetPromise() 1936 JSHandle<PromiseCapability> capacity(JSNApiHelper::ToJSHandle(this)); in Resolve() 1960 JSHandle<PromiseCapability> capacity(JSNApiHelper::ToJSHandle(this)); in Reject()
|
/arkcompiler/ets_runtime/ecmascript/stubs/ |
D | runtime_stubs-inl.h | 317 JSHandle<PromiseCapability> completion(thread, next->GetCapability()); in RuntimeAsyncFunctionAwaitUncaught() 1406 …JSHandle<PromiseCapability> promiseCapability = JSPromise::NewPromiseCapability(thread, promiseFun… in RuntimeDynamicImport()
|