Home
last modified time | relevance | path

Searched refs:PromiseRecord (Results 1 – 10 of 10) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_promise_handler.cpp49 JSHandle<PromiseRecord> alreadyResolved(thread, resolve->GetAlreadyResolved()); in Resolve()
121 JSHandle<PromiseRecord> alreadyResolved(thread, reject->GetAlreadyResolved()); in Reject()
177 JSHandle<PromiseRecord> alreadyCalled = in ResolveElementFunction()
178 JSHandle<PromiseRecord>::Cast(JSHandle<JSTaggedValue>(thread, func->GetAlreadyCalled())); in ResolveElementFunction()
188 …JSHandle<PromiseRecord> values = JSHandle<PromiseRecord>::Cast(JSHandle<JSTaggedValue>(thread, fun… in ResolveElementFunction()
193 JSHandle<PromiseRecord> remainCnt = in ResolveElementFunction()
194 … JSHandle<PromiseRecord>::Cast(JSHandle<JSTaggedValue>(thread, func->GetRemainingElements())); in ResolveElementFunction()
393 JSHandle<PromiseRecord> alreadyCalled = in AllSettledResolveElementFunction()
394 …JSHandle<PromiseRecord>::Cast(JSHandle<JSTaggedValue>(thread, resolveElement->GetAlreadyCalled())); in AllSettledResolveElementFunction()
404 JSHandle<PromiseRecord> values = in AllSettledResolveElementFunction()
[all …]
Dbuiltins_promise.cpp461 JSHandle<PromiseRecord> values = factory->NewPromiseRecord(); in PerformPromiseAll()
465 JSHandle<PromiseRecord> remainCnt = factory->NewPromiseRecord(); in PerformPromiseAll()
540 JSHandle<PromiseRecord> falseRecord = factory->NewPromiseRecord(); in PerformPromiseAll()
724 JSHandle<PromiseRecord> errors = factory->NewPromiseRecord(); in PerformPromiseAny()
728 JSHandle<PromiseRecord> remainCnt = factory->NewPromiseRecord(); in PerformPromiseAny()
909 JSHandle<PromiseRecord> values = factory->NewPromiseRecord(); in PerformPromiseAllSettled()
913 JSHandle<PromiseRecord> remainCnt = factory->NewPromiseRecord(); in PerformPromiseAllSettled()
998 JSHandle<PromiseRecord> alreadyCalled = factory->NewPromiseRecord(); in PerformPromiseAllSettled()
/arkcompiler/ets_runtime/ecmascript/
Djs_promise.h81 class PromiseRecord final : public Record {
83 CAST_CHECK(PromiseRecord, IsPromiseRecord);
Djs_promise.cpp38 JSHandle<PromiseRecord> record = factory->NewPromiseRecord(); in CreateResolvingFunctions()
Dobject_factory.h86 class PromiseRecord; variable
302 JSHandle<PromiseRecord> NewPromiseRecord();
Dglobal_env_constants.cpp147 … factory->NewEcmaReadOnlyHClass(hClass, PromiseRecord::SIZE, JSType::PROMISE_RECORD)); in InitRootsClass()
Ddump.cpp785 PromiseRecord::Cast(obj)->Dump(os); in DumpObject()
2591 void PromiseRecord::Dump(std::ostream &os) const in Dump()
3828 PromiseRecord::Cast(obj)->DumpForSnapshot(vec); in DumpObject()
4907 void PromiseRecord::DumpForSnapshot(std::vector<std::pair<CString, JSTaggedValue>> &vec) const in DumpForSnapshot()
Dobject_factory.cpp3068 JSHandle<PromiseRecord> ObjectFactory::NewPromiseRecord() in NewPromiseRecord()
3073 JSHandle<PromiseRecord> obj(thread_, header); in NewPromiseRecord()
/arkcompiler/ets_runtime/ecmascript/mem/
Dobject_xray.h401 PromiseRecord::Cast(object)->VisitRangeSlot(visitor); in VisitObjectBody()
/arkcompiler/ets_runtime/ecmascript/tests/
Ddump_test.cpp904 CHECK_DUMP_FIELDS(Record::SIZE, PromiseRecord::SIZE, 1U); in HWTEST_F_L0()
905 JSHandle<PromiseRecord> promiseRecord = factory->NewPromiseRecord(); in HWTEST_F_L0()