/libcore/benchmarks/src/benchmarks/regression/ |
SimpleDateFormatBenchmark.java | 35 SimpleDateFormat sdf = new SimpleDateFormat("yyyy.MM.dd z"); local 40 SimpleDateFormat sdf = new SimpleDateFormat("yyyy.MM.dd z"); local 42 sdf.parse("2000.01.01 PST"); 47 SimpleDateFormat sdf = new SimpleDateFormat("yyyy.MM.dd zzzz"); local 49 sdf.parse("2000.01.01 Pacific Standard Time"); 54 SimpleDateFormat sdf = new SimpleDateFormat("yyyy.MM.dd"); local 56 sdf.parse("2000.01.01"); 62 SimpleDateFormat sdf = new SimpleDateFormat("yyyy.MM.dd z"); local 63 sdf.parse("2000.01.01 PST"); 69 SimpleDateFormat sdf = new SimpleDateFormat("yyyy.MM.dd zzzz") local 75 SimpleDateFormat sdf = new SimpleDateFormat("yyyy.MM.dd z"); local 82 SimpleDateFormat sdf = new SimpleDateFormat("yyyy.MM.dd zzzz"); local 97 SimpleDateFormat sdf = new SimpleDateFormat("yyyy.MM.dd zzzz", locale); local [all...] |
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/ |
SimpleDateFormatTest.java | 47 SimpleDateFormat sdf = new SimpleDateFormat(hmzmdy); local 48 sdf.format(cal, buf, fp); 59 SimpleDateFormat sdf = new SimpleDateFormat(hmzmdy); local 60 sdf.parse(hmzmdyStr, cal, pp); 76 SimpleDateFormat sdf = new SimpleDateFormat(); local 78 assertEquals(jsdf.format(date), sdf.format(date)); 85 SimpleDateFormat sdf = new SimpleDateFormat(mdy); local 87 assertEquals(jsdf.format(date), sdf.format(date)); 95 SimpleDateFormat sdf = new SimpleDateFormat(mdy, l); local 97 assertEquals(jsdf.format(date), sdf.format(date)) 105 SimpleDateFormat sdf = new SimpleDateFormat(mdy, l); local 117 SimpleDateFormat sdf = new SimpleDateFormat(mdy, dfs); local 126 SimpleDateFormat sdf = new SimpleDateFormat(md2); local 141 SimpleDateFormat sdf = new SimpleDateFormat(md2); local 150 SimpleDateFormat sdf = new SimpleDateFormat(mdy); local 160 SimpleDateFormat sdf = new SimpleDateFormat(mdy); local 169 SimpleDateFormat sdf = new SimpleDateFormat(); local 179 SimpleDateFormat sdf = new SimpleDateFormat(); local 190 SimpleDateFormat sdf = new SimpleDateFormat(mdy, dfs); local 199 SimpleDateFormat sdf = new SimpleDateFormat(hmzmdy); local [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
DateFormatRegressionTestJ.java | 190 SimpleDateFormat sdf = new SimpleDateFormat(); local 196 sdf.applyPattern("MM d y"); 197 logln(sdf.format(today)); 198 sdf.applyPattern("MM d yy"); 199 logln(sdf.format(today)); 201 sdf.applyPattern("MM d yyy"); 202 logln(sdf.format(today)); 204 sdf.applyPattern("MM d yyyy"); 205 logln(sdf.format(today)); 207 sdf.applyPattern("MM d yyyyy") 215 SimpleDateFormat sdf = new SimpleDateFormat(pattern, Locale.JAPAN); local 244 SimpleDateFormat sdf = new SimpleDateFormat(pattern); local 269 SimpleDateFormat sdf = (SimpleDateFormat) sdf_.clone(); local 297 SimpleDateFormat sdf = (SimpleDateFormat) sdf_.clone(); local [all...] |
DateFormatTest.java | 211 SimpleDateFormat sdf = new SimpleDateFormat("zzzz"); local 256 sdf.setTimeZone(ttz); 264 fmtOffset = sdf.format(today, fmtOffset, pos); 683 for (SimpleDateFormat sdf : formats) { 684 sdf.setTimeZoneFormat(tzfmt); 1757 SimpleDateFormat sdf = (SimpleDateFormat)DateFormat.getDateInstance(); local 3432 SimpleDateFormat sdf = new SimpleDateFormat(patterns[i]); local 3884 SimpleDateFormat sdf = new SimpleDateFormat("", "", null); local 4022 SimpleDateFormat sdf = new SimpleDateFormat(pattern,override,ULocale.CHINA); local 4140 SimpleDateFormat sdf = new SimpleDateFormat(data.pattern); local 4945 SimpleDateFormat sdf = new SimpleDateFormat("hh:mm:ss bbb", Locale.ENGLISH); local 5064 SimpleDateFormat sdf = new SimpleDateFormat("hh:mm:ss BBB"); local 5161 SimpleDateFormat sdf = new SimpleDateFormat("", ULocale.GERMANY); local 5246 SimpleDateFormat sdf = new SimpleDateFormat("hh:mm 'ss' bbbb"); local 5322 SimpleDateFormat sdf = new SimpleDateFormat(""); local [all...] |
IntlTestDateFormatAPIC.java | 74 SimpleDateFormat sdf = new SimpleDateFormat(); local 76 str = sdf.format(dateObj); 77 strBuffer = sdf.format(dateObj, strBuffer, fpos); 79 strBuffer = sdf.format(new Date(0), strBuffer, fpos); 80 str = sdf.format(new Date(0)); 82 sdf.parse(str); 83 sdf.parse(str, ppos);
|
/external/clang/test/CodeGen/ |
ppc64-qpx-vector.c | 8 struct sdf { v4df v; }; struct 20 v4df foo2(struct sdf a, v4df b, struct sdf2 c) {
|
/libcore/luni/src/test/java/libcore/java/text/ |
SimpleDateFormatTest.java | 61 SimpleDateFormat sdf = new SimpleDateFormat(); local 62 sdf.setTimeZone(UTC); 63 assertEquals("M/d/yy h:mm a", sdf.toPattern()); 64 assertEquals("1/1/70 12:00 AM", sdf.format(new Date(0))); 70 SimpleDateFormat sdf = new SimpleDateFormat(); local 71 sdf.setTimeZone(UTC); 73 Date originalDate = sdf.get2DigitYearStart(); 74 assertNotSame(sdf.get2DigitYearStart(), originalDate); 75 assertEquals(sdf.get2DigitYearStart(), originalDate); 77 assertFalse(sdf.get2DigitYearStart().equals(originalDate)) 226 SimpleDateFormat sdf = new SimpleDateFormat(fmt, l); local 243 SimpleDateFormat sdf = new SimpleDateFormat(fmt, l); local 284 SimpleDateFormat sdf = new SimpleDateFormat(fmt, cetUnambiguousLocale); local 306 SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss Z"); local 384 SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss zzzz", l); local 397 SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss", new Locale("ar", "EG")); local 415 SimpleDateFormat sdf = new SimpleDateFormat("d. MMM yyyy H:mm", Locale.GERMAN); local 423 SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.S"); local 460 SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ"); local 502 SimpleDateFormat sdf = new SimpleDateFormat("dd MM yyyy HH:mm zzz", symbols); local 515 SimpleDateFormat sdf = new SimpleDateFormat("zzzz", symbols); local [all...] |
DateFormatTest.java | 55 SimpleDateFormat sdf = new SimpleDateFormat(expectedPattern, locale); local 56 String expectedDateString = sdf.format(current);
|
DateFormatSymbolsTest.java | 89 SimpleDateFormat sdf = new SimpleDateFormat(fmt, l); local 90 sdf.setDateFormatSymbols(dfs); 91 sdf.setTimeZone(TimeZone.getTimeZone("UTC")); 92 return sdf.format(new Date(0));
|
/external/icu/icu4c/source/samples/dtptngsample/ |
dtptngsample.cpp | 58 SimpleDateFormat *sdf = new SimpleDateFormat(pattern,locales[j],status); local 61 sdf->format(date,dateReturned,status); 65 delete sdf; 91 SimpleDateFormat *sdf = new SimpleDateFormat(dtfg->getBestPattern("MMMMddHmm",status),locale,status); local 95 sdf->applyPattern(dtfg->getBestPattern("MMMMddHmm",status)); 96 dateReturned = sdf->format(date, dateReturned, status); 97 pattern =sdf->toPattern(pattern); 103 delete sdf; 132 SimpleDateFormat *sdf = new SimpleDateFormat("EEEE d MMMM y HH:mm:ss zzzz",locale,status); local 133 sdf->setTimeZone(*zone) [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
DateFormatRegressionTestJ.java | 187 SimpleDateFormat sdf = new SimpleDateFormat(); local 193 sdf.applyPattern("MM d y"); 194 logln(sdf.format(today)); 195 sdf.applyPattern("MM d yy"); 196 logln(sdf.format(today)); 198 sdf.applyPattern("MM d yyy"); 199 logln(sdf.format(today)); 201 sdf.applyPattern("MM d yyyy"); 202 logln(sdf.format(today)); 204 sdf.applyPattern("MM d yyyyy") 212 SimpleDateFormat sdf = new SimpleDateFormat(pattern, Locale.JAPAN); local 241 SimpleDateFormat sdf = new SimpleDateFormat(pattern); local 266 SimpleDateFormat sdf = (SimpleDateFormat) sdf_.clone(); local 294 SimpleDateFormat sdf = (SimpleDateFormat) sdf_.clone(); local [all...] |
DateFormatTest.java | 208 SimpleDateFormat sdf = new SimpleDateFormat("zzzz"); local 253 sdf.setTimeZone(ttz); 261 fmtOffset = sdf.format(today, fmtOffset, pos); 680 for (SimpleDateFormat sdf : formats) { 681 sdf.setTimeZoneFormat(tzfmt); 1754 SimpleDateFormat sdf = (SimpleDateFormat)DateFormat.getDateInstance(); local 3429 SimpleDateFormat sdf = new SimpleDateFormat(patterns[i]); local 3881 SimpleDateFormat sdf = new SimpleDateFormat("", "", null); local 4019 SimpleDateFormat sdf = new SimpleDateFormat(pattern,override,ULocale.CHINA); local 4137 SimpleDateFormat sdf = new SimpleDateFormat(data.pattern); local 4942 SimpleDateFormat sdf = new SimpleDateFormat("hh:mm:ss bbb", Locale.ENGLISH); local 5061 SimpleDateFormat sdf = new SimpleDateFormat("hh:mm:ss BBB"); local 5158 SimpleDateFormat sdf = new SimpleDateFormat("", ULocale.GERMANY); local 5243 SimpleDateFormat sdf = new SimpleDateFormat("hh:mm 'ss' bbbb"); local 5319 SimpleDateFormat sdf = new SimpleDateFormat(""); local [all...] |
IntlTestDateFormatAPIC.java | 71 SimpleDateFormat sdf = new SimpleDateFormat(); local 73 str = sdf.format(dateObj); 74 strBuffer = sdf.format(dateObj, strBuffer, fpos); 76 strBuffer = sdf.format(new Date(0), strBuffer, fpos); 77 str = sdf.format(new Date(0)); 79 sdf.parse(str); 80 sdf.parse(str, ppos);
|
/external/icu/icu4c/source/test/intltest/ |
dtfmttst.cpp | 253 SimpleDateFormat *sdf = new SimpleDateFormat((UnicodeString)"zzzz", status); local 261 if (sdf != NULL) { 262 delete sdf; 305 sdf->setTimeZone(*ttz); 311 sdf->format(today,fmtOffset, pos); 341 delete sdf; 910 SimpleDateFormat* sdf = (SimpleDateFormat*)DateFormat::createDateInstance(); local 3942 SimpleDateFormat *sdf = new SimpleDateFormat(pattern,override,Locale::getChina(),status); local 3975 SimpleDateFormat *sdf = new SimpleDateFormat("ZZZZ", Locale(""), status); local 4013 SimpleDateFormat *sdf = new SimpleDateFormat(UnicodeString(TestData[i][0]), status); local [all...] |
dtfmrgts.cpp | 81 SimpleDateFormat *sdf = (SimpleDateFormat*) DateFormat::createDateInstance(); local 86 if(sdf == NULL){ 91 pat = sdf->toPattern(pat); 96 fmtd = sdf->format(today, fmtd, pos); 99 sdf->applyPattern("G yyyy DDD"); 101 todayS = sdf->format(today, todayS, pos); 104 today = sdf->parse(todayS, status); 105 failure(status, "sdf->parse"); 113 rt = sdf->format(sdf->parse(todayS, status), rt, pos) 721 SimpleDateFormat *sdf = new SimpleDateFormat(UnicodeString("z"), Locale::getUS(), status); local 808 SimpleDateFormat *sdf = new SimpleDateFormat(status); local 873 SimpleDateFormat *sdf = new SimpleDateFormat(status); local 1342 SimpleDateFormat *sdf = new SimpleDateFormat(pattern,status); local 1451 SimpleDateFormat *sdf = new SimpleDateFormat(pattern,status); local [all...] |
dtfmapts.cpp | 310 SimpleDateFormat sdf(status); 313 sdf.format(dateObj, str, status); 314 sdf.format(dateObj, str, fpos, status); 316 sdf.format((UDate)0, str, fpos); 317 sdf.format((UDate)0, str); 318 sdf.parse(str, status); 319 sdf.parse(str, ppos); 320 sdf.getNumberFormat();
|
tzfmttst.cpp | 175 SimpleDateFormat *sdf = new SimpleDateFormat((UnicodeString)PATTERNS[patidx], LOCALES[locidx], status); local 192 sdf->setTimeZone(*tz); 193 sdf->format(DATES[datidx], tzstr, fpos); 198 sdf->setTimeZone(unknownZone); 211 sdf->parse(tzstr, *outcal, pos); 343 delete sdf; 570 SimpleDateFormat *sdf = new SimpleDateFormat(pattern, gLocaleData->locales[locidx], status); local 611 sdf->setTimeZone(*tz); 665 sdf->format(testTimes[testidx], text, fpos); 667 UDate parsedDate = sdf->parse(text, status) [all...] |
/external/icu/icu4c/source/test/perf/normperf/ |
dtfmtrtperf.h | 155 SimpleDateFormat *sdf = new SimpleDateFormat((UnicodeString)PATTERNS[patidx], LOCALES[locidx], *status); local 173 sdf->setTimeZone(*tz); 174 sdf->format(DATES[datidx], tzstr, fpos); 179 sdf->setTimeZone(unknownZone); 191 sdf->parse(tzstr, *outcal, pos); 202 delete sdf;
|
/external/caliper/examples/src/main/java/examples/ |
ExpensiveObjectsBenchmark.java | 63 SimpleDateFormat sdf = new SimpleDateFormat(); local 65 sdf.clone();
|
/external/libvpx/libvpx/vpx_dsp/ |
variance.h | 58 vpx_sad_fn_t sdf; member in struct:variance_vtable 72 vpx_sad_fn_t sdf; member in struct:vp9_variance_vtable
|
/external/lisa/libs/utils/ |
trace.py | 581 def sched_switch_add_cgroup(sdf, cdf, controller, direction): 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'} [all...] |
/developers/build/prebuilts/gradle/SynchronizedNotifications/Application/src/main/java/com/example/android/wearable/synchronizednotifications/ |
SynchronizedNotificationsFragment.java | 194 SimpleDateFormat sdf = new SimpleDateFormat("HH:mm:ss", Locale.getDefault()); local 195 return sdf.format(new Date());
|
/developers/samples/android/wearable/wear/SynchronizedNotifications/Application/src/main/java/com/example/android/wearable/synchronizednotifications/ |
SynchronizedNotificationsFragment.java | 194 SimpleDateFormat sdf = new SimpleDateFormat("HH:mm:ss", Locale.getDefault()); local 195 return sdf.format(new Date());
|
/development/samples/browseable/SynchronizedNotifications/Application/src/com.example.android.wearable.synchronizednotifications/ |
SynchronizedNotificationsFragment.java | 194 SimpleDateFormat sdf = new SimpleDateFormat("HH:mm:ss", Locale.getDefault()); local 195 return sdf.format(new Date());
|
/external/icu/android_icu4j/src/samples/java/android/icu/samples/text/datetimepatterngenerator/ |
DateTimePatternGeneratorSample.java | 63 SimpleDateFormat sdf = new SimpleDateFormat(pattern, locale); local 65 System.out.printf("%-35s",sdf.format(date));
|