Home
last modified time | relevance | path

Searched refs:gmt (Results 1 – 25 of 38) 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.c303 struct tm *gmt; in main() local
318 gmt = gmtime(&tt); in main()
319 tt_gmt = mktime(gmt); in main()
/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/rust/crates/quiche/deps/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/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/python/cpython2/Lib/test/
Dtest_strftime.py38 self.gmt = time.gmtime(now)
/external/cldr/tools/java/org/unicode/cldr/util/
DTimezoneFormatter.java133 TimeZone gmt = TimeZone.getTimeZone("GMT");
134 rfc822Plus.setTimeZone(gmt);
135 rfc822Minus.setTimeZone(gmt);
/external/python/cpython3/Lib/test/
Dtest_strftime.py36 self.gmt = time.gmtime(now)
/external/geonames/export/dump/
Dreadme.txt27 timeZones.txt : countryCode, timezoneId, gmt offset on 1st of January, dst offset to gmt
/external/icu/icu4c/source/test/intltest/
Ddtfmrgts.cpp927 TimeZone *gmt = timeZone->clone(); in Test4106807() local
929 gmt->setRawOffset(0); in Test4106807()
935 format->setTimeZone(*gmt); in Test4106807()
964 delete gmt; in Test4106807()
Dtztest.cpp2433 const TimeZone *gmt = TimeZone::getGMT(); in TestGetGMT() local
2436 assertEquals("getGMT() wrong ID", expectedID, gmt->getID(id)); in TestGetGMT()
2437 assertTrue("getGMT() wrong offset", 0 == gmt->getRawOffset()); in TestGetGMT()
2438 assertFalse("getGMT() uses DST", gmt->useDaylightTime()); in TestGetGMT()
/external/python/cpython2/Demo/rpc/
Drpc.py188 gmt = time.gmtime(now)
189 offset = time.mktime(localt) - time.mktime(gmt)
/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/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()
791 private TimeZone gmt = TimeZone.getTimeZone("Etc/GMT"); field in DateTimeGeneratorTest
/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()
788 private TimeZone gmt = TimeZone.getTimeZone("Etc/GMT"); field in DateTimeGeneratorTest
/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