Searched refs:cnt (Results 1 - 25 of 280) sorted by relevance

1234567891011>>

/haiku-fatelf/src/system/libroot/posix/glibc/locale/
H A Dgen-translit.pl8 my($cnt);
11 for ($cnt = 0; $cnt < $len; ++$cnt) {
12 if (substr($str, $cnt, 1) eq '\\') {
14 if (substr($str, $cnt + 1, 1) eq 'x') {
16 for ($inner = $cnt + 2; $inner < $len && $inner < $cnt + 10; ++$inner) {
23 $cnt = $inner;
26 die "invalid input" if ($cnt
[all...]
H A Dweight.h57 size_t cnt; local
59 for (cnt = 0; cnt < nhere; ++cnt)
60 if (cp[cnt] != usrc[cnt])
63 if (cnt == nhere)
79 size_t cnt; local
82 for (cnt = 0; cnt < nher
[all...]
H A Dlc-ctype.c46 size_t offset, cnt; local
49 for (cnt = 0; cnt < 12; cnt++)
50 __ctype32_wctype[cnt] = _nl_current_LC_CTYPE->values[offset + cnt].string;
53 for (cnt = 0; cnt < 2; cnt++)
54 __ctype32_wctrans[cnt]
[all...]
H A Dweightwc.h59 size_t cnt; local
61 for (cnt = 0; cnt < nhere; ++cnt)
62 if (cp[cnt] != usrc[cnt])
65 if (cnt == nhere)
79 size_t cnt; local
82 for (cnt = 0; cnt < nher
[all...]
/haiku-fatelf/src/libs/compat/freebsd_network/compat/machine/
H A Dcpufunc.h36 outsb(u_int port, const void *addr, size_t cnt) argument
39 : "+S" (addr), "+c" (cnt)
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_barrierattr_init/
H A D2-1.c32 int cnt; local
43 for(cnt = 0; cnt < BARRIER_NUM; cnt++)
45 if(pthread_barrier_init(&barriers[cnt], &ba, 1) != 0)
47 printf("Error at %dth initialization\n", cnt);
63 for(cnt = 0; cnt < BARRIER_NUM; cnt++)
65 rc = pthread_barrier_wait(&barriers[cnt]);
[all...]
/haiku-fatelf/src/system/libroot/posix/glibc/stdlib/
H A Dgrouping.h43 int cnt; local
67 for (cnt = 1; thousands[cnt] != '\0'; ++cnt)
68 if (thousands[cnt] != cp[thousands_len - 1 - cnt])
70 if (thousands[cnt] == '\0')
123 for (cnt = 0; thousands[cnt] != '\0'; ++cnt)
[all...]
/haiku-fatelf/src/system/libroot/posix/glibc/arch/generic/
H A Ddbl2mpn.c68 int cnt; local
72 count_leading_zeros (cnt, res_ptr[N - 1]);
73 cnt -= NUM_LEADING_ZEROS;
75 res_ptr[N - 1] = res_ptr[1] << cnt
77 * (res_ptr[0] >> (BITS_PER_MP_LIMB - cnt));
78 res_ptr[0] <<= cnt; local
80 res_ptr[N - 1] <<= cnt; local
82 *expt = DBL_MIN_EXP - 1 - cnt;
86 count_leading_zeros (cnt, res_ptr[0]);
87 if (cnt >
[all...]
H A Dldbl2mpn.c67 int cnt; local
71 count_leading_zeros (cnt, res_ptr[N - 1]);
72 if (cnt != 0)
75 res_ptr[N - 1] = res_ptr[N - 1] << cnt
76 | (res_ptr[0] >> (BITS_PER_MP_LIMB - cnt));
77 res_ptr[0] <<= cnt; local
79 res_ptr[N - 1] <<= cnt;
82 *expt = LDBL_MIN_EXP - 1 - cnt;
86 count_leading_zeros (cnt, res_ptr[0]);
87 res_ptr[N - 1] = res_ptr[0] << cnt;
[all...]
H A Dlshift.c38 register unsigned int cnt)
40 mpn_lshift (wp, up, usize, cnt)
44 register unsigned int cnt;
53 if (usize == 0 || cnt == 0)
57 sh_1 = cnt;
36 mpn_lshift(register mp_ptr wp, register mp_srcptr up, mp_size_t usize, register unsigned int cnt) argument
H A Drshift.c38 register unsigned int cnt)
40 mpn_rshift (wp, up, usize, cnt)
44 register unsigned int cnt;
53 if (usize == 0 || cnt == 0)
57 sh_1 = cnt;
36 mpn_rshift(register mp_ptr wp, register mp_srcptr up, mp_size_t usize, register unsigned int cnt) argument
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_barrier_destroy/
H A D1-1.c32 int cnt; local
35 for(cnt = 0; cnt < LOOP_NUM; cnt++)
/haiku-fatelf/src/bin/gdb/gdb/config/frv/
H A Dtm-frv.h23 #define TARGET_CAN_USE_HARDWARE_WATCHPOINT(type, cnt, ot) \
24 frv_check_watch_resources (type, cnt, ot)
25 extern int frv_check_watch_resources (int type, int cnt, int ot);
/haiku-fatelf/src/system/libroot/posix/glibc/iconv/
H A Dgconv_builtin.c65 size_t cnt; local
67 for (cnt = 0; cnt < sizeof (map) / sizeof (map[0]); ++cnt)
68 if (strcmp (name, map[cnt].name) == 0)
71 assert (cnt < sizeof (map) / sizeof (map[0]));
73 step->__fct = map[cnt].fct;
74 step->__btowc_fct = map[cnt].btowc_fct;
80 step->__min_needed_from = map[cnt].min_needed_from;
81 step->__max_needed_from = map[cnt]
[all...]
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_barrier_wait/
H A D2-1.c72 int cnt; local
89 for(cnt = 0; cnt < THREAD_NUM; cnt++)
91 if(pthread_create(&child_threads[cnt], NULL, fn_chld, &cnt) != 0)
93 printf("main: Error at %dth pthread_create()\n", cnt);
99 for(cnt = 0; cnt < THREAD_NUM; cnt
[all...]
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_rwlock_destroy/
H A D1-1.c27 int cnt = 0; local
30 while(cnt++ < COUNT)
41 printf("Test FAILED: at %d-th pthread_rwlock_destroy(), with Error code=%d\n", cnt, rc);
/haiku-fatelf/src/system/libroot/posix/glibc/arch/ppc/
H A Dldbl2mpn.c67 int cnt; local
71 count_leading_zeros (cnt, res_ptr[N - 1]);
72 if (cnt != 0)
75 res_ptr[N - 1] = res_ptr[N - 1] << cnt
76 | (res_ptr[0] >> (BITS_PER_MP_LIMB - cnt));
77 res_ptr[0] <<= cnt; local
79 res_ptr[N - 1] <<= cnt;
82 *expt = LDBL_MIN_EXP - 1 - cnt;
86 count_leading_zeros (cnt, res_ptr[0]);
87 res_ptr[N - 1] = res_ptr[0] << cnt;
[all...]
/haiku-fatelf/src/system/libroot/posix/glibc/arch/x86/
H A Dldbl2mpn.c66 int cnt; local
77 count_leading_zeros (cnt, res_ptr[N - 1]);
78 if (cnt != 0)
81 res_ptr[N - 1] = res_ptr[N - 1] << cnt
82 | (res_ptr[0] >> (BITS_PER_MP_LIMB - cnt));
83 res_ptr[0] <<= cnt; local
85 res_ptr[N - 1] <<= cnt;
88 *expt = LDBL_MIN_EXP - 1 - cnt;
92 count_leading_zeros (cnt, res_ptr[0]);
93 res_ptr[N - 1] = res_ptr[0] << cnt;
[all...]
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_rwlock_init/
H A D3-1.c33 int cnt = 0; local
48 while(cnt++ < COUNT)
52 printf("Test FAILED: cannot get read lock on %dth loop\n", cnt);
58 printf("Test FAILED: cannot release read lock on %dth loop\n", cnt);
64 printf("Test FAILED: cannot get write lock on %dth loop\n", cnt);
70 printf("Test FAILED: cannot release write lock on %dth loop\n", cnt);
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/sem_destroy/
H A D3-1.c38 long cnt = 3; local
49 if (pthread_create(&prod, NULL, producer, (void *)cnt) != 0) {
53 if (pthread_create(&cons, NULL, consumer, (void *)cnt) != 0) {
72 int i, cnt; local
73 cnt = (long)arg;
74 for (i=0; i<cnt; i++) {
84 int i, cnt; local
85 cnt = (long)arg;
86 for (i=0; i<cnt; i++) {
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/sem_init/
H A D3-1.c38 long cnt = 3; local
49 if (pthread_create(&prod, NULL, producer, (void *)cnt) != 0) {
53 if (pthread_create(&cons, NULL, consumer, (void *)cnt) != 0) {
73 int i, cnt; local
74 cnt = (long)arg;
75 for (i=0; i<cnt; i++) {
85 int i, cnt; local
86 cnt = (long)arg;
87 for (i=0; i<cnt; i++) {
/haiku-fatelf/src/bin/bash/lib/intl/
H A Dfinddomain.c99 int cnt; local
107 for (cnt = 0; retval->successor[cnt] != NULL; ++cnt)
109 if (retval->successor[cnt]->decided == 0)
110 _nl_load_domain (retval->successor[cnt], domainbinding);
112 if (retval->successor[cnt]->data != NULL)
115 return cnt >= 0 ? retval : NULL;
160 int cnt; local
161 for (cnt
[all...]
/haiku-fatelf/src/bin/gawk/intl/
H A Dfinddomain.c97 int cnt; local
105 for (cnt = 0; retval->successor[cnt] != NULL; ++cnt)
107 if (retval->successor[cnt]->decided == 0)
108 _nl_load_domain (retval->successor[cnt], domainbinding);
110 if (retval->successor[cnt]->data != NULL)
113 return cnt >= 0 ? retval : NULL;
158 int cnt; local
159 for (cnt
[all...]
/haiku-fatelf/src/libs/libtelnet/
H A Dmisc.c95 auth_encrypt_connect(int cnt __unused)
101 printd(const unsigned char *data, int cnt) argument
103 if (cnt > 16)
104 cnt = 16;
105 while (cnt-- > 0) {
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_rwlock_wrlock/
H A D2-1.c95 int cnt; local
121 cnt = 0;
124 }while(thread_state != EXITING_THREAD && cnt++ < 3);
147 cnt = 0;
150 }while(handler_called == 0 && cnt++ < 3);
159 cnt = 0;
162 }while(thread_state != EXITING_THREAD && cnt++ < 3);
179 cnt = 0;
182 }while(thread_state != EXITING_THREAD && cnt++ < 3);

Completed in 108 milliseconds

1234567891011>>