/haiku/src/system/libroot/posix/glibc/locale/ |
H A D | gen-translit.pl | 8 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 D | weight.h | 57 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 D | lc-ctype.c | 46 size_t offset, cnt; local 49 for (cnt = 0; cnt < 12; cnt++) 50 __ctype32_wctype[cnt] = _nl_global_locale.__locales[LC_CTYPE]->values[offset + cnt].string; 53 for (cnt = 0; cnt < 2; cnt++) 54 __ctype32_wctrans[cnt] [all...] |
H A D | weightwc.h | 59 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/src/system/libroot/posix/glibc/stdlib/ |
H A D | grouping.h | 43 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...] |
H A D | strtol.c | 242 size_t cnt; variable 348 ({ for (cnt = 0; cnt < thousands_len; ++cnt) 349 if (thousands[cnt] != end[cnt]) 351 cnt < thousands_len; }) 360 && ({ for (cnt = 0; cnt < thousands_len; ++cnt) [all...] |
/haiku/src/system/libroot/posix/glibc/arch/generic/ |
H A D | dbl2mpn.c | 68 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 D | ldbl2mpn.c | 67 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 D | lshift.c | 38 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 D | rshift.c | 38 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/src/system/libroot/posix/glibc/iconv/ |
H A D | gconv_builtin.c | 65 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/src/system/libroot/posix/glibc/arch/ppc/ |
H A D | ldbl2mpn.c | 67 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/src/system/libroot/posix/glibc/arch/x86/ |
H A D | ldbl2mpn.c | 66 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/src/system/libroot/posix/musl/dirent/ |
H A D | scandir.c | 14 size_t cnt=0, len=0; local 22 if (cnt >= len) { 29 names[cnt] = malloc(de->d_reclen); 30 if (!names[cnt]) break; 31 memcpy(names[cnt++], de, de->d_reclen); 37 if (names) while (cnt-->0) free(names[cnt]); 43 if (cmp) qsort(names, cnt, sizeof *names, (int (*)(const void *, const void *))cmp); 45 return cnt;
|
/haiku/src/libs/libtelnet/ |
H A D | misc.c | 91 auth_encrypt_connect(int cnt __unused) 97 printd(const unsigned char *data, int cnt) argument 99 if (cnt > 16) 100 cnt = 16; 101 while (cnt-- > 0) {
|
H A D | auth.c | 375 auth_send(unsigned char *data, int cnt) argument 390 printd(data, cnt); printf("\r\n"); 399 auth_send_cnt = (size_t)cnt > sizeof(_auth_send_data) 401 : cnt; 409 auth_send_cnt = cnt; 461 auth_is(unsigned char *data, int cnt) argument 465 if (cnt < 2) 475 (*ap->is)(ap, data+2, cnt-2); 482 auth_reply(unsigned char *data, int cnt) argument 486 if (cnt < 498 auth_name(unsigned char *data, int cnt) argument 589 auth_printsub(unsigned char *data, int cnt, unsigned char *buf, int buflen) argument 600 auth_gen_printsub(unsigned char *data, int cnt, unsigned char *buf, int buflen) argument [all...] |
H A D | krb4encpwd.c | 193 krb4encpwd_is(ap, data, cnt) 196 int cnt; 205 if (cnt-- < 1) 209 memmove((void *)auth.dat, (void *)data, auth.length = cnt); 270 krb4encpwd_reply(ap, data, cnt) 273 int cnt; 283 if (cnt-- < 1) 287 if (cnt > 0) { 289 cnt, data); 305 memmove((void *)challenge, (void *)data, cnt); [all...] |
H A D | enc_des.c | 235 cfb64_is(unsigned char *data, int cnt) argument 237 return(fb64_is(data, cnt, &fb[CFB])); 241 ofb64_is(unsigned char *data, int cnt) argument 243 return(fb64_is(data, cnt, &fb[OFB])); 247 fb64_is(unsigned char *data, int cnt, struct fb *fbp) argument 252 if (cnt-- < 1) 257 if (cnt != sizeof(Block)) { 287 printd(data, cnt); 318 cfb64_reply(unsigned char *data, int cnt) argument 320 return(fb64_reply(data, cnt, 324 ofb64_reply(unsigned char *data, int cnt) argument 330 fb64_reply(unsigned char *data, int cnt, struct fb *fbp) argument 439 fb64_printsub(unsigned char *data, int cnt, unsigned char *buf, int buflen, const char *type) argument 480 cfb64_printsub(unsigned char *data, int cnt, unsigned char *buf, int buflen) argument 486 ofb64_printsub(unsigned char *data, int cnt, unsigned char *buf, int buflen) argument [all...] |
H A D | rsaencpwd.c | 189 rsaencpwd_is(ap, data, cnt) 192 int cnt; 203 cnt--; 206 memmove((void *)auth.dat, (void *)data, auth.length = cnt); 309 rsaencpwd_reply(ap, data, cnt) 312 int cnt; 321 if (cnt-- < 1) 325 if (cnt > 0) { 327 cnt, data); 341 memmove((void *)chalkey, (void *)data, cnt); [all...] |
/haiku/headers/private/userlandfs/legacy/ |
H A D | lock.h | 47 #define LOCKM(l,cnt) acquire_sem_etc(l.s, cnt, 0, 0) 48 #define UNLOCKM(l,cnt) release_sem_etc(l.s, cnt, 0)
|
/haiku/src/tests/kits/storage/virtualdrive/ |
H A D | lock.h | 39 #define LOCKM(l,cnt) acquire_sem_etc(l.s, cnt, 0, 0) 40 #define UNLOCKM(l,cnt) release_sem_etc(l.s, cnt, 0)
|
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/beos/ |
H A D | lock.h | 47 #define LOCKM(l,cnt) acquire_sem_etc(l.s, cnt, 0, 0) 48 #define UNLOCKM(l,cnt) release_sem_etc(l.s, cnt, 0)
|
/haiku/src/add-ons/kernel/file_systems/websearchfs/ |
H A D | lock.h | 49 #define LOCKM(l,cnt) acquire_sem_etc(l.s, cnt, 0, 0) 50 #define UNLOCKM(l,cnt) release_sem_etc(l.s, cnt, 0)
|
/haiku/src/libs/x86emu/ |
H A D | prim_ops.c | 881 register unsigned int res, cnt, mask, cf; local 899 then shifted up cnt bits, and the high part is or'd 910 if ((cnt = s % 9) != 0) { 913 cf = (d >> (8 - cnt)) & 0x1; 919 res = (d << cnt) & 0xff; 927 mask = (1 << (cnt - 1)) - 1; 928 res |= (d >> (9 - cnt)) & mask; 933 res |= 1 << (cnt - 1); 937 /* OVERFLOW is set *IFF* cnt==1, then it is the 941 CONDITIONAL_SET_FLAG(cnt 954 register unsigned int res, cnt, mask, cf; local 978 register u32 res, cnt, mask, cf; local 1002 u32 res, cnt; local 1087 u32 res, cnt; local 1120 u32 res, cnt; local 1154 register unsigned int res, cnt, mask; local 1204 register unsigned int res, cnt, mask; local 1230 register u32 res, cnt, mask; local 1256 register unsigned int res, cnt, mask; local 1304 register unsigned int res, cnt, mask; local 1329 register u32 res, cnt, mask; local 1354 unsigned int cnt, res, cf; local 1401 unsigned int cnt, res, cf; local 1443 unsigned int cnt, res, cf; local 1484 unsigned int cnt, res, cf; local 1525 unsigned int cnt, res, cf; local 1566 unsigned int cnt, res, cf; local 1606 unsigned int cnt, res, cf, mask, sf; local 1649 unsigned int cnt, res, cf, mask, sf; local 1692 u32 cnt, res, cf, mask, sf; local 1735 unsigned int cnt, res, cf; local 1776 unsigned int cnt, res, cf; local 1817 unsigned int cnt, res, cf; local 1858 unsigned int cnt, res, cf; local [all...] |
/haiku/src/kits/mail/ |
H A D | mail_util.cpp | 834 ssize_t cnt = 0; // Number of characters currently in the buffer. local 840 if (buf == NULL || cnt + 2 >= len) { 844 cnt = ENOMEM; 854 cnt = errno; 855 if (cnt >= 0) 856 cnt = -1; // Error codes must be negative. 861 if (cnt > 0) { 862 buf[cnt++] = '\n'; 863 if (buf[cnt-2] == '\r') { 864 buf[cnt 917 ssize_t cnt = 0; // Number of characters currently in the buffer. local 1005 ssize_t cnt = 0; // Number of characters currently in the buffer. local [all...] |