| /arkcompiler/ets_runtime/ecmascript/regexp/ |
| D | regexp_executor.cpp | 40 uint32_t stackSize = sizeof(uintptr_t) * nStack_; in Execute() local 41 stateSize_ = sizeof(RegExpState) + captureResultSize + stackSize; in Execute() 51 if (stackSize != 0) { in Execute() 53 if (memset_s(stack_, stackSize, 0, stackSize) != EOK) { in Execute() 309 size_t stackSize = sizeof(uintptr_t) * nStack_; in PushRegExpState() local 310 if (memcpy_s(stackStart, stackSize, stack_, stackSize) != EOK) { in PushRegExpState() 335 size_t stackSize = sizeof(uintptr_t) * nStack_; in PopRegExpState() local 336 if (memcpy_s(stack_, stackSize, stackStart, stackSize) != EOK) { in PopRegExpState() 361 auto stackSize = stateStackSize_ * stateSize_; in ReAllocStack() local 362 if (memcpy_s(newStack, stackSize, stateStack_, stackSize) != EOK) { in ReAllocStack()
|
| /arkcompiler/runtime_core/static_core/platforms/unix/libpandabase/ |
| D | thread.cpp | 124 int ThreadGetStackInfo(NativeHandleType thread, void **stackAddr, size_t *stackSize, size_t *guardS… in ThreadGetStackInfo() argument 132 s += pthread_attr_getstack(&attr, stackAddr, stackSize); in ThreadGetStackInfo() 144 uintptr_t stackHiAddr = ToUintPtr(*stackAddr) + *stackSize; in ThreadGetStackInfo() 148 *stackSize = stackSizeLimit; in ThreadGetStackInfo() 156 s += pthread_attr_getstack(&attr, stackAddr, stackSize); in ThreadGetStackInfo()
|
| /arkcompiler/runtime_core/static_core/libllvmbackend/transforms/passes/inline_ir/ |
| D | patch_return_handler_stack_adjustment.cpp | 80 auto stackSize = frameInfo.getStackSize(); in runOnMachineFunction() local 81 if (stackSize == 0) { in runOnMachineFunction() 99 auto newStackSize = oldStackSize + stackSize; in runOnMachineFunction() 102 << inlineAsm << "' because llvm used " << stackSize in runOnMachineFunction()
|
| /arkcompiler/runtime_core/static_core/runtime/regexp/ecmascript/ |
| D | regexp_executor.cpp | 37 uint32_t stackSize = sizeof(uintptr_t) * nStack_; in Execute() local 38 stateSize_ = sizeof(RegExpState) + captureResultSize + stackSize; in Execute() 52 if (stackSize != 0) { in Execute() 56 if (memset_s(stack_, stackSize, 0, stackSize) != EOK) { in Execute() 273 size_t stackSize = sizeof(uintptr_t) * nStack_; in PushRegExpState() local 274 if (memcpy_s(stackStart, stackSize, stack_, stackSize) != EOK) { in PushRegExpState() 299 size_t stackSize = sizeof(uintptr_t) * nStack_; in PopRegExpState() local 300 if (memcpy_s(stack_, stackSize, stackStart, stackSize) != EOK) { in PopRegExpState() 324 size_t stackSize = stateStackSize_ * stateSize_; in ReAllocStack() local 325 if (memcpy_s(newStack, stackSize, stateStack_, stackSize) != EOK) { in ReAllocStack()
|
| /arkcompiler/runtime_core/static_core/runtime/tooling/sampler/ |
| D | sample_reader-inl.h | 84 … size_t stackSize = ReadUintptrTBitMisaligned(&buffer_[bufferCounter + SAMPLE_STACK_SIZE_OFFSET]); in SampleReader() local 85 if (stackSize > SampleInfo::StackInfo::MAX_STACK_DEPTH) { in SampleReader() 90 …size_t nextSamplePtrOffset = SAMPLE_STACK_OFFSET + stackSize * sizeof(SampleInfo::ManagedStackFram… in SampleReader()
|
| /arkcompiler/runtime_core/static_core/runtime/coroutines/ |
| D | coroutine.cpp | 122 bool Coroutine::RetrieveStackInfo(void *&stackAddr, size_t &stackSize, size_t &guardSize) in RetrieveStackInfo() argument 126 return context_->RetrieveStackInfo(stackAddr, stackSize, guardSize); in RetrieveStackInfo() 129 return ManagedThread::RetrieveStackInfo(stackAddr, stackSize, guardSize); in RetrieveStackInfo()
|
| D | stackful_coroutine.cpp | 43 bool StackfulCoroutineContext::RetrieveStackInfo(void *&stackAddr, size_t &stackSize, size_t &guard… in RetrieveStackInfo() argument 46 stackSize = stackSizeBytes_; in RetrieveStackInfo()
|
| D | coroutine_context.h | 60 virtual bool RetrieveStackInfo(void *&stackAddr, size_t &stackSize, size_t &guardSize) = 0;
|
| D | threaded_coroutine.cpp | 83 bool ThreadedCoroutineContext::RetrieveStackInfo(void *&stackAddr, size_t &stackSize, size_t &guard… in RetrieveStackInfo() argument 85 …int error = os::thread::ThreadGetStackInfo(GetCoroutineNativeHandle(), &stackAddr, &stackSize, &gu… in RetrieveStackInfo()
|
| D | threaded_coroutine.h | 51 bool RetrieveStackInfo(void *&stackAddr, size_t &stackSize, size_t &guardSize) override;
|
| D | stackful_coroutine.h | 58 bool RetrieveStackInfo(void *&stackAddr, size_t &stackSize, size_t &guardSize) override;
|
| D | coroutine.h | 134 bool RetrieveStackInfo(void *&stackAddr, size_t &stackSize, size_t &guardSize) override;
|
| /arkcompiler/runtime_core/static_core/libpandabase/mem/ |
| D | arena_allocator.cpp | 140 size_t stackSize = buff_.GetOccupiedSize(); in Resize() local 141 ASSERT(stackSize >= bytesToDelete); in Resize() 142 buff_.Resize(stackSize - bytesToDelete); in Resize()
|
| /arkcompiler/runtime_core/static_core/runtime/ |
| D | thread.cpp | 301 bool ManagedThread::RetrieveStackInfo(void *&stackAddr, size_t &stackSize, size_t &guardSize) in RetrieveStackInfo() argument 303 … os::thread::ThreadGetStackInfo(os::thread::GetNativeHandle(), &stackAddr, &stackSize, &guardSize); in RetrieveStackInfo() 314 size_t stackSize; in InitForStackOverflowCheck() local 321 if (!RetrieveStackInfo(stackBase, stackSize, guardSize)) { in InitForStackOverflowCheck() 327 if (stackSize <= nativeStackReservedSize + nativeStackProtectedSize + guardSize) { in InitForStackOverflowCheck() 329 << ", stack_size = " << stackSize << ", guard_size = " << guardSize; in InitForStackOverflowCheck() 332 …NTIME) << "InitForStackOverflowCheck: stack_base = " << stackBase << ", stack_size = " << stackSize in InitForStackOverflowCheck() 339 nativeStackSize_ = stackSize; in InitForStackOverflowCheck() 342 auto iframeStackSize = stackSize * 4; in InitForStackOverflowCheck()
|
| /arkcompiler/ets_runtime/ecmascript/stackmap/ |
| D | llvm_stackmap_type.h | 128 uint64_t stackSize; member 133 LOG_COMPILER(DEBUG) << " stackSize:0x" << std::hex << stackSize; in Print()
|
| /arkcompiler/runtime_core/static_core/libpandabase/os/ |
| D | thread.h | 147 …NDA_PUBLIC_API int ThreadGetStackInfo(NativeHandleType thread, void **stackAddr, size_t *stackSize,
|
| /arkcompiler/runtime_core/static_core/runtime/include/ |
| D | managed_thread.h | 605 virtual bool RetrieveStackInfo(void *&stackAddr, size_t &stackSize, size_t &guardSize);
|