HomeSort by: relevance | last modified time | path
    Searched refs:digits (Results 1 - 25 of 40) sorted by relevancy

1 2

  /src/lib/libc/inet/
inet_net_pton.c 70 static const char digits[] = "0123456789"; local in function:__weak_alias
112 n = strchr(digits, ch) - digits;
141 n = strchr(digits, ch) - digits;
196 static const char digits[] = "0123456789"; local in function:getbits
206 pch = strchr(digits, ch);
211 val += (int)(pch - digits);
227 static const char digits[] = "0123456789"; local in function:getv4
238 pch = strchr(digits, ch)
277 int digits; local in function:inet_net_pton_ipv6
    [all...]
inet_cidr_pton.c 88 static const char digits[] = "0123456789"; variable in typeref:typename:const char[]
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 in function:ns_parse_ttl
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 in typeref:typename:const char[]
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
61 size_t digits)
71 imax_abs(denominator), digits);
118 size_t digits)
135 for (size_t i = 0; i < 2 + digits; i++) {
151 if (i == 1 && digits > 0) {
  /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 in function:printnumber
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 in function:num_digits
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 in function:xvsnprintf
144 } while (dp != digits && bp < ep);
168 /* emit the hex digits */
  /src/usr.bin/btkey/
btkey.c 246 static const char digits[] = "0123456789abcdef"; local in function:scan_key
257 for (p = digits ;
264 key[i] = (key[i] << 4) + (p - digits);
  /src/usr.bin/make/unit-tests/
cond-cmp-numeric-ne.mk 42 # typically 16 or 17 significant digits, therefore these two numbers seem to
varname-dot-make-mode.mk 10 # See the .rawout file for the raw output before stripping the digits.
cond-cmp-numeric-ge.mk 67 # typically 16 or 17 significant digits, therefore these two numbers seem to
cond-cmp-numeric-gt.mk 66 # typically 16 or 17 significant digits, therefore these two numbers seem to
cond-cmp-numeric-le.mk 67 # typically 16 or 17 significant digits, therefore these two numbers seem to
cond-cmp-numeric-lt.mk 66 # typically 16 or 17 significant digits, therefore these two numbers seem to
  /src/sys/arch/arm/apple/
apple_smc.c 279 static const char *digits = "0123456789abcdef"; local in function:apple_smc_gpio_write
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 in function:pbnumbase
136 pushback(digits[num % base]);
  /src/sys/modules/examples/luareadhappy/
happy.lua 31 -- digits, and repeat the process until the number equals 1 (where it will
  /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
  /src/usr.sbin/makefs/
cd9660.c 1062 int numbts, dot, semi, digit, digits, temp, powers, multiplier, count; local in function:cd9660_rename_filename
1083 digits = 1;
1086 digits++;
1112 if ((count + digits) < maxlength)
1115 numbts = maxlength - (digits);
1127 numbts = 8 - digits - delete_chars;
1147 while (digits > 0) {
1151 digits--;

Completed in 25 milliseconds

1 2