Home
last modified time | relevance | path

Searched refs:pthread_attr_t (Results 1 – 25 of 305) sorted by relevance

12345678910>>...13

/third_party/musl/porting/liteos_m/user/include/
Dusr_lib.h2 USR_LIBC_FUNC_DEF(int, pthread_attr_init, pthread_attr_t *attr)
3 USR_LIBC_FUNC_DEF(int, pthread_attr_destroy, pthread_attr_t *attr)
4 USR_LIBC_FUNC_DEF(int, pthread_attr_setdetachstate, pthread_attr_t *attr, int detachState)
5 USR_LIBC_FUNC_DEF(int, pthread_attr_getdetachstate, const pthread_attr_t *attr, int *detachState)
6 USR_LIBC_FUNC_DEF(int, pthread_attr_setscope, pthread_attr_t *attr, int scope)
7 USR_LIBC_FUNC_DEF(int, pthread_attr_getscope, const pthread_attr_t *attr, int *scope)
8 USR_LIBC_FUNC_DEF(int, pthread_attr_setinheritsched, pthread_attr_t *attr, int inherit)
9 USR_LIBC_FUNC_DEF(int, pthread_attr_getinheritsched, const pthread_attr_t *attr, int *inherit)
10 USR_LIBC_FUNC_DEF(int, pthread_attr_setschedpolicy, pthread_attr_t *attr, int policy)
11 USR_LIBC_FUNC_DEF(int, pthread_attr_getschedpolicy, const pthread_attr_t *attr, int *policy)
[all …]
Dpthread.h77 int pthread_create(pthread_t *__restrict, const pthread_attr_t *__restrict, void *(*)(void *), void…
146 int pthread_attr_init(pthread_attr_t *);
147 int pthread_attr_destroy(pthread_attr_t *);
149 int pthread_attr_getguardsize(const pthread_attr_t *__restrict, size_t *__restrict);
150 int pthread_attr_setguardsize(pthread_attr_t *, size_t);
151 int pthread_attr_getstacksize(const pthread_attr_t *__restrict, size_t *__restrict);
152 int pthread_attr_setstacksize(pthread_attr_t *, size_t);
153 int pthread_attr_getdetachstate(const pthread_attr_t *, int *);
154 int pthread_attr_setdetachstate(pthread_attr_t *, int);
155 int pthread_attr_getstack(const pthread_attr_t *__restrict, void **__restrict, size_t *__restrict);
[all …]
Dusr_lib_ops.h40 int (*pthread_attr_init)(pthread_attr_t *attr);
41 int (*pthread_attr_destroy)(pthread_attr_t *attr);
42 int (*pthread_attr_setdetachstate)(pthread_attr_t *attr, int detachState);
43 int (*pthread_attr_getdetachstate)(const pthread_attr_t *attr, int *detachState);
44 int (*pthread_attr_setscope)(pthread_attr_t *attr, int scope);
45 int (*pthread_attr_getscope)(const pthread_attr_t *attr, int *scope);
46 int (*pthread_attr_setinheritsched)(pthread_attr_t *attr, int inherit);
47 int (*pthread_attr_getinheritsched)(const pthread_attr_t *attr, int *inherit);
48 int (*pthread_attr_setschedpolicy)(pthread_attr_t *attr, int policy);
49 int (*pthread_attr_getschedpolicy)(const pthread_attr_t *attr, int *policy);
[all …]
/third_party/musl/porting/liteos_a/kernel/include/
Dpthread.h151 int pthread_create(pthread_t *__restrict, const pthread_attr_t *__restrict, void *(*)(void *), void…
197 int pthread_attr_init(pthread_attr_t *);
198 int pthread_attr_destroy(pthread_attr_t *);
200 int pthread_attr_getguardsize(const pthread_attr_t *__restrict, size_t *__restrict);
201 int pthread_attr_setguardsize(pthread_attr_t *, size_t);
202 int pthread_attr_getstacksize(const pthread_attr_t *__restrict, size_t *__restrict);
203 int pthread_attr_setstacksize(pthread_attr_t *, size_t);
204 int pthread_attr_getdetachstate(const pthread_attr_t *, int *);
205 int pthread_attr_setdetachstate(pthread_attr_t *, int);
206 int pthread_attr_getstack(const pthread_attr_t *__restrict, void **__restrict, size_t *__restrict);
[all …]
/third_party/musl/include/
Dpthread.h80 int pthread_create(pthread_t *__restrict, const pthread_attr_t *__restrict, void *(*)(void *), void…
149 int pthread_attr_init(pthread_attr_t *);
150 int pthread_attr_destroy(pthread_attr_t *);
152 int pthread_attr_getguardsize(const pthread_attr_t *__restrict, size_t *__restrict);
153 int pthread_attr_setguardsize(pthread_attr_t *, size_t);
154 int pthread_attr_getstacksize(const pthread_attr_t *__restrict, size_t *__restrict);
155 int pthread_attr_setstacksize(pthread_attr_t *, size_t);
156 int pthread_attr_getdetachstate(const pthread_attr_t *, int *);
157 int pthread_attr_setdetachstate(pthread_attr_t *, int);
158 int pthread_attr_getstack(const pthread_attr_t *__restrict, void **__restrict, size_t *__restrict);
[all …]
/third_party/musl/porting/uniproton/kernel/include/
Dpthread.h87 int pthread_create(pthread_t *__restrict, const pthread_attr_t *__restrict, void *(*)(void *), void…
153 int pthread_attr_init(pthread_attr_t *);
154 int pthread_attr_destroy(pthread_attr_t *);
156 int pthread_attr_getguardsize(const pthread_attr_t *__restrict, size_t *__restrict);
157 int pthread_attr_setguardsize(pthread_attr_t *, size_t);
158 int pthread_attr_getstacksize(const pthread_attr_t *__restrict, size_t *__restrict);
159 int pthread_attr_setstacksize(pthread_attr_t *, size_t);
160 int pthread_attr_getdetachstate(const pthread_attr_t *, int *);
161 int pthread_attr_setdetachstate(pthread_attr_t *, int);
162 int pthread_attr_getstack(const pthread_attr_t *__restrict, void **__restrict, size_t *__restrict);
[all …]
/third_party/musl/porting/liteos_m/kernel/include/
Dpthread.h87 int pthread_create(pthread_t *__restrict, const pthread_attr_t *__restrict, void *(*)(void *), void…
153 int pthread_attr_init(pthread_attr_t *);
154 int pthread_attr_destroy(pthread_attr_t *);
156 int pthread_attr_getguardsize(const pthread_attr_t *__restrict, size_t *__restrict);
157 int pthread_attr_setguardsize(pthread_attr_t *, size_t);
158 int pthread_attr_getstacksize(const pthread_attr_t *__restrict, size_t *__restrict);
159 int pthread_attr_setstacksize(pthread_attr_t *, size_t);
160 int pthread_attr_getdetachstate(const pthread_attr_t *, int *);
161 int pthread_attr_setdetachstate(pthread_attr_t *, int);
162 int pthread_attr_getstack(const pthread_attr_t *__restrict, void **__restrict, size_t *__restrict);
[all …]
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
Dpthread.h87 int pthread_create(pthread_t *__restrict, const pthread_attr_t *__restrict, void *(*)(void *), void…
153 int pthread_attr_init(pthread_attr_t *);
154 int pthread_attr_destroy(pthread_attr_t *);
156 int pthread_attr_getguardsize(const pthread_attr_t *__restrict, size_t *__restrict);
157 int pthread_attr_setguardsize(pthread_attr_t *, size_t);
158 int pthread_attr_getstacksize(const pthread_attr_t *__restrict, size_t *__restrict);
159 int pthread_attr_setstacksize(pthread_attr_t *, size_t);
160 int pthread_attr_getdetachstate(const pthread_attr_t *, int *);
161 int pthread_attr_setdetachstate(pthread_attr_t *, int);
162 int pthread_attr_getstack(const pthread_attr_t *__restrict, void **__restrict, size_t *__restrict);
[all …]
/third_party/musl/porting/linux/user/include/
Dpthread.h91 int pthread_create(pthread_t *__restrict, const pthread_attr_t *__restrict, void *(*)(void *), void…
311 int pthread_attr_init(pthread_attr_t *);
312 int pthread_attr_destroy(pthread_attr_t *);
314 int pthread_attr_getguardsize(const pthread_attr_t *__restrict, size_t *__restrict);
315 int pthread_attr_setguardsize(pthread_attr_t *, size_t);
316 int pthread_attr_getstacksize(const pthread_attr_t *__restrict, size_t *__restrict);
317 int pthread_attr_setstacksize(pthread_attr_t *, size_t);
318 int pthread_attr_getdetachstate(const pthread_attr_t *, int *);
319 int pthread_attr_setdetachstate(pthread_attr_t *, int);
320 int pthread_attr_getstack(const pthread_attr_t *__restrict, void **__restrict, size_t *__restrict);
[all …]
/third_party/musl/ndk_musl_include/
Dpthread.h88 int pthread_create(pthread_t *__restrict, const pthread_attr_t *__restrict, void *(*)(void *), void…
299 int pthread_attr_init(pthread_attr_t *);
300 int pthread_attr_destroy(pthread_attr_t *);
302 int pthread_attr_getguardsize(const pthread_attr_t *__restrict, size_t *__restrict);
303 int pthread_attr_setguardsize(pthread_attr_t *, size_t);
304 int pthread_attr_getstacksize(const pthread_attr_t *__restrict, size_t *__restrict);
305 int pthread_attr_setstacksize(pthread_attr_t *, size_t);
306 int pthread_attr_getdetachstate(const pthread_attr_t *, int *);
307 int pthread_attr_setdetachstate(pthread_attr_t *, int);
308 int pthread_attr_getstack(const pthread_attr_t *__restrict, void **__restrict, size_t *__restrict);
[all …]
/third_party/musl/libc-test/src/api/
Dpthread.c6 T(pthread_attr_t) in f()
56 {int(*p)(pthread_attr_t*) = pthread_attr_destroy;} in f()
57 {int(*p)(const pthread_attr_t*,int*) = pthread_attr_getdetachstate;} in f()
58 {int(*p)(const pthread_attr_t*restrict,size_t*restrict) = pthread_attr_getguardsize;} in f()
59 {int(*p)(const pthread_attr_t*restrict,struct sched_param*restrict) = pthread_attr_getschedparam;} in f()
60 {int(*p)(const pthread_attr_t*restrict,void**restrict,size_t*restrict) = pthread_attr_getstack;} in f()
61 {int(*p)(const pthread_attr_t*restrict,size_t*restrict) = pthread_attr_getstacksize;} in f()
62 {int(*p)(pthread_attr_t*) = pthread_attr_init;} in f()
63 {int(*p)(pthread_attr_t*,int) = pthread_attr_setdetachstate;} in f()
64 {int(*p)(pthread_attr_t*,size_t) = pthread_attr_setguardsize;} in f()
[all …]
/third_party/musl/porting/liteos_m/user/src/thread/
Dpthread_attr_get.c4 _LIBC_TEXT_SECTION int pthread_attr_getdetachstate(const pthread_attr_t *a, int *state) in pthread_attr_getdetachstate()
10 _LIBC_TEXT_SECTION int pthread_attr_getguardsize(const pthread_attr_t *restrict a, size_t *restrict… in pthread_attr_getguardsize()
15 _LIBC_TEXT_SECTION int pthread_attr_getinheritsched(const pthread_attr_t *restrict a, int *restrict… in pthread_attr_getinheritsched()
21 _LIBC_TEXT_SECTION int pthread_attr_getschedparam(const pthread_attr_t *restrict a, struct sched_pa… in pthread_attr_getschedparam()
27 _LIBC_TEXT_SECTION int pthread_attr_getschedpolicy(const pthread_attr_t *restrict a, int *restrict … in pthread_attr_getschedpolicy()
33 _LIBC_TEXT_SECTION int pthread_attr_getscope(const pthread_attr_t *restrict a, int *restrict scope) in pthread_attr_getscope()
39 _LIBC_TEXT_SECTION int pthread_attr_getstack(const pthread_attr_t *restrict a, void **restrict addr… in pthread_attr_getstack()
48 _LIBC_TEXT_SECTION int pthread_attr_getstacksize(const pthread_attr_t *restrict a, size_t *restrict… in pthread_attr_getstacksize()
Dpthread_create.c63 …CTION static int __pthread_init_and_check_attr(const pthread_attr_t *restrict attrp, pthread_attr_… in __pthread_init_and_check_attr()
70 if (attrp && !c11) memcpy(attr, attrp, sizeof(pthread_attr_t)); in __pthread_init_and_check_attr()
115 _LIBC_TEXT_SECTION int __pthread_create(pthread_t *restrict res, const pthread_attr_t *restrict att… in __pthread_create()
121 pthread_attr_t attr = { 0 }; in __pthread_create()
/third_party/musl/porting/liteos_a/user/src/thread/
Dpthread_attr_get.c4 int pthread_attr_getdetachstate(const pthread_attr_t *a, int *state) in pthread_attr_getdetachstate()
9 int pthread_attr_getguardsize(const pthread_attr_t *restrict a, size_t *restrict size) in pthread_attr_getguardsize()
15 int pthread_attr_getinheritsched(const pthread_attr_t *restrict a, int *restrict inherit) in pthread_attr_getinheritsched()
21 int pthread_attr_getschedparam(const pthread_attr_t *restrict a, struct sched_param *restrict param) in pthread_attr_getschedparam()
27 int pthread_attr_getschedpolicy(const pthread_attr_t *restrict a, int *restrict policy) in pthread_attr_getschedpolicy()
33 int pthread_attr_getscope(const pthread_attr_t *restrict a, int *restrict scope) in pthread_attr_getscope()
39 int pthread_attr_getstack(const pthread_attr_t *restrict a, void **restrict addr, size_t *restrict … in pthread_attr_getstack()
48 int pthread_attr_getstacksize(const pthread_attr_t *restrict a, size_t *restrict size) in pthread_attr_getstacksize()
/third_party/musl/src/thread/
Dpthread_attr_get.c3 int pthread_attr_getdetachstate(const pthread_attr_t *a, int *state) in pthread_attr_getdetachstate()
8 int pthread_attr_getguardsize(const pthread_attr_t *restrict a, size_t *restrict size) in pthread_attr_getguardsize()
14 int pthread_attr_getinheritsched(const pthread_attr_t *restrict a, int *restrict inherit) in pthread_attr_getinheritsched()
20 int pthread_attr_getschedparam(const pthread_attr_t *restrict a, struct sched_param *restrict param) in pthread_attr_getschedparam()
26 int pthread_attr_getschedpolicy(const pthread_attr_t *restrict a, int *restrict policy) in pthread_attr_getschedpolicy()
32 int pthread_attr_getscope(const pthread_attr_t *restrict a, int *restrict scope) in pthread_attr_getscope()
38 int pthread_attr_getstack(const pthread_attr_t *restrict a, void **restrict addr, size_t *restrict … in pthread_attr_getstack()
47 int pthread_attr_getstacksize(const pthread_attr_t *restrict a, size_t *restrict size) in pthread_attr_getstacksize()
Dpthread_setattr_default_np.c8 int pthread_setattr_default_np(const pthread_attr_t *attrp) in pthread_setattr_default_np()
11 pthread_attr_t tmp = *attrp, zero = { 0 }; in pthread_setattr_default_np()
28 int pthread_getattr_default_np(pthread_attr_t *attrp) in pthread_getattr_default_np()
31 *attrp = (pthread_attr_t) { in pthread_getattr_default_np()
/third_party/musl/porting/liteos_m/user/hook/
Dlos_usr_libc.c40 int pthread_attr_init(pthread_attr_t *attr) in pthread_attr_init()
45 int pthread_attr_destroy(pthread_attr_t *attr) in pthread_attr_destroy()
50 int pthread_attr_setdetachstate(pthread_attr_t *attr, int detachState) in pthread_attr_setdetachstate()
55 int pthread_attr_getdetachstate(const pthread_attr_t *attr, int *detachState) in pthread_attr_getdetachstate()
60 int pthread_attr_setscope(pthread_attr_t *attr, int scope) in pthread_attr_setscope()
65 int pthread_attr_getscope(const pthread_attr_t *attr, int *scope) in pthread_attr_getscope()
70 int pthread_attr_setinheritsched(pthread_attr_t *attr, int inherit) in pthread_attr_setinheritsched()
75 int pthread_attr_getinheritsched(const pthread_attr_t *attr, int *inherit) in pthread_attr_getinheritsched()
80 int pthread_attr_setschedpolicy(pthread_attr_t *attr, int policy) in pthread_attr_setschedpolicy()
85 int pthread_attr_getschedpolicy(const pthread_attr_t *attr, int *policy) in pthread_attr_getschedpolicy()
[all …]
/third_party/rust/crates/libc/src/unix/bsd/apple/b32/
Dmod.rs53 pub struct pthread_attr_t {
61 impl PartialEq for pthread_attr_t {
62 fn eq(&self, other: &pthread_attr_t) -> bool {
70 impl Eq for pthread_attr_t {}
71 impl ::fmt::Debug for pthread_attr_t {
79 impl ::hash::Hash for pthread_attr_t {
/third_party/rust/crates/libc/src/unix/bsd/apple/b64/
Dmod.rs53 pub struct pthread_attr_t {
61 impl PartialEq for pthread_attr_t {
62 fn eq(&self, other: &pthread_attr_t) -> bool {
70 impl Eq for pthread_attr_t {}
71 impl ::fmt::Debug for pthread_attr_t {
79 impl ::hash::Hash for pthread_attr_t {
/third_party/musl/libc-test/src/functionalext/supplement/thread/
Dpthread_attr_get.c30 pthread_attr_t attr; in pthread_attr_getscope_0100()
46 pthread_attr_t attr; in pthread_attr_getguardsize_0100()
61 pthread_attr_t attr; in pthread_attr_getinheritsched_0100()
91 pthread_attr_t attr; in pthread_attr_getinheritsched_0200()
326 pthread_attr_t attr; in pthread_attr_getdetachstate_0100()
342 pthread_attr_t attr; in pthread_attr_getschedpolicy_0100()
362 pthread_attr_t attr; in pthread_attr_getschedparam_0100()
388 pthread_attr_t attr; in pthread_attr_getstacksize_0100()
Dpthread_attr_setscope.c26 pthread_attr_t attr; in pthread_attr_setscope_0100()
40 pthread_attr_t attr; in pthread_attr_setscope_0200()
54 pthread_attr_t attr; in pthread_attr_setscope_0300()
Dpthread_setschedprio.c34 static void setthreadproperty(pthread_attr_t *attr, struct sched_param *param) in setthreadproperty()
57 pthread_attr_t attr; in pthread_setschedprio_0100()
79 pthread_attr_t attr; in pthread_setschedprio_0200()
/third_party/musl/porting/liteos_a_newlib/kernel/include/sys/
D_pthreadtypes.h34 #define pthread_attr_t __pthread_attr_t_discard macro
44 #undef pthread_attr_t
70 } pthread_attr_t; typedef
/third_party/musl/libc-test/src/functionalext/supplement/thread/thread_gtest/
Dpthread_attr_test.cpp19 pthread_attr_t pthreadAttrMusl;
87 pthread_attr_t guardAttributes; in GetAttrRealGuardSizeThread()
93 static size_t GetAttrRealGuardSize(const pthread_attr_t& pthreadAttrMusl) in GetAttrRealGuardSize()
104 pthread_attr_t stackAttributes; in GetAttrRealStackSizeThread()
110 static size_t GetAttrRealStackSize(const pthread_attr_t& pthreadAttrMusl) in GetAttrRealStackSize()
/third_party/rust/crates/libc/src/unix/newlib/horizon/
Dmod.rs216 attr: *const ::pthread_attr_t, in pthread_create() argument
222 attr: *const ::pthread_attr_t, in pthread_attr_getschedparam() argument
227 attr: *mut ::pthread_attr_t, in pthread_attr_setschedparam() argument
232 attr: *const ::pthread_attr_t, in pthread_attr_getprocessorid_np() argument
237 attr: *mut ::pthread_attr_t, in pthread_attr_setprocessorid_np() argument

12345678910>>...13