/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 | 137 TimeZone gmt = TimeZone.getTimeZone("UTC"); local 138 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 | 370 int gmt = 0; local 382 gmt = 1; 410 (gmt) ? " GMT" : "") <= 0) 492 is_gmt ? " GMT" : "") > 0;
|
/tools/test/connectivity/acts/framework/acts/ |
utils.py | 86 "GMT-9": "America/Anchorage", 87 "GMT-8": "US/Pacific", 88 "GMT-7": "US/Mountain", 89 "GMT-6": "US/Central", 90 "GMT-5": "US/Eastern", 91 "GMT-4": "America/Barbados", 92 "GMT-3": "America/Buenos_Aires", 93 "GMT-2": "Atlantic/South_Georgia", 94 "GMT-1": "Atlantic/Azores", 95 "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)
|
/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 | 73 const TimeZone *gmt = TimeZone::getGMT(); local 74 hourMinute.setTimeZone(*gmt); 75 minuteSecond.setTimeZone(*gmt); 76 hourMinuteSecond.setTimeZone(*gmt); [all...] |
/external/icu/icu4c/source/test/intltest/ |
dtfmrgts.cpp | 486 if (!strFullDate.endsWith(UnicodeString("GMT-05:00"))) 487 errln("Fail: Want GMT-05:00"); 947 TimeZone *gmt = timeZone->clone(); local 949 gmt->setRawOffset(0); 955 format->setTimeZone(*gmt); 984 delete gmt; 1013 * SimpleDateFormat won't parse "GMT" 1022 UDate d = fmt->parse("01/22/92 04:52:00 GMT", p0); 1025 errln("Fail: failed to parse 'GMT'"); [all...] |
/system/core/liblog/ |
logprint.c | 333 static const char gmt[] = "GMT"; local 341 * zone is GMT, check if that is what was asked for, if not then 346 ((!strcmp(tzname[0], utc) || !strcmp(tzname[0], gmt)) /* error? */ 348 strcasecmp(formatString, gmt))) { /* ok */ [all...] |