/external/skia/src/core/ |
H A D | SkStream.cpp | 102 bool SkWStream::writeHexAsText(uint32_t hex, int digits) argument 105 tmp.appendHex(hex, digits);
|
/external/bison/lib/ |
H A D | vasnprintf.c | 479 /* Allocate room for a_len+2 digits. 480 (Need a_len+1 digits for the real division and 1 more digit for the 842 Return the allocated memory - containing the decimal digits in low-to-high 871 /* Store the remainder as 9 decimal digits. */ 1068 Return the allocated memory - containing the decimal digits in low-to-high 1085 char *digits; local 1281 digits = convert_to_decimal (z, extra_zeroes); 1283 return digits; 1290 Return the allocated memory - containing the decimal digits in low-to-high 1308 Return the allocated memory - containing the decimal digits i 1507 is_borderline(const char *digits, size_t precision) argument 3657 char *digits; local 3712 char *digits; local 3847 char *digits; local 4122 char *digits; local 4174 char *digits; local 4321 char *digits; local [all...] |
/external/eigen/unsupported/test/mpreal/ |
H A D | mpreal.h | 63 // Meaning that "digits", "round_style" and similar members are defined as functions, not constants.
362 // Convert mpreal to string with n significant digits in base b
363 // n = -1 -> convert with the maximum available digits
941 // Convert precision in 'bits' to decimal digits and vice versa.
942 // bits = ceil(digits*log[2](10))
943 // digits = floor(bits*log[10](2))
1757 int digits = (n >= 0) ? n : bits2digits(mpfr_get_prec(mpfr_srcptr()));
local 1759 format << "%." << digits << "RNg";
local 1906 // Bits - decimal digits relation
1907 // bits = ceil(digits*lo 3033 inline static int digits() { return int(mpfr::mpreal::get_default_prec()); } function in class:std::numeric_limits 3034 inline static int digits(const mpfr::mpreal& x) { return x.getPrecision(); } function in class:std::numeric_limits 3065 static const int digits = 53; member in class:std::numeric_limits [all...] |
/external/elfutils/src/src/ |
H A D | nm.c | 781 int digits = length_map[gelf_getclass (ebl->elf) - 1][radix]; local 791 digits, sgettext ("sysv|Value"), 793 digits, sgettext ("sysv|Size"), 848 digits, syms[cnt].sym.st_value); 853 digits, syms[cnt].sym.st_size); 924 int digits = length_map[gelf_getclass (elf) - 1][radix]; local 989 printf ("%*s %sU%s %s", digits, "", color, marker, symstr); 1010 digits, syms[cnt].sym.st_value, 1016 digits, (uint64_t) syms[cnt].sym.st_size); 1028 digits, sym 1059 int digits = length_map[gelf_getclass (elf) - 1][radix]; local [all...] |
/external/icu/icu4c/source/test/cintltst/ |
H A D | cucdtst.c | 507 USet *digits, *decimalValues; local 513 digits=uset_openPattern(digitsPattern, 6, &errorCode); 517 compareUSets(digits, decimalValues, "[:Nd:]", "[:Numeric_Type=Decimal:]", TRUE); 520 uset_close(digits);
|
/external/icu/icu4c/source/test/intltest/ |
H A D | intltest.cpp | 118 // so there is no need to show more than 16 digits. [alan] 245 int32_t digits, 253 if (digits < 0) { // auto-digits 254 digits = 2; 257 digits += 2; 261 switch (digits) 287 IntlTest::toHex(uint32_t number, int32_t digits) { argument 289 appendHex(number, digits, result); 244 appendHex(uint32_t number, int32_t digits, UnicodeString& target) argument
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | TimeZoneFormat.java | 648 * @return the decimal digits for localized GMT format. 663 * @param digits a string contains the decimal digit characters from 0 to 9 n the ascending order. 670 public TimeZoneFormat setGMTOffsetDigits(String digits) { argument 674 if (digits == null) { 675 throw new NullPointerException("Null GMT offset digits"); 677 String[] digitArray = toCodePoints(digits); 679 throw new IllegalArgumentException("Length of digits must be 10"); 797 * <li>Offset digits (e.g. "0123456789" - see {@link #getGMTOffsetDigits()}) 820 * <li>Offset digits (e.g. "0123456789" - see {@link #getGMTOffsetDigits()}) 1307 // parsed as localized GMT format, but offset digits wer [all...] |
H A D | DecimalFormat.java | 42 * format numbers in any locale, including support for Western, Arabic, or Indic digits. 121 * minimum number of integer digits. The symbols are stored in a {@link 247 * only to specify the negative prefix and suffix; the number of digits, minimal digits, 251 * <p>The prefixes, suffixes, and various symbols used for infinity, digits, thousands 261 * digits to make large numbers more legible. It commonly used for thousands, but in some 262 * locales it separates ten-thousands. The <em>grouping size</em> is the number of digits 265 * significant integer digits, the <em>primary grouping size</em>, and one used for all 321 * <li>In place of '0', the digits '1' through '9' may be used to indicate a rounding 329 * digits, a 2338 subparse( String text, ParsePosition parsePosition, DigitList digits, boolean status[], Currency currency[], String negPrefix, String negSuffix, String posPrefix, String posSuffix, boolean parseComplexCurrency, int type) argument [all...] |
/external/libxml2/os400/iconv/bldcsndfa/ |
H A D | bldcsndfa.c | 814 utf8_utostrpad(utf8char * s, unsigned int v, int digits) argument 820 if (digits < 0) { 822 digits = -digits; 825 if (i >= digits) 828 memmove(s + digits - i, s, i + 1); 829 memset(s, pad, digits - i); 830 return digits;
|
/external/mdnsresponder/Clients/ |
H A D | dns-sd.c | 772 const unsigned char *digits = (const unsigned char *)&publicAddress; local 775 snprintf(addr, sizeof(addr), "%d.%d.%d.%d", digits[0], digits[1], digits[2], digits[3]);
|
/external/mdnsresponder/mDNSShared/ |
H A D | DebugServices.c | 1228 const char *digits = "0123456789ABCDEF"; local 1295 case 'x' : digits = "0123456789abcdef"; 1343 for (i = 0; n; n /= base, i++) *--s = (char)(digits[n % base]);
|
/external/valgrind/VEX/switchback/ |
H A D | test_emfloat.c | 195 HChar *digits = "0123456789ABCDEF"; local 217 buf[ind++] = digits[p % base]; 1658 ** NOTE: This routine returns 5 significant digits. Thats 1764 ** 10 > n >=1. We need to "strip digits" out of the 1772 ** 5 significant digits (which should be enough to
|
H A D | test_bzip2.c | 1064 HChar *digits = "0123456789ABCDEF"; local 1086 buf[ind++] = digits[p % base];
|
H A D | test_ppc_jm1.c | 413 HChar *digits = "0123456789ABCDEF"; local 435 buf[ind++] = digits[p % base];
|
/external/icu/icu4c/source/i18n/ |
H A D | vtzone.cpp | 120 int32_t digits[10]; // max int32_t is 10 decimal digits local 133 digits[i++] = number % 10; 138 // fixed digits 140 digits[i] = number % 10; 148 str.append((UChar)(digits[i] + 0x0030)); 155 int32_t digits[20]; // max int64_t is 20 decimal digits local 172 digits[i++] = (int32_t)(number % 10); 181 str.append((UChar)(digits[ [all...] |
H A D | decNumber.c | 60 /* precision (up to 999,999,999 digits) and arbitrary exponent */ 64 /* tightly: digits, emax, and -emin in the context must be <= */ 69 /* be finite, positive, have an exponent of zero, and all digits */ 70 /* must be either 0 or 1. The result will only contain digits */ 150 /* 6. The digits count is allowed to rise to a multiple of DECDPUN */ 152 /* accounting of digits is not needed. The correct digits value */ 154 /* This must be called before any rounding if the number of digits */ 158 /* numbers up to four digits, using appropriate constants. This */ 216 /* round-for-reround digits */ 6727 decShiftToMost(Unit *uar, Int digits, Int shift) argument 7812 Int digits=(len-1)*DECDPUN+1; /* possible digits excluding msu */ local 8002 Int ae, d, digits; /* .. */ local [all...] |
/external/libpng/ |
H A D | png.c | 187 * only check the first and third digits (note that when we reach version 1393 * The input values have 5 decimal digits of accuracy. The values are all in 1395 * need up to 10 decimal digits to preserve the original precision and avoid 1397 * match this; the best is a little over 9 decimal digits, less than 10. 1637 /* The end points are normally quoted to two decimal digits, so allow +/-0.01 2682 * with the sequence ".E" (with no preceding digits). 2869 czero = -exp_b10; /* PLUS 2 digits: TOTAL 3 */ 2879 cdigits = 0; /* Count of digits in list. */ 3027 * the digits we output but did not count. The total 3061 /* Need another size check here for the exponent digits, s 3119 char digits[10]; local [all...] |
/external/pdfium/samples/fx_lpng/lpng_v163/ |
H A D | fx_png.c | 186 * only check the first and third digits (note that when we reach version
1328 * The input values have 5 decimal digits of accuracy. The values are all in
1330 * need up to 10 decimal digits to preserve the original precision and avoid
1332 * match this; the best is a little over 9 decimal digits, less than 10.
1572 /* The end points are normally quoted to two decimal digits, so allow +/-0.01
2589 * with the sequence ".E" (with no preceding digits).
2776 czero = -exp_b10; /* PLUS 2 digits: TOTAL 3 */
2786 cdigits = 0; /* Count of digits in list. */
2934 * the digits we output but did not count. The total
2968 /* Need another size check here for the exponent digits, s 3026 char digits[10]; local [all...] |
/external/libpng/contrib/tools/ |
H A D | pngfix.c | 159 * arbitrary length array of png_uint_16 digits (0..65535). The representation 163 * number of digits in those values and write the result to the given uarb 164 * (always the first argument) returning the number of digits in the result. 274 /* The digits in *acc, *num and val are in the range 0..65535, so the 295 /* So carry is 0 and all the input digits have been consumed. This means 296 * that it is possible to skip any remaining digits in acc. 308 * may be any value, returns the number of digits in 'acc'. 378 uarb_eq32(uarb num, int digits, png_uint_32 val) 381 switch (digits) 392 uarb_printx(uarb num, int digits, FIL argument 409 uarb_print(uarb num, int digits, FILE *out) argument 1484 int digits; local 1506 int digits; local [all...] |
/external/mdnsresponder/mDNSCore/ |
H A D | DNSCommon.c | 519 { // If three decimal digits, 655 // and have as interior characters only letters, digits, and hyphen. 752 // Letters and digits are allowed anywhere 769 errormsg = "Application protocol name must contain only letters, digits, and hyphens"; 898 while (l > 2 && mDNSIsDigit(name->c[l])) l--; // Strip off digits 906 while (l > 2 && mDNSIsDigit(name->c[l])) l--; // Strip off digits 2890 char *s = mDNS_VACB_Lim, *digits; local 3015 case 'X' : digits = "0123456789ABCDEF"; 3017 case 'x' : digits = "0123456789abcdef"; 3032 for (i = 0; n; n /= 16, i++) *--s = digits[ [all...] |
/external/libxml2/ |
H A D | trio.c | 311 /* The maximal number of digits is for base 2 */ 927 TRIO_ARGS1((digits), 928 int digits) 935 while (digits > 0) 955 if (digits > step) 957 digits -= step; 2198 TRIO_CONST char *digits; local 2208 digits = (flags & FLAGS_UPPER) ? internalDigitsUpper : internalDigitsLower; 2242 *pointer-- = digits[number % base]; 2651 TRIO_CONST char *digits; local 926 TrioCalcThousandSeparatorLength(digits), int digits argument [all...] |
/external/valgrind/exp-sgcheck/tests/ |
H A D | hackedbz2.c | 1086 HChar *digits = "0123456789ABCDEF"; local 1108 buf[ind++] = digits[p % base];
|
/external/valgrind/memcheck/tests/ |
H A D | origin5-bz2.c | 1079 HChar *digits = "0123456789ABCDEF"; local 1101 buf[ind++] = digits[p % base];
|
H A D | varinfo6.c | 1117 HChar *digits = "0123456789ABCDEF"; local 1139 buf[ind++] = digits[p % base];
|
/external/valgrind/perf/ |
H A D | bz2.c | 1079 HChar *digits = "0123456789ABCDEF"; local 1101 buf[ind++] = digits[p % base];
|