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

1 2 3 4

  /libcore/luni/src/test/java/libcore/java/text/
NumberFormatTest.java 40 NumberFormat nf = NumberFormat.getNumberInstance(Locale.US); local
41 assertEquals("123", nf.format(new MyNumber()));
60 NumberFormat nf = new MyNumberFormat(); local
61 assertEquals("long", nf.format(BigInteger.valueOf(Long.MAX_VALUE)));
62 assertEquals("double", nf.format(BigInteger.valueOf(Long.MAX_VALUE).add(BigInteger.ONE)));
63 assertEquals("long", nf.format(BigInteger.valueOf(Long.MIN_VALUE)));
64 assertEquals("double", nf.format(BigInteger.valueOf(Long.MIN_VALUE).subtract(BigInteger.ONE)));
76 NumberFormat nf = NumberFormat.getNumberInstance(arabic); local
79 nf.format(1234567890));
85 NumberFormat nf = NumberFormat.getPercentInstance(Locale.US) local
    [all...]
  /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/srec/srec/cfront/
chelmel4.c 55 //static void mel_cuberoot_offset(cepdata *fbo, cepdata *ch_off, int nf);
57 static void mel_spectrum_correction(cepdata *fbo, cepdata *ch_gain, int nf);
61 //static void mel_exp(cepdata *fbo, int nf);
64 static void icostrans(cepdata *cs, cepdata fb[], cepdata cep[], int nf, int nc);
79 write_scaled_frames(freqobj->nf, 1, channel->filterbank, D_FIXED, 1 / (float)LOG_SCALE);
93 static void icostrans(cepdata *cs, cepdata fb[], cepdata cep[], int nf, int nc)
104 cp = &cs[i*nf];
105 for (j = 0, temp = 0; j < nf; j++)
113 static void mel_spectrum_correction(cepdata *fbo, cepdata *ch_gain, int nf)
119 for (i = 0;i < nf; i++
    [all...]
frontobj.c 112 setup_cep_object(config->cepobj, parameters, config->freqobj->nf,
177 channel->num_freq = freqobj->nf;
415 for (freqobj->nf = 0; i <= 10; i++, freqobj->nf++)
416 freqobj->fc[freqobj->nf] = (fftdata)(100 * i); /* 100 Hz */
417 for (f = 1000.; f <= high_cut; freqobj->nf++)
420 freqobj->fc[freqobj->nf] = (fftdata) fixed_round(f); /* 10 % */
422 freqobj->nf--;
424 if ((freqobj->fc[freqobj->nf] + freqobj->fc[freqobj->nf-1]) / 2. > high_cut
    [all...]
  /frameworks/base/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)
  /external/valgrind/main/VEX/priv/
guest_arm_helpers.c 81 UInt nf = lshift( res & (1<<31), ARMG_CC_SHIFT_N - 31 ); local
89 // argL, argR, nf, zf, cf, vf);
90 return nf | zf | cf | vf;
97 UInt nf = lshift( res & (1<<31), ARMG_CC_SHIFT_N - 31 ); local
105 // argL, argR, nf, zf, cf, vf);
106 return nf | zf | cf | vf;
114 UInt nf = lshift( res & (1<<31), ARMG_CC_SHIFT_N - 31 ); local
122 // argL, argR, nf, zf, cf, vf);
123 return nf | zf | cf | vf;
131 UInt nf = lshift( res & (1<<31), ARMG_CC_SHIFT_N - 31 ) local
147 UInt nf = lshift( res & (1<<31), ARMG_CC_SHIFT_N - 31 ); local
158 UInt nf = lshift( res & (1<<31), ARMG_CC_SHIFT_N - 31 ); local
170 UInt nf = lshift( resHi32 & (1<<31), ARMG_CC_SHIFT_N - 31 ); local
230 UInt nf, zf, vf, cf, nzcv, inv; local
    [all...]
  /external/icu4c/i18n/
unum.cpp 9 * 06/24/99 helena Integrated Alan's NF enhancements and Java2 bug fixes
170 const NumberFormat* nf = reinterpret_cast<const NumberFormat*>(fmt); local
171 const DecimalFormat* df = dynamic_cast<const DecimalFormat*>(nf);
175 const RuleBasedNumberFormat* rbnf = dynamic_cast<const RuleBasedNumberFormat*>(nf);
485 const NumberFormat* nf = reinterpret_cast<const NumberFormat*>(fmt); local
486 const DecimalFormat* df = dynamic_cast<const DecimalFormat*>(nf);
550 const RuleBasedNumberFormat* rbnf = dynamic_cast<const RuleBasedNumberFormat*>(nf);
567 NumberFormat* nf = reinterpret_cast<NumberFormat*>(fmt); local
568 DecimalFormat* df = dynamic_cast<DecimalFormat*>(nf);
651 RuleBasedNumberFormat* rbnf = dynamic_cast<RuleBasedNumberFormat*>(nf);
665 const NumberFormat* nf = reinterpret_cast<const NumberFormat*>(fmt); local
679 NumberFormat* nf = reinterpret_cast<NumberFormat*>(fmt); local
703 const NumberFormat* nf = reinterpret_cast<const NumberFormat*>(fmt); local
767 NumberFormat* nf = reinterpret_cast<NumberFormat*>(fmt); local
827 const NumberFormat* nf = reinterpret_cast<const NumberFormat*>(fmt); local
856 const NumberFormat *nf = reinterpret_cast<const NumberFormat *>(fmt); local
883 NumberFormat *nf = reinterpret_cast<NumberFormat *>(fmt); local
919 NumberFormat* nf = reinterpret_cast<NumberFormat*>(fmt); local
    [all...]
winnmfmt.cpp 221 NumberFormat *nf = fCurrency? NumberFormat::createCurrencyInstance(loc, status) : NumberFormat::createInstance(loc, status); local
223 nf->parse(text, result, parsePosition);
224 delete nf;
  /external/icu4c/test/intltest/
numrgts.cpp 472 NumberFormat *nf = NumberFormat::createInstance(status); local
474 delete nf;
477 nf->setMaximumFractionDigits(4);
480 out = nf->format(x, out, pos);
486 delete nf;
508 DecimalFormat *nf = dynamic_cast<DecimalFormat *>(nf1); local
509 if(nf == NULL) {
515 logln("nf toPattern1: " + nf->toPattern(temp));
516 logln("nf toLocPattern1: " + nf->toLocalizedPattern(temp))
838 NumberFormat *nf = NumberFormat::createCurrencyInstance(*de, status); local
1609 NumberFormat *nf = NumberFormat::createInstance(status); local
1784 DecimalFormat *nf = new DecimalFormat("##,###,###.00", status); local
1915 DecimalFormat *nf = dynamic_cast<DecimalFormat *>(nff); local
2187 NumberFormat *nf = NumberFormat::createInstance(Locale::getUS(), status); local
2392 NumberFormat *nf; local
2537 NumberFormat *nf = NumberFormat::createInstance(Locale::getUS(), status); local
2655 NumberFormat *nf = NumberFormat::createInstance(loc, status); local
    [all...]
pptest.cpp 179 NumberFormat *nf = NumberFormat::createInstance(status); local
181 delete nf;
185 DecimalFormat *fmt = dynamic_cast<DecimalFormat *>(nf);
213 delete nf;
uobjtest.cpp 566 NumberFormat *nf = NumberFormat::createInstance("de", errorCode); local
571 if (dynamic_cast<DecimalFormat *>(nf) == NULL || dynamic_cast<ChoiceFormat *>(nf) != NULL) {
575 if (&typeid(*nf) == NULL || typeid(*nf) == typeid(UObject) || typeid(*nf) == typeid(Format) ||
576 typeid(*nf) != typeid(DecimalFormat) || typeid(*nf) == typeid(ChoiceFormat) ||
577 typeid(*nf) == typeid(emptySet)
581 delete nf;
    [all...]
numfmtst.h 199 void expectCurrency(NumberFormat& nf, const Locale& locale,
243 void roundingTest(NumberFormat& nf, double x, int32_t maxFractionDigits, const char* expected);
dtfmapts.cpp 235 const NumberFormat *nf = def->getNumberFormat(); local
236 NumberFormat *newNf = (NumberFormat*) nf->clone();
icusvtst.cpp     [all...]
  /frameworks/base/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...]
  /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/icu4c/test/cintltst/
cnumtst.c 15 * 06/24/99 helena Integrated Alan's NF enhancements and Java2 bug fixes
108 UNumberFormat* nf; local
113 nf = unum_open(UNUM_DEFAULT, NULL, -1, NULL, NULL, status);
123 a = unum_parseInt64(nf, text, size, 0, status);
135 unum_close(nf);
983 UNumberFormat *nf = unum_open(UNUM_SPELLOUT, NULL, 0, testPtr->locale, NULL, &status); local
1645 UNumberFormat *nf = unum_open(UNUM_CURRENCY, NULL, 0, "en_US", NULL, &status); local
1710 UNumberFormat* nf = NULL; local
    [all...]
cnmdptst.c 14 * 06/24/99 helena Integrated Alan's NF enhancements and Java2 bug fixes
637 static void roundingTest(UNumberFormat* nf, double x, int32_t maxFractionDigits, const char* expected)
645 unum_setAttribute(nf, UNUM_MAX_FRACTION_DIGITS, maxFractionDigits);
647 lneed=unum_formatDouble(nf, x, NULL, lneed, NULL, &status);
652 unum_formatDouble(nf, x, out, lneed+1, &pos, &status);
    [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...]
  /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...]
  /ndk/sources/host-tools/sed-4.2.1/doc/
Makefile.am 19 sed -nf $(srcdir)/groupify.sed \
  /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/pcre/
132html 97 # Instead of .br, relevent "literal" sections are enclosed in .nf/.fi.
99 elsif (/^\.nf/)
285 # Add <br> to the end of a non-literal line if we are within .nf/.fi
  /external/srec/srec/include/
front.h 55 #define NF 40
166 int np, ns, nf, lognp; member in struct:__anon11332
167 fftdata fcb[NF];
169 int fcmid[NF+2];
170 fftdata fcscl[NF+1], framp[NP+1];

Completed in 532 milliseconds

1 2 3 4