| /src/lib/libc/inet/ |
| inet_net_pton.c | 70 static const char digits[] = "0123456789"; local 112 n = strchr(digits, ch) - digits; 141 n = strchr(digits, ch) - digits; 196 static const char digits[] = "0123456789"; local 206 pch = strchr(digits, ch); 211 val += (int)(pch - digits); 227 static const char digits[] = "0123456789"; local 238 pch = strchr(digits, ch) 277 int digits; local [all...] |
| inet_cidr_pton.c | 88 static const char digits[] = "0123456789"; variable 101 n = strchr(digits, ch) - digits; 269 const char *cp = strchr(digits, ch); 273 bits += (int)(cp - digits);
|
| /src/lib/libc/nameser/ |
| ns_ttl.c | 109 int ch, digits, dirty; local 113 digits = 0; 121 digits++; 124 if (digits == 0) 138 digits = 0; 141 if (digits > 0) {
|
| ns_name.c | 57 static const char digits[] = "0123456789"; variable 169 *dn++ = digits[c / 100]; 170 *dn++ = digits[(c % 100) / 10]; 171 *dn++ = digits[c % 10]; 260 else if ((cp = strchr(digits, c)) != NULL) { 261 n = (int)(cp - digits) * 100; 263 (cp = strchr(digits, c)) == NULL) { 267 n += (int)(cp - digits) * 10; 269 (cp = strchr(digits, c)) == NULL) { 273 n += (int)(cp - digits); [all...] |
| /src/tests/lib/libutil/ |
| t_strpct.c | 46 size_t bufsiz, intmax_t num, intmax_t den, size_t digits, 56 const char *have = strspct(buf + 1, bufsiz, num, den, digits); 69 #define h_strspct(bufsiz, num, den, digits, want) \ 70 check_strspct(__FILE__, __LINE__, bufsiz, num, den, digits, want) 74 size_t bufsiz, uintmax_t num, uintmax_t den, size_t digits, 84 const char *have = strpct(buf + 1, bufsiz, num, den, digits); 97 #define h_strpct(bufsiz, num, den, digits, want) \ 98 check_strpct(__FILE__, __LINE__, bufsiz, num, den, digits, want)
|
| /src/tests/lib/libc/locale/ |
| t_digittoint.c | 52 const char *digits; member in struct:test 80 printf(" char %2.2x in position %d\n", t->digits[i], i); 81 ATF_REQUIRE_EQ(digittoint(t->digits[i]), i);
|
| /src/lib/libutil/ |
| strpct.c | 36 * "digits" is the number of digits past the decimal place you want 84 size_t digits) 87 strspct_r(buf, bufsiz, numerator, denominator, digits, _round_); 92 size_t digits, uint32_t round) 106 imax_abs(denominator), digits, round); 153 size_t digits) 156 strpct_r(buf, bufsiz, numerator, denominator, digits, _round_); 161 size_t digits, uint32_t round) 215 for (size_t i = 0; i < 2 + digits; i++) [all...] |
| /src/tests/games/ |
| t_morse.sh | 28 atf_test_case digits 124 atf_add_test_case digits
|
| /src/usr.bin/dc/ |
| inout.c | 273 get_digit(u_long num, int digits, u_int base) 282 if (asprintf(&p, "%0*lu", digits, num) == -1) 292 int digits; local 308 digits = 1; 310 digits = snprintf(buf, sizeof(buf), "%u", base-1); 318 stack_pushstring(&stack, get_digit(rem, digits, base)); 359 p = get_digit(rem, digits, base);
|
| bcode.c | 724 size_t digits; local 733 digits = count_digits(value->u.num); 735 bn_check(BN_set_word(n->number, (BN_ULONG)digits)); 738 digits = strlen(value->u.string); 740 bn_check(BN_set_word(n->number, (BN_ULONG)digits));
|
| /src/libexec/ld.elf_so/ |
| xprintf.c | 94 char digits[sizeof(int) * 3], *dp = digits; local 144 } while (dp != digits && bp < ep); 168 /* emit the hex digits */
|
| /src/usr.bin/btkey/ |
| btkey.c | 246 static const char digits[] = "0123456789abcdef"; local 257 for (p = digits ; 264 key[i] = (key[i] << 4) + (p - digits);
|
| /src/sys/arch/arm/apple/ |
| apple_smc.c | 279 static const char *digits = "0123456789abcdef"; local 283 key |= __SHIFTIN(digits[__SHIFTOUT(pn, __BITS(3, 0))], __BITS(7, 0)); 284 key |= __SHIFTIN(digits[__SHIFTOUT(pn, __BITS(7, 4))], __BITS(15, 8));
|
| /src/usr.bin/m4/ |
| misc.c | 124 static char digits[36] = "0123456789abcdefghijklmnopqrstuvwxyz"; local 136 pushback(digits[num % base]);
|
| /src/usr.bin/make/unit-tests/ |
| cond-cmp-numeric-eq.mk | 45 # typically 16 or 17 significant digits, therefore these two numbers seem to
|
| varmod-to-separator.mk | 144 # The octal number can have as many digits as it wants. 251 # happens for non-octal digits. From 2003.07.23.18.06.46 to
|
| /src/sys/modules/examples/luareadhappy/ |
| happy.lua | 31 -- digits, and repeat the process until the number equals 1 (where it will
|
| /src/usr.sbin/makefs/ |
| cd9660.c | 1065 int numbts, dot, semi, digit, digits, temp, powers, multiplier, count; local 1086 digits = 1; 1089 digits++; 1115 if ((count + digits) < maxlength) 1118 numbts = maxlength - (digits); 1130 numbts = 8 - digits - delete_chars; 1150 while (digits > 0) { 1154 digits--;
|
| /src/usr.sbin/sysinst/ |
| msg.entropy.en | 58 tosses, 100 throws of a 6-sided die, 64 random hexadecimal digits, or
|
| msg.entropy.es | 58 tosses, 100 throws of a 6-sided die, 64 random hexadecimal digits, or
|
| msg.entropy.fr | 58 tosses, 100 throws of a 6-sided die, 64 random hexadecimal digits, or
|
| msg.entropy.pl | 58 tosses, 100 throws of a 6-sided die, 64 random hexadecimal digits, or
|
| /src/bin/ksh/ |
| var.c | 316 const char *digits = (vp->flag & UCASEV_AL) ? local 331 *--s = digits[n % base]; 336 *--s = digits[base % 10]; 338 *--s = digits[base / 10];
|
| /src/lib/libresolv/ |
| res_mkupdate.c | 757 static char digits[] = "0123456789"; variable 809 (int)(strchr(digits, c) - digits);
|
| /src/lib/librumpuser/build-aux/ |
| depcomp | 116 digits=0123456789
|