Searched refs:onFulfilled (Results 1 - 7 of 7) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/ |
H A D | js_async_from_sync_iterator.cpp | 75 // 9.Let onFulfilled be ! CreateBuiltinFunction(steps, length, "", « [[Done]] »). in AsyncFromSyncIteratorContinuation() 76 JSHandle<JSAsyncFromSyncIterUnwarpFunction> onFulfilled = factory->NewJSAsyncFromSyncIterUnwarpFunction(); in AsyncFromSyncIteratorContinuation() local 77 // 10.Set onFulfilled.[[Done]] to done. in AsyncFromSyncIteratorContinuation() 79 onFulfilled->SetDone(thread, JSTaggedValue(done)); in AsyncFromSyncIteratorContinuation() 80 // 11.Perform ! PerformPromiseThen(valueWrapper, onFulfilled, undefined, promiseCapability). in AsyncFromSyncIteratorContinuation() 83 JSHandle<JSTaggedValue>::Cast(onFulfilled), in AsyncFromSyncIteratorContinuation()
|
H A D | js_async_generator_object.cpp | 170 // 5. Let onFulfilled be ! CreateBuiltinFunction(stepsFulfilled, in AsyncGeneratorResumeNext() 178 JSHandle<JSAsyncGeneratorResNextRetProRstFtn> onFulfilled = in AsyncGeneratorResumeNext() local 180 onFulfilled->SetAsyncGeneratorObject(thread, generator); in AsyncGeneratorResumeNext() 186 // 11. Perform ! PerformPromiseThen(promise, onFulfilled, onRejected). in AsyncGeneratorResumeNext() 191 thread, handPromise, JSHandle<JSTaggedValue>::Cast(onFulfilled), in AsyncGeneratorResumeNext()
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
H A D | builtins_promise.cpp | 340 // 25.4.5.3 Promise.prototype.then ( onFulfilled , onRejected ) 368 JSHandle<JSTaggedValue> onFulfilled = BuiltinsBase::GetCallArg(argv, 0); in Then() local 371 // 7. Return PerformPromiseThen(promise, onFulfilled, onRejected, resultCapability). in Then() 372 return PerformPromiseThen(thread, JSHandle<JSPromise>::Cast(promise), onFulfilled, onRejected, resultCapability); in Then() 376 const JSHandle<JSTaggedValue> &onFulfilled, in PerformPromiseThen() 385 JSMutableHandle<JSTaggedValue> fulfilled(thread, onFulfilled.GetTaggedValue()); in PerformPromiseThen() 981 // l. Let onFulfilled be CreateBuiltinFunction(stepsFulfilled, lengthFulfilled, "", in PerformPromiseAllSettled() 983 JSHandle<JSPromiseAllSettledElementFunction> onFulfilled = in PerformPromiseAllSettled() local 988 // n. Set onFulfilled.[[AlreadyCalled]] to alreadyCalled. in PerformPromiseAllSettled() 989 onFulfilled in PerformPromiseAllSettled() 375 PerformPromiseThen(JSThread *thread, const JSHandle<JSPromise> &promise, const JSHandle<JSTaggedValue> &onFulfilled, const JSHandle<JSTaggedValue> &onRejected, const JSHandle<PromiseCapability> &capability) PerformPromiseThen() argument [all...] |
H A D | builtins_promise.h | 52 /* Promise.prototype.then ( onFulfilled, onRejected ) */ \ 72 // 25.4.5.3 Promise.prototype.then ( onFulfilled , onRejected ) 76 const JSHandle<JSTaggedValue> &onFulfilled,
|
/arkcompiler/ets_runtime/ecmascript/module/ |
H A D | js_module_source_text.cpp | 1856 // 5. Let onFulfilled be CreateBuiltinFunction(fulfilledClosure, 0, "", « »). in ExecuteAsyncModule() 1862 // 8. Perform PerformPromiseThen(capability.[[Promise]], onFulfilled, onRejected). in ExecuteAsyncModule() 1866 JSHandle<JSAsyncModuleFulfilledFunction> onFulfilled = in ExecuteAsyncModule() local 1868 onFulfilled->SetModule(thread, module); in ExecuteAsyncModule() 1877 thread, promise, JSHandle<JSTaggedValue>::Cast(onFulfilled), in ExecuteAsyncModule()
|
/arkcompiler/ets_runtime/ecmascript/napi/include/ |
H A D | jsnapi_expo.h | 1440 Local<PromiseRef> Then(const EcmaVM *vm, Local<FunctionRef> onFulfilled, Local<FunctionRef> onRejected);
|
/arkcompiler/ets_runtime/ecmascript/napi/ |
H A D | jsnapi_expo.cpp | 6038 Local<PromiseRef> PromiseRef::Then(const EcmaVM *vm, Local<FunctionRef> onFulfilled, Local<FunctionRef> onRejected) in Then() argument 6047 JSHandle<JSTaggedValue> resolver = JSNApiHelper::ToJSHandle(onFulfilled); in Then()
|
Completed in 23 milliseconds