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/
H A Dreg_alloc_verifier.h194 ASSERT(slot < stack_.size());
195 return stack_[slot];
199 ASSERT(slot < stack_.size());
200 return stack_[slot];
234 ArenaVector<LocationState> stack_;
H A 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/runtime_core/static_core/runtime/tests/
H A Dfibers_test.cpp60 stack_ = new uint8_t[STACK_SIZE]; in Fiber()
63 fibers::UpdateContext(&ctx_, entry, this, stack_, STACK_SIZE); in Fiber()
69 delete[] stack_; in ~Fiber()
95 uint8_t *stack_ = nullptr; member in ark::fibers::test::final
/arkcompiler/ets_runtime/ecmascript/mem/
H A Dwork_manager.h60 explicit WorkNode(Stack *stack) : next_(nullptr), stack_(stack) {} in WorkNode()
68 return stack_->PushBackChecked(obj); in PushObject()
76 *obj = stack_->PopBackUnchecked(); in PopObject()
82 return stack_->IsEmpty(); in IsEmpty()
97 Stack *stack_; member in panda::ecmascript::WorkNode
/arkcompiler/ets_runtime/ecmascript/regexp/
H A Dregexp_executor.cpp47 if (stackSize != 0 && stack_ == nullptr) { in Execute()
48 stack_ = chunk_->NewArray<uintptr_t>(nStack_); in Execute()
49 if (memset_s(stack_, stackSize, 0, stackSize) != EOK) { in Execute()
186 PushRegExpState(StateType::STATE_POP, 0, stack_[currentStack_ - 1]); in ExecuteInternal()
204 PushRegExpState(StateType::STATE_POP, 0, stack_[currentStack_ - 1]); in ExecuteInternal()
H A Dregexp_executor.h649 stack_[currentStack_++] = val; in PushStack()
656 stack_[currentStack_ - 1] = val;
663 return stack_[--currentStack_]; in PopStack()
670 return stack_[currentStack_ - 1]; in PeekStack()
755 uintptr_t *stack_ = nullptr; member in panda::ecmascript::RegExpExecutor
/arkcompiler/runtime_core/static_core/runtime/include/
H A Dthread.h89 LockedObjectInfo(ObjectHeader *obj, void *fp) : object_(obj), stack_(fp) {} in LockedObjectInfo()
102 return stack_; in GetStack()
107 stack_ = stackNew; in SetStack()
117 return MEMBER_OFFSET(LockedObjectInfo, stack_); in GetStackOffset()
122 void *stack_; member in ark::LockedObjectInfo
/arkcompiler/runtime_core/static_core/runtime/coroutines/
H A Dstackful_coroutine.cpp27 : stack_(stack), stackSizeBytes_(stackSizeBytes) in StackfulCoroutineContext()
36 fibers::UpdateContext(&context_, CoroThreadProc, this, stack_, stackSizeBytes_); in AttachToCoroutine()
45 stackAddr = stack_; in RetrieveStackInfo()
H A Dstackful_coroutine.h88 return stack_; in GetStackLoAddrPtr()
176 uint8_t *stack_ = nullptr; member in ark::StackfulCoroutineContext
/arkcompiler/runtime_core/static_core/runtime/regexp/ecmascript/
H A 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()
274 if (stack_ != nullptr) { in PushRegExpState()
276 if (memcpy_s(stackStart, stackSize, stack_, stackSize) != EOK) { in PushRegExpState()
300 if (stack_ != nullptr) { in PopRegExpState()
302 if (memcpy_s(stack_, stackSize, stackStart, stackSize) != EOK) { in PopRegExpState()
H A Dregexp_executor.h61 allocator->DeleteArray(stack_); in ~RegExpExecutor()
431 stack_[currentStack_++] = val;
438 stack_[currentStack_ - 1] = val;
445 return stack_[--currentStack_];
452 return stack_[currentStack_ - 1];
544 uintptr_t *stack_ = nullptr;
/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dcircuit_builder_helper.h354 stack_.push(currentLabel_); in SubCfgEntry()
365 if (!stack_.empty()) { in SubCfgExit()
366 currentLabel_ = stack_.top(); in SubCfgExit()
369 stack_.pop(); in SubCfgExit()
386 std::stack<Label *> stack_; member in panda::panda::ecmascript::kungfu::Environment
/arkcompiler/ets_runtime/ecmascript/base/
H A Djson_stringifier.h75 CVector<JSHandle<JSTaggedValue>> stack_; member in panda::ecmascript::base::JsonStringifier
H A Djson_stringifier.cpp225 if (stack_.size() <= 0) { in SerializeHolder()
377 uint32_t thisLen = stack_.size(); in PushValue()
380 bool equal = JSTaggedValue::SameValue(stack_[i].GetTaggedValue(), value.GetTaggedValue()); in PushValue()
386 stack_.emplace_back(value); in PushValue()
392 stack_.pop_back(); in PopValue()
H A Dfast_json_stringifier.h154 CVector<JSHandle<JSTaggedValue>> stack_; member in panda::ecmascript::base::FastJsonStringifier
H A Dfast_json_stringifier.cpp183 uint32_t thisLen = stack_.size(); in PushValue()
186 bool equal = JSTaggedValue::SameValue(stack_[i].GetTaggedValue(), value.GetTaggedValue()); in PushValue()
192 stack_.emplace_back(value); in PushValue()
198 stack_.pop_back(); in PopValue()

Completed in 14 milliseconds