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

1 2 3

  /external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/
ParseExceptionTest.java 30 DateFormat df = DateFormat.getInstance(); local
31 df.parse("HelloWorld");
43 DateFormat df = DateFormat.getInstance(); local
44 df.parse("1999HelloWorld");
DecimalFormatTest.java 309 DecimalFormat df = new DecimalFormat(); local
311 Number nb = df.parse("" + Long.MIN_VALUE, pos);
317 df = new DecimalFormat();
319 nb = df.parse("" + Long.MAX_VALUE, pos);
326 df = new DecimalFormat();
328 nb = df.parse("invalid", pos);
815 DecimalFormat df = new DecimalFormat("00.0#E0", dfs); local
816 compare("00.0#E0: 0.0", df.format(0.0), "00.0E0");
817 compare("00.0#E0: 1.0", df.format(1.0), "10.0E-1")
1044 DecimalFormat df = new DecimalFormat("00.0#E0", dfs); local
1179 DecimalFormat df = (DecimalFormat) NumberFormat local
1195 DecimalFormat df = (DecimalFormat) NumberFormat local
1231 DecimalFormat df = new DecimalFormat("###0.##"); local
1248 DecimalFormat df = new DecimalFormat("###0.##"); local
1260 DecimalFormat df = new DecimalFormat("###0.##"); local
1367 DecimalFormat df = new DecimalFormat("###0.##"); local
1388 DecimalFormat df = new DecimalFormat("###0.##", local
1401 DecimalFormat df = ((DecimalFormat) NumberFormat local
1426 DecimalFormat df = new DecimalFormat("###0.##", local
1439 DecimalFormat df = new DecimalFormat("###0.##", local
1453 DecimalFormat df = new DecimalFormat("###0.##"); local
1466 DecimalFormat df = new DecimalFormat("###0.##", local
1480 DecimalFormat df = new DecimalFormat("###0.##", local
1495 DecimalFormat df = new DecimalFormat("###0.##"); local
1520 DecimalFormat df = null; local
    [all...]
SimpleDateFormatTest.java 301 SimpleDateFormat df = new SimpleDateFormat(); local
302 df.format(new Date());
303 assertEquals(df, new SimpleDateFormat());
566 SimpleDateFormat df = (SimpleDateFormat) DateFormat.getInstance(); local
567 DateFormatSymbols dfs = df.getDateFormatSymbols();
568 assertTrue("Symbols identical", dfs != df.getDateFormatSymbols());
706 SimpleDateFormat df = new SimpleDateFormat("", new Locale("en", "US")); local
707 df.setTimeZone(TimeZone.getTimeZone("EST"));
710 df.applyPattern("dd MMMM yyyy EEEE");
711 String output = df.format(d)
850 SimpleDateFormat df = new SimpleDateFormat("HH:mm:ss"); local
    [all...]
  /system/core/toolbox/
df.c 24 static void df(char *s, int always) { function
66 df(e, 0);
74 df(argv[i], 1);
  /external/icu4c/test/intltest/
tsdcfmsy.cpp 218 DecimalFormat *df = new DecimalFormat(pattern, sym, status); local
224 buffer = df->format(value, buffer, pos);
229 delete df;
miscdtfm.cpp 163 SimpleDateFormat *df = new SimpleDateFormat(UnicodeString("E hh:mm"), *symbols, status);
166 format0 = df->format(d, format0);
168 localizedPattern0 = df->toLocalizedPattern(localizedPattern0, status);
169 failure(status, "df->toLocalizedPattern");
172 format1 = df->format(d, format1);
178 localizedPattern1 = df->toLocalizedPattern(localizedPattern1, status);
179 failure(status, "df->toLocalizedPattern");
185 delete df;
195 SimpleDateFormat *df = new SimpleDateFormat(UnicodeString("E hh:mm"), status);
197 df->setDateFormatSymbols(*symbols)
255 SimpleDateFormat *df = new SimpleDateFormat(UnicodeString("E hh:mm"), status); local
    [all...]
nmfmtrt.cpp 185 DecimalFormat *df = dynamic_cast<DecimalFormat *>(fmt); local
186 if(df != NULL)
190 test(fmt, randomDouble(DBL_MAX/2.0) / df->getMultiplier());
192 test(fmt, randomDouble(1e75) / df->getMultiplier());
194 test(fmt, randomDouble(1e65) / df->getMultiplier()); /*OS390*/
233 DecimalFormat *df = dynamic_cast<DecimalFormat *>(fmt); local
234 if(df != NULL) {
235 df->setRoundingIncrement(0.0);
dcfmapts.cpp 404 DecimalFormat *df = new DecimalFormat(status); local
409 df->adoptCurrencyPluralInfo(cpi);
411 df->getCurrencyPluralInfo();
413 df->setCurrencyPluralInfo(cpi1);
415 delete df;
dtfmapts.cpp 81 DateFormat *df = DateFormat::createDateTimeInstance(DateFormat::kMedium, DateFormat::kMedium, Locale(LOCALES[i])); local
82 if (df == NULL){
86 delete df;
  /bionic/libm/src/
e_acos.c 64 double z,p,q,r,w,s,c,df; local
95 df = s;
96 SET_LOW_WORD(df,0);
97 c = (z-df*df)/(s+df);
102 return 2.0*(df+w);
e_acosf.c 42 float z,p,q,r,w,s,c,df; local
71 df = s;
72 GET_FLOAT_WORD(idf,df);
73 SET_FLOAT_WORD(df,idf&0xfffff000);
74 c = (z-df*df)/(s+df);
79 return (float)2.0*(df+w);
  /external/fdlibm/
e_acos.c 67 double z,p,q,r,w,s,c,df; local
96 df = s;
97 __LO(df) = 0;
98 c = (z-df*df)/(s+df);
103 return 2.0*(df+w);
  /external/hyphenation/
example.c 60 int df; local
93 df = arg++;
107 if ((dict = hnj_hyphen_load(argv[df])) == NULL) {
108 fprintf(stderr, "Couldn't find file %s\n", argv[df]);
  /external/speex/libspeex/
filterbank.c 57 spx_word32_t df; local
62 df = DIV32(SHL32(sampling,15),MULT16_16(2,len));
82 curr_freq = EXTRACT16(MULT16_32_P15(i,df));
  /external/valgrind/main/none/tests/x86/
bug152818-x86.c 101 int df; local
131 df = (idx >= (sizeof(lens)/sizeof(lens[0]))/2);
136 if (df)
152 if (df)
172 if (df)
188 if (df)
208 printf ("DF = %d, count = %2d ", df, len);
  /libcore/luni/src/test/java/libcore/java/text/
DecimalFormatTest.java 29 DecimalFormat df = new DecimalFormat("0E0"); local
30 assertEquals("1E4", df.format(12345.));
32 DecimalFormatSymbols dfs = df.getDecimalFormatSymbols();
34 df.setDecimalFormatSymbols(dfs);
35 assertEquals("1-useless-api-4", df.format(12345.));
39 DecimalFormat df = (DecimalFormat) DecimalFormat.getInstance(Locale.US); local
40 df.setMaximumFractionDigits(0);
41 df.setRoundingMode(RoundingMode.HALF_UP);
42 assertEquals("-0", df.format(-0.2));
43 df.setMaximumFractionDigits(1)
100 DecimalFormat df = (DecimalFormat) NumberFormat.getInstance(); local
140 DecimalFormat df = (DecimalFormat)NumberFormat.getInstance(); local
    [all...]
OldDateFormatTest.java 164 DateFormat df = DateFormat.getInstance(); local
165 Calendar c = df.getCalendar();
166 if (df.isLenient()) {
381 DateFormat df = DateFormat.getInstance(); local
387 Date result = (Date) df.parseObject(df.format(current), pp);
401 char[] cur = df.format(current).toCharArray();
404 result = (Date) df.parseObject(partialCorrect, pp);
411 char[] curDate = df.format(current).toCharArray();
416 result = (Date) df.parseObject(new String(newArray), pp)
446 DateFormat df = DateFormat.getInstance(); local
    [all...]
  /external/apache-xml/src/main/java/org/apache/xalan/templates/
ElemWithParam.java 215 int df = transformer.transformToRTF(this); local
217 var = new XRTreeFrag(df, xctxt, this);
ElemVariable.java 289 int df; local
300 df = transformer.transformToGlobalRTF(this);
302 df = transformer.transformToRTF(this);
308 var = new XRTreeFrag(df, xctxt, this);
  /external/chromium/net/tools/flip_server/
streamer_interface.cc 77 DataFrame* df = new DataFrame; local
78 df->data = (const char *)dataPtr;
79 df->size = len;
80 df->delete_when_done = true;
81 connection_->EnqueueDataFrame(df);
http_interface.cc 239 DataFrame* df = new DataFrame; local
240 df->data = "0\r\n\r\n";
241 df->size = 5;
242 df->delete_when_done = false;
243 EnqueueDataFrame(df);
274 DataFrame* df = new DataFrame; local
275 df->size = sb.ReadableBytes();
276 char* buffer = new char[df->size];
277 df->data = buffer;
278 df->delete_when_done = true
291 DataFrame* df = new DataFrame; local
309 DataFrame* df = new DataFrame; local
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
AbsoluteLayoutRule.java 66 DropFeedback df = new DropFeedback(null, new IFeedbackPainter() { local
73 df.errorMessage = "AbsoluteLayout is deprecated.";
74 return df;
  /dalvik/dx/src/com/android/dx/ssa/
SsaConverter.java 297 DomFront df = new DomFront(ssaMeth); local
298 DomFront.DomInfo[] domInfos = df.run();
  /external/icu4c/i18n/
udat.cpp 340 const DateFormat *df=reinterpret_cast<const DateFormat *>(fmt); local
341 const SimpleDateFormat *sdtfmt=dynamic_cast<const SimpleDateFormat *>(df);
348 } else if (!localized && (reldtfmt=dynamic_cast<const RelativeDateFormat *>(df))!=NULL) {
unum.cpp 171 const DecimalFormat* df = dynamic_cast<const DecimalFormat*>(nf); local
172 if (df != NULL) {
173 res = df->clone();
486 const DecimalFormat* df = dynamic_cast<const DecimalFormat*>(nf); local
487 if (df != NULL) {
490 return df->isParseIntegerOnly();
493 return df->isGroupingUsed();
496 return df->isDecimalSeparatorAlwaysShown();
499 return df->getMaximumIntegerDigits();
502 return df->getMinimumIntegerDigits()
568 DecimalFormat* df = dynamic_cast<DecimalFormat*>(nf); local
666 const DecimalFormat* df = dynamic_cast<const DecimalFormat*>(nf); local
680 DecimalFormat* df = dynamic_cast<DecimalFormat*>(nf); local
704 const DecimalFormat* df = dynamic_cast<const DecimalFormat*>(nf); local
768 DecimalFormat* df = dynamic_cast<DecimalFormat*>(nf); local
828 const DecimalFormat* df = dynamic_cast<const DecimalFormat*>(nf); local
920 DecimalFormat* df = dynamic_cast<DecimalFormat*>(nf); local
    [all...]

Completed in 550 milliseconds

1 2 3