bin/pax/gen_subs.c
247
u_long digit;
bin/pax/gen_subs.c
261
if ((digit = (val & 0xf)) < 10)
bin/pax/gen_subs.c
262
*pt-- = '0' + (char)digit;
bin/pax/gen_subs.c
264
*pt-- = 'a' + (char)(digit - 10);
bin/pax/gen_subs.c
343
u_quad_t digit;
bin/pax/gen_subs.c
357
if ((digit = (val & 0xf)) < 10)
bin/pax/gen_subs.c
358
*pt-- = '0' + (char)digit;
bin/pax/gen_subs.c
360
*pt-- = 'a' + (char)(digit - 10);
crypto/heimdal/appl/ftp/ftpd/ftpcmd.c
2701
int ret, dec, multby, digit;
crypto/heimdal/appl/ftp/ftpd/ftpcmd.c
2711
digit = dec%10;
crypto/heimdal/appl/ftp/ftpd/ftpcmd.c
2712
if (digit > 7) {
crypto/heimdal/appl/ftp/ftpd/ftpcmd.c
2716
ret += digit * multby;
crypto/heimdal/appl/ftp/ftpd/ftpcmd.y
867
int ret, dec, multby, digit;
crypto/heimdal/appl/ftp/ftpd/ftpcmd.y
877
digit = dec%10;
crypto/heimdal/appl/ftp/ftpd/ftpcmd.y
878
if (digit > 7) {
crypto/heimdal/appl/ftp/ftpd/ftpcmd.y
882
ret += digit * multby;
crypto/heimdal/lib/roken/getcap.c
1056
int base, digit;
crypto/heimdal/lib/roken/getcap.c
1088
digit = *bp - '0';
crypto/heimdal/lib/roken/getcap.c
1090
digit = 10 + *bp - 'a';
crypto/heimdal/lib/roken/getcap.c
1092
digit = 10 + *bp - 'A';
crypto/heimdal/lib/roken/getcap.c
1096
if (digit >= base)
crypto/heimdal/lib/roken/getcap.c
1099
n = n * base + digit;
crypto/heimdal/lib/wind/punycode.c
150
out[o++] = digit(t + ((q - t) % (base - t)));
crypto/heimdal/lib/wind/punycode.c
155
out[o++] = digit(q);
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
69
int digit;
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
73
digit = valcopy & 0xFF;
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
74
insert_byte(buf, digit);
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
79
if (val > 0 && (digit & 0x80) == 0x80)
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
81
else if (val < 0 && (digit & 0x80) != 0x80)
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
89
int digit;
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
93
digit = valcopy & 0xFF;
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
94
insert_byte(buf, digit);
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
99
if (digit & 0x80)
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
1225
ucdigit_lookup(krb5_ui_4 code, int *digit)
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
1246
*digit = *vp;
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.h
310
ucdigit_lookup (krb5_ui_4 code, int *digit);
crypto/openssl/crypto/bn/bn_intern.c
101
window_val -= digit;
crypto/openssl/crypto/bn/bn_intern.c
114
r[j++] = sign * digit;
crypto/openssl/crypto/bn/bn_intern.c
70
int digit = 0;
crypto/openssl/crypto/bn/bn_intern.c
78
digit = window_val - next_bit; /* -2^w < digit < 0 */
crypto/openssl/crypto/bn/bn_intern.c
89
digit = window_val & (mask >> 1); /* 0 < digit < 2^w */
crypto/openssl/crypto/bn/bn_intern.c
93
digit = window_val; /* 0 < digit < 2^w */
crypto/openssl/crypto/bn/bn_intern.c
96
if (digit <= -bit || digit >= bit || !(digit & 1)) {
crypto/openssl/crypto/bn/rsaz_exp_x2.c
43
static ossl_inline void put_digit(uint8_t *out, int out_len, uint64_t digit);
crypto/openssl/crypto/bn/rsaz_exp_x2.c
578
uint64_t digit = 0;
crypto/openssl/crypto/bn/rsaz_exp_x2.c
584
digit <<= 8;
crypto/openssl/crypto/bn/rsaz_exp_x2.c
585
digit += (uint64_t)(in[in_len - 1]);
crypto/openssl/crypto/bn/rsaz_exp_x2.c
587
return digit;
crypto/openssl/crypto/bn/rsaz_exp_x2.c
607
uint64_t digit;
crypto/openssl/crypto/bn/rsaz_exp_x2.c
609
memcpy(&digit, in_str, sizeof(digit));
crypto/openssl/crypto/bn/rsaz_exp_x2.c
610
out[0] = digit & DIGIT_MASK;
crypto/openssl/crypto/bn/rsaz_exp_x2.c
612
memcpy(&digit, in_str, sizeof(digit));
crypto/openssl/crypto/bn/rsaz_exp_x2.c
613
out[1] = (digit >> 4) & DIGIT_MASK;
crypto/openssl/crypto/bn/rsaz_exp_x2.c
619
uint64_t digit = get_digit(in_str, 7);
crypto/openssl/crypto/bn/rsaz_exp_x2.c
621
out[0] = digit & DIGIT_MASK;
crypto/openssl/crypto/bn/rsaz_exp_x2.c
624
digit = get_digit(in_str, BITS2WORD8_SIZE(in_bitsize));
crypto/openssl/crypto/bn/rsaz_exp_x2.c
625
out[1] = digit >> 4;
crypto/openssl/crypto/bn/rsaz_exp_x2.c
637
static ossl_inline void put_digit(uint8_t *out, int out_len, uint64_t digit)
crypto/openssl/crypto/bn/rsaz_exp_x2.c
643
*out++ = (uint8_t)(digit & 0xFF);
crypto/openssl/crypto/bn/rsaz_exp_x2.c
644
digit >>= 8;
crypto/openssl/crypto/bn/rsaz_exp_x2.c
668
uint64_t digit;
crypto/openssl/crypto/bn/rsaz_exp_x2.c
670
digit = in[0];
crypto/openssl/crypto/bn/rsaz_exp_x2.c
671
memcpy(out_str, &digit, sizeof(digit));
crypto/openssl/crypto/bn/rsaz_exp_x2.c
673
digit = digit >> 48 | in[1] << 4;
crypto/openssl/crypto/bn/rsaz_exp_x2.c
674
memcpy(out_str, &digit, sizeof(digit));
crypto/openssl/crypto/cpuid.c
64
unsigned int digit, base = 10;
crypto/openssl/crypto/cpuid.c
72
while ((digit = todigit(*str++)) < base)
crypto/openssl/crypto/cpuid.c
73
ret = ret * base + digit;
crypto/openssl/crypto/ec/ec_local.h
618
unsigned char *digit,
crypto/openssl/crypto/ec/ec_mult.c
715
int digit = wNAF[i][k];
crypto/openssl/crypto/ec/ec_mult.c
718
if (digit) {
crypto/openssl/crypto/ec/ec_mult.c
719
is_neg = digit < 0;
crypto/openssl/crypto/ec/ec_mult.c
722
digit = -digit;
crypto/openssl/crypto/ec/ec_mult.c
735
if (!EC_POINT_copy(r, val_sub[i][digit >> 1]))
crypto/openssl/crypto/ec/ec_mult.c
753
if (!EC_POINT_add(group, r, r, val_sub[i][digit >> 1], ctx))
crypto/openssl/crypto/ec/ecp_nistp224.c
1136
u8 sign, digit;
crypto/openssl/crypto/ec/ecp_nistp224.c
1194
ossl_ec_GFp_nistp_recode_scalar_bits(&sign, &digit, bits);
crypto/openssl/crypto/ec/ecp_nistp224.c
1197
select_point(digit, 17, pre_comp[num], tmp);
crypto/openssl/crypto/ec/ecp_nistp256.c
1678
u8 sign, digit;
crypto/openssl/crypto/ec/ecp_nistp256.c
1738
ossl_ec_GFp_nistp_recode_scalar_bits(&sign, &digit, bits);
crypto/openssl/crypto/ec/ecp_nistp256.c
1743
select_point(digit, 17, pre_comp[num], tmp);
crypto/openssl/crypto/ec/ecp_nistp384.c
1415
u8 sign, digit;
crypto/openssl/crypto/ec/ecp_nistp384.c
1463
ossl_ec_GFp_nistp_recode_scalar_bits(&sign, &digit, bits);
crypto/openssl/crypto/ec/ecp_nistp384.c
1468
select_point(digit, 17, pre_comp[num], tmp);
crypto/openssl/crypto/ec/ecp_nistp521.c
1508
u8 sign, digit;
crypto/openssl/crypto/ec/ecp_nistp521.c
1555
ossl_ec_GFp_nistp_recode_scalar_bits(&sign, &digit, bits);
crypto/openssl/crypto/ec/ecp_nistp521.c
1560
select_point(digit, 17, pre_comp[num], tmp);
crypto/openssl/crypto/ec/ecp_nistputil.c
212
unsigned char *digit, unsigned char in)
crypto/openssl/crypto/ec/ecp_nistputil.c
223
*digit = d;
crypto/openssl/crypto/punycode.c
153
int digit;
crypto/openssl/crypto/punycode.c
159
digit = digit_decoded(pEncoded[loop]);
crypto/openssl/crypto/punycode.c
162
if (digit < 0)
crypto/openssl/crypto/punycode.c
164
if ((unsigned int)digit > (maxint - i) / w)
crypto/openssl/crypto/punycode.c
167
i = i + digit * w;
crypto/openssl/crypto/punycode.c
171
if ((unsigned int)digit < t)
include/xlocale/_ctype.h
125
XLOCALE_ISCTYPE(digit, _CTYPE_D)
lib/libc/gen/getcap.c
1010
digit = *bp - '0';
lib/libc/gen/getcap.c
1012
digit = 10 + *bp - 'a';
lib/libc/gen/getcap.c
1014
digit = 10 + *bp - 'A';
lib/libc/gen/getcap.c
1018
if (digit >= base)
lib/libc/gen/getcap.c
1021
n = n * base + digit;
lib/libc/gen/getcap.c
978
int base, digit;
lib/libc/inet/inet_addr.c
107
int digit;
lib/libc/inet/inet_addr.c
118
val = 0; base = 10; digit = 0;
lib/libc/inet/inet_addr.c
125
digit = 1 ;
lib/libc/inet/inet_addr.c
134
digit = 1;
lib/libc/inet/inet_addr.c
140
digit = 1;
lib/libc/inet/inet_addr.c
166
if (!digit)
lib/libc/inet/inet_network.c
52
int i, digit;
lib/libc/inet/inet_network.c
55
val = 0; base = 10; digit = 0;
lib/libc/inet/inet_network.c
57
digit = 1, base = 8, cp++;
lib/libc/inet/inet_network.c
66
digit = 1;
lib/libc/inet/inet_network.c
73
digit = 1;
lib/libc/inet/inet_network.c
78
if (!digit)
lib/libc/net/linkaddr.c
101
int digit, digit2;
lib/libc/net/linkaddr.c
127
if ((digit = DIGIT(*addr)) == -1) {
lib/libc/net/linkaddr.c
136
digit = (digit << 4) | digit2;
lib/libc/net/linkaddr.c
146
*cp++ = digit;
lib/libc/net/linkaddr.c
153
*cp++ = digit;
lib/libc/net/linkaddr.c
156
*cp++ = digit;
lib/libc/quad/qdivrem.c
136
digit q1, q2, q3, q4;
lib/libc/quad/qdivrem.c
193
digit uj0, uj1, uj2;
lib/libc/quad/qdivrem.c
61
shl(digit *p, int len, int sh)
lib/libc/quad/qdivrem.c
82
digit *u, *v, *q;
lib/libc/quad/qdivrem.c
83
digit v1, v2;
lib/libc/quad/qdivrem.c
86
digit uspace[5], vspace[5], qspace[5];
lib/libc/stdio/xprintf_int.c
263
const char *nalt, *digit;
lib/libc/stdio/xprintf_int.c
271
digit = __lowercase_hex;
lib/libc/stdio/xprintf_int.c
292
digit = __uppercase_hex;
lib/libc/stdio/xprintf_int.c
350
p = __ultoa(uu, pe, rdx, digit, ngrp, thousands_sep, grouping);
lib/libc/stdio/xprintf_int.c
352
p = __ujtoa(uu, pe, rdx, digit, ngrp, thousands_sep, grouping);
lib/libc/stdlib/a64l.c
26
int digit, i, value;
lib/libc/stdlib/a64l.c
32
digit = *s - ASLASH + 1;
lib/libc/stdlib/a64l.c
34
digit = *s - A0 + 2;
lib/libc/stdlib/a64l.c
36
digit = *s - AA + 12;
lib/libc/stdlib/a64l.c
38
digit = *s - Aa + 38;
lib/libc/stdlib/a64l.c
40
value |= digit << shift;
libexec/getty/main.c
342
digit = 1;
libexec/getty/main.c
368
if (!(upper || lower || digit)) {
libexec/getty/main.c
530
crmod = digit = lower = upper = 0;
libexec/getty/main.c
593
digit = lower = upper = 0;
libexec/getty/main.c
597
digit = 1;
libexec/getty/main.c
83
static int crmod, digit, lower, upper;
sbin/hastd/proto_tcp.c
74
intmax_t digit, num;
sbin/hastd/proto_tcp.c
82
digit = *str - '0';
sbin/hastd/proto_tcp.c
83
if (num > num * 10 + digit)
sbin/hastd/proto_tcp.c
85
num = num * 10 + digit;
stand/ficl/float.c
835
unsigned char ch, digit;
stand/ficl/float.c
894
digit = (unsigned char)(ch - '0');
stand/ficl/float.c
895
if (digit > 9)
stand/ficl/float.c
898
accum = accum * 10 + digit;
stand/ficl/float.c
915
digit = (unsigned char)(ch - '0');
stand/ficl/float.c
916
if (digit > 9)
stand/ficl/float.c
919
accum += digit * mant;
stand/ficl/float.c
946
digit = (unsigned char)(ch - '0');
stand/ficl/float.c
947
if (digit > 9)
stand/ficl/float.c
950
exponent = exponent * 10 + digit;
stand/ficl/words.c
213
unsigned digit;
stand/ficl/words.c
248
digit = ch - '0';
stand/ficl/words.c
250
if (digit > 9)
stand/ficl/words.c
251
digit = tolower(ch) - 'a' + 10;
stand/ficl/words.c
253
if (digit >= base)
stand/ficl/words.c
256
accum = accum * base + digit;
stand/ficl/words.c
3066
FICL_UNS digit;
stand/ficl/words.c
3081
digit = ch - '0';
stand/ficl/words.c
3083
if (digit > 9)
stand/ficl/words.c
3084
digit = tolower(ch) - 'a' + 10;
stand/ficl/words.c
3089
if (digit >= base)
stand/ficl/words.c
3092
accum = m64Mac(accum, base, digit);
stand/libsa/pkgfs.c
575
int digit, sign, base;
stand/libsa/pkgfs.c
590
digit = *p - '0';
stand/libsa/pkgfs.c
591
while (digit >= 0 && digit < base && char_cnt-- > 0) {
stand/libsa/pkgfs.c
592
if (l>limit || (l == limit && digit > last_digit_limit)) {
stand/libsa/pkgfs.c
596
l = (l * base) + digit;
stand/libsa/pkgfs.c
597
digit = *++p - '0';
sys/ddb/db_lex.c
204
int r, digit = 0;
sys/ddb/db_lex.c
227
digit = c - '0';
sys/ddb/db_lex.c
231
digit = c - 'a' + 10;
sys/ddb/db_lex.c
233
digit = c - 'A' + 10;
sys/ddb/db_lex.c
237
db_tok_number = db_tok_number * r + digit;
sys/dev/bxe/bxe_elink.c
7027
uint8_t digit;
sys/dev/bxe/bxe_elink.c
7038
digit = ((num & mask) >> shift);
sys/dev/bxe/bxe_elink.c
7039
if (digit == 0 && remove_leading_zeros) {
sys/dev/bxe/bxe_elink.c
7042
} else if (digit < 0xa)
sys/dev/bxe/bxe_elink.c
7043
*str_ptr = digit + '0';
sys/dev/bxe/bxe_elink.c
7045
*str_ptr = digit - 0xa + 'a';
sys/fs/nfsserver/nfs_nfsdsubs.c
1952
char digit;
sys/fs/nfsserver/nfs_nfsdsubs.c
2052
digit = nfsrv_hexdigit(*fromcp, &error);
sys/fs/nfsserver/nfs_nfsdsubs.c
2059
val = (digit << 4);
sys/fs/nfsserver/nfs_nfsdsubs.c
2062
val += digit;
sys/kern/kern_fail.c
1093
int digit = *p - '0';
sys/kern/kern_fail.c
1095
*out_decimal = *out_decimal * 10 + digit;
sys/kern/kern_fail.c
1096
else if (digits == PROB_DIGITS - 2 && digit >= 5)
sys/kern/subr_blist.c
1010
digit = (blk / radix) & BLIST_MASK;
sys/kern/subr_blist.c
1011
i = 1 + digit * skip;
sys/kern/subr_blist.c
1017
scan->bm_bitmap &= ~((u_daddr_t)1 << digit);
sys/kern/subr_blist.c
1030
int digit;
sys/kern/subr_blist.c
1060
digit = bitpos(mask);
sys/kern/subr_blist.c
1061
blst_radix_print(&scan[1 + digit * skip], blk + digit * radix,
sys/kern/subr_blist.c
1063
} while ((mask ^= bitrange(digit, 1)) != 0);
sys/kern/subr_blist.c
514
int digit;
sys/kern/subr_blist.c
545
digit = bitpos(diff);
sys/kern/subr_blist.c
546
update_gap_stats(stats, i + digit);
sys/kern/subr_blist.c
547
diff ^= bitrange(digit, 1);
sys/kern/subr_blist.c
591
int avail, digit;
sys/kern/subr_blist.c
644
(digit = ((blk / radix) & BLIST_MASK)) == 0;
sys/kern/subr_blist.c
650
scan[-digit * radix_to_skip(radix)].bm_bitmap ^=
sys/kern/subr_blist.c
651
(u_daddr_t)1 << digit;
sys/kern/subr_blist.c
777
int digit;
sys/kern/subr_blist.c
787
digit = (cursor / radix) & BLIST_MASK;
sys/kern/subr_blist.c
788
mask &= (u_daddr_t)-1 << digit;
sys/kern/subr_blist.c
797
if (((mask >> digit) & 1) == 1)
sys/kern/subr_blist.c
798
cursor -= digit * radix;
sys/kern/subr_blist.c
806
digit = bitpos(mask);
sys/kern/subr_blist.c
807
i = 1 + digit * skip;
sys/kern/subr_blist.c
812
r = blst_meta_alloc(&scan[i], cursor + digit * radix,
sys/kern/subr_blist.c
816
scan->bm_bitmap ^= bitrange(digit, 1);
sys/kern/subr_blist.c
821
} while ((mask ^= bitrange(digit, 1)) != 0);
sys/kern/subr_blist.c
827
if (scan_from_start && !(digit == BLIST_RADIX - 1 &&
sys/kern/subr_blist.c
870
int digit, endDigit;
sys/kern/subr_blist.c
893
digit = (blk / radix) & BLIST_MASK;
sys/kern/subr_blist.c
895
scan->bm_bitmap |= bitrange(digit, endDigit - digit);
sys/kern/subr_blist.c
896
for (i = 1 + digit * skip; blk < endBlk; i += skip) {
sys/kern/subr_blist.c
993
int digit;
sys/libkern/qdivrem.c
137
digit q1, q2, q3, q4;
sys/libkern/qdivrem.c
194
digit uj0, uj1, uj2;
sys/libkern/qdivrem.c
62
__shl(digit *p, int len, int sh)
sys/libkern/qdivrem.c
83
digit *u, *v, *q;
sys/libkern/qdivrem.c
84
digit v1, v2;
sys/libkern/qdivrem.c
87
digit uspace[5], vspace[5], qspace[5];
usr.sbin/lpr/lpd/recvjob.c
198
for (size = 0; digit(*cp); cp++) {
usr.sbin/lpr/lpd/recvjob.c
212
!digit(cp[3]) || !digit(cp[4]) || !digit(cp[5]))
usr.sbin/lpr/lpd/recvjob.c
249
for (size = 0; digit(*cp); cp++) {
usr.sbin/lpr/lpd/recvjob.c
266
!digit(cp[3]) || !digit(cp[4]) || !digit(cp[5]))
usr.sbin/makefs/cd9660.c
1030
int numbts, digit, digits, temp, powers, count;
usr.sbin/makefs/cd9660.c
1106
digit = (int)(temp / powers);
usr.sbin/makefs/cd9660.c
1107
temp = temp - digit * powers;
usr.sbin/makefs/cd9660.c
1109
"%d", digit);