/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/ |
D | SimpleDateFormatTest.java | 47 SimpleDateFormat sdf = new SimpleDateFormat(hmzmdy); in testFormatCalendarStringBufferFieldPosition() local 48 sdf.format(cal, buf, fp); in testFormatCalendarStringBufferFieldPosition() 59 SimpleDateFormat sdf = new SimpleDateFormat(hmzmdy); in testParseStringCalendarParsePosition() local 60 sdf.parse(hmzmdyStr, cal, pp); in testParseStringCalendarParsePosition() 76 SimpleDateFormat sdf = new SimpleDateFormat(); in testSimpleDateFormat() local 78 assertEquals(jsdf.format(date), sdf.format(date)); in testSimpleDateFormat() 85 SimpleDateFormat sdf = new SimpleDateFormat(mdy); in testSimpleDateFormatString() local 87 assertEquals(jsdf.format(date), sdf.format(date)); in testSimpleDateFormatString() 95 SimpleDateFormat sdf = new SimpleDateFormat(mdy, l); in testSimpleDateFormatStringLocale() local 97 assertEquals(jsdf.format(date), sdf.format(date)); in testSimpleDateFormatStringLocale() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | DateFormatRegressionTestJ.java | 187 SimpleDateFormat sdf = new SimpleDateFormat(); in Test4358730() local 193 sdf.applyPattern("MM d y"); in Test4358730() 194 logln(sdf.format(today)); in Test4358730() 195 sdf.applyPattern("MM d yy"); in Test4358730() 196 logln(sdf.format(today)); in Test4358730() 198 sdf.applyPattern("MM d yyy"); in Test4358730() 199 logln(sdf.format(today)); in Test4358730() 201 sdf.applyPattern("MM d yyyy"); in Test4358730() 202 logln(sdf.format(today)); in Test4358730() 204 sdf.applyPattern("MM d yyyyy"); in Test4358730() [all …]
|
D | DateFormatTest.java | 208 SimpleDateFormat sdf = new SimpleDateFormat("zzzz"); in TestWallyWedel() local 253 sdf.setTimeZone(ttz); in TestWallyWedel() 261 fmtOffset = sdf.format(today, fmtOffset, pos); in TestWallyWedel() 680 for (SimpleDateFormat sdf : formats) { in TestGenericTime() 681 sdf.setTimeZoneFormat(tzfmt); in TestGenericTime() 1754 SimpleDateFormat sdf = (SimpleDateFormat)DateFormat.getDateInstance(); in TestDayOfYearPattern195() local 1755 tryPattern(sdf, today, null, expected); in TestDayOfYearPattern195() 1756 tryPattern(sdf, today, "G yyyy DDD", expected); in TestDayOfYearPattern195() 1760 public void tryPattern(SimpleDateFormat sdf, Date d, String pattern, Date expected) { in tryPattern() argument 1762 sdf.applyPattern(pattern); in tryPattern() [all …]
|
D | IntlTestDateFormatAPIC.java | 71 SimpleDateFormat sdf = new SimpleDateFormat(); in TestNameHiding() local 73 str = sdf.format(dateObj); in TestNameHiding() 74 strBuffer = sdf.format(dateObj, strBuffer, fpos); in TestNameHiding() 76 strBuffer = sdf.format(new Date(0), strBuffer, fpos); in TestNameHiding() 77 str = sdf.format(new Date(0)); in TestNameHiding() 79 sdf.parse(str); in TestNameHiding() 80 sdf.parse(str, ppos); in TestNameHiding()
|
D | DateFormatRegressionTest.java | 59 SimpleDateFormat sdf = (SimpleDateFormat) DateFormat.getDateInstance(); in Test4029195() local 60 String pat = sdf.toPattern(); in Test4029195() 64 fmtd = sdf.format(today, fmtd, pos); in Test4029195() 67 sdf.applyPattern("G yyyy DDD"); in Test4029195() 69 todayS = sdf.format(today, todayS, pos); in Test4029195() 72 today = sdf.parse(todayS.toString()); in Test4029195() 80 rt = sdf.format(sdf.parse(todayS.toString()), rt, pos); in Test4029195() 505 SimpleDateFormat sdf = new SimpleDateFormat("z", Locale.US); in Test4101483() local 509 sdf.format(d, buf, fp); in Test4101483() 510 logln(sdf.format(d, buf, fp).toString()); in Test4101483() [all …]
|
D | TimeZoneFormatTest.java | 152 SimpleDateFormat sdf = new SimpleDateFormat(PATTERNS[patidx], LOCALES[locidx]); in TestTimeZoneRoundTrip() local 162 sdf.setTimeZone(tz); in TestTimeZoneRoundTrip() 163 String tzstr = sdf.format(DATES[datidx]); in TestTimeZoneRoundTrip() 168 sdf.setTimeZone(unknownZone); in TestTimeZoneRoundTrip() 176 sdf.parse(tzstr, outcal, pos); in TestTimeZoneRoundTrip() 383 SimpleDateFormat sdf = new SimpleDateFormat(pattern, LOCALES[locidx]); in TestTimeRoundTrip() local 429 sdf.setTimeZone(tz); in TestTimeRoundTrip() 470 String text = sdf.format(new Date(testTimes[testidx])); in TestTimeRoundTrip() 472 Date parsedDate = sdf.parse(text); in TestTimeRoundTrip() 826 SimpleDateFormat sdf = new SimpleDateFormat(); in TestISOFormat() local [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | DateFormatRegressionTestJ.java | 190 SimpleDateFormat sdf = new SimpleDateFormat(); in Test4358730() local 196 sdf.applyPattern("MM d y"); in Test4358730() 197 logln(sdf.format(today)); in Test4358730() 198 sdf.applyPattern("MM d yy"); in Test4358730() 199 logln(sdf.format(today)); in Test4358730() 201 sdf.applyPattern("MM d yyy"); in Test4358730() 202 logln(sdf.format(today)); in Test4358730() 204 sdf.applyPattern("MM d yyyy"); in Test4358730() 205 logln(sdf.format(today)); in Test4358730() 207 sdf.applyPattern("MM d yyyyy"); in Test4358730() [all …]
|
D | DateFormatTest.java | 211 SimpleDateFormat sdf = new SimpleDateFormat("zzzz"); in TestWallyWedel() local 256 sdf.setTimeZone(ttz); in TestWallyWedel() 264 fmtOffset = sdf.format(today, fmtOffset, pos); in TestWallyWedel() 683 for (SimpleDateFormat sdf : formats) { in TestGenericTime() 684 sdf.setTimeZoneFormat(tzfmt); in TestGenericTime() 1757 SimpleDateFormat sdf = (SimpleDateFormat)DateFormat.getDateInstance(); in TestDayOfYearPattern195() local 1758 tryPattern(sdf, today, null, expected); in TestDayOfYearPattern195() 1759 tryPattern(sdf, today, "G yyyy DDD", expected); in TestDayOfYearPattern195() 1763 public void tryPattern(SimpleDateFormat sdf, Date d, String pattern, Date expected) { in tryPattern() argument 1765 sdf.applyPattern(pattern); in tryPattern() [all …]
|
D | IntlTestDateFormatAPIC.java | 74 SimpleDateFormat sdf = new SimpleDateFormat(); in TestNameHiding() local 76 str = sdf.format(dateObj); in TestNameHiding() 77 strBuffer = sdf.format(dateObj, strBuffer, fpos); in TestNameHiding() 79 strBuffer = sdf.format(new Date(0), strBuffer, fpos); in TestNameHiding() 80 str = sdf.format(new Date(0)); in TestNameHiding() 82 sdf.parse(str); in TestNameHiding() 83 sdf.parse(str, ppos); in TestNameHiding()
|
D | DateFormatRegressionTest.java | 62 SimpleDateFormat sdf = (SimpleDateFormat) DateFormat.getDateInstance(); in Test4029195() local 63 String pat = sdf.toPattern(); in Test4029195() 67 fmtd = sdf.format(today, fmtd, pos); in Test4029195() 70 sdf.applyPattern("G yyyy DDD"); in Test4029195() 72 todayS = sdf.format(today, todayS, pos); in Test4029195() 75 today = sdf.parse(todayS.toString()); in Test4029195() 83 rt = sdf.format(sdf.parse(todayS.toString()), rt, pos); in Test4029195() 508 SimpleDateFormat sdf = new SimpleDateFormat("z", Locale.US); in Test4101483() local 512 sdf.format(d, buf, fp); in Test4101483() 513 logln(sdf.format(d, buf, fp).toString()); in Test4101483() [all …]
|
D | TimeZoneFormatTest.java | 155 SimpleDateFormat sdf = new SimpleDateFormat(PATTERNS[patidx], LOCALES[locidx]); in TestTimeZoneRoundTrip() local 165 sdf.setTimeZone(tz); in TestTimeZoneRoundTrip() 166 String tzstr = sdf.format(DATES[datidx]); in TestTimeZoneRoundTrip() 171 sdf.setTimeZone(unknownZone); in TestTimeZoneRoundTrip() 179 sdf.parse(tzstr, outcal, pos); in TestTimeZoneRoundTrip() 386 SimpleDateFormat sdf = new SimpleDateFormat(pattern, LOCALES[locidx]); in TestTimeRoundTrip() local 432 sdf.setTimeZone(tz); in TestTimeRoundTrip() 473 String text = sdf.format(new Date(testTimes[testidx])); in TestTimeRoundTrip() 475 Date parsedDate = sdf.parse(text); in TestTimeRoundTrip() 829 SimpleDateFormat sdf = new SimpleDateFormat(); in TestISOFormat() local [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | dtfmttst.cpp | 253 SimpleDateFormat *sdf = new SimpleDateFormat((UnicodeString)"zzzz", status); in TestWallyWedel() local 261 if (sdf != NULL) { in TestWallyWedel() 262 delete sdf; in TestWallyWedel() 305 sdf->setTimeZone(*ttz); in TestWallyWedel() 311 sdf->format(today,fmtOffset, pos); in TestWallyWedel() 341 delete sdf; in TestWallyWedel() 910 SimpleDateFormat* sdf = (SimpleDateFormat*)DateFormat::createDateInstance(); in TestDayOfYearPattern195() local 911 if (sdf == NULL){ in TestDayOfYearPattern195() 915 tryPattern(*sdf, today, 0, expected); in TestDayOfYearPattern195() 916 tryPattern(*sdf, today, "G yyyy DDD", expected); in TestDayOfYearPattern195() [all …]
|
D | dtfmrgts.cpp | 81 SimpleDateFormat *sdf = (SimpleDateFormat*) DateFormat::createDateInstance(); in Test4029195() local 86 if(sdf == NULL){ in Test4029195() 91 pat = sdf->toPattern(pat); in Test4029195() 96 fmtd = sdf->format(today, fmtd, pos); in Test4029195() 99 sdf->applyPattern("G yyyy DDD"); in Test4029195() 101 todayS = sdf->format(today, todayS, pos); in Test4029195() 104 today = sdf->parse(todayS, status); in Test4029195() 113 rt = sdf->format(sdf->parse(todayS, status), rt, pos); in Test4029195() 124 delete sdf; in Test4029195() 721 SimpleDateFormat *sdf = new SimpleDateFormat(UnicodeString("z"), Locale::getUS(), status); in Test4101483() local [all …]
|
D | dtfmapts.cpp | 310 SimpleDateFormat sdf(status); in TestNameHiding() local 313 sdf.format(dateObj, str, status); in TestNameHiding() 314 sdf.format(dateObj, str, fpos, status); in TestNameHiding() 316 sdf.format((UDate)0, str, fpos); in TestNameHiding() 317 sdf.format((UDate)0, str); in TestNameHiding() 318 sdf.parse(str, status); in TestNameHiding() 319 sdf.parse(str, ppos); in TestNameHiding() 320 sdf.getNumberFormat(); in TestNameHiding()
|
D | tzfmttst.cpp | 175 …SimpleDateFormat *sdf = new SimpleDateFormat((UnicodeString)PATTERNS[patidx], LOCALES[locidx], sta… in TestTimeZoneRoundTrip() local 192 sdf->setTimeZone(*tz); in TestTimeZoneRoundTrip() 193 sdf->format(DATES[datidx], tzstr, fpos); in TestTimeZoneRoundTrip() 198 sdf->setTimeZone(unknownZone); in TestTimeZoneRoundTrip() 211 sdf->parse(tzstr, *outcal, pos); in TestTimeZoneRoundTrip() 343 delete sdf; in TestTimeZoneRoundTrip() 570 SimpleDateFormat *sdf = new SimpleDateFormat(pattern, gLocaleData->locales[locidx], status); in RunTimeRoundTripTests() local 611 sdf->setTimeZone(*tz); in RunTimeRoundTripTests() 665 sdf->format(testTimes[testidx], text, fpos); in RunTimeRoundTripTests() 667 UDate parsedDate = sdf->parse(text, status); in RunTimeRoundTripTests() [all …]
|
D | calregts.cpp | 988 SimpleDateFormat sdf(status); in test4103271() local 998 sdf.adoptCalendar(testCal); in test4103271() 999 sdf.applyPattern("EEE dd MMM yyyy 'WOY'ww'-'YYYY 'DOY'DDD"); in test4103271() 1021 output = testDesc + " - " + sdf.format(d,temp,pos) + "\t"; in test4103271() 1048 log(UnicodeString("") + sdf.format(testCal->getTime(status), str) + in test4103271() 1066 sdf.format(testCal->getTime(status), str)); in test4103271() 1131 "-DOW" + dow + " expect:" + sdf.format(exp, str) + in test4103271() 1132 " got:" + sdf.format(got, str2)); in test4103271() 1150 "-DOW" + dow + " expect:" + sdf.format(exp, str) + in test4103271() 1151 " got:" + sdf.format(got, str2)); in test4103271() [all …]
|
/external/icu/icu4c/source/samples/dtptngsample/ |
D | dtptngsample.cpp | 58 SimpleDateFormat *sdf = new SimpleDateFormat(pattern,locales[j],status); in getBestPatternExample() local 61 sdf->format(date,dateReturned,status); in getBestPatternExample() 65 delete sdf; in getBestPatternExample() 91 …SimpleDateFormat *sdf = new SimpleDateFormat(dtfg->getBestPattern("MMMMddHmm",status),locale,statu… in addPatternExample() local 95 sdf->applyPattern(dtfg->getBestPattern("MMMMddHmm",status)); in addPatternExample() 96 dateReturned = sdf->format(date, dateReturned, status); in addPatternExample() 97 pattern =sdf->toPattern(pattern); in addPatternExample() 103 delete sdf; in addPatternExample() 132 SimpleDateFormat *sdf = new SimpleDateFormat("EEEE d MMMM y HH:mm:ss zzzz",locale,status); in replaceFieldTypesExample() local 133 sdf->setTimeZone(*zone); in replaceFieldTypesExample() [all …]
|
/external/icu/icu4c/source/test/perf/normperf/ |
D | dtfmtrtperf.h | 155 …SimpleDateFormat *sdf = new SimpleDateFormat((UnicodeString)PATTERNS[patidx], LOCALES[locidx], *st… in call() local 173 sdf->setTimeZone(*tz); in call() 174 sdf->format(DATES[datidx], tzstr, fpos); in call() 179 sdf->setTimeZone(unknownZone); in call() 191 sdf->parse(tzstr, *outcal, pos); in call() 202 delete sdf; in call() local
|
/external/lisa/libs/utils/ |
D | trace.py | 581 def sched_switch_add_cgroup(sdf, cdf, controller, direction): argument 584 ret_df = sdf.rename(columns = { direction + '_pid': 'pid' }) 595 sdf = self._dfg_trace_event('sched_switch') 599 sdf = sched_switch_add_cgroup(sdf, cdf, c, 'next') 600 sdf = sched_switch_add_cgroup(sdf, cdf, c, 'prev') 603 sdf = sdf.join(self._pid_tgid, on='next_pid').rename(columns = {'tgid': 'next_tgid'}) 604 sdf = sdf.join(self._pid_tgid, on='prev_pid').rename(columns = {'tgid': 'prev_tgid'}) 608 sdf = sdf.join(df, on='next_tgid').rename(columns = {'TaskName': 'next_tgid_comm'}) 609 sdf = sdf.join(df, on='prev_tgid').rename(columns = {'TaskName': 'prev_tgid_comm'}) 610 return sdf
|
/external/clang/test/CodeGen/ |
D | ppc64-qpx-vector.c | 8 struct sdf { v4df v; }; struct 20 v4df foo2(struct sdf a, v4df b, struct sdf2 c) { in foo2()
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_mcomp.c | 889 bestsad = vfp->sdf(what->buf, what->stride, get_buf_from_mv(in_what, ref_mv), in vp9_pattern_search() 906 vfp->sdf(what->buf, what->stride, in vp9_pattern_search() 916 vfp->sdf(what->buf, what->stride, in vp9_pattern_search() 948 vfp->sdf(what->buf, what->stride, in vp9_pattern_search() 958 vfp->sdf(what->buf, what->stride, in vp9_pattern_search() 987 vfp->sdf(what->buf, what->stride, in vp9_pattern_search() 999 vfp->sdf(what->buf, what->stride, in vp9_pattern_search() 1063 bestsad = vfp->sdf(what->buf, what->stride, get_buf_from_mv(in_what, ref_mv), in vp9_pattern_search_sad() 1080 vfp->sdf(what->buf, what->stride, in vp9_pattern_search_sad() 1090 vfp->sdf(what->buf, what->stride, in vp9_pattern_search_sad() [all …]
|
/external/caliper/examples/src/main/java/examples/ |
D | ExpensiveObjectsBenchmark.java | 63 SimpleDateFormat sdf = new SimpleDateFormat(); in clonedSimpleDateFormat() local 65 sdf.clone(); in clonedSimpleDateFormat()
|
/external/libvpx/libvpx/vpx_dsp/ |
D | variance.h | 58 vpx_sad_fn_t sdf; member 72 vpx_sad_fn_t sdf; member
|
/external/libvpx/libvpx/vp8/encoder/ |
D | mcomp.c | 884 bestsad = vfp->sdf(what, what_stride, this_offset, in_what_stride) + in vp8_hex_search() 916 thissad = vfp->sdf(what, what_stride, this_offset, in_what_stride); in vp8_hex_search() 926 thissad = vfp->sdf(what, what_stride, this_offset, in_what_stride); in vp8_hex_search() 949 thissad = vfp->sdf(what, what_stride, this_offset, in_what_stride); in vp8_hex_search() 959 thissad = vfp->sdf(what, what_stride, this_offset, in_what_stride); in vp8_hex_search() 990 thissad = vfp->sdf(what, what_stride, this_offset, in_what_stride); in vp8_hex_search() 1000 thissad = vfp->sdf(what, what_stride, this_offset, in_what_stride); in vp8_hex_search() 1074 bestsad = fn_ptr->sdf(what, what_stride, in_what, in_what_stride) + in vp8_diamond_search_sad_c() 1099 thissad = fn_ptr->sdf(what, what_stride, check_here, in_what_stride); in vp8_diamond_search_sad_c() 1186 bestsad = fn_ptr->sdf(what, what_stride, in_what, in_what_stride) + in vp8_diamond_search_sadx4() [all …]
|
/external/icu/icu4c/source/tools/tzcode/ |
D | icuzdump.cpp | 50 …sdf = new SimpleDateFormat((UnicodeString)"yyyy-MM-dd EEE HH:mm:ss", Locale::getEnglish(), status); in DumpFormatter() 59 sdf->setTimeZone(*stz); in format() 60 UnicodeString str = sdf->format(time, appendTo); in format() 90 SimpleDateFormat* sdf; member in DumpFormatter
|