Home
last modified time | relevance | path

Searched refs:attrp (Results 1 – 8 of 8) sorted by relevance

/third_party/musl/src/thread/
Dpthread_setattr_default_np.c8 int pthread_setattr_default_np(const pthread_attr_t *attrp) in pthread_setattr_default_np() argument
11 pthread_attr_t tmp = *attrp, zero = { 0 }; in pthread_setattr_default_np()
17 unsigned stack = MIN(attrp->_a_stacksize, DEFAULT_STACK_MAX); in pthread_setattr_default_np()
18 unsigned guard = MIN(attrp->_a_guardsize, DEFAULT_GUARD_MAX); in pthread_setattr_default_np()
28 int pthread_getattr_default_np(pthread_attr_t *attrp) in pthread_getattr_default_np() argument
31 *attrp = (pthread_attr_t) { in pthread_getattr_default_np()
Dpthread_create.c231 int __pthread_create(pthread_t *restrict res, const pthread_attr_t *restrict attrp, void *(*entry)(… in __pthread_create() argument
233 int ret, c11 = (attrp == __ATTRP_C11_THREAD); in __pthread_create()
257 if (attrp && !c11) attr = *attrp; in __pthread_create()
260 if (!attrp || c11) { in __pthread_create()
/third_party/musl/porting/liteos_m/user/src/thread/
Dpthread_create.c63 _LIBC_TEXT_SECTION static int __pthread_init_and_check_attr(const pthread_attr_t *restrict attrp, p… in __pthread_init_and_check_attr() argument
67 int c11 = (attrp == __ATTRP_C11_THREAD); in __pthread_init_and_check_attr()
70 if (attrp && !c11) memcpy(attr, attrp, sizeof(pthread_attr_t)); in __pthread_init_and_check_attr()
72 if (!attrp || c11) { in __pthread_init_and_check_attr()
115 … __pthread_create(pthread_t *restrict res, const pthread_attr_t *restrict attrp, void *(*entry)(vo… in __pthread_create() argument
117 int ret, c11 = (attrp == __ATTRP_C11_THREAD); in __pthread_create()
126 ret = __pthread_init_and_check_attr(attrp, &attr); in __pthread_create()
/third_party/musl/porting/liteos_a/user/src/thread/
Dpthread_create.c206 int __pthread_init_and_check_attr(const pthread_attr_t *restrict attrp, pthread_attr_t *attr) in __pthread_init_and_check_attr() argument
210 int c11 = (attrp == __ATTRP_C11_THREAD); in __pthread_init_and_check_attr()
213 if (attrp && !c11) memcpy(attr, attrp, sizeof(pthread_attr_t)); in __pthread_init_and_check_attr()
215 if (!attrp || c11) { in __pthread_init_and_check_attr()
237 int __pthread_create(pthread_t *restrict res, const pthread_attr_t *restrict attrp, void *(*entry)(… in __pthread_create() argument
239 int ret, c11 = (attrp == __ATTRP_C11_THREAD); in __pthread_create()
254 ret = __pthread_init_and_check_attr(attrp, &attr); in __pthread_create()
/third_party/musl/porting/linux/user/src/thread/
Dpthread_create.c309 int __pthread_create(pthread_t *restrict res, const pthread_attr_t *restrict attrp, void *(*entry)(… in __pthread_create() argument
311 int ret, c11 = (attrp == __ATTRP_C11_THREAD); in __pthread_create()
335 if (attrp && !c11) attr = *attrp; in __pthread_create()
338 if (!attrp || c11) { in __pthread_create()
/third_party/python/Modules/
Dposixmodule.c5884 posix_spawnattr_t *attrp) in parse_posix_spawn_flags() argument
5888 errno = posix_spawnattr_init(attrp); in parse_posix_spawn_flags()
5899 errno = posix_spawnattr_setpgroup(attrp, pgid); in parse_posix_spawn_flags()
5939 errno = posix_spawnattr_setsigmask(attrp, &set); in parse_posix_spawn_flags()
5952 errno = posix_spawnattr_setsigdefault(attrp, &set); in parse_posix_spawn_flags()
5987 errno = posix_spawnattr_setschedpolicy(attrp, schedpolicy); in parse_posix_spawn_flags()
5994 errno = posix_spawnattr_setschedparam(attrp, &schedparam); in parse_posix_spawn_flags()
6007 errno = posix_spawnattr_setflags(attrp, all_flags); in parse_posix_spawn_flags()
6016 (void)posix_spawnattr_destroy(attrp); in parse_posix_spawn_flags()
6144 posix_spawnattr_t *attrp = NULL; in py_posix_spawn() local
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/Unix/
DProgram.inc244 /*attrp*/nullptr, const_cast<char **>(args),
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Unix/
DProgram.inc255 /*attrp*/ nullptr, const_cast<char **>(Argv),