Searched refs:rejectReaction (Results 1 – 3 of 3) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/jobs/tests/ |
D | pending_job_test.cpp | 126 JSHandle<PromiseReaction> rejectReaction = factory->NewPromiseReaction(); in HWTEST_F_L0() local 127 rejectReaction->SetPromiseCapability(thread, capbility.GetTaggedValue()); in HWTEST_F_L0() 128 rejectReaction->SetHandler(thread, reject.GetTaggedValue()); in HWTEST_F_L0() 132 handleArgv->Set(thread, 0, rejectReaction.GetTaggedValue()); in HWTEST_F_L0() 196 JSHandle<PromiseReaction> rejectReaction = factory->NewPromiseReaction(); in HWTEST_F_L0() local 197 rejectReaction->SetPromiseCapability(thread, capbility.GetTaggedValue()); in HWTEST_F_L0() 198 rejectReaction->SetHandler(thread, paramMsg.GetTaggedValue()); in HWTEST_F_L0() 202 handleArgv->Set(thread, 0, rejectReaction.GetTaggedValue()); in HWTEST_F_L0()
|
D | micro_job_queue_test.cpp | 201 JSHandle<PromiseReaction> rejectReaction = factory->NewPromiseReaction(); in HWTEST_F_L0() local 202 rejectReaction->SetPromiseCapability(thread, capbility.GetTaggedValue()); in HWTEST_F_L0() 203 rejectReaction->SetHandler(thread, resolve.GetTaggedValue()); in HWTEST_F_L0() 246 JSHandle<PromiseReaction> rejectReaction = factory->NewPromiseReaction(); in HWTEST_F_L0() local 247 rejectReaction->SetPromiseCapability(thread, capbility2.GetTaggedValue()); in HWTEST_F_L0() 248 rejectReaction->SetHandler(thread, reject.GetTaggedValue()); in HWTEST_F_L0() 251 arguments2->Set(thread, 0, rejectReaction.GetTaggedValue()); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins_promise.cpp | 410 JSHandle<PromiseReaction> rejectReaction = factory->NewPromiseReaction(); in PerformPromiseThen() local 411 rejectReaction->SetPromiseCapability(thread, capability.GetTaggedValue()); in PerformPromiseThen() 412 rejectReaction->SetHandler(thread, rejected.GetTaggedValue()); in PerformPromiseThen() 422 …wQueue = TaggedQueue::Push(thread, rejectReactions, JSHandle<JSTaggedValue>::Cast(rejectReaction)); in PerformPromiseThen() 433 argv->Set(thread, 0, rejectReaction.GetTaggedValue()); in PerformPromiseThen()
|