/ohos5.0/base/security/device_auth/deps_adapter/os_adapter/impl/src/linux/ |
H A D | hc_thread.c | 39 thread->stackSize, StringGet(&thread->name)); in StaticThreadFunc() 69 if (thread->stackSize > 0 && thread->stackSize <= MAX_THREAD_STACK_SIZE) { in Start() 70 pthread_attr_setstacksize(&attr, thread->stackSize); in Start() 113 int32_t InitThread(HcThread *thread, ThreadFunc func, size_t stackSize, const char *threadName) in InitThread() argument 124 thread->stackSize = stackSize; in InitThread()
|
/ohos5.0/drivers/hdf_core/framework/support/posix/src/ |
H A D | osal_thread.c | 162 size_t stackSize = param->stackSize; in OsalThreadStart() local 163 if (stackSize > 0) { in OsalThreadStart() 164 stackSize = (stackSize < OSAL_PTHREAD_STACK_MIN) ? OSAL_PTHREAD_STACK_MIN : stackSize; in OsalThreadStart() 165 resultCode = pthread_attr_setstacksize(&attribute, stackSize); in OsalThreadStart()
|
/ohos5.0/base/security/device_auth/deps_adapter/os_adapter/impl/src/liteos/ |
H A D | hc_thread.c | 62 if (thread->stackSize > 0 && thread->stackSize <= MAX_THREAD_STACK_SIZE) { in Start() 63 pthread_attr_setstacksize(&attr, thread->stackSize); in Start() 112 int32_t InitThread(HcThread *thread, ThreadFunc func, size_t stackSize, const char *threadName) in InitThread() argument 123 thread->stackSize = stackSize; in InitThread()
|
/ohos5.0/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()
|
/ohos5.0/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 | 267 static inline CoRoutine* AllocNewCoRoutine(size_t stackSize) in AllocNewCoRoutine() argument 271 if (likely(stackSize == defaultStackSize)) { in AllocNewCoRoutine() 272 co = ffrt::CoRoutineAllocMem(stackSize); in AllocNewCoRoutine() 274 co = static_cast<CoRoutine*>(mmap(nullptr, stackSize, in AllocNewCoRoutine() 285 co->allocatedSize = stackSize; in AllocNewCoRoutine() 286 co->stkMem.size = static_cast<uint64_t>(stackSize - sizeof(CoRoutine) + 8); in AllocNewCoRoutine()
|
/ohos5.0/foundation/resourceschedule/ffrt/test/ut/testcase/ |
H A D | ut_thread.cpp | 122 size_t stackSize = 0; variable 139 pthread_attr_getstacksize(&wt->attr_, &stackSize); 140 EXPECT_EQ(stackSize, 131072); // 蓝区stack size
|
/ohos5.0/base/security/device_auth/deps_adapter/os_adapter/interfaces/liteos/ |
H A D | hc_thread.h | 33 size_t stackSize; member 41 int32_t InitThread(HcThread* thread, ThreadFunc func, size_t stackSize, const char* threadName);
|
/ohos5.0/base/security/device_auth/deps_adapter/os_adapter/interfaces/ |
H A D | hc_thread.h | 37 size_t stackSize; member 45 int32_t InitThread(HcThread* thread, ThreadFunc func, size_t stackSize, const char* threadName);
|
H A D | hc_task_thread.h | 48 int32_t InitHcTaskThread(HcTaskThread* thread, size_t stackSize, const char* threadName);
|
/ohos5.0/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 …OR(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
|
/ohos5.0/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()
|
/ohos5.0/commonlibrary/c_utils/base/src/ |
H A D | thread_ex.cpp | 58 bool CreatePThread(ThreadParam& para, size_t stackSize, pthread_t *threadId) in CreatePThread() argument 76 if (stackSize) { in CreatePThread() 77 pthread_attr_setstacksize(&attr, stackSize); in CreatePThread()
|
/ohos5.0/drivers/hdf_core/adapter/khdf/uniproton/osal/src/ |
H A D | osal_thread.c | 116 if (param->stackSize != 0) { in OsalThreadStart() 117 stTskInitParam.stackSize = param->stackSize; in OsalThreadStart()
|
/ohos5.0/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()
|
/ohos5.0/base/security/device_auth/deps_adapter/os_adapter/impl/src/ |
H A D | hc_task_thread.c | 121 int32_t InitHcTaskThread(HcTaskThread* thread, size_t stackSize, const char* threadName) in InitHcTaskThread() argument 131 int32_t res = InitThread(&thread->thread, TaskThreadLoop, stackSize, threadName); in InitHcTaskThread()
|
/ohos5.0/drivers/hdf_core/adapter/khdf/liteos/osal/src/ |
H A D | osal_thread.c | 117 if (param->stackSize != 0) { in OsalThreadStart() 118 stTskInitParam.uwStackSize = param->stackSize; in OsalThreadStart()
|
/ohos5.0/drivers/hdf_core/adapter/khdf/liteos_m/osal/src/ |
H A D | osal_thread.c | 116 if (param->stackSize != 0) { in OsalThreadStart() 117 stTskInitParam.uwStackSize = param->stackSize; in OsalThreadStart()
|
/ohos5.0/foundation/systemabilitymgr/samgr_lite/samgr/adapter/ |
H A D | thread_adapter.h | 32 uint32 stackSize; // size of stack member
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/navigation/ |
H A D | navigation_manager.cpp | 166 auto stackSize = stackInfo->GetArraySize(); in StorageNavigationRecoveryInfo() local 167 for (int32_t j = 0; j < stackSize; ++ j) { in StorageNavigationRecoveryInfo()
|
/ohos5.0/foundation/ai/ai_engine/services/common/platform/threadpool/include/ |
H A D | aie_thread_unix.h | 33 size_t stackSize; member
|
/ohos5.0/drivers/hdf_core/interfaces/inner_api/osal/shared/ |
H A D | osal_thread.h | 64 …size_t stackSize; /**< Thread stack size, which may cause thread stack overflow if it is too small… member
|
/ohos5.0/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->pri… in THREAD_Create()
|