Searched refs:digit (Results 76 - 94 of 94) sorted by relevance

1234

/freebsd-current/contrib/libarchive/libarchive/
H A Darchive_read_support_format_xar.c1069 int digit; local
1075 digit = *p - '0';
1076 while (digit >= 0 && digit < 10 && char_cnt-- > 0) {
1077 l = (l * 10) + digit;
1078 digit = *++p - '0';
1087 int digit; local
1095 digit = *p - '0';
1100 l |= digit;
/freebsd-current/
H A DMakefile744 find [[:upper:][:digit:]]*[[:upper:][:digit:]] \
/freebsd-current/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_lex.l293 * digit or a +/- sign, process it as an integer token.
398 "invalid digit %c\n", yytext, *p);
/freebsd-current/crypto/openssl/crypto/ec/
H A Decp_nistp224.c1150 u8 sign, digit; local
1208 ossl_ec_GFp_nistp_recode_scalar_bits(&sign, &digit, bits);
1211 select_point(digit, 17, pre_comp[num], tmp);
H A Decp_nistp256.c1683 u8 sign, digit; local
1743 ossl_ec_GFp_nistp_recode_scalar_bits(&sign, &digit, bits);
1748 select_point(digit, 17, pre_comp[num], tmp);
H A Decp_nistp521.c350 * digit number with all bits set to 1. See "The representation of field
1323 * negative multiple of the base point, and for the final signed digit
1328 * the final digit is also -9G. Since this only happens for a single
1592 u8 sign, digit; local
1639 ossl_ec_GFp_nistp_recode_scalar_bits(&sign, &digit, bits);
1644 select_point(digit, 17, pre_comp[num], tmp);
H A Dec_local.h595 unsigned char *digit,
/freebsd-current/contrib/lua/src/
H A Dlstrlib.c1005 ** Number of bits that goes into the first digit. It can be any value
1007 ** to nibble boundaries by making what is left after that first digit a
1041 m = adddigit(buff, n++, m * (1 << L_NBFD)); /* add first digit */
1042 e -= L_NBFD; /* this digit goes before the radix point */
1457 static int digit (int c) { return '0' <= c && c <= '9'; } function
1460 if (!digit(**fmt)) /* no number? */
1466 } while (digit(**fmt) && a <= ((int)MAXSIZE - 9)/10);
/freebsd-current/stand/i386/boot0/
H A Dboot0.S309 * Whatever drive we selected, make it an ascii digit and save it
311 * This digit is also part of the printed drive string, so add 0x80
519 addb %dl,%al # digit
/freebsd-current/sys/contrib/openzfs/module/zfs/
H A Dspa_misc.c1655 int digit; local
1659 digit = c - '0';
1661 digit = 10 + c - 'a';
1666 val += digit;
/freebsd-current/contrib/bmake/unit-tests/
H A Dvarmod-subst.mk219 @echo ${:U1 2 3:S121two1:Q} digit
/freebsd-current/contrib/llvm-project/llvm/lib/Support/
H A DAPInt.cpp48 /// A utility function that converts a character to a digit.
1355 DEBUG_KNUTH(dbgs() << "KnuthDiv: quotient digit #" << j << '\n');
1421 DEBUG_KNUTH(dbgs() << "\nKnuthDiv: digit result = " << q[j] << '\n');
2142 // Enter digit traversal loop
2144 unsigned digit = getDigit(*p, radix);
2145 assert(digit < radix && "Invalid character in digit string");
2155 // Add in the digit we just interpreted
2156 *this += digit;
2253 // because the number of bits per digit (
[all...]
H A DAPFloat.cpp502 non-zero digit.
504 If the value is zero, V->firstSigDigit points to a non-digit, and
547 /* p points to the first non-digit in the string */
581 DIGITVALUE is the first hex digit of the fraction, P points to
582 the next digit. */
588 /* If the first trailing digit isn't 0 or 8 we can work out the
595 // Otherwise we need to find the first non-zero digit.
3028 // D->firstSigDigit equals str.end(), every digit must be a zero and there can
3064 N-digit decimal integer is N * 196 / 59. Allocate enough space
3097 digit adde
[all...]
/freebsd-current/contrib/bc/src/
H A Dnum.c562 // Clear the lower part of the last digit.
1256 // digit; multiplication never goes above the sum of both lengths.
1692 // results in either 16 for 64-bit 9-digit limbs or 7 for 32-bit 4-digit
1975 // We want an extra digit so we can safely truncate.
2342 * Parses one character and returns the digit that corresponds to that
2346 * @return The character as a digit.
2360 // This returns the digit that directly corresponds with the letter.
2363 // If the digit is greater than the base, we clamp.
2369 // Straight convert the digit t
3055 BcNum intp, fracp1, fracp2, digit, flen1, flen2; local
[all...]
/freebsd-current/contrib/ntp/util/
H A Dtg2.c45 * code is delayed one bit and the next digit (tens) needs only three
321 #define DEC (2) /* decrement to next digit and send PI */
327 #define DECZ (8) /* decrement to next digit and send zero */
328 #define DECC (9) /* decrement to next digit and send bit */
329 #define NODEC (10) /* no decerement to next digit, send PI */
330 #define DECX (11) /* decrement to next digit, send PI, but no tick */
453 * IRIG format frames 2 to 6 - minutes, hours, days, hundreds days, 2 digit years (also called control functions bits 1-9)
496 void digit(int); /* encode digit */
/freebsd-current/contrib/libxo/libxo/
H A Dlibxo.c3041 int digit = 1; local
3052 rc += (*cp - '0') * digit;
3053 digit *= 10;
3261 * @param digit Single digit (0-9) of input
3264 xo_bump_width (xo_format_t *xfp, int digit) argument
3268 *ip = ((*ip > 0) ? *ip : 0) * 10 + digit;
/freebsd-current/sys/dev/bxe/
H A Dbxe_elink.c7027 uint8_t digit; local
7038 digit = ((num & mask) >> shift);
7039 if (digit == 0 && remove_leading_zeros) {
7042 } else if (digit < 0xa)
7043 *str_ptr = digit + '0';
7045 *str_ptr = digit - 0xa + 'a';
/freebsd-current/sys/cddl/contrib/opensolaris/uts/common/dtrace/
H A Ddtrace.c1156 * digit values, etc -- these have all been checked to ensure they make
1195 * Read in contiguous digits until the first non-digit character.
3848 * present in the specification, including four-digit unicode characters,
3860 * digit values, etc -- these have all been checked to ensure they make
5440 uint64_t val, digit; local
5462 if ((digit = val % base) <= '9' - '0') {
5463 *end-- = '0' + digit;
5465 *end-- = 'a' + (digit - ('9' - '0') - 1);
/freebsd-current/contrib/sqlite3/
H A Dsqlite3.c8707 ** <li> Include a digit somewhere in every identifier name.
[all...]

Completed in 632 milliseconds

1234