Searched refs:dig (Results 1 - 15 of 15) sorted by relevance

/illumos-gate/usr/src/uts/common/io/
H A Detheraddr.c78 hexval(char dig) argument
80 if ('0' <= dig && dig <= '9') {
81 return (dig - '0');
82 } else if ('a' <= dig && dig <= 'f') {
83 return (dig - 'a' + 10);
84 } else if ('A' <= dig && dig <= 'F') {
85 return (dig
[all...]
/illumos-gate/usr/src/cmd/sgs/m4/common/
H A Dm4y.y132 int c, dig;
137 dig = c - '0';
139 dig = c - 'a' + 10;
141 dig = c - 'A' + 10;
145 evalval = evalval*base + dig;
H A Dm4y_xpg4.y138 int c, dig;
143 dig = c - '0';
145 dig = c - 'a' + 10;
147 dig = c - 'A' + 10;
151 evalval = evalval*base + dig;
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dpt.c192 int dig = 0; local
197 dig++;
201 ptr += dig;
203 while (--dig >= 0) {
H A Dttyname.c448 int dig = 0; local
453 dig++;
457 ptr += dig;
459 while (--dig >= 0) {
/illumos-gate/usr/src/lib/libc/port/sys/
H A Dopen.c142 int dig = 0; local
147 dig++;
151 ptr += dig;
153 while (--dig >= 0) {
/illumos-gate/usr/src/lib/libast/common/string/
H A Dfmtip6.c91 static const char dig[] = "0123456789ABCDEF"; local
161 *s++ = dig[k];
166 *s++ = dig[k];
/illumos-gate/usr/src/lib/libdhcputil/common/
H A Ddhcp_inittab.c474 int dig, val; local
484 dig = val = 0;
495 } else if (isspace(chr) && dig == 0) {
499 dig = 1;
503 if (++dig == 2) {
506 dig = val = 0;
648 int dig, val, inchr; local
659 dig = val = 0;
683 if (++dig == 3) {
685 dig
[all...]
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dstrftime.c373 itoa(i, ptr, dig)
376 register int dig;
378 switch(dig) {
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dchar_io.c170 int dig = num % mult; local
171 *(ptr++) = ((dig > 9) ? dig + 'a' - 10 : '0' + dig);
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dftp.c497 * 'dig' counts the number of digits we are along in the code
509 int dig; local
535 dig = n = code = 0;
567 dig++;
594 if (c != '\r' && dig > 4)
598 dig == 1 && verbose)
604 (verbose > -1 && n == '5' && dig > 4))) {
606 (dig == 1 || dig == 5 && verbose == 0))
616 if (dig <
[all...]
/illumos-gate/usr/src/cmd/keyserv/
H A Dsetkey.c1796 hexval(dig)
1797 char dig;
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 <
[all...]
/illumos-gate/usr/src/cmd/dc/
H A Ddc.c780 int carry, dig, magic, d, dd, under; local
836 dig = td/cc;
838 if (td%cc < 8 && dig > 0 && magic) {
839 dig--;
846 d = sgetc(divr) * dig + carry;
866 salterc(p, dig);
887 salterc(p, dig + 1);
892 salterc(p, dig - 1);
1498 int dig, dout, ct; local
1538 dig
[all...]
/illumos-gate/usr/src/common/mpi/
H A Dmpi.c1137 int dig, bit; local
1153 for(dig = 0; dig < (USED(b) - 1); dig++) {
1154 d = DIGIT(b, dig);
1171 d = DIGIT(b, dig);
1512 int dig, bit; local
1536 for(dig = 0; dig < (USED(b) - 1); dig
4354 mp_size dig, bit; local
[all...]
/illumos-gate/usr/src/lib/libresolv2/common/resolv/
H A Dres_mkupdate.c757 int dig = 0; local
772 dig = 0;
803 if (++dig == 3) {

Completed in 158 milliseconds