Home
last modified time | relevance | path

Searched refs:stackSize (Results 1 - 21 of 21) sorted by relevance

/foundation/ai/ai_engine/services/common/platform/threadpool/source/
H A Daie_thread_unix.cpp54 attr.stackSize = THREAD_DEFAULT_STACK_SIZE; in InitThreadAttr()
60 attr.stackSize = size; in SetThreadAttrStackSize()
83 if (attr != nullptr && attr->stackSize > 0) { in CreateOneThread()
84 pthread_attr_setstacksize(&pthreadAttr, attr->stackSize); in CreateOneThread()
H A Dthread.cpp88 size_t stackSize = stackSize_; in StartThread() local
90 stackSize = worker_->GetStackSize(); in StartThread()
95 if ((stackSize >= THREAD_MIN_STACK_SIZE) && (stackSize < THREAD_MAX_STACK_SIZE)) { in StartThread()
97 (void)SetThreadAttrStackSize(attr, stackSize); in StartThread()
/foundation/resourceschedule/ffrt/src/eu/
H A Dworker_thread.cpp36 size_t stackSize = FFRTFacade::GetEUInstance().GetGroupCtl()[qos()].workerStackSize; in WorkerThread() local
37 if (stackSize > 0) { in WorkerThread()
38 pthread_attr_setstacksize(&attr_, stackSize); in WorkerThread()
H A Dco_routine.cpp276 static inline CoRoutine* AllocNewCoRoutine(size_t stackSize)
280 if (likely(stackSize == defaultStackSize)) {
281 co = ffrt::CoRoutineAllocMem(stackSize);
283 co = static_cast<CoRoutine*>(mmap(nullptr, stackSize,
294 co->allocatedSize = stackSize;
295 co->stkMem.size = static_cast<uint64_t>(stackSize - sizeof(CoRoutine) + 8);
/foundation/graphic/graphic_utils_lite/interfaces/innerkits/
H A Dgraphic_thread.h35 uint32_t stackSize; // size of stack member
51 pthread_attr_setstacksize(&threadAttr, attr->stackSize); in ThreadCreate()
/foundation/resourceschedule/ffrt/test/ut/testcase/
H A Dut_thread.cpp127 size_t stackSize = 0; in HWTEST_F() local
144 pthread_attr_getstacksize(&wt->attr_, &stackSize); in HWTEST_F()
145 EXPECT_EQ(stackSize, WORKER_STACK_SIZE); in HWTEST_F()
/foundation/systemabilitymgr/samgr_lite/samgr/source/
H A Dtask_manager.c62 taskPool->stackSize = config->stackSize; in SAMGR_CreateFixedTaskPool()
80 ThreadAttr attr = {name, pool->stackSize, pool->priority, 0, 0}; in SAMGR_StartTaskPool()
84 HILOG_ERROR(HILOG_MODULE_SAMGR, "Start Task<%s, %hu, %hhu> failed!", name, pool->stackSize, pool->priority); in SAMGR_StartTaskPool()
H A Dtask_manager.h40 uint16 stackSize; member
/foundation/ai/ai_engine/services/common/platform/threadpool/include/
H A Daie_thread_unix.h33 size_t stackSize; member
/foundation/systemabilitymgr/samgr_lite/samgr/adapter/cmsis/
H A Dthread_adapter.c53 osThreadAttr_t taskAttr = {attr->name, 0, NULL, 0, NULL, attr->stackSize, (osPriority_t)(attr->priority), 0, 0}; in THREAD_Create()
/foundation/systemabilitymgr/samgr_lite/samgr/adapter/
H A Dthread_adapter.h32 uint32 stackSize; // size of stack member
/foundation/systemabilitymgr/samgr_lite/interfaces/kits/samgr/
H A Dservice.h135 uint16 stackSize; member
/foundation/communication/dsoftbus/adapter/common/kernel/posix/
H A Dsoftbus_adapter_thread.c136 threadAttr->stackSize = 0; in SoftBusThreadAttrInit()
241 uint64_t stackSize = threadAttr->stackSize; in SoftBusConfTransPthreadAttr() local
242 if (stackSize != 0) { in SoftBusConfTransPthreadAttr()
243 ret = pthread_attr_setstacksize(attr, stackSize); in SoftBusConfTransPthreadAttr()
/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/navigation/
H A Dnavigation_manager.cpp160 auto stackSize = stackInfo->GetArraySize(); in StorageNavigationRecoveryInfo() local
161 for (int32_t j = 0; j < stackSize; ++ j) { in StorageNavigationRecoveryInfo()
/foundation/systemabilitymgr/samgr_lite/samgr/adapter/posix/
H A Dthread_adapter.c72 pthread_attr_setstacksize(&threadAttr, (attr->stackSize | MIN_STACK_SIZE)); in THREAD_Create()
/foundation/communication/dsoftbus/adapter/common/include/
H A Dsoftbus_adapter_thread.h55 uint64_t stackSize; member
/foundation/graphic/graphic_utils_lite/frameworks/diagram/rasterizer/
H A Drasterizer_cells_antialias.cpp552 const int32_t stackSize = 80; in QsortCells() local
553 CellBuildAntiAlias** stack[stackSize]; in QsortCells()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ng/
H A Dpage_router_manager.cpp597 auto stackSize = static_cast<int32_t>(pageRouterStack_.size() + restorePageStack_.size()); in GetStackSize() local
599 stackSize--; in GetStackSize()
601 return stackSize; in GetStackSize()
995 int32_t stackSize = stackInfo->GetArraySize(); in RestoreRouterStack() local
996 if (stackSize < 1) { in RestoreRouterStack()
1012 for (int32_t index = 0; index < stackSize; ++index) { in RestoreRouterStack()
1030 if (index < stackSize - 1) { in RestoreRouterStack()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/
H A Ddeclarative_frontend.cpp1114 int32_t stackSize = delegate_->GetStackSize(); in Initialize() local
1115 DumpLog::GetInstance().Print(0, "Router stack size " + std::to_string(stackSize)); in Initialize()
1116 for (int32_t i = 1; i <= stackSize; ++i) { in Initialize()
1123 if (i != stackSize) { in Initialize()
H A Dfrontend_delegate_declarative.cpp3286 int32_t stackSize = routerStack->GetArraySize(); in RestoreRouterStack() local
3287 if (stackSize < 1) { in RestoreRouterStack()
3288 LOGW("restore stack size: %{public}d is invalid", stackSize); in RestoreRouterStack()
3291 for (int32_t index = 0; index < stackSize - 1; ++index) { in RestoreRouterStack()
3296 std::string startUrl = routerStack->GetArrayItem(stackSize - 1)->ToString(); in RestoreRouterStack()
/foundation/communication/dsoftbus/core/common/message_handler/
H A Dmessage_handler.c212 threadAttr.stackSize = MAINLOOP_STACK_SIZE; in StartNewLooperThread()

Completed in 19 milliseconds