Searched refs:digit (Results 1 - 25 of 123) sorted by relevance

12345

/freebsd-9.3-release/lib/libc/stdlib/
H A Dl64a.c36 int digit; local
40 digit = v & 0x3f;
41 if (digit < 2)
42 *buffer = digit + ADOT;
43 else if (digit < 12)
44 *buffer = digit + A0 - 2;
45 else if (digit < 38)
46 *buffer = digit + AA - 12;
48 *buffer = digit + Aa - 38;
H A Da64l.c28 int digit, i, value; local
34 digit = *s - ASLASH + 1;
36 digit = *s - A0 + 2;
38 digit = *s - AA + 12;
40 digit = *s - Aa + 38;
42 value |= digit << shift;
/freebsd-9.3-release/tools/test/testfloat/
H A DwriteHex.c40 int digit; local
42 digit = ( a>>4 ) & 0xF;
43 if ( 9 < digit ) digit += 'A' - ( '0' + 10 );
44 fputc( '0' + digit, stream );
45 digit = a & 0xF;
46 if ( 9 < digit ) digit += 'A' - ( '0' + 10 );
47 fputc( '0' + digit, stream );
53 int digit; local
69 int digit; local
[all...]
/freebsd-9.3-release/contrib/cvs/lib/
H A Dstrtoul.c26 unsigned digit; local
67 while ((digit = *s) != '\0')
69 if (digit >= '0' && digit < ('0'+base))
70 digit -= '0';
74 if (digit >= 'a' && digit < ('a'+(base-10)))
75 digit = digit - 'a' + 10;
76 else if (digit >
[all...]
/freebsd-9.3-release/contrib/ntp/libntp/
H A Ddolfptoa.c44 /* can add another digit */
45 u_int32 digit; local
47 digit = fpi;
49 digit -= (fpi << 3) + (fpi << 1); /* i*10 */
50 *--cp = (u_char)digit;
71 u_int32 digit, tmph, tmpl; local
79 digit = 0;
80 M_LSHIFT(digit, fpv);
81 tmph = digit;
83 M_LSHIFT(digit, fp
[all...]
/freebsd-9.3-release/contrib/bind9/lib/isc/
H A Dinet_aton.c96 int digit; local
107 val = 0; base = 10; digit = 0;
114 digit = 1;
129 digit = 1;
134 digit = 1;
158 * Did we get a valid digit?
160 if (!digit)
/freebsd-9.3-release/contrib/bind9/lib/lwres/
H A Dlwinetaton.c100 int digit; local
115 digit = 0;
123 digit = 1;
138 digit = 1;
143 digit = 1;
167 * Did we get a valid digit?
169 if (!digit)
/freebsd-9.3-release/lib/libc/inet/
H A Dinet_network.c57 int i, digit; local
60 val = 0; base = 10; digit = 0;
62 digit = 1, base = 8, cp++;
71 digit = 1;
78 digit = 1;
83 if (!digit)
H A Dinet_addr.c113 int digit; local
124 val = 0; base = 10; digit = 0;
131 digit = 1 ;
140 digit = 1;
146 digit = 1;
170 * Did we get a valid digit?
172 if (!digit)
/freebsd-9.3-release/contrib/ntp/lib/isc/
H A Dinet_aton.c99 int digit; local
110 val = 0; base = 10; digit = 0;
117 digit = 1;
132 digit = 1;
137 digit = 1;
161 * Did we get a valid digit?
163 if (!digit)
/freebsd-9.3-release/contrib/libstdc++/config/os/generic/
H A Dctype_base.h50 static const mask digit = 1 << 3; member in struct:ctype_base
57 static const mask alnum = (1 << 2) | (1 << 3); // alpha|digit
/freebsd-9.3-release/contrib/libstdc++/config/os/solaris/solaris2.5/
H A Dctype_base.h50 static const mask digit = 04; member in struct:ctype_base
/freebsd-9.3-release/contrib/libstdc++/config/os/bsd/darwin/
H A Dctype_base.h52 static const mask digit = _CTYPE_D; member in struct:ctype_base
65 static const mask digit = _D; member in struct:ctype_base
/freebsd-9.3-release/contrib/libstdc++/config/os/bsd/freebsd/
H A Dctype_base.h55 static const mask digit = _CTYPE_D; member in class:ctype_base
68 static const mask digit = _D; member in class:ctype_base
/freebsd-9.3-release/lib/libipsec/
H A Dpolicy_token.l62 digit [0-9]
76 usec {dot}{digit}{1,6}
81 decstring {digit}+
/freebsd-9.3-release/usr.sbin/rrenumd/
H A Dlexer.l70 digit [0-9]
81 usec {dot}{digit}{1,6}
84 decstring {digit}+
88 ipv4addr {digit}{1,3}({dot}{digit}{1,3}){0,3}
90 ipaddrmask {slash}{digit}{1,3}
92 name {letter}(({letter}|{digit}|{hyphen})*({letter}|{digit}))*
95 timeval {digit}{0,2}
/freebsd-9.3-release/contrib/binutils/libiberty/
H A Dsort.c49 /* The type of a single digit. This can be any unsigned integral
54 /* The maximum value a single digit can have. */
58 in the digit on which we are currently sorting. */
85 digit_t *digit; local
98 /* Now, perform a stable sort on this digit. We use counting
102 /* Compute the address of the appropriate digit in the first and
104 machine, the least-significant digit is closest to the front. */
110 digit is K. */
111 for (digit = bias;
112 digit < to
[all...]
/freebsd-9.3-release/contrib/gcclibs/libiberty/
H A Dsort.c49 /* The type of a single digit. This can be any unsigned integral
54 /* The maximum value a single digit can have. */
58 in the digit on which we are currently sorting. */
85 digit_t *digit; local
98 /* Now, perform a stable sort on this digit. We use counting
102 /* Compute the address of the appropriate digit in the first and
104 machine, the least-significant digit is closest to the front. */
110 digit is K. */
111 for (digit = bias;
112 digit < to
[all...]
/freebsd-9.3-release/contrib/llvm/lib/MC/
H A DMCInstPrinter.cpp59 // For asm-style hex (e.g. 0ffh) the first digit always has to be a number.
64 uint64_t digit = (Value >> 60) & 0xf; local
65 if (digit != 0)
66 return (digit >= 0xa);
/freebsd-9.3-release/contrib/libstdc++/config/os/aix/
H A Dctype_base.h50 static const mask digit = _ISDIGIT; member in struct:ctype_base
/freebsd-9.3-release/contrib/libstdc++/config/os/bsd/netbsd/
H A Dctype_base.h53 static const mask digit = _N; member in struct:ctype_base
/freebsd-9.3-release/contrib/libstdc++/config/os/djgpp/
H A Dctype_base.h52 static const mask digit = __dj_ISDIGIT; // Numeric member in struct:ctype_base
/freebsd-9.3-release/contrib/libstdc++/config/os/gnu-linux/
H A Dctype_base.h56 static const mask digit = _ISdigit; member in struct:ctype_base
/freebsd-9.3-release/contrib/libstdc++/config/os/hpux/
H A Dctype_base.h50 static const mask digit = _ISDIGIT; member in struct:ctype_base
/freebsd-9.3-release/contrib/libstdc++/config/os/irix/irix5.2/
H A Dctype_base.h50 static const mask digit = _N; member in struct:ctype_base

Completed in 110 milliseconds

12345