/external/icu/icu4c/source/test/cintltst/ |
cbiditransformtst.c | 70 const UChar *destTxt, const char *expectedChars, uint32_t digits, 234 const UChar *destTxt, const char *expectedChars, uint32_t digits, uint32_t letters) 238 switch (digits) { 257 log_err("Unexpected transform Dest: Test: %s; Digits: 0x%08x; Letters: 0x%08x\ninText: %s; outText: %s; expected: %s\n", 258 pTest->pMessage, digits, letters, pseudoScript(srcTxt), pseudoScript(destTxt), pseudoScript(expected)); 269 * <li>all possible combinations of mirroring, digits and letters applied 381 static const uint32_t digits[] = { local 393 uint32_t j, nDigits = sizeof(digits) / sizeof(digits[0]); 401 // Test various combinations of base levels, orders, mirroring, digits and letter [all...] |
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/math/ |
MathContext.java | 25 /* 1998.06.25 Rename from DecimalContext; allow digits=0 */ 45 * <li><code>digits</code>: 46 * the number of digits (precision) to be used for an operation 50 * whether checking for lost digits is enabled 126 public static final int ENGINEERING=2; // 1-3 digits before . 134 * If any of the discarded digits are non-zero then the result 145 * All discarded digits are ignored (truncated). The result is 156 * If any of the discarded digits are non-zero then the result 168 * If the discarded digits represent greater than half (0.5 times) 170 * rounded up (away from zero). Otherwise the discarded digits ar 247 int digits; field in class:MathContext [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
DateNumberFormat.java | 34 private char[] digits; field in class:DateNumberFormat 39 private static final int DECIMAL_BUF_SIZE = 20; // 20 digits is good enough to store Long.MAX_VALUE 49 throw new UnsupportedOperationException("DateNumberFormat does not support digits out of BMP."); 89 digits = new char[10]; 90 System.arraycopy(elems, 0, digits, 0, 10); 91 zeroDigit = digits[0]; 127 if (digits == null) { 128 digits = new char[10]; 130 digits[0] = zero; 132 digits[i] = (char)(zero+i) [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/math/ |
MathContext.java | 25 /* 1998.06.25 Rename from DecimalContext; allow digits=0 */ 45 * <li><code>digits</code>: 46 * the number of digits (precision) to be used for an operation 50 * whether checking for lost digits is enabled 126 public static final int ENGINEERING=2; // 1-3 digits before . 134 * If any of the discarded digits are non-zero then the result 145 * All discarded digits are ignored (truncated). The result is 156 * If any of the discarded digits are non-zero then the result 168 * If the discarded digits represent greater than half (0.5 times) 170 * rounded up (away from zero). Otherwise the discarded digits ar 247 int digits; field in class:MathContext [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
ScientificNumberFormatter.java | 305 char[] digits = dfs.getDigits(); local 306 preExponent.append(digits[1]).append(digits[0]);
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
IntlTestDecimalFormatSymbols.java | 73 String[] digits = en.getDigitStrings(); local 74 fr.setDigitStrings(digits); 302 errln("ERROR: Osmanya digits (supplementary) should be set"); 311 errln("ERROR: Char digits should be Latin digits"); 316 errln("ERROR: Different digits should be set"); 322 // Reset digits to Latin 325 errln("ERROR: Latin digits should be set" + symbols.getDigitStrings()[0]);
|
/external/jemalloc/src/ |
util.c | 147 * possible to tell whether any digits are consumed (e.g., " 0" vs. 239 const char *digits = (uppercase) local 245 s[i] = digits[x & 0xf]; 250 const char *digits = (uppercase) local 257 s[i] = digits[x % (uint64_t)base];
|
/external/libcups/cups/ |
pwg-media.c | 1144 digits = 10 * numer * denom; \/* Maximum fractional value to read *\/ local [all...] |
/external/libpng/ |
pngerror.c | 136 int count = 0; /* number of digits output */ 148 static const char digits[] = "0123456789ABCDEF"; local 153 /* Needs five digits (the fraction) */ 157 *--end = digits[number % 10]; 164 /* Expects at least 2 digits. */ 169 *--end = digits[number % 10]; 174 /* This format expects at least two digits */ 179 *--end = digits[number & 0xf]; 188 /* Keep track of the number of digits added */ 424 * to 63 bytes. The name characters are output as hex digits wrapped in [ [all...] |
/external/opencv/cxcore/src/ |
cxdxt.cpp | 223 int digits[34], radix[34]; local 261 digits[nf] = 0; 264 digits[i] = 0; 307 digits[1]++; 318 for( k = 1; ++digits[k] >= factors[k]; k++ ) 320 digits[k] = 0; 334 for( k = 0; ++digits[k] >= factors[k]; k++ ) 336 digits[k] = 0; [all...] |
/external/opencv/otherlibs/highgui/ |
grfmt_pxm.cpp | 87 int digits = 0; local 115 if( ++digits >= maxdigits ) break;
|
/external/pdfium/third_party/libpng16/ |
pngerror.c | 136 int count = 0; /* number of digits output */ 148 static const char digits[] = "0123456789ABCDEF"; local 153 /* Needs five digits (the fraction) */ 157 *--end = digits[number % 10]; 164 /* Expects at least 2 digits. */ 169 *--end = digits[number % 10]; 174 /* This format expects at least two digits */ 179 *--end = digits[number & 0xf]; 188 /* Keep track of the number of digits added */ 424 * to 63 bytes. The name characters are output as hex digits wrapped in [ [all...] |
/external/python/cpython2/Lib/ |
stringold.py | 16 digits -- a string containing all characters considered decimal digits 17 hexdigits -- a string containing all characters considered hexadecimal digits 18 octdigits -- a string containing all characters considered octal digits 30 digits = '0123456789' variable 31 hexdigits = digits + 'abcdef' + 'ABCDEF' 215 or more digits, possibly preceded by a sign. If base is 0, it 242 of one or more digits, possibly preceded by a sign. If base
|
/external/python/cpython3/Modules/_decimal/tests/ |
randdec.py | 39 # digits ::= digit [digit]... 40 # decimal-part ::= digits '.' [digits] | ['.'] digits 41 # exponent-part ::= indicator [sign] digits 43 # nan ::= 'NaN' [digits] | 'sNaN' [digits] 63 def digits(maxprec): function 73 return digits(maxprec) 77 intpart = digits(intlen [all...] |
/external/syslinux/com32/lib/ |
vsnprintf.c | 23 FL_UPPER = 0x80 /* Upper case digits */ 52 const char *digits; local 58 /* Select type of digits */ 59 digits = (flags & FL_UPPER) ? ucdigits : lcdigits; 67 /* Count the number of digits needed. This returns zero for 0. */ 94 /* Tick marks aren't digits, but generated by the number converter */ 155 *qq = digits[val % base];
|
/external/syslinux/memdisk/ |
conio.c | 113 const char *digits = "0123456789abcdef"; local 117 digits = "0123456789ABCDEF"; 148 tmp[i++] = digits[do_div(num, base)]; 162 *str++ = digits[33]; 188 int precision; /* min. # of digits for integers; max
|
/external/v8/src/inspector/ |
wasm-translation.cc | 160 size_t digits = String16::fromInteger(numFunctions - 1).length(); local 162 DCHECK_LE(thisCategory.length(), digits); 163 for (size_t i = thisCategory.length(); i < digits; ++i)
|
/external/v8/src/ |
utils.cc | 50 int digits = 1; local 51 for (uint32_t factor = 10; digits < 10; digits++, factor *= 10) { 54 position_ += digits; 55 for (int i = 1; i <= digits; i++) {
|
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/ |
CdmaSmsAddress.java | 30 * the address digits are 4-bit DTMF codes or 8-bit codes. (See 70 * This field shall be set to the number of address digits 119 int digits = address.length(); local 120 byte[] result = new byte[digits]; 121 for (int i = 0; i < digits; i++) {
|
/libcore/luni/src/main/java/java/math/ |
Conversion.java | 57 int[] digits = val.digits; local 63 int highDigit = digits[numberLength - 1]; 84 System.arraycopy(digits, 0, temp, 0, numberLength); 91 // divide the array of digits by bigRadix and convert remainders 116 resDigit = digits[i] >> (j << 2) & 0xf; 141 int[] digits = val.digits; local 173 // one 32-bit unsigned value may contains 10 decimal digits 178 // inserting necessary scaled digits [all...] |
/libcore/ojluni/src/main/java/sun/misc/ |
FormattedFloatingDecimal.java | 63 char[] digits = getBuffer(); local 64 int nDigits = fdConverter.getDigits(digits); 72 fillCompatible(precision, digits, nDigits, exp, isNegative); 75 exp = applyPrecision(decExp, digits, nDigits, decExp + precision); 76 fillDecimal(precision, digits, nDigits, exp, isNegative); 80 exp = applyPrecision(decExp, digits, nDigits, precision + 1); 81 fillScientific(precision, digits, nDigits, exp, isNegative); 85 exp = applyPrecision(decExp, digits, nDigits, precision); 86 // adjust precision to be the number of digits to right of decimal 91 fillScientific(precision, digits, nDigits, exp, isNegative) [all...] |
/packages/apps/Test/connectivity/sl4n/rapidjson/test/perftest/ |
misctest.cpp | 346 static const char digits[201] =
variable 435 // Using digits LUT to reduce divsion/modulo
460 *p++ = digits[i + 1];
461 *p++ = digits[i];
467 *p++ = digits[i + 1];
468 *p++ = digits[i];
493 *p++ = digits[i + 1];
494 *p++ = digits[i];
500 *p++ = digits[i + 1];
501 *p++ = digits[i]; [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
stringold.py | 16 digits -- a string containing all characters considered decimal digits 17 hexdigits -- a string containing all characters considered hexadecimal digits 18 octdigits -- a string containing all characters considered octal digits 30 digits = '0123456789' variable 31 hexdigits = digits + 'abcdef' + 'ABCDEF' 215 or more digits, possibly preceded by a sign. If base is 0, it 242 of one or more digits, possibly preceded by a sign. If base
|
/prebuilts/gdb/linux-x86/lib/python2.7/ |
stringold.py | 16 digits -- a string containing all characters considered decimal digits 17 hexdigits -- a string containing all characters considered hexadecimal digits 18 octdigits -- a string containing all characters considered octal digits 30 digits = '0123456789' variable 31 hexdigits = digits + 'abcdef' + 'ABCDEF' 215 or more digits, possibly preceded by a sign. If base is 0, it 242 of one or more digits, possibly preceded by a sign. If base
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
stringold.py | 16 digits -- a string containing all characters considered decimal digits 17 hexdigits -- a string containing all characters considered hexadecimal digits 18 octdigits -- a string containing all characters considered octal digits 30 digits = '0123456789' variable 31 hexdigits = digits + 'abcdef' + 'ABCDEF' 215 or more digits, possibly preceded by a sign. If base is 0, it 242 of one or more digits, possibly preceded by a sign. If base
|