/external/icu/icu4c/source/i18n/ |
msgfmt.cpp | 1031 const NumberFormat* nf = getDefaultNumberFormat(success); local 1106 const NumberFormat* nf = getDefaultNumberFormat(success); local 1196 const NumberFormat* nf = getDefaultNumberFormat(success); local [all...] |
smpdtfmt.cpp | 254 static void fixNumberFormatForDates(NumberFormat &nf) { 255 nf.setGroupingUsed(FALSE); 256 DecimalFormat* decfmt = dynamic_cast<DecimalFormat*>(&nf); 260 nf.setParseIntegerOnly(TRUE); 261 nf.setMinimumFractionDigits(0); // To prevent "Jan 1.00, 1997.00" 276 NumberFormat *nf = NumberFormat::createInstance(loc, status); local 280 const SharedNumberFormat *result = createSharedNumberFormat(nf); 336 // Returns a non-const clone of nf which can be safely modified. 337 // Subsequent calls with same nf will return the same non-const clone. 341 NumberFormat *get(const NumberFormat *nf) { [all...] |
/external/icu/icu4c/source/test/intltest/ |
loctest.cpp | 1204 NumberFormat *nf = NumberFormat::createCurrencyInstance(loc, status); local 1900 NumberFormat* nf = NumberFormat::createInstance(Locale::createFromName(req), ec); local [all...] |
numrgts.cpp | 487 NumberFormat *nf = NumberFormat::createInstance(status); local 489 delete nf; 492 nf->setMaximumFractionDigits(4); 495 out = nf->format(x, out, pos); 501 delete nf; 523 DecimalFormat *nf = dynamic_cast<DecimalFormat *>(nf1); local 524 if(nf == NULL) { 530 logln("nf toPattern1: " + nf->toPattern(temp)); 531 logln("nf toLocPattern1: " + nf->toLocalizedPattern(temp)) 853 NumberFormat *nf = NumberFormat::createCurrencyInstance(*de, status); local 1631 NumberFormat *nf = NumberFormat::createInstance(status); local 1806 DecimalFormat *nf = new DecimalFormat("##,###,###.00", status); local 1937 DecimalFormat *nf = dynamic_cast<DecimalFormat *>(nff); local 2209 NumberFormat *nf = NumberFormat::createInstance(Locale::getUS(), status); local 2414 NumberFormat *nf; local 2561 NumberFormat *nf = NumberFormat::createInstance(Locale::getUS(), status); local 2679 NumberFormat *nf = NumberFormat::createInstance(loc, status); local 2748 NumberFormat *nf = NumberFormat::createInstance(Locale::getEnglish(), status); local 2894 NumberFormat *nf = NumberFormat::createInstance(Locale::getUS(), status); local [all...] |
tsmthred.cpp | 566 const NumberFormat *nf = NULL; // only operate on it as const. local 568 case 0: f = gSharedData->fYDDThing; o = &gSharedData->fYDDStr; nf = gSharedData->fFormat.getAlias(); break; 569 case 1: f = gSharedData->fBBDThing; o = &gSharedData->fBBDStr; nf = gSharedData->fFormat.getAlias(); break; 570 case 2: f = gSharedData->fYDDThing; o = &gSharedData->fYDDStr; nf = fFormat.getAlias(); break; 571 case 3: f = gSharedData->fBBDThing; o = &gSharedData->fBBDStr; nf = fFormat.getAlias(); break; 573 nf->format(f, str, NULL, status); [all...] |
numfmtst.cpp | 1621 NumberFormat *nf = NumberFormat::createInstance(status); local 2198 NumberFormat* nf = NumberFormat::createCurrencyInstance(locs[i], ec); local [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
MeasureFormat.java | 403 int maxFrac = numberFormat.nf.getMaximumFractionDigits(); 404 int minFrac = numberFormat.nf.getMinimumFractionDigits(); 478 result.append(unit.getName(currencyFormat.nf.getLocale(ULocale.ACTUAL_LOCALE), 1132 private NumberFormat nf; field in class:MeasureFormat.ImmutableNumberFormat 1206 ImmutableNumberFormat nf = (i == measures.length - 1 ? numberFormat : integerFormat); local [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
MeasureUnitTest.java | 1285 NumberFormat nf = NumberFormat.getNumberInstance(ULocale.ENGLISH); local 1337 NumberFormat nf = NumberFormat.getNumberInstance(ULocale.ENGLISH); local 1929 NumberFormat nf = NumberFormat.getInstance(en); local [all...] |
NumberRegressionTests.java | 226 NumberFormat nf = NumberFormat.getInstance(); local 227 nf.setMaximumFractionDigits(4); 228 String out = nf.format(x); 242 NumberFormat nf = NumberFormat.getInstance(Locale.FRANCE); local 243 logln("nf toPattern1: " + ((DecimalFormat)nf).toPattern()); 244 logln("nf toLocPattern1: " + ((DecimalFormat)nf).toLocalizedPattern()); 248 ((DecimalFormat)nf).applyLocalizedPattern("###,00;(###,00)"); 249 logln("nf toPattern2: " + ((DecimalFormat)nf).toPattern()) 987 NumberFormat nf = NumberFormat.getInstance(); local 1108 DecimalFormat nf = new DecimalFormat("##,###,###.00"); local 1214 DecimalFormat nf = (DecimalFormat)NumberFormat.getInstance(); local 1540 NumberFormat nf; local 1786 NumberFormat nf = new DecimalFormat("0.##", new DecimalFormatSymbols(Locale.US)); local [all...] |
NumberFormatTest.java | 1005 NumberFormat nf = NumberFormat.getCurrencyInstance(locs[i]); local 1057 NumberFormat nf = NumberFormat.getInstance(); local 2213 DecimalFormat nf = (DecimalFormat) com.ibm.icu.text.NumberFormat.getInstance(ULocale.ENGLISH); local 2226 DecimalFormat nf = (DecimalFormat) com.ibm.icu.text.NumberFormat.getInstance(ULocale.ENGLISH); local 2239 DecimalFormat nf = (DecimalFormat) com.ibm.icu.text.NumberFormat.getInstance(ULocale.ENGLISH); local 2252 DecimalFormat nf = (DecimalFormat) com.ibm.icu.text.NumberFormat.getInstance(ULocale.ENGLISH); local 2265 DecimalFormat nf = (DecimalFormat) com.ibm.icu.text.NumberFormat.getCurrencyInstance(Locale.US); local 2373 DecimalFormat nf = (DecimalFormat) com.ibm.icu.text.NumberFormat.getInstance(ULocale.ENGLISH); local 2838 DecimalFormat nf = (DecimalFormat) NumberFormat.getInstance(Locale.ENGLISH); local 2944 DecimalFormat nf = new DecimalFormat("#.#", sym); local 3145 NumberFormat nf = NumberFormat.getInstance(); local 3434 NumberFormat nf = NumberFormat.getInstance(); local [all...] |
/external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/ |
CollationPerformanceTest.java | 151 static NumberFormat nf = null; field in class:CollationPerformanceTest 164 nf = NumberFormat.getInstance(); 165 nf.setMaximumFractionDigits(2); 525 System.out.println("Key Length / character = " + nf.format(totalKeyLen / (totalChars + 0.0))); 529 System.out.println(nf.format(totalKeyLen / (totalChars + 0.0)) + ", "); 562 System.out.println(i + ", " + nf.format(accumulatedLen[i] / (numKeysOfSize[i]+ 0.0)) + ", " 563 + nf.format(accumulatedLen[i] / (numKeysOfSize[i] * i + 0.0))); [all...] |
/external/python/cpython3/Objects/ |
obmalloc.c | 1481 uint nf; \/* ao->nfreepools *\/ local [all...] |
/frameworks/base/packages/Shell/tests/src/com/android/shell/ |
BugreportReceiverTest.java | 269 final NumberFormat nf = NumberFormat.getPercentInstance(); local 270 nf.setMinimumFractionDigits(2); 271 nf.setMaximumFractionDigits(2); [all...] |
/frameworks/rs/support/java/src/android/support/v8/renderscript/ |
ScriptGroup.java | 771 Node nf = findNode(from); local 772 if (nf == null) { 784 nf.mOutputs.add(cl); 787 validateCycle(nf, nf); 805 Node nf = findNode(from); local 806 if (nf == null) { 818 nf.mOutputs.add(cl); 821 validateCycle(nf, nf); [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
DecimalFormatTest.java | 1914 NumberFormat nf = NumberFormat.getInstance(Locale.FRANCE); local [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
NumberFormatTest.java | 1008 NumberFormat nf = NumberFormat.getCurrencyInstance(locs[i]); local 1060 NumberFormat nf = NumberFormat.getInstance(); local 2216 DecimalFormat nf = (DecimalFormat) android.icu.text.NumberFormat.getInstance(ULocale.ENGLISH); local 2229 DecimalFormat nf = (DecimalFormat) android.icu.text.NumberFormat.getInstance(ULocale.ENGLISH); local 2242 DecimalFormat nf = (DecimalFormat) android.icu.text.NumberFormat.getInstance(ULocale.ENGLISH); local 2255 DecimalFormat nf = (DecimalFormat) android.icu.text.NumberFormat.getInstance(ULocale.ENGLISH); local 2268 DecimalFormat nf = (DecimalFormat) android.icu.text.NumberFormat.getCurrencyInstance(Locale.US); local 2376 DecimalFormat nf = (DecimalFormat) android.icu.text.NumberFormat.getInstance(ULocale.ENGLISH); local 2841 DecimalFormat nf = (DecimalFormat) NumberFormat.getInstance(Locale.ENGLISH); local 2947 DecimalFormat nf = new DecimalFormat("#.#", sym); local 3148 NumberFormat nf = NumberFormat.getInstance(); local 3437 NumberFormat nf = NumberFormat.getInstance(); local [all...] |
/bionic/libc/kernel/uapi/linux/ |
omap3isp.h | 334 struct omap3isp_prev_nf __user * nf; member in struct:omap3isp_prev_update_config
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/ |
UnicodeSetTest.java | 919 NumberFormat nf = NumberFormat.getPercentInstance(); local 947 NumberFormat nf = NumberFormat.getPercentInstance(); local [all...] |
/external/icu/icu4c/source/test/cintltst/ |
cnumtst.c | 17 * 06/24/99 helena Integrated Alan's NF enhancements and Java2 bug fixes 115 UNumberFormat* nf; local 120 nf = unum_open(UNUM_DEFAULT, NULL, -1, NULL, NULL, status); 130 a = unum_parseInt64(nf, text, size, 0, status); 143 unum_close(nf); 1172 UNumberFormat *nf = unum_open(UNUM_SPELLOUT, NULL, 0, testPtr->locale, NULL, &status); local 1903 UNumberFormat *nf = unum_open(UNUM_CURRENCY, NULL, 0, "en_US", NULL, &status); local 1968 UNumberFormat* nf = NULL; local [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/ |
UnicodeSetTest.java | 916 NumberFormat nf = NumberFormat.getPercentInstance(); local 944 NumberFormat nf = NumberFormat.getPercentInstance(); local [all...] |
/external/kernel-headers/original/uapi/linux/ |
omap3isp.h | 571 * @couplet_mode_en: Flag to enable or disable the couplet dc Correction in NF 626 * @nf: Pointer to structure for Noise Filter 643 struct omap3isp_prev_nf __user *nf; member in struct:omap3isp_prev_update_config
|
/frameworks/base/packages/Shell/src/com/android/shell/ |
BugreportProgressService.java | 478 final NumberFormat nf = NumberFormat.getPercentInstance(); local 479 nf.setMinimumFractionDigits(2); 480 nf.setMaximumFractionDigits(2); 481 final String percentageText = nf.format((double) info.progress / info.max); 487 nf.setMinimumFractionDigits(0); 488 nf.setMaximumFractionDigits(0); 489 final String watchPercentageText = nf.format((double) info.progress / info.max); [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/ |
omap3isp.h | 568 * @couplet_mode_en: Flag to enable or disable the couplet dc Correction in NF 623 * @nf: Pointer to structure for Noise Filter 640 struct omap3isp_prev_nf *nf; member in struct:omap3isp_prev_update_config
|
/external/expat/tests/ |
runtests.c | 12304 int i, nf; local [all...] |
/external/valgrind/coregrind/m_debuginfo/ |
readdwarf3.c | 390 UInt next_nf; // ... to reach this attr/form index in the g_abbv.nf 412 name_form nf[0]; member in struct:_g_abbv 904 UInt ta_nf_maxE; // max nr of pairs in ta.nf[], doubled when reallocated. 905 UInt ta_nf_n; // nr of pairs in ta->nf that are initialised. [all...] |