/foundation/ai/ai_engine/services/common/platform/threadpool/source/ |
H A D | aie_thread_unix.cpp | 54 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 D | thread.cpp | 88 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 D | worker_thread.cpp | 36 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 D | co_routine.cpp | 276 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 D | graphic_thread.h | 35 uint32_t stackSize; // size of stack member 51 pthread_attr_setstacksize(&threadAttr, attr->stackSize); in ThreadCreate()
|
/foundation/resourceschedule/ffrt/test/ut/testcase/ |
H A D | ut_thread.cpp | 127 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 D | task_manager.c | 62 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 D | task_manager.h | 40 uint16 stackSize;
member
|
/foundation/ai/ai_engine/services/common/platform/threadpool/include/ |
H A D | aie_thread_unix.h | 33 size_t stackSize; member
|
/foundation/systemabilitymgr/samgr_lite/samgr/adapter/cmsis/ |
H A D | thread_adapter.c | 53 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 D | thread_adapter.h | 32 uint32 stackSize; // size of stack
member
|
/foundation/systemabilitymgr/samgr_lite/interfaces/kits/samgr/ |
H A D | service.h | 135 uint16 stackSize; member
|
/foundation/communication/dsoftbus/adapter/common/kernel/posix/ |
H A D | softbus_adapter_thread.c | 136 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 D | navigation_manager.cpp | 160 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 D | thread_adapter.c | 72 pthread_attr_setstacksize(&threadAttr, (attr->stackSize | MIN_STACK_SIZE));
in THREAD_Create()
|
/foundation/communication/dsoftbus/adapter/common/include/ |
H A D | softbus_adapter_thread.h | 55 uint64_t stackSize; member
|
/foundation/graphic/graphic_utils_lite/frameworks/diagram/rasterizer/ |
H A D | rasterizer_cells_antialias.cpp | 552 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 D | page_router_manager.cpp | 597 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 D | declarative_frontend.cpp | 1114 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 D | frontend_delegate_declarative.cpp | 3286 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 D | message_handler.c | 212 threadAttr.stackSize = MAINLOOP_STACK_SIZE; in StartNewLooperThread()
|