Searched refs:digits (Results 26 - 50 of 108) sorted by relevance

12345

/freebsd-11-stable/contrib/ntp/lib/isc/
H A Dbase64.c105 int digits; /*%< Number of buffered base64 digits */ member in struct:__anon4813
113 ctx->digits = 0;
127 ctx->val[ctx->digits++] = s - base64;
128 if (ctx->digits == 4) {
165 ctx->digits = 0;
174 if (ctx->digits != 0)
H A Dbase32.c141 int digits; /*%< Number of buffered base32 digits */ member in struct:__anon4812
152 ctx->digits = 0;
186 switch (ctx->digits) {
218 ctx->val[ctx->digits++] = (last == 32) ? 0 : last;
220 if (ctx->digits == 8) {
240 ctx->digits = 0;
249 if (ctx->digits != 0)
H A Dstring.c32 static char digits[] = "0123456789abcdefghijklmnoprstuvwxyz"; variable
71 if ((o = strchr(digits, c)) == NULL) {
76 if ((o - digits) >= base) {
87 if ((tmp + (o - digits)) < tmp) {
91 tmp += o - digits;
/freebsd-11-stable/contrib/pam_modules/pam_passwdqc/
H A Dpasswdqc_check.c66 int digits, lowers, uppers, others, unknowns; local
70 digits = lowers = uppers = others = unknowns = 0;
76 if (isdigit(c)) digits++; else
91 /* Upper case characters and digits used in common ways don't increase the
96 if (digits && isascii(c) && isdigit(c)) digits--;
99 * that there're no non-ASCII characters for digits. */
101 if (digits) classes++;
105 if (unknowns && (!classes || (digits && classes == 1))) classes++;
247 * passed the other checks due to uncommon capitalization, digits, an
[all...]
/freebsd-11-stable/usr.bin/dc/
H A Dinout.c270 get_digit(u_long num, int digits, u_int base) argument
279 if (asprintf(&p, "%0*lu", digits, num) == -1)
294 int digits; local
306 digits = 1;
308 digits = snprintf(buf, sizeof(buf), "%u", base-1);
316 stack_pushstring(&stack, get_digit(rem, digits, base));
355 p = get_digit(rem, digits, base);
/freebsd-11-stable/gnu/usr.bin/rcs/lib/
H A Dpartime.c290 parse_fixed (s, digits, res) char const *s; int digits, *res;
298 char const *lim = s + digits;
310 parse_ranged (s, digits, lo, hi, res) char const *s; int digits, lo, hi, *res;
318 s = parse_fixed (s, digits, res);
323 parse_decimal (s, digits, lo, hi, resolution, res, fres)
325 int digits, lo, hi, resolution, *res, *fres;
335 s = parse_fixed (s, digits, res);
612 case 'Y': /* year in full [4 or more digits] */
[all...]
/freebsd-11-stable/contrib/subversion/subversion/libsvn_subr/
H A Dutf8proc.c448 /* Hexadecimal digits for code conversion. */
449 static const char digits[] = "0123456789ABCDEF";
576 svn_stringbuf_appendbyte(result, digits[(rcp & 0x00f0) >> 4]);
577 svn_stringbuf_appendbyte(result, digits[(rcp & 0x000f)]);
592 svn_stringbuf_appendbyte(result, digits[(cp & 0xf00000) >> 20]);
593 svn_stringbuf_appendbyte(result, digits[(cp & 0x0f0000) >> 16]);
595 svn_stringbuf_appendbyte(result, digits[(cp & 0xf000) >> 12]);
596 svn_stringbuf_appendbyte(result, digits[(cp & 0x0f00) >> 8]);
597 svn_stringbuf_appendbyte(result, digits[(cp & 0x00f0) >> 4]);
598 svn_stringbuf_appendbyte(result, digits[(c
447 static const char digits[] = "0123456789ABCDEF"; local
[all...]
/freebsd-11-stable/lib/libc/inet/
H A Dinet_cidr_pton.c84 static const char digits[] = "0123456789"; variable
96 n = strchr(digits, ch) - digits;
265 cp = strchr(digits, ch);
269 bits += cp - digits;
H A Dinet_pton.c81 static const char digits[] = "0123456789"; local
91 if ((pch = strchr(digits, ch)) != NULL) {
92 u_int new = *tp * 10 + (pch - digits);
/freebsd-11-stable/contrib/libarchive/libarchive/
H A Darchive_string_sprintf.c56 static const char digits[] = "0123456789abcdef"; local
59 archive_strappend_char(as, digits[d % base]);
/freebsd-11-stable/contrib/ntp/scripts/stats/
H A Detf.S1 options(digits=4)
/freebsd-11-stable/contrib/libstdc++/include/ext/
H A Dnumeric_traits.h78 2 + std::numeric_limits<_Value>::digits * 3010/10000;
/freebsd-11-stable/contrib/gcclibs/libdecnumber/
H A DdecNumberLocal.h74 #define DECNUMMAXP 999999999 /* maximum precision we can handle (9 digits) */
75 #define DECNUMMAXE 999999999 /* maximum adjusted exponent ditto (9 digits) */
76 #define DECNUMMINE -999999999 /* minimum adjusted exponent ditto (9 digits) */
78 #error Maximum digits mismatch
87 /* Set DECDPUNMAX -- the maximum integer that fits in DECDPUN digits */
125 /* D2U -- return the number of Units needed to hold d digits */
H A Ddecimal128.c67 /* digits or an overflow is detected). If the exponent is out of the */
79 Int pad = 0; /* coefficient pad digits */
85 /* If the number is finite, and has too many digits, or the exponent */
90 Int ae = dn->exponent + dn->digits - 1; /* adjusted exponent */
91 if (dn->digits > DECIMAL128_Pmax /* too many digits */
114 if ((*dn->lsu != 0 || dn->digits > 1) /* non-zero coefficient */
115 && (dn->digits < DECIMAL128_Pmax))
H A Ddecimal32.c67 /* digits or an overflow is detected). If the exponent is out of the */
79 Int pad = 0; /* coefficient pad digits */
85 /* If the number is finite, and has too many digits, or the exponent */
90 Int ae = dn->exponent + dn->digits - 1; /* adjusted exponent */
91 if (dn->digits > DECIMAL32_Pmax /* too many digits */
114 if ((*dn->lsu != 0 || dn->digits > 1) /* non-zero coefficient */
115 && (dn->digits < DECIMAL32_Pmax))
H A Ddecimal64.c67 /* digits or an overflow is detected). If the exponent is out of the */
79 Int pad = 0; /* coefficient pad digits */
85 /* If the number is finite, and has too many digits, or the exponent */
90 Int ae = dn->exponent + dn->digits - 1; /* adjusted exponent */
91 if (dn->digits > DECIMAL64_Pmax /* too many digits */
114 if ((*dn->lsu != 0 || dn->digits > 1) /* non-zero coefficient */
115 && (dn->digits < DECIMAL64_Pmax))
H A DdecNumber.h51 /* DECNUMDIGITS is the default number of digits we can hold in the */
67 /* number of digits it will hold. */
81 int32_t digits; /* Count of digits in the coefficient; >0 */ member in struct:__anon1445
89 /* 1. If digits is > DECDPUN then there will be more than one */
91 /* These contain the remaining (more significant) digits of the */
97 /* contains DECDPUN digits (e.g., a value in the range 0 through */
100 /* 2. A decNumber converted to a string may need up to digits+14 */
188 && (dn)->digits==1 \
/freebsd-11-stable/contrib/diff/src/
H A Difdef.c398 ptrdiff_t digits; local
416 digits = p - lit - 2;
417 if (! (1 <= digits && digits <= 3))
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/MCA/
H A DSupport.h101 return (std::numeric_limits<uint64_t>::digits - countLeadingZeros(Mask)) - 1;
/freebsd-11-stable/lib/libc/nameser/
H A Dns_name.c51 static const char digits[] = "0123456789"; variable
163 *dn++ = digits[c / 100];
164 *dn++ = digits[(c % 100) / 10];
165 *dn++ = digits[c % 10];
253 else if ((cp = strchr(digits, c)) != NULL) {
254 n = (cp - digits) * 100;
256 (cp = strchr(digits, c)) == NULL) {
260 n += (cp - digits) * 10;
262 (cp = strchr(digits, c)) == NULL) {
266 n += (cp - digits);
[all...]
/freebsd-11-stable/crypto/openssl/crypto/ts/
H A Dts_conf.c438 long digits = 0; local
444 &digits))
445 digits = 0;
446 if (digits < 0 || digits > TS_MAX_CLOCK_PRECISION_DIGITS) {
451 if (!TS_RESP_CTX_set_clock_precision_digits(ctx, digits))
/freebsd-11-stable/contrib/file/src/
H A Dder.c184 uint8_t digits, i; local
195 * followed by the number of digits of the result. In either case,
199 digits = c[(*p)++] & 0x7f;
200 if (*p + digits >= l) {
201 DPRINTF(("%s:[2] %zu + %u >= %zu\n", __func__, *p, digits, l));
206 return digits;
210 * `digits` bytes.
213 for (i = 0; i < digits; i++)
/freebsd-11-stable/lib/libgssapi/
H A Dgss_import_name.c85 int digits = p[0]; local
90 while (digits--) {
/freebsd-11-stable/crypto/heimdal/lib/gssapi/mech/
H A Dgss_import_name.c88 int digits = p[0]; local
93 while (digits--) {
/freebsd-11-stable/contrib/bmake/unit-tests/
H A Dvarmisc.mk52 # big jumps to handle 3 digits per step

Completed in 272 milliseconds

12345