Home
last modified time | relevance | path

Searched refs:cnt (Results 1 – 25 of 57) sorted by relevance

123

/sysdeps/unix/sysv/linux/
A Dsigsetops.h52 int cnt = __NSIG_WORDS; in __sigemptyset() local
53 while (--cnt >= 0) in __sigemptyset()
54 set->__val[cnt] = 0; in __sigemptyset()
60 int cnt = __NSIG_WORDS; in __sigfillset() local
61 while (--cnt >= 0) in __sigfillset()
68 int cnt = __NSIG_WORDS; in __sigisemptyset() local
78 int cnt = __NSIG_WORDS; in __sigandset() local
79 while (--cnt >= 0) in __sigandset()
80 dest->__val[cnt] = left->__val[cnt] & right->__val[cnt]; in __sigandset()
87 while (--cnt >= 0) in __sigorset()
[all …]
A Dlibc_fatal.c27 ssize_t cnt; in writev_for_fatal() local
29 cnt = INTERNAL_SYSCALL_CALL (writev, fd, iov, niov); in writev_for_fatal()
30 while (INTERNAL_SYSCALL_ERROR_P (cnt) in writev_for_fatal()
31 && INTERNAL_SYSCALL_ERRNO (cnt) == EINTR); in writev_for_fatal()
32 return cnt == total; in writev_for_fatal()
A Dgetsourcefilter.c65 for (size_t cnt = 0; cnt < NSOL_MAP; ++cnt) in __get_sol() local
69 assert (sol_map[cnt].sol != -1); in __get_sol()
71 if (len == sol_map[cnt].size) in __get_sol()
77 if (af == sol_map[cnt].af) in __get_sol()
79 return sol_map[cnt].sol; in __get_sol()
82 first_size_sol = sol_map[cnt].sol; in __get_sol()
/sysdeps/pthread/
A Dtst-once2.c63 int cnt; in do_test() local
77 for (cnt = 0; cnt < N; ++cnt) in do_test()
78 if (pthread_create (&th[cnt], &at, tf, (void *) (long int) cnt) != 0) in do_test()
80 printf ("creation of thread %d failed\n", cnt); in do_test()
90 for (cnt = 0; cnt < N; ++cnt) in do_test()
91 if (pthread_join (th[cnt], NULL) != 0) in do_test()
93 printf ("join of thread %d failed\n", cnt); in do_test()
A Dtst-mutex7.c57 int cnt; in tf() local
60 for (cnt = 0; cnt < ROUNDS; ++cnt) in tf()
137 int cnt; in do_test() local
157 for (cnt = 0; cnt < N; ++cnt) in do_test()
158 if (pthread_create (&th[cnt], &at, tf, (void *) (long int) cnt) != 0) in do_test()
160 printf ("creating thread %d failed\n", cnt); in do_test()
176 for (cnt = 0; cnt < N; ++cnt) in do_test()
177 if (pthread_join (th[cnt], NULL) != 0) in do_test()
179 printf ("joining thread %d failed\n", cnt); in do_test()
A Dtst-cancel4-common.c38 size_t cnt; in do_test() local
39 for (cnt = 0; cnt < ntest_tf; ++cnt) in do_test()
41 if (tests[cnt].only_early) in do_test()
56 printf ("create for '%s' test failed\n", tests[cnt].name); in do_test()
75 printf ("cancel for '%s' failed\n", tests[cnt].name); in do_test()
83 printf ("join for '%s' failed\n", tests[cnt].name); in do_test()
110 tests[cnt].name); in do_test()
140 for (cnt = 0; cnt < ntest_tf; ++cnt) in do_test()
169 printf ("cancel for '%s' failed\n", tests[cnt].name); in do_test()
185 printf ("join for '%s' failed\n", tests[cnt].name); in do_test()
[all …]
A Dtst-barrier4.c67 int cnt; in do_test() local
94 for (cnt = 0; cnt < N - 1; ++cnt) in do_test()
95 if (pthread_create (&th[cnt], &at, tf, NULL) != 0) in do_test()
109 for (cnt = 0; cnt < N - 1; ++cnt) in do_test()
110 if (pthread_join (th[cnt], NULL) != 0) in do_test()
A Dtst-barrier1.c29 int cnt; in do_test() local
49 for (cnt = 0; cnt < 10; ++cnt) in do_test()
/sysdeps/ieee754/ldbl-128/
A Dldbl2mpn.c74 int cnt; in __mpn_extract_long_double() local
80 cnt -= NUM_LEADING_ZEROS; in __mpn_extract_long_double()
83 res_ptr[0] <<= cnt; in __mpn_extract_long_double()
84 *expt = LDBL_MIN_EXP - 1 - cnt; in __mpn_extract_long_double()
89 if (cnt >= NUM_LEADING_ZEROS) in __mpn_extract_long_double()
110 cnt -= NUM_LEADING_ZEROS; in __mpn_extract_long_double()
112 if (cnt < 0) in __mpn_extract_long_double()
114 cnt += BITS_PER_MP_LIMB; in __mpn_extract_long_double()
117 if (!cnt) in __mpn_extract_long_double()
123 res_ptr[k] = res_ptr[k-l] << cnt in __mpn_extract_long_double()
[all …]
/sysdeps/ieee754/ldbl-128ibm/
A Ds_frexpl.c55 int cnt; in __frexpl() local
59 cnt = __builtin_clzl (ix); in __frexpl()
63 cnt = __builtin_clzl ((long) ix) + 32; in __frexpl()
64 cnt = cnt - 12; in __frexpl()
65 expon -= cnt; in __frexpl()
66 ix <<= cnt + 1; in __frexpl()
90 int cnt; in __frexpl() local
93 cnt = __builtin_clzl (ixl); in __frexpl()
98 cnt = cnt - 12; in __frexpl()
99 explo -= cnt; in __frexpl()
[all …]
A Dldbl2mpn.c131 int cnt; in __mpn_extract_long_double() local
137 cnt -= NUM_LEADING_ZEROS; in __mpn_extract_long_double()
140 res_ptr[0] <<= cnt; in __mpn_extract_long_double()
141 *expt = DBL_MIN_EXP - 1 - cnt; in __mpn_extract_long_double()
146 if (cnt >= NUM_LEADING_ZEROS) in __mpn_extract_long_double()
167 cnt -= NUM_LEADING_ZEROS; in __mpn_extract_long_double()
169 if (cnt < 0) in __mpn_extract_long_double()
171 cnt += BITS_PER_MP_LIMB; in __mpn_extract_long_double()
174 if (!cnt) in __mpn_extract_long_double()
180 res_ptr[k] = res_ptr[k-l] << cnt in __mpn_extract_long_double()
[all …]
/sysdeps/ieee754/dbl-64/
A Ddbl2mpn.c67 int cnt; in __mpn_extract_double() local
71 count_leading_zeros (cnt, res_ptr[N - 1]); in __mpn_extract_double()
72 cnt -= NUM_LEADING_ZEROS; in __mpn_extract_double()
74 res_ptr[N - 1] = res_ptr[1] << cnt in __mpn_extract_double()
76 * (res_ptr[0] >> (BITS_PER_MP_LIMB - cnt)); in __mpn_extract_double()
77 res_ptr[0] <<= cnt; in __mpn_extract_double()
79 res_ptr[N - 1] <<= cnt; in __mpn_extract_double()
81 *expt = DBL_MIN_EXP - 1 - cnt; in __mpn_extract_double()
85 count_leading_zeros (cnt, res_ptr[0]); in __mpn_extract_double()
86 if (cnt >= NUM_LEADING_ZEROS) in __mpn_extract_double()
[all …]
/sysdeps/m68k/
A Dbacktrace.c27 int cnt, size; member
38 if (arg->cnt != -1) in backtrace_helper()
39 arg->array[arg->cnt] in backtrace_helper()
41 if (++arg->cnt == arg->size) in backtrace_helper()
87 .cnt = -1, in __backtrace()
96 if (arg.cnt > 1 && arg.array[arg.cnt - 1] == NULL) in __backtrace()
97 --arg.cnt; in __backtrace()
98 else if (arg.cnt < size) in __backtrace()
102 while (arg.cnt < size) in __backtrace()
109 array[arg.cnt++] = fp->ret; in __backtrace()
[all …]
/sysdeps/i386/
A Dbacktrace.c27 int cnt, size; member
38 if (arg->cnt != -1) in backtrace_helper()
39 arg->array[arg->cnt] in backtrace_helper()
41 if (++arg->cnt == arg->size) in backtrace_helper()
87 .cnt = -1, in __backtrace()
96 if (arg.cnt > 1 && arg.array[arg.cnt - 1] == NULL) in __backtrace()
97 --arg.cnt; in __backtrace()
98 else if (arg.cnt < size) in __backtrace()
102 while (arg.cnt < size) in __backtrace()
109 array[arg.cnt++] = ebp->ret; in __backtrace()
[all …]
A Dstrlen.c24 int cnt; in strlen() local
30 "=c" (cnt) : "D" (str), "0" (-1), "a" (0)); in strlen()
32 return -2 - cnt; in strlen()
/sysdeps/ieee754/ldbl-96/
A Dldbl2mpn.c66 int cnt; in __mpn_extract_long_double() local
70 count_leading_zeros (cnt, res_ptr[N - 1]); in __mpn_extract_long_double()
71 if (cnt != 0) in __mpn_extract_long_double()
74 res_ptr[N - 1] = res_ptr[N - 1] << cnt in __mpn_extract_long_double()
75 | (res_ptr[0] >> (BITS_PER_MP_LIMB - cnt)); in __mpn_extract_long_double()
76 res_ptr[0] <<= cnt; in __mpn_extract_long_double()
78 res_ptr[N - 1] <<= cnt; in __mpn_extract_long_double()
81 *expt = LDBL_MIN_EXP - 1 - cnt; in __mpn_extract_long_double()
85 count_leading_zeros (cnt, res_ptr[0]); in __mpn_extract_long_double()
86 res_ptr[N - 1] = res_ptr[0] << cnt; in __mpn_extract_long_double()
[all …]
/sysdeps/x86/
A Dldbl2mpn.c65 int cnt; in __mpn_extract_long_double() local
76 count_leading_zeros (cnt, res_ptr[N - 1]); in __mpn_extract_long_double()
77 if (cnt != 0) in __mpn_extract_long_double()
80 res_ptr[N - 1] = res_ptr[N - 1] << cnt in __mpn_extract_long_double()
81 | (res_ptr[0] >> (BITS_PER_MP_LIMB - cnt)); in __mpn_extract_long_double()
82 res_ptr[0] <<= cnt; in __mpn_extract_long_double()
84 res_ptr[N - 1] <<= cnt; in __mpn_extract_long_double()
87 *expt = LDBL_MIN_EXP - 1 - cnt; in __mpn_extract_long_double()
91 count_leading_zeros (cnt, res_ptr[0]); in __mpn_extract_long_double()
92 res_ptr[N - 1] = res_ptr[0] << cnt; in __mpn_extract_long_double()
[all …]
/sysdeps/sparc/
A Dbacktrace.c39 int cnt; member
51 if (arg->cnt != -1) in backtrace_helper()
54 arg->array[arg->cnt] = (void *) ip; in backtrace_helper()
60 if (arg->cnt > 0 && arg->array[arg->cnt - 1] == arg->array[arg->cnt] in backtrace_helper()
65 if (++arg->cnt == arg->size) in backtrace_helper()
79 .cnt = -1, in __backtrace()
115 if (arg.cnt > 1 && arg.array[arg.cnt - 1] == NULL) in __backtrace()
116 --arg.cnt; in __backtrace()
117 count = arg.cnt != -1 ? arg.cnt : 0; in __backtrace()
/sysdeps/ia64/
A Dbzero.S110 (p_y) add cnt = -8, cnt
117 (p_yy) add cnt = -4, cnt
125 (p_y) add cnt = -2, cnt
137 (p_yy) add cnt = -1, cnt
151 and cnt = (LINE_SIZE-1), cnt // remainder
210 and cnt = 0x1f, cnt // compute the remaining cnt
232 add cnt = -8, cnt // subtract
237 (p_y) add cnt = -8, cnt // subtract
241 (p_yy) add cnt = -8, cnt // subtract
297 (p_y) add cnt = -4, cnt // [7, 6 (or less) left]
[all …]
A Dmemset.S116 (p_y) add cnt = -8, cnt
123 (p_yy) add cnt = -4, cnt
131 (p_y) add cnt = -2, cnt
143 (p_yy) add cnt = -1, cnt
159 and cnt = (LINE_SIZE-1), cnt // remainder
233 and cnt = (LINE_SIZE-1), cnt // remainder
316 add cnt = -8, cnt // subtract
321 (p_y) add cnt = -8, cnt // subtract
325 (p_yy) add cnt = -8, cnt // subtract
381 (p_y) add cnt = -4, cnt // [7, 6 (or less) left]
[all …]
/sysdeps/arm/
A Dbacktrace.c27 int cnt, size; member
59 if (arg->cnt != -1) in backtrace_helper()
60 arg->array[arg->cnt] = (void *) unwind_getip (ctx); in backtrace_helper()
61 if (++arg->cnt == arg->size) in backtrace_helper()
74 .cnt = -1 in __backtrace()
83 if (arg.cnt > 1 && arg.array[arg.cnt - 1] == NULL) in __backtrace()
84 --arg.cnt; in __backtrace()
85 return arg.cnt != -1 ? arg.cnt : 0; in __backtrace()
/sysdeps/mach/
A Dgetsysstats.c31 mach_msg_type_number_t cnt = HOST_BASIC_INFO_COUNT; in __get_nprocs_conf() local
34 (host_info_t) &hbi, &cnt); in __get_nprocs_conf()
37 else if (cnt != HOST_BASIC_INFO_COUNT) in __get_nprocs_conf()
51 mach_msg_type_number_t cnt = HOST_BASIC_INFO_COUNT; in weak_alias() local
54 (host_info_t) &hbi, &cnt); in weak_alias()
57 else if (cnt != HOST_BASIC_INFO_COUNT) in weak_alias()
77 mach_msg_type_number_t cnt = HOST_BASIC_INFO_COUNT; in __get_phys_pages() local
80 (host_info_t) &hbi, &cnt); in __get_phys_pages()
83 else if (cnt != HOST_BASIC_INFO_COUNT) in __get_phys_pages()
/sysdeps/posix/
A Dlibc_fatal.c116 for (int cnt = nlist - 1; cnt >= 0; --cnt) in __libc_message() local
118 iov[cnt].iov_base = (char *) list->str; in __libc_message()
119 iov[cnt].iov_len = list->len; in __libc_message()
137 for (int cnt = 0; cnt < nlist; ++cnt) in __libc_message() local
138 wp = mempcpy (wp, iov[cnt].iov_base, iov[cnt].iov_len); in __libc_message()
/sysdeps/x86_64/
A Dffs.c27 int cnt; in __ffs() local
32 : "=&r" (cnt), "=r" (tmp) : "rm" (x), "1" (-1)); in __ffs()
34 return cnt + 1; in __ffs()
A Dffsll.c28 long long int cnt; in ffsll() local
33 : "=&r" (cnt), "=r" (tmp) : "rm" (x), "1" (-1)); in ffsll()
35 return cnt + 1; in ffsll()

Completed in 30 milliseconds

123