Home
last modified time | relevance | path

Searched refs:res (Results 1 – 15 of 15) sorted by relevance

/nptl/
A Dtst-setgetname.c50 int res = 0; in get_self_comm() local
61 res = errno; in get_self_comm()
73 return res; in get_self_comm()
80 int res; in do_test() local
93 if (res == 0) in do_test()
97 if (res == 0) in do_test()
124 if (res == 0) in do_test()
155 if (res == 0) in do_test()
210 if (res == 0) in do_test()
245 if (res != 0) in do_test()
[all …]
A Dtst-stack3.c48 if (res) in do_test()
50 printf ("malloc failed %s\n", strerror (res)); in do_test()
58 res = pthread_attr_setstack (&attr, stack, 4 * PTHREAD_STACK_MIN); in do_test()
59 if (res) in do_test()
61 printf ("pthread_attr_setstack failed %d\n", res); in do_test()
69 res = pthread_create (&th, &attr, tf, NULL); in do_test()
70 if (res) in do_test()
72 printf ("pthread_create failed %d\n", res); in do_test()
77 res = pthread_join (th, NULL); in do_test()
78 if (res) in do_test()
[all …]
A Dtst-stack2.c42 int res = pthread_attr_setstacksize (&attr, PTHREAD_STACK_MIN); in do_test() local
43 if (res) in do_test()
45 printf ("pthread_attr_setstacksize failed %d\n", res); in do_test()
51 res = pthread_create (&th, &attr, tf, NULL); in do_test()
52 if (res) in do_test()
54 printf ("pthread_create failed %d\n", res); in do_test()
59 res = pthread_join (th, NULL); in do_test()
60 if (res) in do_test()
62 printf ("pthread_join failed %d\n", res); in do_test()
A Dpthread_getaffinity.c33 int res = INTERNAL_SYSCALL_CALL (sched_getaffinity, pd->tid, in __pthread_getaffinity_np() local
35 if (INTERNAL_SYSCALL_ERROR_P (res)) in __pthread_getaffinity_np()
36 return INTERNAL_SYSCALL_ERRNO (res); in __pthread_getaffinity_np()
39 memset ((char *) cpuset + res, '\0', cpusetsize - res); in __pthread_getaffinity_np()
A Dpthread_setaffinity.c30 int res; in __pthread_setaffinity_new() local
32 res = INTERNAL_SYSCALL_CALL (sched_setaffinity, pd->tid, cpusetsize, in __pthread_setaffinity_new()
35 return (INTERNAL_SYSCALL_ERROR_P (res) in __pthread_setaffinity_new()
36 ? INTERNAL_SYSCALL_ERRNO (res) in __pthread_setaffinity_new()
A Dpthread_setname.c53 int res = 0; in __pthread_setname_np() local
56 res = errno; in __pthread_setname_np()
58 res = EIO; in __pthread_setname_np()
62 return res; in __pthread_setname_np()
A Dpthread_getname.c51 int res = 0; in __pthread_getname_np() local
54 res = errno; in __pthread_getname_np()
60 res = ERANGE; in __pthread_getname_np()
67 return res; in __pthread_getname_np()
A Dtst-tls5.c46 int res = 0; in do_test() local
67 res = 1; in do_test()
74 res = 1; in do_test()
91 res = 1; in do_test()
99 res = 1; in do_test()
107 return res; in do_test()
A Dtst-cancel24.cc83 void *res; in do_test() local
84 if (pthread_join (th, &res) != 0) in do_test()
90 if (res != PTHREAD_CANCELED) in do_test()
A Dtst-cond22.c97 void *res; in do_test() local
98 if (pthread_join (th, &res) != 0) in do_test()
103 if (res != PTHREAD_CANCELED) in do_test()
144 if (pthread_join (th, &res) != 0) in do_test()
149 if (res != NULL) in do_test()
A Dtst-rwlock8.c119 void *res; in do_test() local
164 if (pthread_join (thwr[n], &res) != 0) in do_test()
170 if (pthread_join (thrd[n], &res) != 0) in do_test()
A Dtst-rwlock19.c80 void *res; in do_test() local
98 if (pthread_join (thrd[n], &res) != 0) in do_test()
A Dtst-mutex8.c377 int res = check_type ("normal", NULL); in do_test() local
398 res |= check_type ("recursive", &ma); in do_test()
423 res |= check_type ("error-checking", &ma); in do_test()
430 return res; in do_test()
A Dpthread_create.c311 int res = INTERNAL_SYSCALL_CALL (sched_setaffinity, pd->tid, in create_thread() local
314 if (__glibc_unlikely (INTERNAL_SYSCALL_ERROR_P (res))) in create_thread()
315 return INTERNAL_SYSCALL_ERRNO (res); in create_thread()
323 int res = INTERNAL_SYSCALL_CALL (sched_setscheduler, pd->tid, in create_thread() local
325 if (__glibc_unlikely (INTERNAL_SYSCALL_ERROR_P (res))) in create_thread()
326 return INTERNAL_SYSCALL_ERRNO (res); in create_thread()
365 __resp = &pd->res; in start_thread()
A Ddescr.h383 struct __res_state res; member

Completed in 69 milliseconds