Searched refs:nf (Results 51 - 75 of 176) sorted by relevance

12345678

/external/icu/icu4c/source/i18n/
H A Dmeasfmt.cpp816 const NumberFormat *nf = cache->getIntegerFormat(); local
818 nf = numberFormat->get();
822 *nf,
856 LocalPointer<NumberFormat> nf(nfToAdopt);
875 if (nf.isNull()) {
884 adoptNumberFormat(nf.orphan(), status);
899 LocalPointer<NumberFormat> nf(nfToAdopt);
903 SharedNumberFormat *shared = new SharedNumberFormat(nf.getAlias());
908 nf.orphan();
938 const NumberFormat &nf,
936 formatMeasure( const Measure &measure, const NumberFormat &nf, UnicodeString &appendTo, FieldPosition &pos, UErrorCode &status) const argument
1210 const NumberFormat *nf = cache->getIntegerFormat(); local
[all...]
H A Dwinnmfmt.cpp230 NumberFormat *nf = fCurrency? NumberFormat::createCurrencyInstance(fLocale, status) : NumberFormat::createInstance(fLocale, status); local
232 nf->parse(text, result, parsePosition);
233 delete nf;
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DRelativeDateTimeFormatterTest.java761 NumberFormat nf = null;
763 nf = NumberFormat.getInstance(uloc, NumberFormat.NUMBERSTYLE);
764 nf.setMinimumFractionDigits(item.decPlaces);
765 nf.setMaximumFractionDigits(item.decPlaces);
766 nf.setRoundingMode(BigDecimal.ROUND_DOWN);
768 RelativeDateTimeFormatter reldatefmt = RelativeDateTimeFormatter.getInstance(uloc, nf, item.width, item.capContext);
844 NumberFormat nf = NumberFormat.getInstance(loc);
845 nf.setMinimumFractionDigits(1);
846 nf.setMaximumFractionDigits(1);
847 RelativeDateTimeFormatter fmt = RelativeDateTimeFormatter.getInstance(loc, nf);
[all...]
H A DMeasureUnitTest.java1166 NumberFormat nf = NumberFormat.getNumberInstance(ULocale.ENGLISH);
1167 nf.setMaximumFractionDigits(4);
1168 MeasureFormat mf = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.WIDE, nf);
1170 mf = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.SHORT, nf);
1172 mf = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.NARROW, nf);
1174 mf = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.NUMERIC, nf);
1177 nf = NumberFormat.getNumberInstance(ULocale.GERMAN);
1178 nf.setMaximumFractionDigits(4);
1179 mf = MeasureFormat.getInstance(ULocale.GERMAN, FormatWidth.WIDE, nf);
1181 mf = MeasureFormat.getInstance(ULocale.GERMAN, FormatWidth.NUMERIC, nf);
[all...]
H A DIntlTestDateFormatAPI.java204 final NumberFormat nf = def.getNumberFormat();
205 NumberFormat newNf = (NumberFormat) nf.clone();
/external/icu/android_icu4j/src/main/java/android/icu/text/
H A DRelativeDateTimeFormatter.java389 * @param nf the number format object. It is defensively copied to ensure thread-safety
393 public static RelativeDateTimeFormatter getInstance(ULocale locale, NumberFormat nf) { argument
394 return getInstance(locale, nf, Style.LONG, DisplayContext.CAPITALIZATION_NONE);
402 * @param nf the number format object. It is defensively copied to ensure thread-safety
409 NumberFormat nf,
413 if (nf == null) {
414 nf = NumberFormat.getInstance(locale);
416 nf = (NumberFormat) nf.clone();
424 nf,
407 getInstance( ULocale locale, NumberFormat nf, Style style, DisplayContext capitalizationContext) argument
441 getInstance(Locale locale, NumberFormat nf) argument
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DRelativeDateTimeFormatter.java441 * @param nf the number format object. It is defensively copied to ensure thread-safety
446 public static RelativeDateTimeFormatter getInstance(ULocale locale, NumberFormat nf) { argument
447 return getInstance(locale, nf, Style.LONG, DisplayContext.CAPITALIZATION_NONE);
455 * @param nf the number format object. It is defensively copied to ensure thread-safety
463 NumberFormat nf,
467 if (nf == null) {
468 nf = NumberFormat.getInstance(locale);
470 nf = (NumberFormat) nf.clone();
478 nf,
461 getInstance( ULocale locale, NumberFormat nf, Style style, DisplayContext capitalizationContext) argument
496 getInstance(Locale locale, NumberFormat nf) argument
[all...]
/external/python/cpython2/Modules/_ctypes/libffi_osx/powerpc/
H A Dppc-ffi_darwin.c830 unsigned int nf = 0; /* number of FPRs already used. */ local
893 &gprSize, (const char*)pfr, &fprSize, &nf, avalue[i], NULL);
938 if (nf < NUM_FPR_ARG_REGISTERS)
948 nf++;
956 if (nf < NUM_FPR_ARG_REGISTERS)
964 nf++;
974 if (nf < NUM_FPR_ARG_REGISTERS)
982 if (nf < NUM_FPR_ARG_REGISTERS - 1)
990 else if (nf == NUM_FPR_ARG_REGISTERS - 1)
1002 nf
[all...]
/external/libedit/src/
H A Dmap.c1399 size_t nf = (size_t)el->el_map.nfunc + 1; local
1404 if ((p = el_realloc(el->el_map.func, nf *
1408 if ((p = el_realloc(el->el_map.help, nf * sizeof(*el->el_map.help)))
1413 nf = (size_t)el->el_map.nfunc;
1414 el->el_map.func[nf] = func;
1416 el->el_map.help[nf].name = name;
1417 el->el_map.help[nf].func = (int)nf;
1418 el->el_map.help[nf].description = help;
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
H A DMeasureUnitTest.java1167 NumberFormat nf = NumberFormat.getNumberInstance(ULocale.ENGLISH);
1168 nf.setMaximumFractionDigits(4);
1169 MeasureFormat mf = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.WIDE, nf);
1171 mf = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.SHORT, nf);
1173 mf = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.NARROW, nf);
1175 mf = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.NUMERIC, nf);
1178 nf = NumberFormat.getNumberInstance(ULocale.GERMAN);
1179 nf.setMaximumFractionDigits(4);
1180 mf = MeasureFormat.getInstance(ULocale.GERMAN, FormatWidth.WIDE, nf);
1182 mf = MeasureFormat.getInstance(ULocale.GERMAN, FormatWidth.NUMERIC, nf);
[all...]
H A DIntlTestDateFormatAPI.java205 final NumberFormat nf = def.getNumberFormat();
206 NumberFormat newNf = (NumberFormat) nf.clone();
/external/speex/libspeex/
H A Dsmallft.c49 int nf=0; local
63 nf++;
64 ifac[nf+1]=ntry;
67 if(nf==1)goto L107;
69 for (i=1;i<nf;i++){
70 ib=nf-i+1;
78 ifac[1]=nf;
81 nfm1=nf-1;
577 int na,kh,nf; local
580 nf
1159 int nf,ip,iw,ix2,ix3,ido,idl1; local
[all...]
/external/icu/icu4c/source/test/cintltst/
H A Dcnumtst.c111 UNumberFormat* nf; local
116 nf = unum_open(UNUM_DEFAULT, NULL, -1, NULL, NULL, status);
126 a = unum_parseInt64(nf, text, size, 0, status);
139 unum_close(nf);
1166 UNumberFormat *nf = unum_open(UNUM_SPELLOUT, NULL, 0, testPtr->locale, NULL, &status); local
1172 value = unum_parse(nf, testPtr->source, -1, &position, &status);
1179 unum_close(nf);
1855 UNumberFormat *nf = unum_open(UNUM_CURRENCY, NULL, 0, "en_US", NULL, &status); local
1860 unum_setTextAttribute(nf, UNUM_CURRENCY_CODE, ubuffer, 3, &status);
1865 used = unum_getTextAttribute(nf, UNUM_NEGATIVE_PREFI
1890 TestNBSPPatternRtNum(const char *testcase, int line, UNumberFormat *nf, double myNumber) argument
1913 TestNBSPPatternRT(const char *testcase, UNumberFormat *nf) argument
1920 UNumberFormat* nf = NULL; local
[all...]
H A Dcnmdptst.c640 static void roundingTest(UNumberFormat* nf, double x, int32_t maxFractionDigits, const char* expected) argument
648 unum_setAttribute(nf, UNUM_MAX_FRACTION_DIGITS, maxFractionDigits);
650 lneed=unum_formatDouble(nf, x, NULL, lneed, NULL, &status);
655 unum_formatDouble(nf, x, out, lneed+1, &pos, &status);
1070 static void roundingTest2(UNumberFormat* nf, double x, int32_t roundingMode, const char* expected) argument
1078 unum_setAttribute(nf, UNUM_ROUNDING_MODE, roundingMode);
1080 lneed=unum_formatDouble(nf, x, NULL, lneed, NULL, &status);
1085 unum_formatDouble(nf, x, out, lneed+1, &pos, &status);
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
H A DICUServiceTest.java948 ICUNotifier nf = new ICUNSubclass();
950 nf.addListener(null);
961 nf.addListener(new WrongListener());
972 nf.removeListener(null);
982 nf.removeListener(new MyListener());
983 nf.notifyChanged();
984 nf.addListener(new MyListener());
985 nf.removeListener(new MyListener());
/external/icu/icu4c/source/test/intltest/
H A Dnumfmtst.h280 void expectCurrency(NumberFormat& nf, const Locale& locale,
324 void roundingTest(NumberFormat& nf, double x, int32_t maxFractionDigits, const char* expected);
H A Dtufmtts.cpp473 LocalPointer<DecimalFormat> nf((DecimalFormat *) NumberFormat::createInstance(usLocale, status));
480 nf->setMinimumFractionDigits(i);
481 nf->setMaximumFractionDigits(i);
482 nf->setRoundingMode(DecimalFormat::kRoundDown);
483 tuf.setNumberFormat(*nf, status);
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/
H A DMessageFormatTest.java190 NumberFormat nf = NumberFormat.getNumberInstance(Locale.US);
191 assertEquals(formats[0], nf);
203 NumberFormat nf = NumberFormat.getNumberInstance(Locale.US);
204 assertEquals(formats[0], nf);
H A DDateFormatTest.java292 NumberFormat nf = NumberFormat.getInstance();
294 df.setNumberFormat(nf);
296 assertEquals(nf, df.getNumberFormat());
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
H A DICUServiceTest.java947 ICUNotifier nf = new ICUNSubclass();
949 nf.addListener(null);
960 nf.addListener(new WrongListener());
971 nf.removeListener(null);
981 nf.removeListener(new MyListener());
982 nf.notifyChanged();
983 nf.addListener(new MyListener());
984 nf.removeListener(new MyListener());
/external/python/cpython2/Lib/test/
H A Dtest_pep277.py133 for nf in set(['NFC', 'NFD', 'NFKC', 'NFKD']):
134 others |= set(normalize(nf, file) for file in files)
/external/python/cpython2/Modules/_ctypes/libffi/src/powerpc/
H A Dffi_darwin.c518 darwin64_struct_floats_to_mem (ffi_type *s, char *dest, double *fprs, unsigned *nf) argument
536 fprs = darwin64_struct_floats_to_mem (p, item_base, fprs, nf);
539 if (*nf < NUM_FPR_ARG_REGISTERS)
542 (*nf) += 1;
547 if (*nf < NUM_FPR_ARG_REGISTERS)
550 (*nf) += 1;
554 if (*nf < NUM_FPR_ARG_REGISTERS)
557 (*nf) += 1;
/external/python/cpython2/Objects/
H A Dobmalloc.c1027 uint nf; /* ao->nfreepools */ local
1053 nf = ++ao->nfreepools;
1067 if (nf == ao->ntotalpools) {
1112 if (nf == 1) {
1136 nf <= ao->nextarena->nfreepools) {
1162 nf > ao->nextarena->nfreepools) {
1178 nf <= ao->nextarena->nfreepools);
1180 nf > ao->prevarena->nfreepools);
/external/syslinux/core/lwip/src/netif/
H A Dslipif.c262 * @param nf the lwip network interface structure for this slipif
265 slipif_loop_thread(void *nf) argument
268 struct netif *netif = (struct netif *)nf;
/external/wpa_supplicant_8/hostapd/src/ap/
H A Dacs.c134 * ACS: 1: min_nf=-113 interference_factor=0.0802469 nf=-113 time=162 busy=0 rx=13
135 * ACS: 2: min_nf=-113 interference_factor=0.0745342 nf=-113 time=161 busy=0 rx=12
136 * ACS: 3: min_nf=-113 interference_factor=0.0679012 nf=-113 time=162 busy=0 rx=11
137 * ACS: 4: min_nf=-113 interference_factor=0.0310559 nf=-113 time=161 busy=0 rx=5
138 * ACS: 5: min_nf=-113 interference_factor=0.0248447 nf=-113 time=161 busy=0 rx=4
141 * ACS: 1: min_nf=-113 interference_factor=0.0185185 nf=-113 time=162 busy=0 rx=3
142 * ACS: 2: min_nf=-113 interference_factor=0.0246914 nf=-113 time=162 busy=0 rx=4
143 * ACS: 3: min_nf=-113 interference_factor=0.037037 nf=-113 time=162 busy=0 rx=6
144 * ACS: 4: min_nf=-113 interference_factor=0.149068 nf=-113 time=161 busy=0 rx=24
145 * ACS: 5: min_nf=-113 interference_factor=0.0248447 nf
[all...]

Completed in 1345 milliseconds

12345678