Home
last modified time | relevance | path

Searched refs:microtask_queue (Results 1 – 17 of 17) sorted by relevance

/external/v8/src/builtins/
Dbuiltins-microtask-queue-gen.cc25 TNode<RawPtrT> GetMicrotaskRingBuffer(TNode<RawPtrT> microtask_queue);
26 TNode<IntPtrT> GetMicrotaskQueueCapacity(TNode<RawPtrT> microtask_queue);
27 TNode<IntPtrT> GetMicrotaskQueueSize(TNode<RawPtrT> microtask_queue);
28 void SetMicrotaskQueueSize(TNode<RawPtrT> microtask_queue,
30 TNode<IntPtrT> GetMicrotaskQueueStart(TNode<RawPtrT> microtask_queue);
31 void SetMicrotaskQueueStart(TNode<RawPtrT> microtask_queue,
40 void IncrementFinishedMicrotaskCount(TNode<RawPtrT> microtask_queue);
62 TNode<RawPtrT> microtask_queue) { in GetMicrotaskRingBuffer() argument
63 return Load<RawPtrT>(microtask_queue, in GetMicrotaskRingBuffer()
68 TNode<RawPtrT> microtask_queue) { in GetMicrotaskQueueCapacity() argument
[all …]
/external/v8/src/execution/
Dmicrotask-queue.cc37 MicrotaskQueue* microtask_queue = new MicrotaskQueue; in SetUpDefaultMicrotaskQueue() local
38 microtask_queue->next_ = microtask_queue; in SetUpDefaultMicrotaskQueue()
39 microtask_queue->prev_ = microtask_queue; in SetUpDefaultMicrotaskQueue()
40 isolate->set_default_microtask_queue(microtask_queue); in SetUpDefaultMicrotaskQueue()
47 std::unique_ptr<MicrotaskQueue> microtask_queue(new MicrotaskQueue); in New() local
51 microtask_queue->next_ = last->next_; in New()
52 microtask_queue->prev_ = last; in New()
53 last->next_->prev_ = microtask_queue.get(); in New()
54 last->next_ = microtask_queue.get(); in New()
56 return microtask_queue; in New()
Dexecution.cc46 MicrotaskQueue* microtask_queue,
55 MicrotaskQueue* microtask_queue; member
76 params.microtask_queue = nullptr; in SetUpForNew()
96 params.microtask_queue = nullptr; in SetUpForCall()
116 params.microtask_queue = nullptr; in SetUpForTryCall()
127 Isolate* isolate, MicrotaskQueue* microtask_queue, in SetUpForRunMicrotasks() argument
136 params.microtask_queue = microtask_queue; in SetUpForRunMicrotasks()
377 Address root_register_value, MicrotaskQueue* microtask_queue)>; in Invoke()
384 params.microtask_queue)); in Invoke()
503 Isolate* isolate, MicrotaskQueue* microtask_queue, in TryRunMicrotasks() argument
[all …]
Dexecution.h60 Isolate* isolate, MicrotaskQueue* microtask_queue,
Disolate.cc4087 void Isolate::FireCallCompletedCallback(MicrotaskQueue* microtask_queue) { in ThrowInternal() argument
4091 microtask_queue && in ThrowInternal()
4092 microtask_queue->microtasks_policy() == v8::MicrotasksPolicy::kAuto; in ThrowInternal()
4095 if (perform_checkpoint) microtask_queue->PerformCheckpoint(isolate); in ThrowInternal()
Disolate.h1356 void FireCallCompletedCallback(MicrotaskQueue* microtask_queue);
/external/v8/src/runtime/
Druntime-promise.cc82 MicrotaskQueue* microtask_queue = in RUNTIME_FUNCTION() local
83 function->native_context().microtask_queue(); in RUNTIME_FUNCTION()
84 if (microtask_queue) microtask_queue->EnqueueMicrotask(*microtask); in RUNTIME_FUNCTION()
/external/v8/src/objects/
Dcontexts-inl.h270 DEF_GETTER(NativeContext, microtask_queue, MicrotaskQueue*) { in DEF_GETTER() argument
280 MicrotaskQueue* microtask_queue) { in set_microtask_queue() argument
282 reinterpret_cast<Address>(microtask_queue), in set_microtask_queue()
Dcontexts.h669 DECL_GETTER(microtask_queue, MicrotaskQueue*)
Dobjects.cc5438 MicrotaskQueue* microtask_queue = then_context->microtask_queue(); in Resolve() local
5439 if (microtask_queue) microtask_queue->EnqueueMicrotask(*task); in Resolve()
5545 MicrotaskQueue* microtask_queue = handler_context->microtask_queue(); in TriggerPromiseReactions() local
5546 if (microtask_queue) { in TriggerPromiseReactions()
5547 microtask_queue->EnqueueMicrotask( in TriggerPromiseReactions()
/external/v8/src/init/
Dbootstrapper.h56 v8::MicrotaskQueue* microtask_queue);
Dbootstrapper.cc158 v8::MicrotaskQueue* microtask_queue);
318 v8::MicrotaskQueue* microtask_queue) { in CreateEnvironment() argument
324 microtask_queue); in CreateEnvironment()
5194 v8::MicrotaskQueue* microtask_queue) in Genesis() argument
5301 isolate, microtask_queue ? static_cast<MicrotaskQueue*>(microtask_queue) in Genesis()
/external/v8/src/snapshot/
Dcontext-serializer.cc30 microtask_queue_(native_context.microtask_queue()), in SanitizeNativeContextScope()
/external/v8/src/api/
Dapi.cc266 void CheckMicrotasksScopesConsistency(i::MicrotaskQueue* microtask_queue) { in CheckMicrotasksScopesConsistency() argument
267 if (microtask_queue && in CheckMicrotasksScopesConsistency()
268 microtask_queue->microtasks_policy() == v8::MicrotasksPolicy::kScoped) { in CheckMicrotasksScopesConsistency()
269 DCHECK(microtask_queue->GetMicrotasksScopeDepth() || in CheckMicrotasksScopesConsistency()
270 !microtask_queue->DebugMicrotasksScopeDepthIsZero()); in CheckMicrotasksScopesConsistency()
305 i::MicrotaskQueue* microtask_queue = isolate_->default_microtask_queue(); in ~CallDepthScope() local
311 microtask_queue = env->native_context().microtask_queue(); in ~CallDepthScope()
314 if (do_callback) isolate_->FireCallCompletedCallback(microtask_queue); in ~CallDepthScope()
317 if (do_callback) CheckMicrotasksScopesConsistency(microtask_queue); in ~CallDepthScope()
319 DCHECK(CheckKeptObjectsClearedAfterMicrotaskCheckpoint(microtask_queue)); in ~CallDepthScope()
[all …]
/external/v8/src/heap/
Dheap.cc4440 MicrotaskQueue* microtask_queue = default_microtask_queue; in IterateRoots() local
4442 microtask_queue->IterateMicrotasks(v); in IterateRoots()
4443 microtask_queue = microtask_queue->next(); in IterateRoots()
4444 } while (microtask_queue != default_microtask_queue); in IterateRoots()
/external/v8/include/
Dv8.h7548 MicrotasksScope(Isolate* isolate, MicrotaskQueue* microtask_queue, Type type);
8437 Isolate* isolate, MicrotaskQueue* microtask_queue = nullptr);
10421 MicrotaskQueue* microtask_queue = nullptr);
10447 MicrotaskQueue* microtask_queue = nullptr);
/external/v8/src/diagnostics/
Dobjects-printer.cc767 os << " - microtask_queue: " << microtask_queue() << "\n"; in NativeContextPrint()