Home
last modified time | relevance | path

Searched refs:sdf (Results 1 – 25 of 30) sorted by relevance

12

/external/icu4c/test/intltest/
Ddtfmrgts.cpp74 SimpleDateFormat *sdf = (SimpleDateFormat*) DateFormat::createDateInstance(); in Test4029195() local
79 if(sdf == NULL){ in Test4029195()
84 pat = sdf->toPattern(pat); in Test4029195()
88 fmtd = sdf->format(today, fmtd, pos); in Test4029195()
91 sdf->applyPattern("G yyyy DDD"); in Test4029195()
93 todayS = sdf->format(today, todayS, pos); in Test4029195()
96 today = sdf->parse(todayS, status); in Test4029195()
105 rt = sdf->format(sdf->parse(todayS, status), rt, pos); in Test4029195()
116 delete sdf; in Test4029195()
713 SimpleDateFormat *sdf = new SimpleDateFormat(UnicodeString("z"), Locale::getUS(), status); in Test4101483() local
[all …]
Ddtfmapts.cpp308 SimpleDateFormat sdf(status); in TestNameHiding() local
311 sdf.format(dateObj, str, status); in TestNameHiding()
312 sdf.format(dateObj, str, fpos, status); in TestNameHiding()
314 sdf.format((UDate)0, str, fpos); in TestNameHiding()
315 sdf.format((UDate)0, str); in TestNameHiding()
316 sdf.parse(str, status); in TestNameHiding()
317 sdf.parse(str, ppos); in TestNameHiding()
318 sdf.getNumberFormat(); in TestNameHiding()
Dtzfmttst.cpp121 …SimpleDateFormat *sdf = new SimpleDateFormat((UnicodeString)PATTERNS[patidx], LOCALES[locidx], sta… in TestTimeZoneRoundTrip() local
138 sdf->setTimeZone(*tz); in TestTimeZoneRoundTrip()
139 sdf->format(DATES[datidx], tzstr, fpos); in TestTimeZoneRoundTrip()
144 sdf->setTimeZone(unknownZone); in TestTimeZoneRoundTrip()
157 sdf->parse(tzstr, *outcal, pos); in TestTimeZoneRoundTrip()
244 delete sdf; in TestTimeZoneRoundTrip()
336 SimpleDateFormat *sdf = new SimpleDateFormat(pattern, data.locales[locidx], status); in run() local
351 sdf->setTimeZone(*tz); in run()
398 sdf->format(testTimes[testidx], text, fpos); in run()
400 UDate parsedDate = sdf->parse(text, status); in run()
[all …]
Ddtfmttst.cpp230 SimpleDateFormat *sdf = new SimpleDateFormat((UnicodeString)"zzzz", status); in TestWallyWedel() local
238 if (sdf != NULL) { in TestWallyWedel()
239 delete sdf; in TestWallyWedel()
282 sdf->setTimeZone(*ttz); in TestWallyWedel()
288 sdf->format(today,fmtOffset, pos); in TestWallyWedel()
318 delete sdf; in TestWallyWedel()
847 SimpleDateFormat* sdf = (SimpleDateFormat*)DateFormat::createDateInstance(); in TestDayOfYearPattern195() local
848 if (sdf == NULL){ in TestDayOfYearPattern195()
852 tryPattern(*sdf, today, 0, expected); in TestDayOfYearPattern195()
853 tryPattern(*sdf, today, "G yyyy DDD", expected); in TestDayOfYearPattern195()
[all …]
Ddtptngts.cpp540 SimpleDateFormat sdf(bPattern, loc, status); in testAPI() local
542 rDate = sdf.format(testDate1, rDate); in testAPI()
565 SimpleDateFormat sdf(bPattern, loc, status); in testAPI() local
567 rDate = sdf.format(testDate1, rDate); in testAPI()
626 SimpleDateFormat sdf(bestPattern, loc, status); in testAPI() local
628 resultDate = sdf.format(testDate, resultDate); in testAPI()
Dcalregts.cpp982 SimpleDateFormat sdf(status); in test4103271() local
992 sdf.adoptCalendar(testCal); in test4103271()
993 sdf.applyPattern("EEE dd MMM yyyy 'WOY'ww'-'YYYY 'DOY'DDD"); in test4103271()
1015 output = testDesc + " - " + sdf.format(d,temp,pos) + "\t"; in test4103271()
1042 log(UnicodeString("") + sdf.format(testCal->getTime(status), str) + in test4103271()
1060 sdf.format(testCal->getTime(status), str)); in test4103271()
1125 "-DOW" + dow + " expect:" + sdf.format(exp, str) + in test4103271()
1126 " got:" + sdf.format(got, str2)); in test4103271()
1144 "-DOW" + dow + " expect:" + sdf.format(exp, str) + in test4103271()
1145 " got:" + sdf.format(got, str2)); in test4103271()
[all …]
Dtzregts.cpp148 SimpleDateFormat sdf((UnicodeString)"E d MMM yyyy G HH:mm", status); in Test4073215() local
153 sdf.setCalendar(cal); in Test4073215()
168 sdf.format(cal.getTime(status), str); in Test4073215()
398 SimpleDateFormat *sdf = new SimpleDateFormat((UnicodeString)"MM/dd/yyyy HH:mm", status); in checkCalendar314() local
399 sdf->setCalendar(*testCal); in checkCalendar314()
417 output = testTZ->getID(output) + " " + sdf->format(testDate, output, pos) + in checkCalendar314()
433 delete sdf; in checkCalendar314()
Ddtfmttst.h105 virtual void tryPattern(SimpleDateFormat& sdf, UDate d, const char* pattern, UDate expected);
Dcaltest.cpp1448 …SimpleDateFormat *sdf=new SimpleDateFormat(UnicodeString("YYYY'-W'ww-ee"), Locale::getGermany(), s… in TestDOW_LOCALandYEAR_WOY() local
1455 sdf->adoptDateFormatSymbols(dfs); in TestDOW_LOCALandYEAR_WOY()
1456 sdf->applyLocalizedPattern(UnicodeString("JJJJ'-W'ww-ee"), status); in TestDOW_LOCALandYEAR_WOY()
1461 doYEAR_WOYLoop(cal, sdf, times, status); in TestDOW_LOCALandYEAR_WOY()
1469 doYEAR_WOYLoop(cal, sdf, times, status); in TestDOW_LOCALandYEAR_WOY()
1477 doYEAR_WOYLoop(cal, sdf, times, status); in TestDOW_LOCALandYEAR_WOY()
1482 delete sdf; in TestDOW_LOCALandYEAR_WOY()
1602 CalendarTest::doYEAR_WOYLoop(Calendar *cal, SimpleDateFormat *sdf, in doYEAR_WOYLoop() argument
1609 sdf->format(Formattable(cal->getTime(errorCode),Formattable::kIsDate), us, errorCode); in doYEAR_WOYLoop()
1612 tst=sdf->parse(us,errorCode); in doYEAR_WOYLoop()
[all …]
Dcaltest.h166 SimpleDateFormat *sdf, int32_t times, UErrorCode& status);
Dnumrgts.cpp1303 DecimalFormat *sdf = new DecimalFormat(UnicodeString("#,##0"), status); in Test4101481() local
1306 delete sdf; in Test4101481()
1310 if (sdf->getMinimumIntegerDigits() != 1) in Test4101481()
1311 errln("Minimum integer digits : " + sdf->getMinimumIntegerDigits()); in Test4101481()
1312 delete sdf; in Test4101481()
1992 DecimalFormat *sdf = new DecimalFormat(status); in Test4147295() local
1995 sdf->applyPattern(pattern, status); in Test4147295()
1997 int minIntDig = sdf->getMinimumIntegerDigits(); in Test4147295()
2002 errln(UnicodeString(" new pattern: ") + sdf->toPattern(temp)); in Test4147295()
2008 delete sdf; in Test4147295()
/external/icu4c/test/perf/normperf/
Ddtfmtrtperf.h152 …SimpleDateFormat *sdf = new SimpleDateFormat((UnicodeString)PATTERNS[patidx], LOCALES[locidx], *st… in call() local
170 sdf->setTimeZone(*tz); in call()
171 sdf->format(DATES[datidx], tzstr, fpos); in call()
176 sdf->setTimeZone(unknownZone); in call()
188 sdf->parse(tzstr, *outcal, pos); in call()
199 delete sdf; in call() local
/external/svox/pico/lib/
Dpicoos.c1516 picoos_sd_file_t * sdf = NULL; in picoos_sdfOpenIn() local
1524 sdf = picoos_allocate(g->mm,sizeof(picoos_sd_file_t)); in picoos_sdfOpenIn()
1525 if (NULL == sdf) { in picoos_sdfOpenIn()
1531 if (picoos_OpenBinary(g,&(sdf->file),fileName)) { in picoos_sdfOpenIn()
1534 …done = picoos_readWavHeader(sdf->file,&(sdf->sf),&(sdf->enc),&(sdf->nrFileSamples),&(sdf->hdrSize)… in picoos_sdfOpenIn()
1547 (*numSamples) = sdf->nrFileSamples; in picoos_sdfOpenIn()
1548 (*sf) = sdf->sf; in picoos_sdfOpenIn()
1549 (*enc) = sdf->enc; in picoos_sdfOpenIn()
1551 if (PICOOS_ENC_LIN != sdf->enc) { in picoos_sdfOpenIn()
1555 if (SAMPLE_FREQ_16KHZ != sdf->sf) { in picoos_sdfOpenIn()
[all …]
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/
DUTCTimeTest.java48 SimpleDateFormat sdf = new SimpleDateFormat("dd MMM yyyy HH:mm:ss", Locale.US);
49 sdf.setTimeZone(TimeZone.getTimeZone("GMT"));
81 validUTCTimes[i][2] = sdf
DGeneralizedTimeTest.java51 SimpleDateFormat sdf = new SimpleDateFormat("dd MMM yyyy HH:mm:ss", Locale.US);
52 sdf.setTimeZone(TimeZone.getTimeZone("GMT"));
90 validGeneralizedTimes[i][2] = sdf
DDerUTCTimeEDTest.java62 SimpleDateFormat sdf = in testUTCEncoder() local
64 sdf.setTimeZone(TimeZone.getTimeZone("UTC")); in testUTCEncoder()
65 myDate = sdf.parse("06.06.2004 00:00"); in testUTCEncoder()
DDerGeneralizedTimeEDTest.java81 SimpleDateFormat sdf = in testGeneralizedEncoder() local
83 sdf.setTimeZone(TimeZone.getTimeZone("UTC")); in testGeneralizedEncoder()
84 myDate = sdf.parse("06.06.2004 00:00"); in testGeneralizedEncoder()
/external/icu4c/tools/tzcode/
Dicuzdump.cpp46sdf = new SimpleDateFormat((UnicodeString)"yyyy-MM-dd EEE HH:mm:ss", Locale::getEnglish(), status); in DumpFormatter()
55 sdf->setTimeZone(*stz); in format()
56 UnicodeString str = sdf->format(time, appendTo); in format()
86 SimpleDateFormat* sdf; member in DumpFormatter
/external/libvpx/libvpx/vp8/encoder/
Dmcomp.c897 bestsad = vfp->sdf(what, what_stride, this_offset, in_what_stride, UINT_MAX) in vp8_hex_search()
922 thissad = vfp->sdf(what, what_stride, this_offset, in_what_stride, bestsad); in vp8_hex_search()
933 thissad = vfp->sdf(what, what_stride, this_offset, in_what_stride, bestsad); in vp8_hex_search()
959 thissad = vfp->sdf(what, what_stride, this_offset, in_what_stride, bestsad); in vp8_hex_search()
970 thissad = vfp->sdf(what, what_stride, this_offset, in_what_stride, bestsad); in vp8_hex_search()
1001 thissad = vfp->sdf(what, what_stride, this_offset, in_what_stride, bestsad); in vp8_hex_search()
1012 thissad = vfp->sdf(what, what_stride, this_offset, in_what_stride, bestsad); in vp8_hex_search()
1096 bestsad = fn_ptr->sdf(what, what_stride, in_what, in_what_stride, UINT_MAX) in vp8_diamond_search_sad_c()
1121 thissad = fn_ptr->sdf(what, what_stride, check_here, in_what_stride, bestsad); in vp8_diamond_search_sad_c()
1220 bestsad = fn_ptr->sdf(what, what_stride, in_what, in_what_stride, UINT_MAX) in vp8_diamond_search_sadx4()
[all …]
/external/markdown/tests/misc/
Dlists2.txt2 sdf asdf asdf asdf asdf
Dlists3.txt2 sdf asdf asdf asdf asdf
/external/genext2fs/
Ddevice_table.txt62 #/dev/sdf b 640 0 0 8 80 0 0 -
63 #/dev/sdf b 640 0 0 8 81 1 1 15
/external/llvm/test/Transforms/CorrelatedValuePropagation/
Dcrash.ll27 sdf.exit.i:
33 br i1 %tobool5.not.i, label %sdf.exit.i, label %func_29.exit
/external/icu4c/i18n/
Dreldtfmt.cpp86 SimpleDateFormat *sdf = dynamic_cast<SimpleDateFormat *>(df); in RelativeDateFormat() local
87 if (sdf != NULL) { in RelativeDateFormat()
88 sdf->toPattern(fTimePattern); in RelativeDateFormat()
89 delete sdf; in RelativeDateFormat()
/external/libvpx/libvpx/vp8/common/
Dvariance.h101 vp8_sad_fn_t sdf; member

12