Home
last modified time | relevance | path

Searched refs:stacksize (Results 1 – 25 of 54) sorted by relevance

123

/third_party/musl/libc-test/src/functionalext/supplement/thread/
Dpthread_attr_getstack.c33 size_t stacksize; in pthread_attr_getstack_0100() local
34 int32_t ret = pthread_attr_getstack(&attr, &stack, &stacksize); in pthread_attr_getstack_0100()
52 size_t stacksize; in pthread_attr_getstack_0200() local
54 int32_t ret = pthread_attr_getstack(&attr, &retstack, &stacksize); in pthread_attr_getstack_0200()
57 EXPECT_EQ("pthread_attr_getstack_0200", stacksize, STACK_SIZE); in pthread_attr_getstack_0200()
Dpthread_getattr_np.c42 size_t stacksize; in pthread_getattr_np_0100() local
43 pthread_attr_getstack(&attr, &stack, &stacksize); in pthread_getattr_np_0100()
/third_party/flutter/skia/third_party/externals/sdl/src/thread/
DSDL_thread.c310 const char *name, const size_t stacksize, void *data, in SDL_CreateThreadWithStackSize() argument
316 const char *name, const size_t stacksize, void *data) in SDL_CreateThreadWithStackSize()
366 thread->stacksize = stacksize; in SDL_CreateThreadWithStackSize()
406 size_t stacksize = 0; in SDL_CreateThread() local
414 stacksize = (size_t) hintval; in SDL_CreateThread()
420 return SDL_CreateThreadWithStackSize(fn, name, stacksize, data, pfnBeginThread, pfnEndThread); in SDL_CreateThread()
422 return SDL_CreateThreadWithStackSize(fn, name, stacksize, data); in SDL_CreateThread()
428 const size_t stacksize, void *data) { in SDL_CreateThreadInternal() argument
430 return SDL_CreateThreadWithStackSize(fn, name, stacksize, data, NULL, NULL); in SDL_CreateThreadInternal()
432 return SDL_CreateThreadWithStackSize(fn, name, stacksize, data); in SDL_CreateThreadInternal()
DSDL_systhread.h66 const size_t stacksize, void *data);
DSDL_thread_c.h62 size_t stacksize; /* 0 for default, >0 for user-specified stack size. */ member
/third_party/skia/third_party/externals/dng_sdk/source/
Ddng_pthread.cpp250 size_t stacksize; member
263 newAttrs->stacksize = 0; in dng_pthread_attr_init()
286 int dng_pthread_attr_setstacksize(dng_pthread_attr_t *attr, size_t stacksize) in dng_pthread_attr_setstacksize() argument
291 (*attr)->stacksize = stacksize; in dng_pthread_attr_setstacksize()
298 int dng_pthread_attr_getstacksize(const dng_pthread_attr_t *attr, size_t *stacksize) in dng_pthread_attr_getstacksize() argument
300 if (attr == NULL || (*attr) == NULL || stacksize == NULL) in dng_pthread_attr_getstacksize()
303 *stacksize = (*attr)->stacksize; in dng_pthread_attr_getstacksize()
325 size_t stacksize = 0; in dng_pthread_create() local
328 dng_pthread_attr_getstacksize (attrs, &stacksize); in dng_pthread_create()
333 result = _beginthreadex(NULL, (unsigned)stacksize, trampoline, args.get(), 0, &threadID); in dng_pthread_create()
Ddng_pthread.h93 int dng_pthread_attr_setstacksize(dng_pthread_attr_t *attr, size_t stacksize);
94 int dng_pthread_attr_getstacksize(const dng_pthread_attr_t *attr, size_t *stacksize);
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/
D1-5.c103 long stacksize = sysconf(_SC_THREAD_STACK_MIN); /* make sure we touch the current stack memory */ in overflow() local
125 if (((long)&current) - ((long)arg) >= stacksize) { in overflow()
133 if (((long)arg) - ((long)&current) >= stacksize) { in overflow()
D3-2.c113 long stacksize = sysconf(_SC_THREAD_STACK_MIN); /* make sure we touch the current stack memory */ in overflow() local
148 if (((long)&current) - ((long)arg) >= stacksize) { in overflow()
156 if (((long)arg) - ((long)&current) >= stacksize) { in overflow()
/third_party/python/Objects/clinic/
Dcodeobject.c.h15 int kwonlyargcount, int nlocals, int stacksize, int flags,
29 int stacksize; in code_new() local
65 stacksize = _PyLong_AsInt(PyTuple_GET_ITEM(args, 4)); in code_new()
66 if (stacksize == -1 && PyErr_Occurred()) { in code_new()
135 …code_new_impl(type, argcount, posonlyargcount, kwonlyargcount, nlocals, stacksize, flags, code, co… in code_new()
/third_party/flutter/skia/third_party/externals/sdl/src/thread/windows/
DSDL_systhread.c129 const DWORD flags = thread->stacksize ? STACK_SIZE_PARAM_IS_A_RESERVATION : 0;
142 ((size_t) pfnBeginThread(NULL, (unsigned int) thread->stacksize,
147 thread->handle = CreateThread(NULL, thread->stacksize,
/third_party/flutter/skia/third_party/externals/sdl/src/thread/psp/
DSDL_systhread.c56 priority, thread->stacksize ? ((int) thread->stacksize) : 0x8000, in SDL_SYS_CreateThread()
/third_party/pcre2/pcre2/src/
Dpcre2_jit_compile.c289 int stacksize; member
10286 int stacksize; in match_once_common() local
10294 stacksize = needs_control_head ? 1 : 0; in match_once_common()
10296 stacksize++; in match_once_common()
10298 if (stacksize > 0) in match_once_common()
10299 free_stack(common, stacksize); in match_once_common()
10316 stacksize = (ket != OP_KET || has_alternatives) ? 2 : 1; in match_once_common()
10317 …TOP, 0, SLJIT_MEM1(SLJIT_SP), private_data_ptr, SLJIT_IMM, (framesize + stacksize) * sizeof(sljit_… in match_once_common()
10331 static SLJIT_INLINE int match_capture_common(compiler_common *common, int stacksize, int offset, in… in match_capture_common() argument
10339 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(stacksize), TMP1, 0); in match_capture_common()
[all …]
/third_party/ltp/testcases/kernel/sched/pthreads/
Dpth_str02.c115 size_t stacksize = 1046528; in thread() local
125 if (pthread_attr_setstacksize(&attr, stacksize)) in thread()
/third_party/flutter/skia/third_party/externals/sdl/src/thread/pthread/
DSDL_systhread.c110 if (thread->stacksize) { in SDL_SYS_CreateThread()
111 pthread_attr_setstacksize(&type, (size_t) thread->stacksize); in SDL_SYS_CreateThread()
/third_party/python/Objects/
Dcodeobject.c118 int nlocals, int stacksize, int flags, in PyCode_NewWithPosOnlyArgs() argument
131 stacksize < 0 || flags < 0 || in PyCode_NewWithPosOnlyArgs()
241 co->co_stacksize = stacksize; in PyCode_NewWithPosOnlyArgs()
276 int nlocals, int stacksize, int flags, in PyCode_New() argument
283 stacksize, flags, code, consts, names, in PyCode_New()
550 int kwonlyargcount, int nlocals, int stacksize, int flags, in code_new_impl() argument
565 kwonlyargcount, nlocals, stacksize, flags) < 0) { in code_new_impl()
617 nlocals, stacksize, flags, in code_new_impl()
/third_party/python/Doc/c-api/
Dcode.rst36 …deObject* PyCode_New(int argcount, int kwonlyargcount, int nlocals, int stacksize, int flags, PyOb…
43 …int argcount, int posonlyargcount, int kwonlyargcount, int nlocals, int stacksize, int flags, PyOb…
/third_party/ltp/include/
Dtst_clone.h42 void *arg, size_t stacksize);
/third_party/ltp/testcases/misc/math/float/
Dmain.c110 size_t stacksize = 2093056; in main() local
220 if (pthread_attr_setstacksize(&newattr, stacksize)) in main()
/third_party/musl/porting/liteos_a_newlib/kernel/include/sys/
D_pthreadtypes.h66 size_t stacksize; member
/third_party/python/Python/
Dthread_pthread.h274 size_t stacksize = tstate ? tstate->interp->pythread_stacksize : 0; in PyThread_start_new_thread() local
275 tss = (stacksize != 0) ? stacksize : THREAD_STACK_SIZE; in PyThread_start_new_thread()
Dthread_nt.h205 size_t stacksize = tstate ? tstate->interp->pythread_stacksize : 0; in PyThread_start_new_thread() local
207 Py_SAFE_DOWNCAST(stacksize, Py_ssize_t, unsigned int), in PyThread_start_new_thread()
/third_party/lwip/test/unit/arch/
Dsys_arch.c197 sys_thread_new(const char *name, lwip_thread_fn function, void *arg, int stacksize, int prio) in sys_thread_new() argument
202 LWIP_UNUSED_ARG(stacksize); in sys_thread_new()
/third_party/gstreamer/gstplugins_bad/gst/dvbsubenc/libimagequant/
Dpam.c45 const unsigned int stacksize = in pam_computeacolorhash() local
137 if (freestackp < stacksize - 1) { in pam_computeacolorhash()
/third_party/lwip/src/include/lwip/
Dsys.h420 sys_thread_t sys_thread_new(const char *name, lwip_thread_fn thread, void *arg, int stacksize, int …

123