Home
last modified time | relevance | path

Searched refs:dig (Results 1 – 18 of 18) sorted by relevance

/titanic_50/usr/src/uts/common/io/
H A Detheraddr.c78 hexval(char dig) in hexval() argument
80 if ('0' <= dig && dig <= '9') { in hexval()
81 return (dig - '0'); in hexval()
82 } else if ('a' <= dig && dig <= 'f') { in hexval()
83 return (dig - 'a' + 10); in hexval()
84 } else if ('A' <= dig && dig <= 'F') { in hexval()
85 return (dig - 'A' + 10); in hexval()
/titanic_50/usr/src/cmd/sgs/m4/common/
H A Dm4y.y132 int c, dig; in yylex() local
137 dig = c - '0'; in yylex()
139 dig = c - 'a' + 10; in yylex()
141 dig = c - 'A' + 10; in yylex()
145 evalval = evalval*base + dig; in yylex()
H A Dm4y_xpg4.y138 int c, dig; in yylex() local
143 dig = c - '0'; in yylex()
145 dig = c - 'a' + 10; in yylex()
147 dig = c - 'A' + 10; in yylex()
151 evalval = evalval*base + dig; in yylex()
/titanic_50/usr/src/lib/libc/port/gen/
H A Dpt.c192 int dig = 0; in itoa() local
197 dig++; in itoa()
201 ptr += dig; in itoa()
203 while (--dig >= 0) { in itoa()
H A Dttyname.c448 int dig = 0; in itoa() local
453 dig++; in itoa()
457 ptr += dig; in itoa()
459 while (--dig >= 0) { in itoa()
/titanic_50/usr/src/lib/libc/port/sys/
H A Dopen.c142 int dig = 0; in itoa() local
147 dig++; in itoa()
151 ptr += dig; in itoa()
153 while (--dig >= 0) { in itoa()
/titanic_50/usr/src/lib/libast/common/string/
H A Dfmtip6.c91 static const char dig[] = "0123456789ABCDEF"; in fmtip6() local
161 *s++ = dig[k]; in fmtip6()
166 *s++ = dig[k]; in fmtip6()
/titanic_50/usr/src/lib/libdhcputil/common/
H A Ddhcp_inittab.c474 int dig, val; in get_mac_addr() local
484 dig = val = 0; in get_mac_addr()
495 } else if (isspace(chr) && dig == 0) { in get_mac_addr()
499 dig = 1; in get_mac_addr()
503 if (++dig == 2) { in get_mac_addr()
506 dig = val = 0; in get_mac_addr()
648 int dig, val, inchr; in inittab_encode_e() local
659 dig = val = 0; in inittab_encode_e()
683 if (++dig == 3) { in inittab_encode_e()
685 dig = val = 0; in inittab_encode_e()
[all …]
/titanic_50/usr/src/lib/libbc/libc/gen/common/
H A Dstrftime.c373 itoa(i, ptr, dig) in itoa() argument
376 register int dig;
378 switch(dig) {
/titanic_50/usr/src/cmd/keyserv/
H A Dsetkey.c1796 hexval(dig) in hexval() argument
1797 char dig; in hexval()
1799 if ('0' <= dig && dig <= '9') {
1800 return (dig - '0');
1801 } else if ('a' <= dig && dig <= 'f') {
1802 return (dig - 'a' + 10);
1803 } else if ('A' <= dig && dig <= 'F') {
1804 return (dig - 'A' + 10);
/titanic_50/usr/src/cmd/dc/
H A Ddc.c780 int carry, dig, magic, d, dd, under; in dcdiv() local
836 dig = td/cc; in dcdiv()
838 if (td%cc < 8 && dig > 0 && magic) { in dcdiv()
839 dig--; in dcdiv()
846 d = sgetc(divr) * dig + carry; in dcdiv()
866 salterc(p, dig); in dcdiv()
887 salterc(p, dig + 1); in dcdiv()
892 salterc(p, dig - 1); in dcdiv()
1498 int dig, dout, ct; in print() local
1538 dig = log10 * sc; in print()
[all …]
/titanic_50/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dftp.c509 int dig; in getreply() local
535 dig = n = code = 0; in getreply()
567 dig++; in getreply()
594 if (c != '\r' && dig > 4) in getreply()
598 dig == 1 && verbose) in getreply()
604 (verbose > -1 && n == '5' && dig > 4))) { in getreply()
606 (dig == 1 || dig == 5 && verbose == 0)) in getreply()
616 if (dig < 4 && isascii(c) && isdigit(c)) in getreply()
624 if (dig > 4 && pflag == 1 && isascii(c) && isdigit(c)) in getreply()
661 if (dig == 4 && c == '-' && !is_base64) { in getreply()
/titanic_50/usr/src/grub/grub-0.97/stage2/
H A Dchar_io.c169 int dig = num % mult; in convert_to_ascii() local
170 *(ptr++) = ((dig > 9) ? dig + 'a' - 10 : '0' + dig); in convert_to_ascii()
/titanic_50/usr/src/common/mpi/
H A Dmpi.c1137 int dig, bit; in mp_expt() local
1153 for(dig = 0; dig < (USED(b) - 1); dig++) { in mp_expt()
1154 d = DIGIT(b, dig); in mp_expt()
1171 d = DIGIT(b, dig); in mp_expt()
1512 int dig, bit; in s_mp_exptmod() local
1536 for(dig = 0; dig < (USED(b) - 1); dig++) { in s_mp_exptmod()
1537 d = DIGIT(b, dig); in s_mp_exptmod()
1558 d = DIGIT(b, dig); in s_mp_exptmod()
4354 mp_size dig, bit; in s_mp_2expt() local
4356 dig = k / DIGIT_BIT; in s_mp_2expt()
[all …]
/titanic_50/usr/src/lib/libresolv2/common/resolv/
H A Dres_mkupdate.c757 int dig = 0; in getstr_str() local
772 dig = 0; in getstr_str()
803 if (++dig == 3) { in getstr_str()
/titanic_50/usr/src/cmd/look/
H A Dwords6700 dig
/titanic_50/usr/src/cmd/spell/
H A Dlist6698 dig
/titanic_50/usr/src/data/hwdata/
H A Dpci.ids11961 80fc APCI1500 Signal processing controller (16 dig. inputs + 16 dig. outputs)