Searched refs:pendingJob (Results 1 - 7 of 7) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/jobs/ |
H A D | hitrace_scope.cpp | 23 EnqueueJobScope::EnqueueJobScope(const JSHandle<PendingJob> &pendingJob, QueueType queueType) in EnqueueJobScope() argument 29 pendingJob->SetChainId(childId.GetChainId()); in EnqueueJobScope() 30 pendingJob->SetSpanId(childId.GetSpanId()); in EnqueueJobScope() 31 pendingJob->SetParentSpanId(childId.GetParentSpanId()); in EnqueueJobScope() 32 pendingJob->SetFlags(childId.GetFlags()); in EnqueueJobScope() 53 ExecuteJobScope::ExecuteJobScope(const JSHandle<PendingJob> &pendingJob) in ExecuteJobScope() argument 59 if (pendingJob->GetChainId() != 0) { in ExecuteJobScope() 60 hitraceId_.SetChainId(pendingJob->GetChainId()); in ExecuteJobScope() 61 hitraceId_.SetSpanId(pendingJob->GetSpanId()); in ExecuteJobScope() 62 hitraceId_.SetParentSpanId(pendingJob in ExecuteJobScope() 89 EnqueueJobTrace(JSThread *thread, const JSHandle<PendingJob> &pendingJob) EnqueueJobTrace() argument 129 ExecuteJobTrace(JSThread *thread, const JSHandle<PendingJob> &pendingJob) ExecuteJobTrace() argument [all...] |
H A D | micro_job_queue.cpp | 42 JSHandle<PendingJob> pendingJob(factory->NewPendingJob(job, argv)); in EnqueueJob() 43 ENQUEUE_JOB_HITRACE(pendingJob, queueType); in EnqueueJob() 44 ENQUEUE_JOB_TRACE(thread, pendingJob); in EnqueueJob() 48 TaggedQueue *newPromiseQueue = TaggedQueue::Push(thread, promiseQueue, JSHandle<JSTaggedValue>(pendingJob)); in EnqueueJob() 53 TaggedQueue *newScriptQueue = TaggedQueue::Push(thread, scriptQueue, JSHandle<JSTaggedValue>(pendingJob)); in EnqueueJob() 62 JSMutableHandle<PendingJob> pendingJob(thread, JSTaggedValue::Undefined()); in ExecutePendingJob() 65 pendingJob.Update(promiseQueue->Pop(thread)); in ExecutePendingJob() 66 PendingJob::ExecutePendingJob(pendingJob, thread); in ExecutePendingJob() 83 pendingJob.Update(scriptQueue->Pop(thread)); in ExecutePendingJob() 84 PendingJob::ExecutePendingJob(pendingJob, threa in ExecutePendingJob() [all...] |
H A D | hitrace_scope.h | 34 EnqueueJobScope(const JSHandle<PendingJob> &pendingJob, job::QueueType queueType); 41 explicit ExecuteJobScope(const JSHandle<PendingJob> &pendingJob); 53 EnqueueJobTrace(JSThread *thread, const JSHandle<PendingJob> &pendingJob); 62 ExecuteJobTrace(JSThread *thread, const JSHandle<PendingJob> &pendingJob);
|
H A D | pending_job.h | 39 static JSTaggedValue ExecutePendingJob(const JSHandle<PendingJob> &pendingJob, JSThread *thread) in ExecutePendingJob() argument 42 EXECUTE_JOB_HITRACE(pendingJob); in ExecutePendingJob() 43 EXECUTE_JOB_TRACE(thread, pendingJob); in ExecutePendingJob() 45 JSHandle<JSTaggedValue> job(thread, pendingJob->GetJob()); in ExecutePendingJob() 47 JSHandle<TaggedArray> argv(thread, pendingJob->GetArguments()); in ExecutePendingJob()
|
/arkcompiler/ets_runtime/ecmascript/ |
H A D | ecma_macros.h | 43 #define ENQUEUE_JOB_HITRACE(pendingJob, queueType) job::EnqueueJobScope hitraceScope(pendingJob, queueType) 44 #define EXECUTE_JOB_HITRACE(pendingJob) job::ExecuteJobScope hitraceScope(pendingJob) 45 #define ENQUEUE_JOB_TRACE(thread, pendingJob) job::EnqueueJobTrace enqueueJobTrace(thread, pendingJob) 46 #define EXECUTE_JOB_TRACE(thread, pendingJob) job::ExecuteJobTrace executeJobTrace(thread, pendingJob) 48 #define ENQUEUE_JOB_HITRACE(pendingJob, queueType) 49 #define EXECUTE_JOB_HITRACE(pendingJob) [all...] |
/arkcompiler/ets_runtime/ecmascript/jobs/tests/ |
H A D | micro_job_queue_test.cpp | 122 JSHandle<PendingJob> pendingJob(thread, result); in HWTEST_F_L0() 123 EXPECT_EQ(JSTaggedValue::SameValue(pendingJob->GetJob(), promiseReactionsJob.GetTaggedValue()), true); in HWTEST_F_L0() 124 EXPECT_EQ(JSTaggedValue::SameValue(pendingJob->GetArguments(), arguments.GetTaggedValue()), true); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
H A D | dump_test.cpp | 1197 JSHandle<TaggedObject> pendingJob(thread, factory->NewObject(pendingClass)); in HWTEST_F_L0() 1198 ecmascript::job::PendingJob::Cast(*pendingJob)->SetJob(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0() 1199 ecmascript::job::PendingJob::Cast(*pendingJob)->SetArguments(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0() 1200 DUMP_FOR_HANDLE(pendingJob); in HWTEST_F_L0()
|
Completed in 5 milliseconds