Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dpthread_attr.cpp44 int pthread_attr_init(pthread_attr_t* attr) { in pthread_attr_init()
55 int pthread_attr_destroy(pthread_attr_t* attr) { in pthread_attr_destroy()
56 memset(attr, 0x42, sizeof(pthread_attr_t)); in pthread_attr_destroy()
61 int pthread_attr_setinheritsched(pthread_attr_t* attr, int flag) { in pthread_attr_setinheritsched()
75 int pthread_attr_getinheritsched(const pthread_attr_t* attr, int* flag) { in pthread_attr_getinheritsched()
88 int pthread_attr_setdetachstate(pthread_attr_t* attr, int state) { in pthread_attr_setdetachstate()
100 int pthread_attr_getdetachstate(const pthread_attr_t* attr, int* state) { in pthread_attr_getdetachstate()
106 int pthread_attr_setschedpolicy(pthread_attr_t* attr, int policy) { in pthread_attr_setschedpolicy()
112 int pthread_attr_getschedpolicy(const pthread_attr_t* attr, int* policy) { in pthread_attr_getschedpolicy()
118 int pthread_attr_setschedparam(pthread_attr_t* attr, const sched_param* param) { in pthread_attr_setschedparam()
[all …]
Dposix_timers.cpp138 pthread_attr_t thread_attributes; in timer_create()
142 thread_attributes = *reinterpret_cast<pthread_attr_t*>(evp->sigev_notify_attributes); in timer_create()
Dpthread_create.cpp246 static int __allocate_thread(pthread_attr_t* attr, bionic_tcb** tcbp, void** child_stack) { in __allocate_thread()
362 int pthread_create(pthread_t* thread_out, pthread_attr_t const* attr, in pthread_create()
366 pthread_attr_t thread_attr; in pthread_create()
Dndk_cruft.cpp94 int pthread_attr_setstackaddr(pthread_attr_t*, void*) { in pthread_attr_setstackaddr() argument
100 int pthread_attr_getstackaddr(const pthread_attr_t* attr, void** stack_addr) { in pthread_attr_getstackaddr()
Dpthread_internal.h95 pthread_attr_t attr;
/bionic/tests/headers/posix/
Dpthread_h.c75 TYPE(pthread_attr_t); in pthread_h()
90 FUNCTION(pthread_attr_destroy, int (*f)(pthread_attr_t*)); in pthread_h()
91 FUNCTION(pthread_attr_getdetachstate, int (*f)(const pthread_attr_t*, int*)); in pthread_h()
92 FUNCTION(pthread_attr_getguardsize, int (*f)(const pthread_attr_t*, size_t*)); in pthread_h()
93 FUNCTION(pthread_attr_getinheritsched, int (*f)(const pthread_attr_t*, int*)); in pthread_h()
94 FUNCTION(pthread_attr_getschedparam, int (*f)(const pthread_attr_t*, struct sched_param*)); in pthread_h()
95 FUNCTION(pthread_attr_getschedpolicy, int (*f)(const pthread_attr_t*, int*)); in pthread_h()
96 FUNCTION(pthread_attr_getscope, int (*f)(const pthread_attr_t*, int*)); in pthread_h()
97 FUNCTION(pthread_attr_getstack, int (*f)(const pthread_attr_t*, void**, size_t*)); in pthread_h()
98 FUNCTION(pthread_attr_getstacksize, int (*f)(const pthread_attr_t*, size_t*)); in pthread_h()
[all …]
Dsys_types_h.c49 TYPE(pthread_attr_t); in sys_types_h()
Dsignal_h.c49 TYPE(pthread_attr_t); in signal_h()
59 STRUCT_MEMBER(struct sigevent, pthread_attr_t*, sigev_notify_attributes); in signal_h()
/bionic/libc/include/
Dpthread.h97 int pthread_attr_destroy(pthread_attr_t* __attr);
98 int pthread_attr_getdetachstate(const pthread_attr_t* __attr, int* __state);
99 int pthread_attr_getguardsize(const pthread_attr_t* __attr, size_t* __size);
100 int pthread_attr_getinheritsched(const pthread_attr_t* __attr, int* __flag) __INTRODUCED_IN(28);
101 int pthread_attr_getschedparam(const pthread_attr_t* __attr, struct sched_param* __param);
102 int pthread_attr_getschedpolicy(const pthread_attr_t* __attr, int* __policy);
103 int pthread_attr_getscope(const pthread_attr_t* __attr, int* __scope);
104 int pthread_attr_getstack(const pthread_attr_t* __attr, void** __addr, size_t* __size);
105 int pthread_attr_getstacksize(const pthread_attr_t* __attr, size_t* __size);
106 int pthread_attr_init(pthread_attr_t* __attr);
[all …]
/bionic/tests/
Dpthread_test.cpp169 pthread_attr_t attr; in TEST()
237 pthread_attr_t attr; in AssertDetached()
262 pthread_attr_t attributes; in TEST()
712 pthread_attr_t a; in TEST()
724 pthread_attr_t attributes; in GetActualGuardSizeFn()
730 static size_t GetActualGuardSize(const pthread_attr_t& attributes) { in GetActualGuardSize()
739 pthread_attr_t attributes; in GetActualStackSizeFn()
745 static size_t GetActualStackSize(const pthread_attr_t& attributes) { in GetActualStackSize()
754 pthread_attr_t attributes; in TEST()
766 pthread_attr_t attributes; in TEST()
[all …]
Dandroid_unsafe_frame_pointer_chase_test.cpp140 pthread_attr_t attr; in TEST()
Dtime_test.cpp104 pthread_attr_t a; in TEST()
Dstdio_test.cpp860 pthread_attr_t a; in TEST()
/bionic/libc/include/bits/
Dpthread_types.h44 } pthread_attr_t; typedef