Home
last modified time | relevance | path

Searched refs:thenResult (Results 1 - 3 of 3) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/builtins/
H A Dbuiltins_promise_job.cpp108 JSHandle<JSTaggedValue> thenResult(thread, result); in PromiseResolveThenableJob()
113 thenResult = JSPromise::IfThrowGetThrowValue(thread); in PromiseResolveThenableJob()
119 runtimeInfo->SetCallArg(thenResult.GetTaggedValue()); in PromiseResolveThenableJob()
259 JSHandle<JSTaggedValue> thenResult = JSPromise::IfThrowGetThrowValue(thread); in CatchException() local
265 runtimeInfo->SetCallArg(thenResult.GetTaggedValue()); in CatchException()
/arkcompiler/ets_runtime/ecmascript/builtins/tests/
H A Dbuiltins_promise_test.cpp364 auto thenResult = ThanAlgorithm(thread, racePromise, JSTaggedValue::Undefined(), in HWTEST_F_L0() local
366 JSHandle<JSPromise> thenPromise(thread, thenResult); in HWTEST_F_L0()
434 auto thenResult = ThanAlgorithm(thread, allPromise, nativeFuncRaceThenOnResolved.GetTaggedValue(), in HWTEST_F_L0() local
436 JSHandle<JSPromise> thenPromise(thread, thenResult); in HWTEST_F_L0()
523 auto thenResult = ThanAlgorithm(thread, resolvePromise, testPromiseThenOnResolved.GetTaggedValue(), in HWTEST_F_L0() local
525 JSHandle<JSPromise> thenPromise(thread, thenResult); in HWTEST_F_L0()
565 auto thenResult = ThanAlgorithm(thread, rejectPromise, testPromiseThenOnRejected.GetTaggedValue(), in HWTEST_F_L0() local
567 JSHandle<JSPromise> thenPromise(thread, thenResult); in HWTEST_F_L0()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/
H A Djs_job_queue.cpp154 napi_value thenResult; in CreatePromiseLink() local
155 status = napi_call_function(env, jsPromise, thenFn, 1, &thenCallback, &thenResult); in CreatePromiseLink()

Completed in 3 milliseconds