Searched refs:CompletionRecordType (Results 1 – 18 of 18) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins_async_generator.cpp | 45 factory->NewCompletionRecord(CompletionRecordType::NORMAL, value); in AsyncGeneratorPrototypeNext() 62 factory->NewCompletionRecord(CompletionRecordType::RETURN, value); in AsyncGeneratorPrototypeReturn() 79 factory->NewCompletionRecord(CompletionRecordType::THROW, exception); in AsyncGeneratorPrototypeThrow()
|
D | builtins_generator.cpp | 69 factory->NewCompletionRecord(CompletionRecordType::RETURN, value); in GeneratorPrototypeReturn() 94 factory->NewCompletionRecord(CompletionRecordType::THROW, exception); in GeneratorPrototypeThrow()
|
D | builtins_promise.cpp | 508 CompletionRecordType::NORMAL, JSHandle<JSTaggedValue>(thread, capa->GetPromise())); in PerformPromiseAll() 606 factory->NewCompletionRecord(CompletionRecordType::NORMAL, promise); in PerformPromiseRace() 768 factory->NewCompletionRecord(CompletionRecordType::THROW, errorTagged)); in PerformPromiseAny() 775 CompletionRecordType::NORMAL, resultCapabilityHandle); in PerformPromiseAny() 803 factory->NewCompletionRecord(CompletionRecordType::THROW, promiseResult); in PerformPromiseAny() 835 factory->NewCompletionRecord(CompletionRecordType::THROW, taggedResult); in PerformPromiseAny() 952 factory->NewCompletionRecord(CompletionRecordType::THROW, throwValue); in PerformPromiseAllSettled() 959 CompletionRecordType::NORMAL, resultCapabilityHandle); in PerformPromiseAllSettled() 987 factory->NewCompletionRecord(CompletionRecordType::THROW, promiseResult); in PerformPromiseAllSettled() 1039 factory->NewCompletionRecord(CompletionRecordType::THROW, taggedResult); in PerformPromiseAllSettled()
|
D | builtins_map.cpp | 298 … factory->NewCompletionRecord(CompletionRecordType::THROW, JSHandle<JSTaggedValue>(typeError))); in AddEntriesFromIterable()
|
D | builtins.cpp | 1884 … factory_->NewCompletionRecord(CompletionRecordType::NORMAL, globalConst->GetHandledUndefined()); in InitializeIterator()
|
/arkcompiler/ets_runtime/ecmascript/ |
D | accessor_data.h | 74 enum class CompletionRecordType : uint8_t { enum 92 return GetType() == CompletionRecordType::THROW; in IsThrow() 102 FIRST_BIT_FIELD(BitField, Type, CompletionRecordType, TYPE_BITS)
|
D | js_async_generator_object.cpp | 150 CompletionRecordType type = completion->GetType(); in AsyncGeneratorResumeNext() 152 if (thread->HasPendingException() || type != CompletionRecordType::NORMAL) { in AsyncGeneratorResumeNext() 163 if (completion->GetType() == CompletionRecordType::RETURN) { in AsyncGeneratorResumeNext() 203 ASSERT(completion->GetType() == CompletionRecordType::THROW); in AsyncGeneratorResumeNext() 235 if (completion->GetType() == CompletionRecordType::NORMAL) { in AsyncGeneratorResumeNext() 238 if (completion->GetType() == CompletionRecordType::RETURN) { in AsyncGeneratorResumeNext() 241 if (completion->GetType() == CompletionRecordType::THROW) { in AsyncGeneratorResumeNext()
|
D | js_generator_object.cpp | 110 if (abruptCompletion->GetType() == CompletionRecordType::RETURN) { in GeneratorResumeAbrupt() 135 if (abruptCompletion->GetType() == CompletionRecordType::RETURN) { in GeneratorResumeAbrupt()
|
D | js_async_function.cpp | 190 factory->NewCompletionRecord(CompletionRecordType::THROW, reason); in AsyncFunctionAwaitRejected()
|
D | ecma_macros.h | 413 factory->NewCompletionRecord(CompletionRecordType::THROW, value); \ 423 factory->NewCompletionRecord(CompletionRecordType::THROW, value); \
|
D | js_iterator.cpp | 34 …edValue> record = JSHandle<JSTaggedValue>(factory->NewCompletionRecord(CompletionRecordType::THROW, in IteratorCloseAndReturn()
|
D | js_list_format.cpp | 251 … factory->NewCompletionRecord(CompletionRecordType::THROW, JSHandle<JSTaggedValue>(typeError))); in StringListFromIterable()
|
D | object_factory.h | 178 enum class CompletionRecordType : uint8_t; 408 …JSHandle<CompletionRecord> NewCompletionRecord(CompletionRecordType type, JSHandle<JSTaggedValue> …
|
D | object_factory.cpp | 1778 JSHandle<CompletionRecord> ObjectFactory::NewCompletionRecord(CompletionRecordType type, JSHandle<J… in NewCompletionRecord()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | js_generator_object_test.cpp | 140 CompletionRecordType type = CompletionRecordType::RETURN; in HWTEST_F_L0()
|
D | accessor_data_test.cpp | 241 factory->NewCompletionRecord(CompletionRecordType::NORMAL, exceptionHandle); in HWTEST_F_L0() 245 factory->NewCompletionRecord(CompletionRecordType::THROW, exceptionHandle); in HWTEST_F_L0()
|
D | dump_test.cpp | 975 … factory->NewCompletionRecord(CompletionRecordType::NORMAL, globalConst->GetHandledEmptyArray()); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/stubs/ |
D | runtime_stubs-inl.h | 225 CompletionRecordType::THROW, JSHandle<JSTaggedValue>(thread, thread->GetException()))); in RuntimeCloseIterator() 228 …record = JSHandle<JSTaggedValue>(factory->NewCompletionRecord(CompletionRecordType::NORMAL, undefi… in RuntimeCloseIterator()
|