/external/icu4c/samples/numfmt/ |
main.cpp | 92 * @param nf The NumberFormat on which to set the currency; takes effect on 95 * The display style of the output is controlled by nf (its pattern, 103 setNumberFormatCurrency_2_4(NumberFormat &nf, const char *currency, UErrorCode &errorCode) { 116 DecimalFormat *dnf=dynamic_cast<DecimalFormat *>(&nf); 169 nf.setMinimumFractionDigits(currencyMap[i].fractionDigits); 170 nf.setMaximumFractionDigits(currencyMap[i].fractionDigits); 182 * @param nf The NumberFormat on which to set the currency; takes effect on 184 * The display style of the output is controlled by nf (its pattern, 192 setNumberFormatCurrency_2_6(NumberFormat &nf, const char *currency, UErrorCode &errorCode) { 208 nf.setCurrency(uCurrency) 228 NumberFormat *nf; local [all...] |
/external/icu4c/test/intltest/ |
pptest.cpp | 179 NumberFormat *nf = NumberFormat::createInstance(status); local 181 delete nf; 185 DecimalFormat *fmt = dynamic_cast<DecimalFormat *>(nf); 213 delete nf;
|
dtfmapts.cpp | 235 const NumberFormat *nf = def->getNumberFormat(); local 236 NumberFormat *newNf = (NumberFormat*) nf->clone();
|
uobjtest.cpp | 579 NumberFormat *nf = NumberFormat::createInstance("de", errorCode); local 584 if (dynamic_cast<DecimalFormat *>(nf) == NULL || dynamic_cast<ChoiceFormat *>(nf) != NULL) { 588 if (&typeid(*nf) == NULL || typeid(*nf) == typeid(UObject) || typeid(*nf) == typeid(Format) || 589 typeid(*nf) != typeid(DecimalFormat) || typeid(*nf) == typeid(ChoiceFormat) || 590 typeid(*nf) == typeid(emptySet) 594 delete nf; [all...] |
/libcore/luni/src/test/java/libcore/java/text/ |
NumberFormatTest.java | 41 NumberFormat nf = NumberFormat.getNumberInstance(Locale.US); local 42 assertEquals("123", nf.format(new MyNumber())); 61 NumberFormat nf = new MyNumberFormat(); local 62 assertEquals("long", nf.format(BigInteger.valueOf(Long.MAX_VALUE))); 63 assertEquals("double", nf.format(BigInteger.valueOf(Long.MAX_VALUE).add(BigInteger.ONE))); 64 assertEquals("long", nf.format(BigInteger.valueOf(Long.MIN_VALUE))); 65 assertEquals("double", nf.format(BigInteger.valueOf(Long.MIN_VALUE).subtract(BigInteger.ONE))); 83 NumberFormat nf = NumberFormat.getNumberInstance(arabic); local 86 nf.format(1234567890)); 92 NumberFormat nf = NumberFormat.getPercentInstance(Locale.US) local [all...] |
/external/aac/libFDK/src/ |
mdct.cpp | 180 int nt, nf, i; local 184 nf = fMin(hMdct->prev_nr, nrSamples); 185 nrSamples -= nf; 190 for (i=0; i<nf; i++) { 196 return (nt+nf);
|
/external/icu4c/i18n/ |
plurfmt.cpp | 289 NumberFormat* nf = (NumberFormat*)format->clone(); local 290 if (nf != NULL) { 292 numberFormat = nf;
|
winnmfmt.cpp | 221 NumberFormat *nf = fCurrency? NumberFormat::createCurrencyInstance(loc, status) : NumberFormat::createInstance(loc, status); local 223 nf->parse(text, result, parsePosition); 224 delete nf;
|
nfsubs.cpp | 1195 int64_t nf =longNF; local [all...] |
unum.cpp | 9 * 06/24/99 helena Integrated Alan's NF enhancements and Java2 bug fixes 137 const NumberFormat* nf = reinterpret_cast<const NumberFormat*>(fmt); local 138 const DecimalFormat* df = dynamic_cast<const DecimalFormat*>(nf); 142 const RuleBasedNumberFormat* rbnf = dynamic_cast<const RuleBasedNumberFormat*>(nf); 452 const NumberFormat* nf = reinterpret_cast<const NumberFormat*>(fmt); local 455 return nf->isLenient(); 458 const DecimalFormat* df = dynamic_cast<const DecimalFormat*>(nf); 531 NumberFormat* nf = reinterpret_cast<NumberFormat*>(fmt); local 534 return nf->setLenient(newValue != 0); 537 DecimalFormat* df = dynamic_cast<DecimalFormat*>(nf); 626 const NumberFormat* nf = reinterpret_cast<const NumberFormat*>(fmt); local 640 NumberFormat* nf = reinterpret_cast<NumberFormat*>(fmt); local 664 const NumberFormat* nf = reinterpret_cast<const NumberFormat*>(fmt); local 728 NumberFormat* nf = reinterpret_cast<NumberFormat*>(fmt); local 788 const NumberFormat* nf = reinterpret_cast<const NumberFormat*>(fmt); local 817 const NumberFormat *nf = reinterpret_cast<const NumberFormat *>(fmt); local 844 NumberFormat *nf = reinterpret_cast<NumberFormat *>(fmt); local 880 NumberFormat* nf = reinterpret_cast<NumberFormat*>(fmt); local [all...] |
msgfmt.cpp | 970 const NumberFormat* nf = getDefaultNumberFormat(success); local 971 appendTo.formatAndAppend(nf, Formattable(pluralNumber), success); 1039 const NumberFormat* nf = getDefaultNumberFormat(success); local 1121 const NumberFormat* nf = getDefaultNumberFormat(success); local [all...] |
/external/icu4c/i18n/unicode/ |
smpdtfmt.h | 1132 NumberFormat *nf; member in struct:SimpleDateFormat::NSOverride [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
az_lsp.cpp | 385 Word16 i, j, nf, ip; 433 nf = 0; // number of found frequencies 442 // while ( (nf < M) && (j < grid_points) ) 443 while ((sub (nf, M) < 0) && (sub (j, grid_points) < 0)) 505 lsp[nf] = xint; 507 nf++; 526 if (sub (nf, M) < 0) 569 register Word16 nf; local 627 nf = 0; /* number of found frequencies */ 637 while ((nf < M) && (j < grid_points) [all...] |
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
az_isp.c | 66 Word32 i, j, nf, ip, order; local 108 nf = 0; /* number of found frequencies */ 115 while ((nf < M - 1) && (j < GRID_POINTS)) 164 isp[nf] = xint; 166 nf++; 182 if(nf < M - 1)
|
/bootable/recovery/edify/ |
expr.c | 376 NamedFunction* nf = bsearch(&key, fn_table, fn_entries, local 378 if (nf == NULL) { 381 return nf->fn;
|
/external/libffi/src/powerpc/ |
ffi_darwin.c | 648 long nf; /* number of floating registers already used. */ local 658 nf = 0; 729 if (nf < NUM_FPR_ARG_REGISTERS) 740 nf++; 748 if (nf < NUM_FPR_ARG_REGISTERS) 757 nf++; 767 if (nf < NUM_FPR_ARG_REGISTERS - 1) 775 else if (nf == NUM_FPR_ARG_REGISTERS - 1) 785 nf += 2;
|
ffi.c | 1008 long nf; /* number of floating registers already used */ local 1018 nf = 0; 1161 if (nf < 8) 1166 nf++; [all...] |
/external/opencv/cxcore/src/ |
cxdxt.cpp | 179 int nf = 0, f, i, j; local 190 factors[nf++] = f; 199 factors[nf++] = f; 211 factors[nf++] = n; 214 for( i = f; i < (nf+f)/2; i++ ) 215 CV_SWAP( factors[i], factors[nf-i-1+f], j ); 217 return nf; 221 icvDFTInit( int n0, int nf, int* factors, int* itab, int elem_size, void* _wave, int inv_itab ) 258 // radix[] is initialized from index 'nf' down to zero 259 assert (nf < 34) [all...] |
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
MessageFormatTest.java | 263 NumberFormat nf = NumberFormat.getInstance(); local 264 nf.setMaximumFractionDigits(0); 265 nf.setParseIntegerOnly(true); 267 .equals(nf)); [all...] |
/external/expat/tests/ |
runtests.c | 1488 int i, nf; local [all...] |
/external/valgrind/main/VEX/priv/ |
guest_arm_helpers.c | 120 UInt nf = (cc_dep1 >> ARMG_CC_SHIFT_N) & 1; local 121 return nf; 128 UInt nf = res >> 31; local 129 return nf; 136 UInt nf = res >> 31; local 137 return nf; 146 UInt nf = res >> 31; local 147 return nf; 156 UInt nf = res >> 31; local 157 return nf; 162 UInt nf = res >> 31; local 168 UInt nf = res >> 31; local 174 UInt nf = resHi32 >> 31; local 475 UInt nf, zf, vf, cf, inv; local [all...] |
/ndk/sources/host-tools/nawk-20071023/ |
lib.c | 384 if (n > nfields) /* fields after NF are empty */ 385 growfldtab(n); /* but does not increase NF */ 391 int nf = 2 * nfields; local 394 if (n > nf) 395 nf = n; 396 s = (nf+1) * (sizeof (struct Cell *)); /* freebsd: how much do we need? */ 397 if (s / sizeof(struct Cell *) - 1 == nf) /* didn't overflow */ 402 FATAL("out of space creating %d fields", nf); 403 makefields(nfields+1, nf); 404 nfields = nf; [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/ |
BarGraph.java | 80 NumberFormat nf= NumberFormat.getInstance(); local 167 String s3= nf.format(-xx) + "%"; //$NON-NLS-1$ 171 String s4= nf.format(xx) + "%"; //$NON-NLS-1$ 177 nf.setMaximumFractionDigits(1); 248 String label= nf.format(orgDelta);
|
/external/speex/libspeex/ |
smallft.c | 49 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=ifac[1] 1159 int nf,ip,iw,ix2,ix3,ido,idl1; local [all...] |
/external/bluetooth/bluez/lib/ |
hci.c | 1087 struct hci_filter nf, of; local 1096 hci_filter_clear(&nf); 1097 hci_filter_set_ptype(HCI_EVENT_PKT, &nf); 1098 hci_filter_set_event(EVT_CMD_STATUS, &nf); 1099 hci_filter_set_event(EVT_CMD_COMPLETE, &nf); 1100 hci_filter_set_event(EVT_LE_META_EVENT, &nf); 1101 hci_filter_set_event(r->event, &nf); 1102 hci_filter_set_opcode(opcode, &nf); 1103 if (setsockopt(dd, SOL_HCI, HCI_FILTER, &nf, sizeof(nf)) < 0 [all...] |