Home
last modified time | relevance | path

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

12345678910>>...13

/external/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 …]
/external/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()
Dpthread_attr_init.c3 int pthread_attr_init(pthread_attr_t *a) in pthread_attr_init()
5 *a = (pthread_attr_t){0}; in pthread_attr_init()
Dpthread_getattr_np.c6 int pthread_getattr_np(pthread_t t, pthread_attr_t *a) in pthread_getattr_np()
8 *a = (pthread_attr_t){0}; in pthread_getattr_np()
/external/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 {
/external/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 {
/external/llvm/test/CodeGen/Thumb/
D2007-05-05-InvalidPushPop.ll5 %struct.pthread_attr_t = type { i32, i32, %struct.__sched_param, i32, i32, i32, i32, i8*, i32 }
23 …%tmp1 = call i32 @pthread_create( i32* %t, %struct.pthread_attr_t* null, i8* (i8*)* @f, i8* null )…
29 …%tmp8 = call i32 @pthread_create( i32* %t, %struct.pthread_attr_t* null, i8* (i8*)* @f, i8* null )…
37 declare i32 @pthread_create(i32*, %struct.pthread_attr_t*, i8* (i8*)*, i8*)
/external/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
/external/cronet/base/allocator/partition_allocator/partition_alloc_base/threading/
Dplatform_thread_posix_for_testing.cc38 size_t GetDefaultThreadStackSize(const pthread_attr_t& attributes);
76 pthread_attr_t attributes; in CreateThread()
144 pthread_attr_t attributes; in GetDefaultThreadStackSize()
/external/llvm/unittests/Support/
DManagedStatic.cpp33 void *allocate_stack(pthread_attr_t &a, size_t n = 65536) { in allocate_stack()
46 pthread_attr_t a1, a2; in TEST()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_getscope/
D1-1.c31 static int verify_scope(pthread_attr_t * attr, int scopetype) in verify_scope()
61 pthread_attr_t attr; in main()
/external/llvm/test/CodeGen/Generic/
D2009-03-17-LSR-APInt.ll27 %struct.pthread_attr_t = type { i64, [48 x i8] }
36 …ruct.pthread_attr_t*, i8* (i8*)*, i8*), i32 (i64*, %struct.pthread_attr_t*, i8* (i8*)*, i8*)* @pth…
78 define i32 @pthread_create(i64*, %struct.pthread_attr_t*, i8* (i8*)*, i8*) {
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setinheritsched/
D1-1.c29 static int verify_inheritsched(pthread_attr_t * attr, int schedtype) in verify_inheritsched()
59 pthread_attr_t attr; in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_getinheritsched/
D1-1.c29 static int verify_inheritsched(pthread_attr_t * attr, int schedtype) in verify_inheritsched()
59 pthread_attr_t attr; in main()
/external/python/cpython2/Python/
Dthread_pthread.h66 # define pthread_attr_default ((pthread_attr_t *)NULL)
166 pthread_attr_t attrs; in PyThread_start_new_thread()
198 (pthread_attr_t*)NULL, in PyThread_start_new_thread()
486 pthread_attr_t attrs; in _pythread_pthread_set_stacksize()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/
D1-6.c67 static void init_attr(pthread_attr_t *attr, int sched_policy, int prio) in init_attr()
101 pthread_attr_t attr; in run_hp_threads()
233 pthread_attr_t attr; in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_getschedpolicy/
D2-1.c30 static int verify_policy(pthread_attr_t * attr, int policytype) in verify_policy()
66 pthread_attr_t attr; in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_getschedparam/
D1-1.c31 static int verify_param(pthread_attr_t * attr, int priority) in verify_param()
51 pthread_attr_t attr; in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setstacksize/
D2-1.c40 pthread_attr_t attr; in thread_func()
65 pthread_attr_t attr; in main()
/external/llvm/test/Transforms/GVN/
D2009-03-10-PREOnVoid.ll11 %struct.pthread_attr_t = type { i32, i32, %struct.__sched_param, i32, i32, i32, i32, i8*, i32 }
23 …ruct.pthread_attr_t*, i8* (i8*)*, i8*), i32 (i32*, %struct.pthread_attr_t*, i8* (i8*)*, i8*)* @pth…
68 define i32 @pthread_create(i32*, %struct.pthread_attr_t*, i8* (i8*)*, i8*) {
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_posix_libcdep.cc300 return real_pthread_attr_getstack((pthread_attr_t *)attr, addr, in my_pthread_attr_getstack()
303 return pthread_attr_getstack((pthread_attr_t *)attr, addr, (size_t *)size); in my_pthread_attr_getstack()
308 pthread_attr_t *attr = (pthread_attr_t *)attr_; in AdjustStackSize()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setstack/
D2-1.c40 pthread_attr_t attr; in thread_func()
65 pthread_attr_t attr; in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setschedpolicy/
Dcommon.h80 static int init_attr(pthread_attr_t *attr, struct params *p) in init_attr()
121 pthread_attr_t attr; in create_test_thread()
/external/ltp/testcases/kernel/sched/eas/
Dsched_latency_rt.c94 pthread_attr_t cfs_thread_attrs; in run()
95 pthread_attr_t rt_thread_attrs; in run()

12345678910>>...13