/external/tcpdump/ |
D | gmt2local.c | 44 register struct tm *gmt, *loc; in gmt2local() local 49 gmt = &sgmt; in gmt2local() 50 *gmt = *gmtime(&t); in gmt2local() 52 dt = (loc->tm_hour - gmt->tm_hour) * 60 * 60 + in gmt2local() 53 (loc->tm_min - gmt->tm_min) * 60; in gmt2local() 60 dir = loc->tm_year - gmt->tm_year; in gmt2local() 62 dir = loc->tm_yday - gmt->tm_yday; in gmt2local()
|
/external/libchrome/base/third_party/nspr/ |
D | prtime.h | 190 typedef PRTimeParameters (PR_CALLBACK *PRTimeParamFn)(const PRExplodedTime *gmt); 219 NSPR_API(PRTimeParameters) PR_GMTParameters(const PRExplodedTime *gmt);
|
D | prtime.cc | 382 PR_GMTParameters(const PRExplodedTime *gmt) in PR_GMTParameters() argument
|
/external/curl/docs/examples/ |
D | synctime.c | 262 struct tm *gmt; in main() local 317 gmt = gmtime(&tt); in main() 318 tt_gmt = mktime(gmt); in main()
|
/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/vogar/src/vogar/ |
D | XmlReportPrinter.java | 66 TimeZone gmt = TimeZone.getTimeZone("GMT"); in getGMTTimestamp() local 67 dateFormat.setTimeZone(gmt); in getGMTTimestamp()
|
/external/boringssl/src/crypto/x509/ |
D | t_x509.c | 368 int gmt = 0; in ASN1_GENERALIZEDTIME_print() local 380 gmt = 1; in ASN1_GENERALIZEDTIME_print() 408 (gmt) ? " GMT" : "") <= 0) in ASN1_GENERALIZEDTIME_print()
|
/external/u-boot/arch/arm/dts/ |
D | kirkwood-net2big.dts | 59 compatible = "gmt,g762";
|
/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 | 77 const TimeZone *gmt = TimeZone::getGMT(); in NumericDateFormatters() local 78 hourMinute.setTimeZone(*gmt); in NumericDateFormatters() 79 minuteSecond.setTimeZone(*gmt); in NumericDateFormatters() 80 hourMinuteSecond.setTimeZone(*gmt); in NumericDateFormatters()
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | TimezoneFormatter.java | 130 TimeZone gmt = TimeZone.getTimeZone("GMT"); 131 rfc822Plus.setTimeZone(gmt); 132 rfc822Minus.setTimeZone(gmt);
|
/external/python/cpython2/Lib/test/ |
D | test_strftime.py | 38 self.gmt = time.gmtime(now)
|
/external/python/cpython3/Lib/test/ |
D | test_strftime.py | 36 self.gmt = time.gmtime(now)
|
/external/icu/icu4c/source/test/intltest/ |
D | dtfmrgts.cpp | 948 TimeZone *gmt = timeZone->clone(); in Test4106807() local 950 gmt->setRawOffset(0); in Test4106807() 956 format->setTimeZone(*gmt); in Test4106807() 985 delete gmt; in Test4106807()
|
/external/python/cpython2/Demo/rpc/ |
D | rpc.py | 188 gmt = time.gmtime(now) 189 offset = time.mktime(localt) - time.mktime(gmt)
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | DateFormatRegressionTest.java | 642 TimeZone gmt = (TimeZone) timeZone.clone(); in Test4106807() local 643 gmt.setRawOffset(0); in Test4106807() 648 format.setTimeZone(gmt); in Test4106807()
|
D | DateTimeGeneratorTest.java | 225 rootFormat.setTimeZone(gmt); in TestRoot() 771 private TimeZone gmt = TimeZone.getTimeZone("Etc/GMT"); field in DateTimeGeneratorTest
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | DateFormatRegressionTest.java | 639 TimeZone gmt = (TimeZone) timeZone.clone(); in Test4106807() local 640 gmt.setRawOffset(0); in Test4106807() 645 format.setTimeZone(gmt); in Test4106807()
|
D | DateTimeGeneratorTest.java | 222 rootFormat.setTimeZone(gmt); in TestRoot() 768 private TimeZone gmt = TimeZone.getTimeZone("Etc/GMT"); field in DateTimeGeneratorTest
|
/external/python/cpython2/Tools/faqwiz/ |
D | faqwiz.py | 159 gmt = time.gmtime(then) 162 print time.strftime("expires=%a, %d-%b-%y %X GMT", gmt)
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | TimeZoneFormat.java | 2471 for (String gmt : ALT_GMT_STRINGS) { 2472 int len = gmt.length(); 2473 if (text.regionMatches(true, idx, gmt, 0, len)) {
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | TimeZoneFormat.java | 2401 for (String gmt : ALT_GMT_STRINGS) { 2402 int len = gmt.length(); 2403 if (text.regionMatches(true, idx, gmt, 0, len)) {
|
/external/icu/icu4j/main/tests/core/src/com/ibm/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/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
D | CompatibilityTest.java | 78 TimeZone gmt = TimeZone.getTimeZone("GMT"); in TestGregorianChangeover() local 79 GregorianCalendar cal = new GregorianCalendar(gmt); in TestGregorianChangeover()
|