Home
last modified time | relevance | path

Searched refs:MicrotaskQueue (Results 1 – 18 of 18) sorted by relevance

/external/v8/src/execution/
Dmicrotask-queue.cc22 const size_t MicrotaskQueue::kRingBufferOffset =
23 OFFSET_OF(MicrotaskQueue, ring_buffer_);
24 const size_t MicrotaskQueue::kCapacityOffset =
25 OFFSET_OF(MicrotaskQueue, capacity_);
26 const size_t MicrotaskQueue::kSizeOffset = OFFSET_OF(MicrotaskQueue, size_);
27 const size_t MicrotaskQueue::kStartOffset = OFFSET_OF(MicrotaskQueue, start_);
28 const size_t MicrotaskQueue::kFinishedMicrotaskCountOffset =
29 OFFSET_OF(MicrotaskQueue, finished_microtask_count_);
31 const intptr_t MicrotaskQueue::kMinimumCapacity = 8;
34 void MicrotaskQueue::SetUpDefaultMicrotaskQueue(Isolate* isolate) { in SetUpDefaultMicrotaskQueue()
[all …]
Dmicrotask-queue.h24 class V8_EXPORT_PRIVATE MicrotaskQueue final : public v8::MicrotaskQueue {
27 static std::unique_ptr<MicrotaskQueue> New(Isolate* isolate);
29 ~MicrotaskQueue() override;
98 MicrotaskQueue* next() const { return next_; } in next()
99 MicrotaskQueue* prev() const { return prev_; } in prev()
112 MicrotaskQueue();
128 MicrotaskQueue* next_ = nullptr;
129 MicrotaskQueue* prev_ = nullptr;
Dexecution.h13 class MicrotaskQueue; variable
60 Isolate* isolate, MicrotaskQueue* microtask_queue,
Dexecution.cc46 MicrotaskQueue* microtask_queue,
55 MicrotaskQueue* microtask_queue;
127 Isolate* isolate, MicrotaskQueue* microtask_queue, in SetUpForRunMicrotasks()
377 Address root_register_value, MicrotaskQueue* microtask_queue)>; in Invoke()
503 Isolate* isolate, MicrotaskQueue* microtask_queue, in TryRunMicrotasks()
Disolate.h92 class MicrotaskQueue; variable
442 V(MicrotaskQueue*, default_microtask_queue, nullptr) \
1356 void FireCallCompletedCallback(MicrotaskQueue* microtask_queue);
Disolate.cc2991 MicrotaskQueue::SetUpDefaultMicrotaskQueue(this); in ThrowInternal()
4087 void Isolate::FireCallCompletedCallback(MicrotaskQueue* microtask_queue) { in ThrowInternal()
/external/v8/src/builtins/
Dbuiltins-microtask-queue-gen.cc64 IntPtrConstant(MicrotaskQueue::kRingBufferOffset)); in GetMicrotaskRingBuffer()
70 IntPtrConstant(MicrotaskQueue::kCapacityOffset)); in GetMicrotaskQueueCapacity()
76 IntPtrConstant(MicrotaskQueue::kSizeOffset)); in GetMicrotaskQueueSize()
82 IntPtrConstant(MicrotaskQueue::kSizeOffset), new_size); in SetMicrotaskQueueSize()
88 IntPtrConstant(MicrotaskQueue::kStartOffset)); in GetMicrotaskQueueStart()
94 IntPtrConstant(MicrotaskQueue::kStartOffset), new_start); in SetMicrotaskQueueStart()
345 IntPtrConstant(MicrotaskQueue::kFinishedMicrotaskCountOffset)); in IncrementFinishedMicrotaskCount()
349 IntPtrConstant(MicrotaskQueue::kFinishedMicrotaskCountOffset), new_count); in IncrementFinishedMicrotaskCount()
517 IntPtrConstant(MicrotaskQueue::kSizeOffset), in TF_BUILTIN()
/external/v8/src/init/
Dbootstrapper.h56 v8::MicrotaskQueue* microtask_queue);
66 v8::MicrotaskQueue* no_microtask_queue = nullptr; in CreateEnvironmentForTesting()
Dbootstrapper.cc158 v8::MicrotaskQueue* microtask_queue);
318 v8::MicrotaskQueue* microtask_queue) { in CreateEnvironment()
5194 v8::MicrotaskQueue* microtask_queue) in Genesis()
5301 isolate, microtask_queue ? static_cast<MicrotaskQueue*>(microtask_queue) in Genesis()
/external/v8/src/objects/
Dcontexts-inl.h270 DEF_GETTER(NativeContext, microtask_queue, MicrotaskQueue*) { in DEF_GETTER() argument
271 return reinterpret_cast<MicrotaskQueue*>(ReadExternalPointerField( in DEF_GETTER()
280 MicrotaskQueue* microtask_queue) { in set_microtask_queue()
Dcontexts.h21 class MicrotaskQueue; variable
669 DECL_GETTER(microtask_queue, MicrotaskQueue*)
670 inline void set_microtask_queue(Isolate* isolate, MicrotaskQueue* queue);
Dobjects.cc5438 MicrotaskQueue* microtask_queue = then_context->microtask_queue(); in Resolve()
5545 MicrotaskQueue* microtask_queue = handler_context->microtask_queue(); in TriggerPromiseReactions()
/external/v8/src/snapshot/
Dcontext-serializer.cc61 MicrotaskQueue* const microtask_queue_;
/external/v8/include/
Dv8.h63 class MicrotaskQueue; variable
141 class MicrotaskQueue; variable
7466 class V8_EXPORT MicrotaskQueue {
7471 static std::unique_ptr<MicrotaskQueue> New(
7474 virtual ~MicrotaskQueue() = default;
7526 MicrotaskQueue(const MicrotaskQueue&) = delete;
7527 MicrotaskQueue& operator=(const MicrotaskQueue&) = delete;
7530 friend class internal::MicrotaskQueue;
7531 MicrotaskQueue() = default;
7548 MicrotasksScope(Isolate* isolate, MicrotaskQueue* microtask_queue, Type type);
[all …]
/external/v8/src/runtime/
Druntime-promise.cc82 MicrotaskQueue* microtask_queue = in RUNTIME_FUNCTION()
/external/v8/src/api/
Dapi.cc266 void CheckMicrotasksScopesConsistency(i::MicrotaskQueue* microtask_queue) { in CheckMicrotasksScopesConsistency()
305 i::MicrotaskQueue* microtask_queue = isolate_->default_microtask_queue(); in ~CallDepthScope()
335 i::MicrotaskQueue* microtask_queue) { in CheckKeptObjectsClearedAfterMicrotaskCheckpoint()
5908 v8::MicrotaskQueue* microtask_queue) { in Invoke()
5922 v8::MicrotaskQueue* microtask_queue) { in Invoke()
5936 v8::MicrotaskQueue* microtask_queue) { in CreateEnvironment()
6040 v8::MicrotaskQueue* microtask_queue) { in NewContext()
6067 v8::MicrotaskQueue* microtask_queue) { in New()
6077 v8::MicrotaskQueue* microtask_queue) { in FromSnapshot()
8535 Isolate* isolate, MicrotaskQueue* microtask_queue) in SuppressMicrotaskExecutionScope()
[all …]
/external/v8/src/codegen/
Dexternal-reference.cc835 MicrotaskQueue::CallEnqueueMicrotask) in FUNCTION_REFERENCE()
/external/v8/src/heap/
Dheap.cc4437 MicrotaskQueue* default_microtask_queue = in IterateRoots()
4440 MicrotaskQueue* microtask_queue = default_microtask_queue; in IterateRoots()