Searched defs:digit (Results 26 - 50 of 58) sorted by relevance

123

/illumos-gate/usr/src/lib/libshell/common/sh/
H A Darray.c755 unsigned dot, digit, n; local
775 if ((digit = dot)== 0)
777 else while( n = digit )
779 digit /= 10;
780 *--string_index = '0' + (n-10*digit);
/illumos-gate/usr/src/lib/libsqlite/src/
H A Dutil.c808 ** This means we can not use the traditional base-64 digit set. */
851 int digit; local
853 digit = (int)r;
854 assert( digit>=0 && digit<64 );
855 *z++ = zDigit[digit & 0x3f];
856 r -= digit;
H A Dprintf.c142 ** Return the ascii code for the leading digit of *val, then
154 int digit; local
157 digit = (int)*val;
158 d = digit;
159 digit += '0';
161 return digit;
473 *(bufpt++) = et_getdigit(&realvalue,&nsd); /* First digit */
476 bufpt--; /* point to last digit */
487 *(bufpt++) = (exp/100)+'0'; /* 100's digit */
490 *(bufpt++) = exp/10+'0'; /* 10's digit */
[all...]
/illumos-gate/usr/src/lib/libc/port/stdio/
H A Ddoscan.c784 int digit = c - (isdigit(c) ? '0' : local
786 if (digit >= base)
789 lcval = base * lcval + digit;
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dglob.c99 static int digit(char c);
213 while (letter(*cs) || digit(*cs) || *cs == '-')
659 digit(char c) function
/illumos-gate/usr/src/lib/libast/amd64/include/ast/
H A Dtm.h128 char* digit; /* output digits */ member in struct:__anon2601
/illumos-gate/usr/src/lib/libast/common/include/
H A Dtm.h119 char* digit; /* output digits */ member in struct:__anon2635
/illumos-gate/usr/src/lib/libast/i386/include/ast/
H A Dtm.h128 char* digit; /* output digits */ member in struct:__anon2701
/illumos-gate/usr/src/lib/libast/sparc/include/ast/
H A Dtm.h128 char* digit; /* output digits */ member in struct:__anon2723
/illumos-gate/usr/src/lib/libast/sparcv9/include/ast/
H A Dtm.h128 char* digit; /* output digits */ member in struct:__anon2745
/illumos-gate/usr/src/lib/libshell/common/edit/
H A Demacs.c745 int digit,ch; local
746 digit = 0;
752 digit = 1;
754 if (digit)
H A Dvi.c68 # define digit(c) ((c&~STRIP)==0 && isdigit(c)) macro
89 # define digit(c) isdigit(c) macro
752 if( digit(c) )
1284 while( digit(c) )
/illumos-gate/usr/src/cmd/hal/hald/
H A Dutil.c279 gint digit; local
316 digit = (int) (c - '0');
317 left += digit;
330 digit = (int) (c - '0');
331 right += digit;
/illumos-gate/usr/src/uts/common/io/
H A Dgen_drv.c1417 uint_t digit; local
1421 digit = *s++ - '0';
1424 val = (val * 10) + digit;
/illumos-gate/usr/src/uts/common/io/ppm/
H A Dppm_subr.c995 int digit; local
1007 for (digit = 0; *cp; cp++) {
1009 digit = (digit * base) + ((*cp - 'A') + D_BASE);
1011 digit = (digit * base) + ((*cp - 'a') + D_BASE);
1013 digit = (digit * base) + (*cp - '0');
1016 return (*val = digit);
/illumos-gate/usr/src/lib/libnisdb/
H A Dnis_parse_ldap_map.c503 time_t digit; local
517 digit = (*s++) - '0';
518 if (WILL_OVERFLOW_TIME(initTtlLo, digit))
521 initTtlLo = initTtlLo * 10 + digit;
538 digit = (*s++) - '0';
539 if (WILL_OVERFLOW_TIME(initTtlHi, digit))
542 initTtlHi = initTtlHi * 10 + digit;
559 digit = (*s++) - '0';
560 if (WILL_OVERFLOW_TIME(ttl, digit))
563 ttl = ttl * 10 + digit;
[all...]
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dchar_io.c887 unsigned int digit; local
889 digit = tolower (*ptr) - '0';
890 if (digit > 9)
892 digit -= 'a' - '0';
893 if (mult == 10 || digit > 5)
895 digit += 10;
899 if (myint > ((MAXINT - digit) / mult))
904 myint = (myint * mult) + digit;
/illumos-gate/usr/src/common/ficl/
H A Dvm.c2593 unsigned digit; local
2625 digit = c - '0';
2627 if (digit > 9)
2628 digit = tolower(c) - 'a' + 10;
2630 if (digit >= base)
2633 accumulator = accumulator * base + digit;
H A Dprimitives.c1528 * n. (n is the least-significant digit of ud1.) Convert n to external form
1572 * Convert one digit of ud1 according to the rule for #. Continue conversion
1660 ficlUnsigned digit; local
1672 digit = c - '0';
1674 if (digit > 9)
1675 digit = tolower(c) - 'a' + 10;
1678 * because 'digit' is unsigned!
1680 if (digit >= base)
1684 base, digit);
/illumos-gate/usr/src/boot/lib/libstand/
H A Dpkgfs.c524 int digit, sign, base; local
539 digit = *p - '0';
540 while (digit >= 0 && digit < base && char_cnt-- > 0) {
541 if (l>limit || (l == limit && digit > last_digit_limit)) {
545 l = (l * base) + digit;
546 digit = *++p - '0';
/illumos-gate/usr/src/lib/efcode/include/fcode/
H A Dproto.h164 FNPROTO(digit); variable
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_common.c1718 int i, seg, digit, port; local
1723 digit = seg = port = 0;
1727 digit++;
1731 if (digit > 3 || digit == 0)
1733 digit = 0;
1738 if (digit > 3)
1741 digit = 0;
1748 if ((seg == 3 && port == 0 && digit > 0 && digit <
1763 int i, col, digit, port, dc, tc; local
1843 int i, seg, alpha, digit, port; local
[all...]
/illumos-gate/usr/src/common/bignum/
H A Dbignumimpl.c1233 * where r and a are vectors; b is a single 32-bit digit
1284 * where r and a are vectors; b is a single 32-bit digit
1383 * r = r + a * digit, r and a are vectors of length len
1384 * returns the carry digit
1388 BIG_CHUNK_TYPE digit)
1394 dlow = digit & BIG_CHUNK_LOWHALFBITS;
1395 dhigh = digit >> (BIG_CHUNK_SIZE / 2);
1432 * r = a * digit, r and a are vectors of length len
1433 * returns the carry digit
1437 BIG_CHUNK_TYPE digit)
1387 big_mul_add_vec(BIG_CHUNK_TYPE *r, BIG_CHUNK_TYPE *a, int len, BIG_CHUNK_TYPE digit) argument
1436 big_mul_set_vec(BIG_CHUNK_TYPE *r, BIG_CHUNK_TYPE *a, int len, BIG_CHUNK_TYPE digit) argument
1474 big_mul_add_vec(uint32_t *r, uint32_t *a, int len, uint32_t digit) argument
1508 big_mul_set_vec(uint32_t *r, uint32_t *a, int len, uint32_t digit) argument
1668 BIG_CHUNK_TYPE digit, c; local
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Doptions.c1161 int value, digit, got, n; local
1297 digit = (islower(c) ? toupper(c) : c) - '0';
1298 if (digit > 10 || digit < 0) /* allow non-ASCII */
1299 digit += '0' + 10 - 'A';
1300 value = (value << 4) + digit;
/illumos-gate/usr/src/cmd/cfgadm/
H A Dcfgadm.c2299 int size_ap = 0, size_mkr = 0, digit = 0, i = 0; local
2359 digit = 0;
2362 digit++;
2366 if (digit == 0) {

Completed in 255 milliseconds

123