/external/tcpdump/ |
D | gmt2local.c | 45 register struct tm *gmt, *loc; in gmt2local() local 50 gmt = &sgmt; in gmt2local() 51 *gmt = *gmtime(&t); in gmt2local() 53 dt = (loc->tm_hour - gmt->tm_hour) * 60 * 60 + in gmt2local() 54 (loc->tm_min - gmt->tm_min) * 60; in gmt2local() 61 dir = loc->tm_year - gmt->tm_year; in gmt2local() 63 dir = loc->tm_yday - gmt->tm_yday; in gmt2local()
|
/external/v8/test/webkit/ |
D | date-parse-comments-test-expected.txt | 40 PASS Date.parse("(nov) dec (24) 25 (26) 1995 (1996) gmt (est)") == 819849600000 is true 46 PASS Date.parse("(nov) dec (24) 25 (26) 1995 (1996) 1:30 (1:40) gmt (est)") == 819855000000 is true 55 PASS Date.parse("(nov) dec (24) 25 (26) 1995 (1996) 1:30 am (1:40 pm) gmt (est)") == 819855000000 i… 67 PASS Date.parse("(nov) dec (24) 25 (26) 1995 (1996) 13:30 (13:40) gmt (pst)") == 819898200000 is tr… 79 PASS Date.parse("(nov) dec (24) 25 (26) 1995 (1996) 1:30 (1:40) pm (am) gmt (pst)") == 819898200000… 97 PASS Date.parse("dec 25 1995 (utc)pst(gmt)") == 819878400000 is true 100 PASS Date.parse("dec 25 1995 (utc)pdt(gmt)") == 819874800000 is true 109 PASS Date.parse("dec 25 1995 1:30 (utc)pst(gmt)") == 819883800000 is true 112 PASS Date.parse("dec 25 1995 1:30 (utc)pdt(gmt)") == 819880200000 is true 127 PASS Date.parse("dec 25 1995 xxx (gmt)") is NaN [all …]
|
/external/boringssl/src/crypto/x509/ |
D | t_x509.c | 369 int gmt=0; in ASN1_GENERALIZEDTIME_print() local 379 if (v[i-1] == 'Z') gmt=1; in ASN1_GENERALIZEDTIME_print() 405 mon[M-1],d,h,m,s,f_len,f,y,(gmt)?" GMT":"") <= 0) in ASN1_GENERALIZEDTIME_print() 417 int gmt=0; in ASN1_UTCTIME_print() local 425 if (v[i-1] == 'Z') gmt=1; in ASN1_UTCTIME_print() 441 mon[M-1],d,h,m,s,y+1900,(gmt)?" GMT":"") <= 0) in ASN1_UTCTIME_print()
|
/external/libchrome/base/third_party/nspr/ |
D | prtime.h | 179 typedef PRTimeParameters (PR_CALLBACK *PRTimeParamFn)(const PRExplodedTime *gmt); 208 NSPR_API(PRTimeParameters) PR_GMTParameters(const PRExplodedTime *gmt);
|
/external/curl/docs/examples/ |
D | synctime.c | 255 struct tm *gmt; in main() local 310 gmt = gmtime(&tt); in main() 311 tt_gmt = mktime(gmt); in main()
|
/external/vogar/src/vogar/ |
D | XmlReportPrinter.java | 66 TimeZone gmt = TimeZone.getTimeZone("GMT"); in getGMTTimestamp() local 67 dateFormat.setTimeZone(gmt); in getGMTTimestamp()
|
/external/webrtc/webrtc/base/ |
D | httpcommon.cc | 369 time_t gmt, non_gmt = mktime(&tval); in HttpDateToSeconds() local 378 gmt = non_gmt + ((zone[0] == '+') ? offset : -offset); in HttpDateToSeconds() 384 gmt = non_gmt + kTimeZoneOffsets[zindex] * 60 * 60; in HttpDateToSeconds() 388 tm *tm_for_timezone = localtime(&gmt); in HttpDateToSeconds() 389 *seconds = gmt + tm_for_timezone->tm_gmtoff; in HttpDateToSeconds() 395 *seconds = gmt - timezone; in HttpDateToSeconds()
|
/external/icu/icu4c/source/tools/tzcode/ |
D | localtime.c | 66 static const char gmt[] = "GMT"; variable 111 char chars[BIGGEST(BIGGEST(TZ_MAX_CHARS + 1, sizeof gmt), 266 tzname[0] = tzname[1] = (char *) gmt; in settzname() 1170 if (tzload(gmt, sp, TRUE) != 0) in gmtload() 1171 (void) tzparse(gmt, sp, TRUE); in gmtload() 1238 (void) strcpy(lclptr->chars, gmt); in tzset() 1373 tmp->TM_ZONE = offset ? wildabbr : gmtptr ? gmtptr->chars : gmt; in gmtsub()
|
D | zdump.c | 985 struct tm gmt; in dumptimeICU() local 1009 gmt = *gmtime(&t); in dumptimeICU() 1010 offset = delta(&loc, &gmt); in dumptimeICU()
|
/external/icu/icu4c/source/i18n/ |
D | measfmt.cpp | 71 const TimeZone *gmt = TimeZone::getGMT(); in NumericDateFormatters() local 72 hourMinute.setTimeZone(*gmt); in NumericDateFormatters() 73 minuteSecond.setTimeZone(*gmt); in NumericDateFormatters() 74 hourMinuteSecond.setTimeZone(*gmt); in NumericDateFormatters()
|
D | tzfmt.cpp | 1973 const UChar* gmt = ALT_GMT_STRINGS[i]; in parseOffsetDefaultLocalizedGMT() local 1974 int32_t len = u_strlen(gmt); in parseOffsetDefaultLocalizedGMT() 1975 if (text.caseCompare(start, len, gmt, 0) == 0) { in parseOffsetDefaultLocalizedGMT()
|
/external/icu/icu4c/source/test/intltest/ |
D | dtfmrgts.cpp | 944 TimeZone *gmt = timeZone->clone(); in Test4106807() local 946 gmt->setRawOffset(0); in Test4106807() 952 format->setTimeZone(*gmt); in Test4106807() 981 delete gmt; in Test4106807()
|
D | dtfmttst.cpp | 3432 TimeZone *gmt = TimeZone::createTimeZone("Etc/GMT"); in TestRoundtripWithCalendar() local 3500 calendars[i]->setTimeZone(*gmt); in TestRoundtripWithCalendar() 3513 calendars[j]->setTimeZone(*gmt); in TestRoundtripWithCalendar() 3541 delete gmt; in TestRoundtripWithCalendar()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | DateFormatRegressionTest.java | 621 TimeZone gmt = (TimeZone) timeZone.clone(); in Test4106807() local 622 gmt.setRawOffset(0); in Test4106807() 627 format.setTimeZone(gmt); in Test4106807()
|
D | DateTimeGeneratorTest.java | 127 rootFormat.setTimeZone(gmt); in TestRoot() 663 private TimeZone gmt = TimeZone.getTimeZone("Etc/GMT"); field in DateTimeGeneratorTest
|
D | DateFormatTest.java | 3623 TimeZone gmt = TimeZone.getTimeZone("Etc/GMT"); in TestRoundtripWithCalendar() local 3684 calendars[i].setTimeZone(gmt); in TestRoundtripWithCalendar() 3697 calendars[j].setTimeZone(gmt); in TestRoundtripWithCalendar()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | DateFormatRegressionTest.java | 625 TimeZone gmt = (TimeZone) timeZone.clone(); in Test4106807() local 626 gmt.setRawOffset(0); in Test4106807() 631 format.setTimeZone(gmt); in Test4106807()
|
D | DateTimeGeneratorTest.java | 131 rootFormat.setTimeZone(gmt); in TestRoot() 667 private TimeZone gmt = TimeZone.getTimeZone("Etc/GMT"); field in DateTimeGeneratorTest
|
D | DateFormatTest.java | 3627 TimeZone gmt = TimeZone.getTimeZone("Etc/GMT"); in TestRoundtripWithCalendar() local 3688 calendars[i].setTimeZone(gmt); in TestRoundtripWithCalendar() 3701 calendars[j].setTimeZone(gmt); in TestRoundtripWithCalendar()
|
/external/curl/lib/vtls/ |
D | openssl.c | 1023 int gmt=FALSE; in asn1_output() local 1033 gmt=TRUE; in asn1_output() 1056 year+1900, month, day, hour, minute, second, (gmt?"GMT":"")); in asn1_output()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | TimeZoneFormat.java | 2378 for (String gmt : ALT_GMT_STRINGS) { 2379 int len = gmt.length(); 2380 if (text.regionMatches(true, idx, gmt, 0, len)) {
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | TimeZoneFormat.java | 2448 for (String gmt : ALT_GMT_STRINGS) { 2449 int len = gmt.length(); 2450 if (text.regionMatches(true, idx, gmt, 0, len)) {
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
D | CompatibilityTest.java | 71 TimeZone gmt = TimeZone.getTimeZone("GMT"); in TestGregorianChangeover() local 72 GregorianCalendar cal = new GregorianCalendar(gmt); in TestGregorianChangeover()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
D | CompatibilityTest.java | 75 TimeZone gmt = TimeZone.getTimeZone("GMT"); in TestGregorianChangeover() local 76 GregorianCalendar cal = new GregorianCalendar(gmt); in TestGregorianChangeover()
|
/external/curl/m4/ |
D | curl-functions.m4 | 3401 struct tm *gmt = 0; 3403 gmt = gmtime_r(&local, &result); 3404 if(gmt)
|