Home
last modified time | relevance | path

Searched refs:newQueue (Results 1 – 4 of 4) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/
Dtagged_queue.h55 JSHandle<TaggedQueue> newQueue = factory->NewTaggedQueue(MIN_CAPACITY); in Push() local
56 newQueue->Set(thread, 0, value.GetTaggedValue()); in Push()
57 newQueue->SetCapacity(thread, JSTaggedValue(MIN_CAPACITY)); in Push()
58 newQueue->SetStart(thread, JSTaggedValue(0)); in Push()
59 newQueue->SetEnd(thread, JSTaggedValue(1)); in Push()
60 return *newQueue; in Push()
76 JSHandle<TaggedQueue> newQueue = factory->NewTaggedQueue(newCapacity); in Push() local
79 newQueue->Set(thread, newEnd, queue->Get(i)); in Push()
83 newQueue->SetCapacity(thread, JSTaggedValue(newCapacity)); in Push()
84 newQueue->SetStart(thread, JSTaggedValue(0)); in Push()
[all …]
Djs_for_in_iterator.cpp68 TaggedQueue *newQueue = TaggedQueue::Push(thread, remaining, value); in GetAllEnumKeys() local
69 remaining.Update(JSTaggedValue(newQueue)); in GetAllEnumKeys()
78 TaggedQueue *newQueue = TaggedQueue::Push(thread, remaining, value); in GetAllEnumKeys() local
79 remaining.Update(JSTaggedValue(newQueue)); in GetAllEnumKeys()
100 TaggedQueue *newQueue = TaggedQueue::Push(thread, remained, key); in GetAllEnumKeys() local
101 remained.Update(JSTaggedValue(newQueue)); in GetAllEnumKeys()
142 TaggedQueue *newQueue = TaggedQueue::Push(thread, visited, object); in NextInternal() local
143 visited.Update(JSTaggedValue(newQueue)); in NextInternal()
Djs_async_generator_object.cpp294 …TaggedQueue *newQueue = TaggedQueue::Push(thread, queue, JSHandle<JSTaggedValue>::Cast(asyncGenera… in AsyncGeneratorEnqueue() local
295 generator->SetAsyncGeneratorQueue(thread, JSTaggedValue(newQueue)); in AsyncGeneratorEnqueue()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_promise.cpp417 TaggedQueue *newQueue = in PerformPromiseThen() local
419 promise->SetPromiseFulfillReactions(thread, JSTaggedValue(newQueue)); in PerformPromiseThen()
422newQueue = TaggedQueue::Push(thread, rejectReactions, JSHandle<JSTaggedValue>::Cast(rejectReaction… in PerformPromiseThen()
423 promise->SetPromiseRejectReactions(thread, JSTaggedValue(newQueue)); in PerformPromiseThen()