/third_party/ltp/testcases/kernel/syscalls/futex/ |
H A D | Makefile | 16 futex_wait03: CFLAGS+=-pthread 17 futex_wake02: CFLAGS+=-pthread 18 futex_wake04: CFLAGS+=-pthread 19 futex_waitv02: CFLAGS+=-pthread 20 futex_waitv03: CFLAGS+=-pthread
|
/third_party/musl/porting/linux/user/src/internal/ |
H A D | pthread_impl.h | 19 #include <pthread.h> 31 #define pthread __pthread macro 34 struct pthread { struct 37 struct pthread *self; 41 struct pthread *prev, *next; /* non-ABI */ 128 /* we define the original value of _m_* in include/pthread.h 171 #define TP_ADJ(p) ((char *)(p) + sizeof(struct pthread) + TP_OFFSET) 274 hidden struct pthread* __pthread_list_find(pthread_t, const char*);
|
/third_party/musl/porting/liteos_a/user/src/internal/ |
H A D | pthread_impl.h | 4 #include <pthread.h> 16 #define pthread __pthread macro 18 struct pthread { struct 21 struct pthread *self; 25 struct pthread *prev, *next; /* non-ABI */ 121 #define TP_ADJ(p) ((char *)(p) + sizeof(struct pthread) + TP_OFFSET) 162 hidden int __thread_clone(int (*func)(void *), int flags, struct pthread *thread, unsigned char *sp);
|
/third_party/skia/third_party/externals/swiftshader/third_party/marl/include/marl/ |
H A D | thread.h | 42 Pthread pthread; member 157 return pthread.index == other.pthread.index; in operator ==() 161 return pthread.index < other.pthread.index; in operator <()
|
/third_party/skia/third_party/externals/swiftshader/third_party/marl/src/ |
H A D | thread_test.cpp | 23 c.pthread.index = static_cast<uint16_t>(idx); in core() 116 EXPECT_EQ(policy->get(0, allocator)[0].pthread.index, 10); in TEST_F() 118 EXPECT_EQ(policy->get(1, allocator)[0].pthread.index, 20); in TEST_F() 120 EXPECT_EQ(policy->get(2, allocator)[0].pthread.index, 30); in TEST_F() 122 EXPECT_EQ(policy->get(3, allocator)[0].pthread.index, 40); in TEST_F()
|
H A D | thread.cpp | 36 #include <pthread.h> 40 #include <pthread.h> 45 #include <pthread.h> 54 return core.pthread.index; in operator ()() 157 core.pthread.index = static_cast<uint16_t>(i); in all() 169 core.pthread.index = static_cast<uint16_t>(i); in all() 382 CPU_SET(affinity[i].pthread.index, &cpuset); in setAffinity() 390 CPU_SET(affinity[i].pthread.index, &cpuset); in setAffinity()
|
/third_party/musl/src/internal/ |
H A D | pthread_impl.h | 4 #include <pthread.h> 18 #define pthread __pthread macro 21 struct pthread { struct 24 struct pthread *self; 28 struct pthread *prev, *next; /* non-ABI */ 159 #define TP_ADJ(p) ((char *)(p) + sizeof(struct pthread) + TP_OFFSET) 289 hidden struct pthread* __pthread_list_find(pthread_t, const char*); 321 hidden int __thread_clone(int (*func)(void *), int flags, struct pthread *thread, unsigned char *sp);
|
/third_party/musl/porting/liteos_m/user/arch/arm/ |
H A D | pthread_arch.h | 9 return (void *)(p-sizeof(struct pthread)); 25 return (void *)(p-sizeof(struct pthread)); 35 #define TP_ADJ(p) ((char *)(p) + sizeof(struct pthread))
|
/third_party/musl/porting/liteos_m/user/src/internal/ |
H A D | pthread_impl.h | 5 #include <pthread.h> 15 #define pthread __pthread macro 17 struct pthread { struct 20 struct pthread *self; 22 struct pthread *prev, *next; /* non-ABI */
|
/third_party/musl/src/thread/linux/ |
H A D | pthread_create.c | 24 void stack_naming(struct pthread *new) { in stack_naming() 339 struct pthread *self = __pthread_self(); in __do_cleanup_push() 424 struct pthread *self, *new; in __pthread_create() 597 struct pthread* __pthread_list_find(pthread_t thread_id, const char* info) in __pthread_list_find() 599 struct pthread *thread = (struct pthread *)thread_id; in __pthread_list_find() 605 struct pthread *self = __pthread_self(); in __pthread_list_find() 609 struct pthread *t = self; in __pthread_list_find() 622 struct pthread* thread = __pthread_list_find(t, "pthread_gettid_np"); in __pthread_gettid_np()
|
/third_party/musl/porting/linux/user/src/thread/ |
H A D | pthread_create.c | 24 void stack_naming(struct pthread *new){ in stack_naming() 275 struct pthread *self = __pthread_self(); in __do_cleanup_push() 360 struct pthread *self, *new; in __pthread_create() 533 struct pthread* __pthread_list_find(pthread_t thread_id, const char* info) in __pthread_list_find() 535 struct pthread *thread = (struct pthread *)thread_id; in __pthread_list_find() 541 struct pthread *self = __pthread_self(); in __pthread_list_find() 545 struct pthread *t = self; in __pthread_list_find() 558 struct pthread* thread = __pthread_list_find(t, "pthread_gettid_np"); in __pthread_gettid_np()
|
/third_party/musl/porting/linux/user/src/env/ |
H A D | __init_tls.c | 33 struct pthread pt; 50 mem += -((uintptr_t)mem + sizeof(struct pthread)) & (libc.tls_align-1); in __copy_tls() 52 mem += sizeof(struct pthread); in __copy_tls() 63 mem += libc.tls_size - sizeof(struct pthread); in __copy_tls() 131 libc.tls_size = 2*sizeof(void *) + sizeof(struct pthread) in static_init_tls()
|
/third_party/musl/src/env/ |
H A D | __init_tls.c | 67 struct pthread pt; 84 mem += -((uintptr_t)mem + sizeof(struct pthread)) & (libc.tls_align-1); in __copy_tls() 86 mem += sizeof(struct pthread); in __copy_tls() 97 mem += libc.tls_size - sizeof(struct pthread); in __copy_tls() 165 libc.tls_size = 2*sizeof(void *) + sizeof(struct pthread) in static_init_tls()
|
/third_party/musl/porting/liteos_a/user/src/env/ |
H A D | __init_tls.c | 64 struct pthread pt; 81 mem += -((uintptr_t)mem + sizeof(struct pthread)) & (libc.tls_align-1); in __copy_tls() 83 mem += sizeof(struct pthread); in __copy_tls() 92 mem += libc.tls_size - sizeof(struct pthread); in __copy_tls() 158 libc.tls_size = 2*sizeof(void *) + sizeof(struct pthread) in static_init_tls()
|
/third_party/ltp/testcases/realtime/func/async_handler/ |
H A D | async_handler_jk.c | 104 set_thread_priority(thread->pthread, thread->priority); in async_event_server() 119 set_thread_priority(server->pthread, thread->priority); in user_thread() 154 pthread_detach(server->pthread); in main()
|
/third_party/ltp/testcases/realtime/stress/pi-tests/ |
H A D | testpi-3.c | 40 #include <pthread.h> 117 pthread_getschedparam(pthr->pthread, &policy, &schedp); in func_nonrt() 123 ("Thread %d at start pthread pol %d pri %d - Got global lock\n", in func_nonrt() 130 printf("Thread %d(%d) loop %d pthread pol %d " in func_nonrt() 166 pthread_getschedparam(pthr->pthread, &policy, &schedp); in func_rt() 173 ("Thread %d at start pthread pol %d pri %d - Got global lock\n", in func_rt() 186 ("Thread %d(%d) loop %d pthread pol %d pri %d\n", in func_rt() 222 pthread_getschedparam(pthr->pthread, &policy, &schedp); in func_noise() 233 ("Noise Thread %d(%d) loop %d pthread pol %d pri %d\n", in func_noise() 300 pthread_create(&(thrd->pthread), in startThread() [all...] |
/third_party/musl/porting/liteos_m/user/src/thread/ |
H A D | pthread_create.c | 94 _LIBC_TEXT_SECTION static int __thread_clone(int (*func)(void *), int flags, struct pthread *thread, unsigned char *sp) in __thread_clone() 119 struct pthread *self, *new; in __pthread_create() 141 new = (struct pthread *)(((uintptr_t)stack - sizeof(struct pthread)) & -16); in __pthread_create()
|
/third_party/musl/src/thread/ |
H A D | pthread_create.c | 186 struct pthread *self = __pthread_self(); in __do_cleanup_push() 250 struct pthread *self, *new; in __pthread_create() 408 struct pthread* __pthread_list_find(pthread_t thread_id, const char* info) in __pthread_list_find() 410 struct pthread *thread = (struct pthread *)thread_id; in __pthread_list_find() 416 struct pthread *self = __pthread_self(); in __pthread_list_find() 420 struct pthread *t = self; in __pthread_list_find() 433 struct pthread* thread = __pthread_list_find(t, "pthread_gettid_np"); in __pthread_gettid_np()
|
H A D | pthread_setspecific.c | 6 struct pthread *self = __pthread_self(); in pthread_setspecific() 17 struct pthread *self = __pthread_self(); in pthread_settsd()
|
H A D | pthread_getspecific.c | 7 struct pthread *self = __pthread_self(); in __pthread_getspecific() 13 struct pthread *self = __pthread_self(); in pthread_gettsd()
|
/third_party/ltp/testcases/realtime/lib/ |
H A D | librttest.c | 51 #include <pthread.h> 317 pthread_create(&thread->pthread, &thread->attr, func, in create_thread() 345 int set_thread_priority(pthread_t pthread, int prio) in set_thread_priority() argument 353 return pthread_setschedparam(pthread, policy, &sched_param); in set_thread_priority() 380 if (t->pthread) in join_thread() 381 pthread_join(t->pthread, NULL); in join_thread() 400 if (p->pthread) in join_threads() 401 pthread_join(p->pthread, NULL); in join_threads()
|
/third_party/ltp/testcases/kernel/syscalls/preadv2/ |
H A D | Makefile | 14 preadv203 preadv203_64: CFLAGS += -pthread 15 preadv203_64: LDFLAGS += -pthread
|
/third_party/ltp/testcases/kernel/syscalls/sendmsg/ |
H A D | Makefile | 10 sendmsg03: CFLAGS += -pthread 11 sendmsg03: LDLIBS += -pthread -lrt
|
/third_party/ltp/testcases/cve/ |
H A D | Makefile | 14 cve-2014-0196 cve-2016-7117 cve-2017-2671 cve-2017-17052 cve-2017-17053: CFLAGS += -pthread 25 cve-2015-3290: CFLAGS += -pthread -fomit-frame-pointer
|
/third_party/mesa3d/src/gallium/frontends/nine/ |
H A D | threadpool.h | 27 #include <pthread.h> 38 pthread_t pthread; member
|