Home
last modified time | relevance | path

Searched refs:gmt (Results 1 – 25 of 42) sorted by relevance

12

/external/tcpdump/
Dgmt2local.c44 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/
Dprtime.h190 typedef PRTimeParameters (PR_CALLBACK *PRTimeParamFn)(const PRExplodedTime *gmt);
219 NSPR_API(PRTimeParameters) PR_GMTParameters(const PRExplodedTime *gmt);
Dprtime.cc382 PR_GMTParameters(const PRExplodedTime *gmt) in PR_GMTParameters() argument
/external/curl/docs/examples/
Dsynctime.c262 struct tm *gmt; in main() local
317 gmt = gmtime(&tt); in main()
318 tt_gmt = mktime(gmt); in main()
/external/webrtc/webrtc/base/
Dhttpcommon.cc369 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/
DXmlReportPrinter.java66 TimeZone gmt = TimeZone.getTimeZone("GMT"); in getGMTTimestamp() local
67 dateFormat.setTimeZone(gmt); in getGMTTimestamp()
/external/boringssl/src/crypto/x509/
Dt_x509.c368 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/
Dkirkwood-net2big.dts59 compatible = "gmt,g762";
/external/icu/icu4c/source/tools/tzcode/
Dlocaltime.c66 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()
Dzdump.c985 struct tm gmt; in dumptimeICU() local
1009 gmt = *gmtime(&t); in dumptimeICU()
1010 offset = delta(&loc, &gmt); in dumptimeICU()
/external/icu/icu4c/source/i18n/
Dmeasfmt.cpp77 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/
DTimezoneFormatter.java130 TimeZone gmt = TimeZone.getTimeZone("GMT");
131 rfc822Plus.setTimeZone(gmt);
132 rfc822Minus.setTimeZone(gmt);
/external/python/cpython2/Lib/test/
Dtest_strftime.py38 self.gmt = time.gmtime(now)
/external/python/cpython3/Lib/test/
Dtest_strftime.py36 self.gmt = time.gmtime(now)
/external/icu/icu4c/source/test/intltest/
Ddtfmrgts.cpp948 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/
Drpc.py188 gmt = time.gmtime(now)
189 offset = time.mktime(localt) - time.mktime(gmt)
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateFormatRegressionTest.java639 TimeZone gmt = (TimeZone) timeZone.clone(); in Test4106807() local
640 gmt.setRawOffset(0); in Test4106807()
645 format.setTimeZone(gmt); in Test4106807()
DDateTimeGeneratorTest.java222 rootFormat.setTimeZone(gmt); in TestRoot()
768 private TimeZone gmt = TimeZone.getTimeZone("Etc/GMT"); field in DateTimeGeneratorTest
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateFormatRegressionTest.java642 TimeZone gmt = (TimeZone) timeZone.clone(); in Test4106807() local
643 gmt.setRawOffset(0); in Test4106807()
648 format.setTimeZone(gmt); in Test4106807()
DDateTimeGeneratorTest.java225 rootFormat.setTimeZone(gmt); in TestRoot()
771 private TimeZone gmt = TimeZone.getTimeZone("Etc/GMT"); field in DateTimeGeneratorTest
/external/python/cpython2/Tools/faqwiz/
Dfaqwiz.py159 gmt = time.gmtime(then)
162 print time.strftime("expires=%a, %d-%b-%y %X GMT", gmt)
/external/icu/android_icu4j/src/main/java/android/icu/text/
DTimeZoneFormat.java2401 for (String gmt : ALT_GMT_STRINGS) {
2402 int len = gmt.length();
2403 if (text.regionMatches(true, idx, gmt, 0, len)) {
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DTimeZoneFormat.java2471 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/tests/android/icu/dev/test/calendar/
DCompatibilityTest.java78 TimeZone gmt = TimeZone.getTimeZone("GMT"); in TestGregorianChangeover() local
79 GregorianCalendar cal = new GregorianCalendar(gmt); in TestGregorianChangeover()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DCompatibilityTest.java75 TimeZone gmt = TimeZone.getTimeZone("GMT"); in TestGregorianChangeover() local
76 GregorianCalendar cal = new GregorianCalendar(gmt); in TestGregorianChangeover()

12