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

12345678

/openbsd-current/lib/libc/stdlib/
H A Dl64a.c15 int digit; local
24 digit = value & 0x3f;
26 if (digit < 2)
27 *s = digit + '.';
28 else if (digit < 12)
29 *s = digit + '0' - 2;
30 else if (digit < 38)
31 *s = digit + 'A' - 12;
33 *s = digit + 'a' - 38;
H A Da64l.c13 long value, digit, shift; local
25 digit = *s - '.';
27 digit = *s - '0' + 2;
29 digit = *s - 'A' + 12;
31 digit = *s - 'a' + 38;
37 value |= digit << shift;
/openbsd-current/gnu/usr.bin/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...]
/openbsd-current/lib/libkeynote/
H A Dkeynote.l49 digit [0-9]
51 number {digit}+
52 flt {digit}+"."{digit}+
319 * Return RESULT_TRUE if character is octal digit, RESULT_FALSE otherwise.
/openbsd-current/lib/libc/quad/
H A Dqdivrem.c42 #define B ((int)1 << HALF_BITS) /* digit base */
44 /* Combine two `digits' to make a single two-digit number. */
49 typedef unsigned short digit; typedef
51 typedef u_int digit; typedef
54 static void shl(digit *p, int len, int sh);
68 digit *u, *v, *q;
69 digit v1, v2;
72 digit uspace[5], vspace[5], qspace[5];
110 u[1] = (digit)HHALF(tmp.ul[H]);
111 u[2] = (digit)LHAL
[all...]
/openbsd-current/sys/lib/libkern/
H A Dqdivrem.c41 #define B ((int)1 << HALF_BITS) /* digit base */
43 /* Combine two `digits' to make a single two-digit number. */
48 typedef unsigned short digit; typedef
50 typedef u_int digit; typedef
53 static void shl(digit *p, int len, int sh);
67 digit *u, *v, *q;
68 digit v1, v2;
71 digit uspace[5], vspace[5], qspace[5];
109 u[1] = (digit)HHALF(tmp.ul[H]);
110 u[2] = (digit)LHAL
[all...]
/openbsd-current/gnu/gcc/libstdc++-v3/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
/openbsd-current/gnu/gcc/libstdc++-v3/config/os/solaris/solaris2.5/
H A Dctype_base.h50 static const mask digit = 04; member in struct:ctype_base
/openbsd-current/gnu/lib/libstdc++/libstdc++/config/os/generic/
H A Dctype_base.h47 static const mask digit = 1 << 3; member in struct:ctype_base
/openbsd-current/gnu/lib/libstdc++/libstdc++/config/os/solaris/solaris2.5/
H A Dctype_base.h47 static const mask digit = 04; member in struct:ctype_base
/openbsd-current/games/morse/
H A Dmorse.c40 *digit[] = { variable
216 show(digit[c - '0']);
237 if (strcmp(digit[i], s) == 0) {
/openbsd-current/gnu/gcc/libstdc++-v3/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
/openbsd-current/gnu/gcc/libstdc++-v3/config/os/bsd/freebsd/
H A Dctype_base.h54 static const mask digit = _CTYPE_D; member in struct:ctype_base
67 static const mask digit = _D; member in struct:ctype_base
/openbsd-current/gnu/lib/libstdc++/libstdc++/config/os/bsd/freebsd/
H A Dctype_base.h51 static const mask digit = _CTYPE_D; member in struct:ctype_base
64 static const mask digit = _D; member in struct:ctype_base
H A Dctype_inline.h58 *__vec = __maskrune (*__low, upper | lower | alpha | digit | xdigit
65 if (this->is(digit, *__low)) __m |= digit;
/openbsd-current/gnu/lib/libstdc++/libstdc++/config/os/aix/
H A Dctype_base.h47 static const mask digit = _ISDIGIT; member in struct:ctype_base
/openbsd-current/gnu/lib/libstdc++/libstdc++/config/os/djgpp/
H A Dctype_base.h49 static const mask digit = __dj_ISDIGIT; // Numeric member in struct:ctype_base
/openbsd-current/gnu/lib/libstdc++/libstdc++/config/os/gnu-linux/
H A Dctype_base.h47 static const mask digit = _ISdigit; member in struct:ctype_base
/openbsd-current/gnu/lib/libstdc++/libstdc++/config/os/hpux/
H A Dctype_base.h47 static const mask digit = _ISDIGIT; member in struct:ctype_base
/openbsd-current/gnu/lib/libstdc++/libstdc++/config/os/irix/irix6.5/
H A Dctype_base.h47 static const mask digit = _ISdigit; member in struct:ctype_base
/openbsd-current/gnu/lib/libstdc++/libstdc++/config/os/solaris/solaris2.6/
H A Dctype_base.h48 static const mask digit = _ISDIGIT; member in struct:ctype_base
/openbsd-current/gnu/lib/libstdc++/libstdc++/config/os/solaris/solaris2.7/
H A Dctype_base.h49 static const mask digit = _ISDIGIT; member in struct:ctype_base
/openbsd-current/lib/libcrypto/ec/
H A Dec_mult.c82 * with the exception that the most significant digit may be only
83 * w-1 zeros away from that next non-zero digit.
123 r = malloc(len + 1); /* modified wNAF may be one digit longer than
135 int digit = 0; local
141 digit = window_val - next_bit; /* -2^w < digit < 0 */
149 * a positive digit here will
154 digit = window_val & (mask >> 1); /* 0 < digit < 2^w */
158 digit
388 int digit = wNAF[i][k]; local
[all...]
/openbsd-current/gnu/lib/libiberty/src/
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...]
/openbsd-current/gnu/usr.bin/perl/
H A Dnumeric.c370 const UV max_div= UV_MAX / base; /* Value above which, the next digit
383 * find the numeric value of a digit. That requires more instructions than
549 "Illegal %s digit '%c' ignored",
563 "Illegal octal digit '%c' ignored", *s);
1069 /* The first digit (after optional sign): note that might
1073 /* next must be digit or the radix separator or beginning of infinity/nan */
1077 UV value = *s - '0'; /* Process this first (perhaps only) digit */
1078 int digit; local
1084 digit = *s - '0';
1085 if (UNLIKELY(! inRANGE(digit,
1339 const U8 digit = *s++ - '0'; local
1644 I32 digit = 0; local
[all...]

Completed in 217 milliseconds

12345678