/external/tcpdump/ |
gmt2local.c | 37 * Returns the difference between gmt and local time in seconds. 44 register struct tm *gmt, *loc; local 49 gmt = &sgmt; 50 *gmt = *gmtime(&t); 52 dt = (loc->tm_hour - gmt->tm_hour) * 60 * 60 + 53 (loc->tm_min - gmt->tm_min) * 60; 56 * If the year or julian day is different, we span 00:00 GMT 60 dir = loc->tm_year - gmt->tm_year; 62 dir = loc->tm_yday - gmt->tm_yday;
|
/device/linaro/bootloader/edk2/StdLib/LibC/Time/ |
TimeVals.h | 25 extern const char gmt[4];
96 char chars[BIGGEST(BIGGEST(TZ_MAX_CHARS + 1, sizeof gmt), (2 * (MY_TZNAME_MAX + 1)))];
|
strptime.c | 305 if (strncmp((const char *)bp, gmt, 3) == 0) {
311 tm->TM_ZONE = gmt;
|
ZoneProc.c | 57 const char gmt[4] = "GMT";
variable 115 tzname[0] = tzname[1] = (char *)__UNCONST(gmt);
766 if (tzload(gmt, sp) != 0)
767 (void) tzparse(gmt, sp, TRUE);
823 (void)strncpyX(lclptr->chars, gmt, sizeof(lclptr->chars));
|
/external/libchrome/base/third_party/nspr/ |
prtime.h | 101 * to midnight (00:00:00), January 1, 1970 Greenwich Mean Time (GMT). 102 * (GMT is also known as Coordinated Universal Time, UTC.) 115 * Time zone and daylight saving time corrections applied to GMT to 120 PRInt32 tp_gmt_offset; /* the offset from GMT in seconds */ 130 * offsets from the GMT must be saved in the 'tm_params' field so that 131 * all the information is available to reconstruct GMT. 172 * given the current time in GMT. The input argument gmt should 173 * point to a PRExplodedTime that is in GMT, i.e., whose 176 * For any time zone other than GMT, the computation is intended t 219 NSPR_API(PRTimeParameters) PR_GMTParameters(const PRExplodedTime *gmt); variable [all...] |
/external/curl/docs/examples/ |
synctime.c | 61 * GMT/UTC time. Therefore your computer timezone must be properly set. 258 struct tm *gmt; local 309 /* Calculating time diff between GMT and localtime */ 313 gmt = gmtime(&tt); 314 tt_gmt = mktime(gmt);
|
/test/vts/runners/host/ |
utils.py | 69 "GMT-9": "America/Anchorage", 70 "GMT-8": "US/Pacific", 71 "GMT-7": "US/Mountain", 72 "GMT-6": "US/Central", 73 "GMT-5": "US/Eastern", 74 "GMT-4": "America/Barbados", 75 "GMT-3": "America/Buenos_Aires", 76 "GMT-2": "Atlantic/South_Georgia", 77 "GMT-1": "Atlantic/Azores", 78 "GMT+0": "Africa/Casablanca" [all...] |
/external/vogar/src/vogar/ |
XmlReportPrinter.java | 66 TimeZone gmt = TimeZone.getTimeZone("GMT"); local 67 dateFormat.setTimeZone(gmt);
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
XmlResultReporter.java | 134 TimeZone gmt = TimeZone.getTimeZone("UTC"); local 135 dateFormat.setTimeZone(gmt);
|
/libcore/luni/src/test/java/libcore/java/util/ |
GregorianCalendarTest.java | 104 Date date = new Date(Date.parse("Jan 1 00:00:01 GMT 2000")); 115 // is that the offset for Los Angeles is GMT-08:00. setGregorianChange() is interpreted as 117 // "1st Jan 2000 00:00:01 GMT" is 8 hours before the Julian/Gregorian switch in LA. The day 304 ZoneId gmt = ZoneId.of("GMT"); local 306 ZonedDateTime.of(LocalDateTime.MAX, gmt), 307 ZonedDateTime.ofInstant(Instant.ofEpochMilli(Long.MAX_VALUE).plusMillis(1), gmt), 308 ZonedDateTime.ofInstant(Instant.ofEpochMilli(Long.MIN_VALUE).minusMillis(1), gmt), 309 ZonedDateTime.of(LocalDateTime.MAX, gmt) };
|
/external/boringssl/src/crypto/x509/ |
t_x509.c | 371 int gmt = 0; local 383 gmt = 1; 411 (gmt) ? " GMT" : "") <= 0) 493 is_gmt ? " GMT" : "") > 0;
|
/tools/test/connectivity/acts/framework/acts/ |
utils.py | 89 "GMT-9": "America/Anchorage", 90 "GMT-8": "US/Pacific", 91 "GMT-7": "US/Mountain", 92 "GMT-6": "US/Central", 93 "GMT-5": "US/Eastern", 94 "GMT-4": "America/Barbados", 95 "GMT-3": "America/Buenos_Aires", 96 "GMT-2": "Atlantic/South_Georgia", 97 "GMT-1": "Atlantic/Azores", 98 "GMT+0": "Africa/Casablanca" [all...] |
/external/webrtc/webrtc/base/ |
httpcommon.cc | 334 "UT", "GMT", "EST", "EDT", "CST", "CDT", "MST", "MDT", "PST", "PDT", 369 time_t gmt, non_gmt = mktime(&tval); local 378 gmt = non_gmt + ((zone[0] == '+') ? offset : -offset); 384 gmt = non_gmt + kTimeZoneOffsets[zindex] * 60 * 60; 388 tm *tm_for_timezone = localtime(&gmt); 389 *seconds = gmt + tm_for_timezone->tm_gmtoff; 395 *seconds = gmt - timezone;
|
/bionic/libc/tzcode/ |
localtime.c | 86 static const char gmt[] = "GMT"; variable 132 char chars[BIGGEST(BIGGEST(TZ_MAX_CHARS + 1, sizeof gmt), 292 tzname[0] = tzname[1] = (char *) gmt; 1028 stdlen = sizeof gmt - 1; [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_strftime.py | 38 self.gmt = time.gmtime(now)
|
/external/python/cpython2/Lib/test/ |
test_strftime.py | 38 self.gmt = time.gmtime(now)
|
/external/python/cpython3/Lib/test/ |
test_strftime.py | 36 self.gmt = time.gmtime(now)
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_strftime.py | 38 self.gmt = time.gmtime(now)
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_strftime.py | 38 self.gmt = time.gmtime(now)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_strftime.py | 38 self.gmt = time.gmtime(now)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_strftime.py | 38 self.gmt = time.gmtime(now)
|
/external/icu/icu4c/source/tools/tzcode/ |
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; 1170 if (tzload(gmt, sp, TRUE) != 0) 1171 (void) tzparse(gmt, sp, TRUE); 1238 (void) strcpy(lclptr->chars, gmt); [all...] |
zdump.c | 985 struct tm gmt; local 1009 gmt = *gmtime(&t); 1010 offset = delta(&loc, &gmt);
|
/external/icu/icu4c/source/i18n/ |
measfmt.cpp | 77 const TimeZone *gmt = TimeZone::getGMT(); local 78 hourMinute.setTimeZone(*gmt); 79 minuteSecond.setTimeZone(*gmt); 80 hourMinuteSecond.setTimeZone(*gmt); [all...] |
/external/icu/icu4c/source/test/intltest/ |
dtfmrgts.cpp | 487 if (!strFullDate.endsWith(UnicodeString("GMT-05:00"))) 488 errln("Fail: Want GMT-05:00"); 948 TimeZone *gmt = timeZone->clone(); local 950 gmt->setRawOffset(0); 956 format->setTimeZone(*gmt); 985 delete gmt; 1014 * SimpleDateFormat won't parse "GMT" 1023 UDate d = fmt->parse("01/22/92 04:52:00 GMT", p0); 1026 errln("Fail: failed to parse 'GMT'"); [all...] |