HomeSort by relevance Sort by last modified time
    Searched defs:nf (Results 1 - 25 of 186) sorted by null

1 2 3 4 5 6 7 8

  /external/icu/icu4c/source/i18n/
upluralrules.cpp 70 const NumberFormat* nf = reinterpret_cast<const NumberFormat*>(fmt); local
71 if (plrules == NULL || nf == NULL || ((keyword == NULL)? capacity != 0 : capacity < 0)) {
76 UnicodeString result = plrules->select(obj, *nf, *status);
  /prebuilts/go/darwin-x86/test/fixedbugs/
bug196.go 10 var nf = 0 var
32 nf++
37 nf++
45 if nf != 3 {
46 println("too many calls:", nf)
bug227.go 10 nf int
23 nf++
24 return nf
28 if nf != 3 || x != 1 || y != 2 || z != 3 {
29 println("nf=", nf, " x=", x, " y=", y)
9 nf int var
bug244.go 9 var nf int var
13 nf++
27 if x != 1 || y != 2 || z != 3 || nf != 1 || v != 0 || ok != false || ng != 1 {
28 println("x=", x, " y=", y, " z=", z, " nf=", nf, " v=", v, " ok=", ok, " ng=", ng)
  /prebuilts/go/linux-x86/test/fixedbugs/
bug196.go 10 var nf = 0 var
32 nf++
37 nf++
45 if nf != 3 {
46 println("too many calls:", nf)
bug227.go 10 nf int
23 nf++
24 return nf
28 if nf != 3 || x != 1 || y != 2 || z != 3 {
29 println("nf=", nf, " x=", x, " y=", y)
9 nf int var
bug244.go 9 var nf int var
13 nf++
27 if x != 1 || y != 2 || z != 3 || nf != 1 || v != 0 || ok != false || ng != 1 {
28 println("x=", x, " y=", y, " z=", z, " nf=", nf, " v=", v, " ok=", ok, " ng=", ng)
  /external/caliper/examples/src/main/java/examples/
ExpensiveObjectsBenchmark.java 50 NumberFormat nf = NumberFormat.getInstance(Locale.US); local
52 nf.clone();
  /art/test/474-fp-sub-neg/src/
Main.java 20 float nf = -0; local
25 nf -= fc;
26 nf = -nf;
30 System.out.println(nf);
33 System.out.println(-f - (-nf));
34 System.out.println(-f + (-nf));
  /external/ltp/testcases/kernel/syscalls/fork/
fork09.c 67 int pid, status, nf; local
149 for (nf = first; nf < nfiles; nf++) {
150 fclose(fildeses[nf]);
151 sprintf(filname, "file%d.%d", nf, mypid);
  /external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/javaspi/text/
NumberFormatProviderICU.java 77 NumberFormat nf = null; local
79 nf = DecimalFormatICU.wrap((com.ibm.icu.text.DecimalFormat)icuNfmt);
81 nf = NumberFormatICU.wrap(icuNfmt);
84 return nf;
  /external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/
NumberFormatTest.java 27 NumberFormat nf = new NumberFormat(java.text.NumberFormat.getInstance()); local
28 assertEquals(nf, NumberFormat.getInstance());
130 NumberFormat nf = NumberFormat.getInstance(); local
131 nf.setParseIntegerOnly(true);
132 assertTrue(nf.isParseIntegerOnly());
133 nf.setParseIntegerOnly(false);
134 assertFalse(nf.isParseIntegerOnly());
142 NumberFormat nf = NumberFormat.getInstance(); local
143 assertEquals(new Double(123.456), nf.parse(str));
144 nf.setParseIntegerOnly(true)
159 NumberFormat nf = NumberFormat.getInstance(Locale.GERMANY); local
167 NumberFormat nf = NumberFormat.getInstance(ULocale.GERMANY); local
175 NumberFormat nf = NumberFormat.getNumberInstance(); local
183 NumberFormat nf = NumberFormat.getNumberInstance(Locale.GERMANY); local
191 NumberFormat nf = NumberFormat.getNumberInstance(ULocale.GERMANY); local
199 NumberFormat nf = NumberFormat.getIntegerInstance(); local
207 NumberFormat nf = NumberFormat.getIntegerInstance(Locale.GERMANY); local
215 NumberFormat nf = NumberFormat.getIntegerInstance(ULocale.GERMANY); local
223 NumberFormat nf = NumberFormat.getCurrencyInstance(); local
231 NumberFormat nf = NumberFormat.getCurrencyInstance(Locale.GERMANY); local
239 NumberFormat nf = NumberFormat.getCurrencyInstance(ULocale.GERMANY); local
247 NumberFormat nf = NumberFormat.getPercentInstance(); local
255 NumberFormat nf = NumberFormat.getPercentInstance(Locale.GERMANY); local
263 NumberFormat nf = NumberFormat.getPercentInstance(ULocale.GERMANY); local
271 NumberFormat nf = NumberFormat.getScientificInstance(); local
279 NumberFormat nf = NumberFormat.getScientificInstance(Locale.GERMANY); local
287 NumberFormat nf = NumberFormat.getScientificInstance(ULocale.GERMANY); local
321 NumberFormat nf = NumberFormat.getInstance(); local
332 NumberFormat nf = NumberFormat.getInstance(); local
342 NumberFormat nf = NumberFormat.getInstance(); local
353 NumberFormat nf = NumberFormat.getInstance(); local
362 NumberFormat nf = NumberFormat.getInstance(); local
373 NumberFormat nf = NumberFormat.getInstance(); local
382 NumberFormat nf = NumberFormat.getInstance(); local
393 NumberFormat nf = NumberFormat.getInstance(); local
402 NumberFormat nf = NumberFormat.getInstance(); local
413 NumberFormat nf = NumberFormat.getInstance(); local
429 NumberFormat nf = NumberFormat.getInstance(); local
    [all...]
  /external/apache-commons-math/src/main/java/org/apache/commons/math/fraction/
AbstractFormat.java 92 final NumberFormat nf = NumberFormat.getNumberInstance(locale); local
93 nf.setMaximumFractionDigits(0);
94 nf.setParseIntegerOnly(true);
95 return nf;
  /external/apache-commons-math/src/main/java/org/apache/commons/math/util/
CompositeFormat.java 53 final NumberFormat nf = NumberFormat.getInstance(locale); local
54 nf.setMaximumFractionDigits(2);
55 return nf;
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
NumberFormatSpecificationTest.java 46 NumberFormat nf = nfWithPattern("#,##0.##"); local
47 nf.setMaximumIntegerDigits(5);
48 nf.setMinimumIntegerDigits(4);
49 assertEquals("", "34 567,89", format(1234567.89, nf));
50 assertEquals("", "0 034,56", format(34.56, nf));
171 private static String format(double d, NumberFormat nf) {
172 return nf.format(d).replace('\u00a0', ' ');
IntlTestDateFormatAPI.java 211 final NumberFormat nf = def.getNumberFormat(); local
212 NumberFormat newNf = (NumberFormat) nf.clone();
WriteNumberFormatSerialTestData.java 44 NumberFormat nf = NumberFormat.getInstance(Locale.US); local
52 write(file,(Object)nf,"generalInstance", "//NumberFormat.getInstance(Locale.US)");
  /external/icu/icu4c/source/samples/numfmt/
main.cpp 94 * @param nf The NumberFormat on which to set the currency; takes effect on
97 * The display style of the output is controlled by nf (its pattern,
105 setNumberFormatCurrency_2_4(NumberFormat &nf, const char *currency, UErrorCode &errorCode) {
118 DecimalFormat *dnf=dynamic_cast<DecimalFormat *>(&nf);
171 nf.setMinimumFractionDigits(currencyMap[i].fractionDigits);
172 nf.setMaximumFractionDigits(currencyMap[i].fractionDigits);
184 * @param nf The NumberFormat on which to set the currency; takes effect on
186 * The display style of the output is controlled by nf (its pattern,
194 setNumberFormatCurrency_2_6(NumberFormat &nf, const char *currency, UErrorCode &errorCode) {
210 nf.setCurrency(uCurrency)
230 NumberFormat *nf; local
    [all...]
  /external/icu/icu4c/source/test/intltest/
pptest.cpp 181 NumberFormat *nf = NumberFormat::createInstance(status); local
183 delete nf;
187 DecimalFormat *fmt = dynamic_cast<DecimalFormat *>(nf);
215 delete nf;
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
NumberFormatSpecificationTest.java 43 NumberFormat nf = nfWithPattern("#,##0.##"); local
44 nf.setMaximumIntegerDigits(5);
45 nf.setMinimumIntegerDigits(4);
46 assertEquals("", "34 567,89", format(1234567.89, nf));
47 assertEquals("", "0 034,56", format(34.56, nf));
168 private static String format(double d, NumberFormat nf) {
169 return nf.format(d).replace('\u00a0', ' ');
  /external/icu/icu4j/samples/src/com/ibm/icu/samples/iuc/
PopulationData.java 71 NumberFormat nf = NumberFormat.getInstance(); local
74 System.out.println(".. count="+ nf.format(territoryEntries.size()));
76 System.out.println(" "+ te.territoryName() + " = " + nf.format(te.population()));
  /external/libnl/src/
nl-route-delete.c 88 int nf = 0; local
141 case 'd': nf++; nl_cli_route_parse_dst(route, optarg); break;
142 case 'n': nf++; nl_cli_route_parse_nexthop(route, optarg, link_cache); break;
143 case 't': nf++; nl_cli_route_parse_table(route, optarg); break;
144 case ARG_FAMILY: nf++; nl_cli_route_parse_family(route, optarg); break;
145 case ARG_SRC: nf++; nl_cli_route_parse_src(route, optarg); break;
146 case ARG_IIF: nf++; nl_cli_route_parse_iif(route, optarg, link_cache); break;
147 case ARG_PREF_SRC: nf++; nl_cli_route_parse_pref_src(route, optarg); break;
148 case ARG_METRICS: nf++; nl_cli_route_parse_metric(route, optarg); break;
149 case ARG_PRIORITY: nf++; nl_cli_route_parse_prio(route, optarg); break
    [all...]
  /external/apache-commons-math/src/main/java/org/apache/commons/math/stat/
Frequency.java 82 NumberFormat nf = NumberFormat.getPercentInstance(); local
92 outBuffer.append(nf.format(getPct(value)));
94 outBuffer.append(nf.format(getCumPct(value)));
  /libcore/benchmarks/src/benchmarks/regression/
ExpensiveObjectsBenchmark.java 101 NumberFormat nf = NumberFormat.getInstance(Locale.US); local
103 nf.clone();
108 NumberFormat nf = NumberFormat.getInstance(Locale.US); local
110 nf.format(1024L);
121 NumberFormat nf = NumberFormat.getInstance(Locale.US); local
123 nf.format(1024.0);
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
ICUServiceTest.java 969 ICUNotifier nf = new ICUNSubclass(); local
    [all...]

Completed in 544 milliseconds

1 2 3 4 5 6 7 8