Home
last modified time | relevance | path

Searched refs:stack_ (Results 1 – 16 of 16) sorted by relevance

/arkcompiler/runtime_core/static_core/compiler/optimizer/analysis/
Dreg_alloc_verifier.h194 ASSERT(slot < stack_.size()); in GetStack()
195 return stack_[slot]; in GetStack()
199 ASSERT(slot < stack_.size()); in GetStack()
200 return stack_[slot]; in GetStack()
234 ArenaVector<LocationState> stack_; variable
Dreg_alloc_verifier.cpp207 stack_(stackSlots, alloc->Adapter()), in BlockState()
246 updated |= MergeImpl(state.stack_, &stack_); in Merge()
256 std::copy(state->stack_.begin(), state->stack_.end(), stack_.begin()); in Copy()
/arkcompiler/ets_runtime/ecmascript/mem/
Dwork_manager.h51 explicit WorkNode(Stack *stack) : next_(nullptr), stack_(stack) {} in WorkNode()
59 return stack_->PushBackChecked(obj); in PushObject()
67 *obj = stack_->PopBackUnchecked(); in PopObject()
73 return stack_->IsEmpty(); in IsEmpty()
88 Stack *stack_; variable
/arkcompiler/runtime_core/static_core/runtime/tests/
Dfibers_test.cpp58 stack_ = new uint8_t[STACK_SIZE]; in Fiber()
61 fibers::UpdateContext(&ctx_, entry, this, stack_, STACK_SIZE); in Fiber()
67 delete[] stack_; in ~Fiber()
93 uint8_t *stack_ = nullptr; member in panda::fibers::test::Fiber
/arkcompiler/runtime_core/static_core/runtime/include/
Dthread.h88 LockedObjectInfo(ObjectHeader *obj, void *fp) : object_(obj), stack_(fp) {} in LockedObjectInfo()
101 return stack_; in GetStack()
106 stack_ = stackNew; in SetStack()
116 return MEMBER_OFFSET(LockedObjectInfo, stack_); in GetStackOffset()
121 void *stack_; variable
/arkcompiler/ets_runtime/ecmascript/regexp/
Dregexp_executor.cpp52 stack_ = chunk_->NewArray<uintptr_t>(nStack_); in Execute()
53 if (memset_s(stack_, stackSize, 0, stackSize) != EOK) { in Execute()
308 if (stack_ != nullptr) { in PushRegExpState()
310 if (memcpy_s(stackStart, stackSize, stack_, stackSize) != EOK) { in PushRegExpState()
334 if (stack_ != nullptr) { in PopRegExpState()
336 if (memcpy_s(stack_, stackSize, stackStart, stackSize) != EOK) { in PopRegExpState()
Dregexp_executor.h604 stack_[currentStack_++] = val; in PushStack()
611 stack_[currentStack_ - 1] = val; in SetStackValue()
618 return stack_[--currentStack_]; in PopStack()
625 return stack_[currentStack_ - 1]; in PeekStack()
705 uintptr_t *stack_ = nullptr; variable
/arkcompiler/runtime_core/static_core/runtime/coroutines/
Dstackful_coroutine.cpp27 : stack_(stack), stackSizeBytes_(stackSizeBytes) in StackfulCoroutineContext()
36 fibers::UpdateContext(&context_, CoroThreadProc, this, stack_, stackSizeBytes_); in AttachToCoroutine()
45 stackAddr = stack_; in RetrieveStackInfo()
Dstackful_coroutine.h87 return stack_; in GetStackLoAddrPtr()
164 uint8_t *stack_ = nullptr; variable
/arkcompiler/runtime_core/static_core/runtime/regexp/ecmascript/
Dregexp_executor.cpp53 allocator->DeleteArray(stack_); in Execute()
55 stack_ = allocator->New<uintptr_t[]>(nStack_); in Execute()
56 if (memset_s(stack_, stackSize, 0, stackSize) != EOK) { in Execute()
272 if (stack_ != nullptr) { in PushRegExpState()
274 if (memcpy_s(stackStart, stackSize, stack_, stackSize) != EOK) { in PushRegExpState()
298 if (stack_ != nullptr) { in PopRegExpState()
300 if (memcpy_s(stack_, stackSize, stackStart, stackSize) != EOK) { in PopRegExpState()
Dregexp_executor.h60 allocator->DeleteArray(stack_); in ~RegExpExecutor()
432 stack_[currentStack_++] = val; in PushStack()
439 stack_[currentStack_ - 1] = val; in SetStackValue()
446 return stack_[--currentStack_]; in PopStack()
453 return stack_[currentStack_ - 1]; in PeekStack()
545 uintptr_t *stack_ = nullptr; variable
/arkcompiler/ets_runtime/ecmascript/compiler/
Dcircuit_builder_helper.h358 stack_.push(currentLabel_); in SubCfgEntry()
369 if (!stack_.empty()) { in SubCfgExit()
370 currentLabel_ = stack_.top(); in SubCfgExit()
373 stack_.pop(); in SubCfgExit()
390 std::stack<Label *> stack_; variable
/arkcompiler/ets_runtime/ecmascript/base/
Djson_stringifier.h74 CVector<JSHandle<JSTaggedValue>> stack_; variable
Dfast_json_stringifier.h133 CVector<JSHandle<JSTaggedValue>> stack_; variable
Djson_stringifier.cpp358 uint32_t thisLen = stack_.size(); in PushValue()
361 bool equal = JSTaggedValue::SameValue(stack_[i].GetTaggedValue(), value.GetTaggedValue()); in PushValue()
367 stack_.emplace_back(value); in PushValue()
373 stack_.pop_back(); in PopValue()
Dfast_json_stringifier.cpp196 uint32_t thisLen = stack_.size(); in PushValue()
199 bool equal = JSTaggedValue::SameValue(stack_[i].GetTaggedValue(), value.GetTaggedValue()); in PushValue()
205 stack_.emplace_back(value); in PushValue()
211 stack_.pop_back(); in PopValue()