Home
last modified time | relevance | path

Searched refs:PromiseCapability (Results 1 – 23 of 23) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_promise.h49 const JSHandle<PromiseCapability> &capability);
63 const JSHandle<PromiseCapability> &capa);
67 … const JSHandle<PromiseCapability> &capability,
73 … const JSHandle<PromiseCapability> &resultCapa,
79 … const JSHandle<PromiseCapability> &resultCapability,
Dbuiltins_promise_handler.cpp148 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()
Dbuiltins_async_from_sync_iterator.cpp45 JSHandle<PromiseCapability> pcap = in Next()
81 JSHandle<PromiseCapability> pcap = in Throw()
153 JSHandle<PromiseCapability> pcap = in Return()
Dbuiltins_promise.cpp130 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 …]
Dbuiltins_async_iterator.cpp50 JSHandle<PromiseCapability> pcap = JSPromise::NewPromiseCapability(thread, promiseFunc); in Return()
Dbuiltins_promise_job.cpp52 JSHandle<PromiseCapability> capability(thread, reaction->GetPromiseCapability()); in PromiseReactionJob()
/arkcompiler/ets_runtime/ecmascript/
Djs_promise.h37 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…
Djs_async_from_sync_iterator.h30 … JSHandle<PromiseCapability> &promiseCapability);
Djs_async_function.cpp46 JSHandle<PromiseCapability> pcap = in AsyncFunctionAwait()
77 JSHandle<PromiseCapability> tcap = in AsyncFunctionAwait()
136 JSHandle<PromiseCapability> tcap = in AsyncFunctionAwait()
Djs_async_generator_object.cpp70 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()
Djs_promise.cpp82 JSHandle<PromiseCapability> JSPromise::NewPromiseCapability(JSThread *thread, const JSHandle<JSTagg… in NewPromiseCapability()
94 JSHandle<PromiseCapability> promiseCapability = factory->NewPromiseCapability(); in NewPromiseCapability()
Djs_async_from_sync_iterator.cpp57 … JSHandle<PromiseCapability> &promiseCapability) in AsyncFromSyncIteratorContinuation()
Dobject_factory.h81 class PromiseCapability; variable
298 JSHandle<PromiseCapability> NewPromiseCapability();
Dglobal_env_constants.cpp140 … factory->NewEcmaReadOnlyHClass(hClass, PromiseCapability::SIZE, JSType::PROMISE_CAPABILITY)); in InitRootsClass()
Ddump.cpp779 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()
Dobject_factory.cpp2019 JSHandle<PromiseCapability> ObjectFactory::NewPromiseCapability() in NewPromiseCapability()
2024 JSHandle<PromiseCapability> obj(thread_, header); in NewPromiseCapability()
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_promise_test.cpp80 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()
Ddump_test.cpp898 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/
Dpending_job_test.cpp123 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()
Dmicro_job_queue_test.cpp189 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/
Dobject_xray.h392 PromiseCapability::Cast(object)->VisitRangeSlot(visitor); in VisitObjectBody()
/arkcompiler/ets_runtime/ecmascript/napi/
Djsnapi.cpp145 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/
Druntime_stubs-inl.h317 JSHandle<PromiseCapability> completion(thread, next->GetCapability()); in RuntimeAsyncFunctionAwaitUncaught()
1406 …JSHandle<PromiseCapability> promiseCapability = JSPromise::NewPromiseCapability(thread, promiseFun… in RuntimeDynamicImport()