Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/jobs/tests/
H A Dpending_job_test.cpp162 JSHandle<PromiseReaction> fulfillReaction = factory->NewPromiseReaction(); in HWTEST_F_L0() local
163 fulfillReaction->SetPromiseCapability(thread, capbility.GetTaggedValue()); in HWTEST_F_L0()
164 fulfillReaction->SetHandler(thread, resolve.GetTaggedValue()); in HWTEST_F_L0()
168 handleArgv->Set(thread, 0, fulfillReaction.GetTaggedValue()); in HWTEST_F_L0()
244 JSHandle<PromiseReaction> fulfillReaction = factory->NewPromiseReaction(); in HWTEST_F_L0() local
245 fulfillReaction->SetPromiseCapability(thread, capbility.GetTaggedValue()); in HWTEST_F_L0()
246 fulfillReaction->SetHandler(thread, paramMsg.GetTaggedValue()); in HWTEST_F_L0()
251 handleArgv->Set(thread, 0, fulfillReaction.GetTaggedValue()); in HWTEST_F_L0()
H A Dmicro_job_queue_test.cpp193 JSHandle<PromiseReaction> fulfillReaction = factory->NewPromiseReaction(); in HWTEST_F_L0() local
194 fulfillReaction->SetPromiseCapability(thread, capbility.GetTaggedValue()); in HWTEST_F_L0()
195 fulfillReaction->SetHandler(thread, resolve.GetTaggedValue()); in HWTEST_F_L0()
198 arguments->Set(thread, 0, fulfillReaction.GetTaggedValue()); in HWTEST_F_L0()
236 JSHandle<PromiseReaction> fulfillReaction = factory->NewPromiseReaction(); in HWTEST_F_L0() local
237 fulfillReaction->SetPromiseCapability(thread, capbility1.GetTaggedValue()); in HWTEST_F_L0()
238 fulfillReaction->SetHandler(thread, resolve.GetTaggedValue()); in HWTEST_F_L0()
241 arguments1->Set(thread, 0, fulfillReaction.GetTaggedValue()); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/builtins/
H A Dbuiltins_promise.cpp394 JSHandle<PromiseReaction> fulfillReaction = factory->NewPromiseReaction(); in PerformPromiseThen() local
395 fulfillReaction->SetPromiseCapability(thread, capability.GetTaggedValue()); in PerformPromiseThen()
396 fulfillReaction->SetHandler(thread, fulfilled.GetTaggedValue()); in PerformPromiseThen()
406 TaggedQueue::Push(thread, fulfillReactions, JSHandle<JSTaggedValue>::Cast(fulfillReaction)); in PerformPromiseThen()
414 argv->Set(thread, 0, fulfillReaction.GetTaggedValue()); in PerformPromiseThen()

Completed in 4 milliseconds