Searched refs:pendingJob (Results 1 – 7 of 7) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/jobs/ |
D | hitrace_scope.cpp | 22 EnqueueJobScope::EnqueueJobScope(const JSHandle<PendingJob> &pendingJob, QueueType queueType) in EnqueueJobScope() argument 28 pendingJob->SetChainId(childId.GetChainId()); in EnqueueJobScope() 29 pendingJob->SetSpanId(childId.GetSpanId()); in EnqueueJobScope() 30 pendingJob->SetParentSpanId(childId.GetParentSpanId()); in EnqueueJobScope() 31 pendingJob->SetFlags(childId.GetFlags()); in EnqueueJobScope() 52 ExecuteJobScope::ExecuteJobScope(const JSHandle<PendingJob> &pendingJob) in ExecuteJobScope() argument 58 if (pendingJob->GetChainId() != 0) { in ExecuteJobScope() 59 hitraceId_.SetChainId(pendingJob->GetChainId()); in ExecuteJobScope() 60 hitraceId_.SetSpanId(pendingJob->GetSpanId()); in ExecuteJobScope() 61 hitraceId_.SetParentSpanId(pendingJob->GetParentSpanId()); in ExecuteJobScope() [all …]
|
D | micro_job_queue.cpp | 40 JSHandle<PendingJob> pendingJob(factory->NewPendingJob(job, argv)); in EnqueueJob() local 41 ENQUEUE_JOB_HITRACE(pendingJob, queueType); in EnqueueJob() 44 …ue *newPromiseQueue = TaggedQueue::Push(thread, promiseQueue, JSHandle<JSTaggedValue>(pendingJob)); in EnqueueJob() 49 …ueue *newScriptQueue = TaggedQueue::Push(thread, scriptQueue, JSHandle<JSTaggedValue>(pendingJob)); in EnqueueJob() 58 JSMutableHandle<PendingJob> pendingJob(thread, JSTaggedValue::Undefined()); in ExecutePendingJob() local 61 pendingJob.Update(promiseQueue->Pop(thread)); in ExecutePendingJob() 62 PendingJob::ExecutePendingJob(pendingJob, thread); in ExecutePendingJob() 71 pendingJob.Update(scriptQueue->Pop(thread)); in ExecutePendingJob() 72 PendingJob::ExecutePendingJob(pendingJob, thread); in ExecutePendingJob()
|
D | pending_job.h | 39 static JSTaggedValue ExecutePendingJob(const JSHandle<PendingJob> &pendingJob, JSThread *thread) in ExecutePendingJob() argument 42 EXECUTE_JOB_HITRACE(pendingJob); in ExecutePendingJob() 44 JSHandle<JSTaggedValue> job(thread, pendingJob->GetJob()); in ExecutePendingJob() 46 JSHandle<TaggedArray> argv(thread, pendingJob->GetArguments()); in ExecutePendingJob()
|
D | hitrace_scope.h | 33 EnqueueJobScope(const JSHandle<PendingJob> &pendingJob, job::QueueType queueType); 40 explicit ExecuteJobScope(const JSHandle<PendingJob> &pendingJob);
|
/arkcompiler/ets_runtime/ecmascript/ |
D | ecma_macros.h | 39 …#define ENQUEUE_JOB_HITRACE(pendingJob, queueType) job::EnqueueJobScope hitraceScope(pendingJob, q… argument 40 #define EXECUTE_JOB_HITRACE(pendingJob) job::ExecuteJobScope hitraceScope(pendingJob) argument 42 #define ENQUEUE_JOB_HITRACE(pendingJob, queueType) argument 43 #define EXECUTE_JOB_HITRACE(pendingJob) argument
|
/arkcompiler/ets_runtime/ecmascript/jobs/tests/ |
D | micro_job_queue_test.cpp | 121 JSHandle<PendingJob> pendingJob(thread, result); in HWTEST_F_L0() local 122 …EXPECT_EQ(JSTaggedValue::SameValue(pendingJob->GetJob(), promiseReactionsJob.GetTaggedValue()), tr… in HWTEST_F_L0() 123 … EXPECT_EQ(JSTaggedValue::SameValue(pendingJob->GetArguments(), arguments.GetTaggedValue()), true); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | dump_test.cpp | 966 JSHandle<TaggedObject> pendingJob(thread, factory->NewObject(pendingClass)); in HWTEST_F_L0() local 967 … ecmascript::job::PendingJob::Cast(*pendingJob)->SetJob(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0() 968 … ecmascript::job::PendingJob::Cast(*pendingJob)->SetArguments(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0() 969 DUMP_FOR_HANDLE(pendingJob) in HWTEST_F_L0()
|