/external/fio/lib/ |
num2str.c | 17 unsigned int modulo, decimals; local 60 decimals = maxlen - strlen(tmp); 61 if (decimals <= 1) { 69 if (strlen(tmp) <= decimals - 1)
|
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/number/ |
CurrencyDemo.java | 48 result.setMinimumFractionDigits(hack.decimals); 49 result.setMaximumFractionDigits(hack.decimals); 59 int decimals; field in class:CurrencyDemo.HackCurrencyInfo 62 HackCurrencyInfo(int decimals, double rounding, String symbol) { 63 this.decimals = decimals;
|
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/internal/ |
strtod.h | 130 inline bool StrtodDiyFp(const char* decimals, size_t length, size_t decimalPosition, int exp, double* result) { 135 (significand == RAPIDJSON_UINT64_C2(0x19999999, 0x99999999) && decimals[i] > '5')) 137 significand = significand * 10u + static_cast<unsigned>(decimals[i] - '0'); 140 if (i < length && decimals[i] >= '5') // Rounding 207 inline double StrtodBigInteger(double approx, const char* decimals, size_t length, size_t decimalPosition, int exp) { 208 const BigInteger dInt(decimals, length); 225 inline double StrtodFullPrecision(double d, int p, const char* decimals, size_t length, size_t decimalPosition, int exp) { 234 while (*decimals == '0' && length > 1) { 236 decimals++; 241 while (decimals[length - 1] == '0' && length > 1) [all...] |
biginteger.h | 40 BigInteger(const char* decimals, size_t length) : count_(1) { 46 AppendDecimal64(decimals + i, decimals + i + kMaxDigitPerIteration); 52 AppendDecimal64(decimals + i, decimals + i + length);
|
/prebuilts/go/darwin-x86/misc/cgo/test/ |
issue6128.go | 11 // NOTE: Must use hex, or else a shortcut for decimals
|
/prebuilts/go/linux-x86/misc/cgo/test/ |
issue6128.go | 11 // NOTE: Must use hex, or else a shortcut for decimals
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/impl/ |
PeriodFormatterData.java | 360 int decimals = 1; local 362 case ECountVariant.DECIMAL2: decimals = 2; break; 363 case ECountVariant.DECIMAL3: decimals = 3; break; 366 if (!omitCount) appendCountValue(count, 1, decimals, sb); 576 default: { // for all decimals
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/impl/ |
PeriodFormatterData.java | 358 int decimals = 1; local 360 case ECountVariant.DECIMAL2: decimals = 2; break; 361 case ECountVariant.DECIMAL3: decimals = 3; break; 364 if (!omitCount) appendCountValue(count, 1, decimals, sb); 574 default: { // for all decimals
|
/development/samples/training/InteractiveChart/src/com/example/android/interactivechart/ |
InteractiveLineGraphView.java | 383 labelLength = formatFloat(mLabelBuffer, mXStopsBuffer.stops[i], mXStopsBuffer.decimals); 396 labelLength = formatFloat(mLabelBuffer, mYStopsBuffer.stops[i], mYStopsBuffer.decimals); 421 * Formats a float value to the given number of decimals. Returns the length of the string. 507 outStops.decimals = (int) Math.ceil(-Math.log10(interval)); 509 outStops.decimals = 0; 1183 int decimals; field in class:InteractiveLineGraphView.AxisStops [all...] |
/external/icu/icu4c/source/i18n/ |
plurrule_impl.h | 210 static int32_t decimals(double n);
|
plurrule.cpp | 354 // originated from a format with trailing decimals. [all...] |
/external/libexif/libexif/ |
exif-entry.c | 546 int decimals = (int)(log10(v_rat.denominator)-0.08+1.0); local 548 decimals, 569 int decimals = (int)(log10(fabs(v_srat.denominator))-0.08+1.0); local 571 decimals, [all...] |
/external/v8/tools/turbolizer/ |
disassembly-view.js | 200 // Shorten decimals and remove trailing zeroes for readability.
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
PluralRules.java | 658 this(n, decimals(n)); 673 * Return a guess as to the number of decimals that would be displayed. This is only a guess; callers should 674 * always supply the decimals explicitly if possible. Currently, it is up to 6 decimals (without trailing zeros). 682 public static int decimals(double n) { method in class:PluralRules.FixedDecimal 694 long temp = (long)(n * 1000000) % 1000000; // get 6 decimals [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
PluralRules.java | 641 this(n, decimals(n)); 655 * Return a guess as to the number of decimals that would be displayed. This is only a guess; callers should 656 * always supply the decimals explicitly if possible. Currently, it is up to 6 decimals (without trailing zeros). 663 public static int decimals(double n) { method in class:PluralRules.FixedDecimal 675 long temp = (long)(n * 1000000) % 1000000; // get 6 decimals 933 throw new IllegalArgumentException("Ranges must have the same number of visible decimals: " + start + "~" + end); [all...] |
/external/messageformat/java/com/ibm/icu/simple/ |
PluralRules.java | 624 this(n, decimals(n)); 638 * Return a guess as to the number of decimals that would be displayed. This is only a guess; callers should 639 * always supply the decimals explicitly if possible. Currently, it is up to 6 decimals (without trailing zeros). 646 public static int decimals(double n) { method in class:PluralRules.FixedDecimal 655 long temp = (long)(n * 1000000) % 1000000; // get 6 decimals 912 throw new IllegalArgumentException("Ranges must have the same number of visible decimals: " + start + "~" + end); [all...] |
/external/icu/icu4c/source/test/intltest/ |
plurults.cpp | [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
NumberFormatTest.java | [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
NumberFormatTest.java | [all...] |
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/h8300/ |
h8300.exp | [all...] |
/prebuilts/misc/common/icu4j/ |
icu4j.jar | |
/prebuilts/misc/common/robolectric/lib/ |
icu4j-53.1.jar | |
/prebuilts/tools/common/m2/repository/com/ibm/icu/icu4j/53.1/ |
icu4j-53.1.jar | |
/prebuilts/tools/common/m2/repository/com/ibm/icu/icu4j/54.1.1/ |
icu4j-54.1.1.jar | |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
com.ibm.icu_4.2.1.v20100412.jar | |