/external/tcpdump/ |
gmt2local.c | 42 * Returns the difference between gmt and local time in seconds. 49 register struct tm *gmt, *loc; local 54 gmt = &sgmt; 55 *gmt = *gmtime(&t); 57 dt = (loc->tm_hour - gmt->tm_hour) * 60 * 60 + 58 (loc->tm_min - gmt->tm_min) * 60; 61 * If the year or julian day is different, we span 00:00 GMT 65 dir = loc->tm_year - gmt->tm_year; 67 dir = loc->tm_yday - gmt->tm_yday;
|
/external/chromium_org/third_party/npapi/npspy/extern/nspr/ |
prtime.h | 66 * to midnight (00:00:00), January 1, 1970 Greenwich Mean Time (GMT). 67 * (GMT is also known as Coordinated Universal Time, UTC.) 80 * Time zone and daylight saving time corrections applied to GMT to 85 PRInt32 tp_gmt_offset; /* the offset from GMT in seconds */ 95 * offsets from the GMT must be saved in the 'tm_params' field so that 96 * all the information is available to reconstruct GMT. 137 * given the current time in GMT. The input argument gmt should 138 * point to a PRExplodedTime that is in GMT, i.e., whose 141 * For any time zone other than GMT, the computation is intended t 222 NSPR_API(PRTimeParameters) PR_LocalTimeParameters(const PRExplodedTime *gmt); variable 225 NSPR_API(PRTimeParameters) PR_GMTParameters(const PRExplodedTime *gmt); variable 231 NSPR_API(PRTimeParameters) PR_USPacificTimeParameters(const PRExplodedTime *gmt); variable [all...] |
/external/chromium/base/third_party/nspr/ |
prtime.h | 77 * to midnight (00:00:00), January 1, 1970 Greenwich Mean Time (GMT). 78 * (GMT is also known as Coordinated Universal Time, UTC.) 91 * Time zone and daylight saving time corrections applied to GMT to 96 PRInt32 tp_gmt_offset; /* the offset from GMT in seconds */ 106 * offsets from the GMT must be saved in the 'tm_params' field so that 107 * all the information is available to reconstruct GMT. 148 * given the current time in GMT. The input argument gmt should 149 * point to a PRExplodedTime that is in GMT, i.e., whose 152 * For any time zone other than GMT, the computation is intended t 195 NSPR_API(PRTimeParameters) PR_GMTParameters(const PRExplodedTime *gmt); variable [all...] |
prtime.cc | 141 // Compute |absolute_time| in seconds, correct for gmt and dst 327 /* Get back to GMT */ 333 /* Now normalize GMT */ 439 PR_GMTParameters(const PRExplodedTime *gmt) 442 #pragma unused (gmt) 464 * GMT: Greenwich Mean Time 486 * (microseconds after "1-Jan-1970 00:00:00 GMT"). 493 * 14 Apr 89 03:20 GMT 495 * Fri, 17 Mar 89 4:01 GMT 510 * be interpreted relative to the local time zone (PR_FALSE) or GMT (PR_TRUE) [all...] |
/external/chromium_org/base/third_party/nspr/ |
prtime.h | 77 * to midnight (00:00:00), January 1, 1970 Greenwich Mean Time (GMT). 78 * (GMT is also known as Coordinated Universal Time, UTC.) 91 * Time zone and daylight saving time corrections applied to GMT to 96 PRInt32 tp_gmt_offset; /* the offset from GMT in seconds */ 106 * offsets from the GMT must be saved in the 'tm_params' field so that 107 * all the information is available to reconstruct GMT. 148 * given the current time in GMT. The input argument gmt should 149 * point to a PRExplodedTime that is in GMT, i.e., whose 152 * For any time zone other than GMT, the computation is intended t 195 NSPR_API(PRTimeParameters) PR_GMTParameters(const PRExplodedTime *gmt); variable [all...] |
/external/chromium_org/third_party/libxslt/libxslt/ |
extra.c | 178 time_t gmt, lmt; local 233 gmt = mktime(&gmt_tm); 240 local_tm = localtime(&gmt); 246 lmt = gmt - timezone;
|
/external/libxslt/libxslt/ |
extra.c | 178 time_t gmt, lmt; local 233 gmt = mktime(&gmt_tm); 240 local_tm = localtime(&gmt); 246 lmt = gmt - timezone;
|
/external/chromium_org/third_party/openssl/openssl/crypto/asn1/ |
t_x509.c | 389 int gmt=0; local 399 if (v[i-1] == 'Z') gmt=1; 425 mon[M-1],d,h,m,s,f_len,f,y,(gmt)?" GMT":"") <= 0) 437 int gmt=0; local 445 if (v[i-1] == 'Z') gmt=1; 461 mon[M-1],d,h,m,s,y+1900,(gmt)?" GMT":"") <= 0)
|
/external/openssl/crypto/asn1/ |
t_x509.c | 389 int gmt=0; local 399 if (v[i-1] == 'Z') gmt=1; 425 mon[M-1],d,h,m,s,f_len,f,y,(gmt)?" GMT":"") <= 0) 437 int gmt=0; local 445 if (v[i-1] == 'Z') gmt=1; 461 mon[M-1],d,h,m,s,y+1900,(gmt)?" GMT":"") <= 0)
|
/external/chromium_org/third_party/sqlite/src/ext/fts2/ |
mkfts2amal.tcl | 25 set today [clock format [clock seconds] -format "%Y-%m-%d %H:%M:%S UTC" -gmt 1]
|
/external/chromium_org/third_party/sqlite/src/ext/fts3/ |
mkfts3amal.tcl | 25 set today [clock format [clock seconds] -format "%Y-%m-%d %H:%M:%S UTC" -gmt 1]
|
/external/chromium_org/third_party/sqlite/src/tool/ |
mksqlite3internalh.tcl | 44 set today [clock format [clock seconds] -format "%Y-%m-%d %H:%M:%S UTC" -gmt 1]
|
mksqlite3c.tcl | 49 set today [clock format [clock seconds] -format "%Y-%m-%d %H:%M:%S UTC" -gmt 1]
|
/external/chromium/third_party/libjingle/source/talk/base/ |
httpcommon.cc | 349 "UT", "GMT", "EST", "EDT", "CST", "CDT", "MST", "MDT", "PST", "PDT", 384 unsigned long gmt, non_gmt = mktime(&tval); local 393 gmt = non_gmt + (zone[0] == '+') ? offset : -offset; 399 gmt = non_gmt + kTimeZoneOffsets[zindex] * 60 * 60; 403 tm *tm_for_timezone = localtime((time_t *)&gmt); 404 *seconds = gmt + tm_for_timezone->tm_gmtoff; 406 *seconds = gmt - timezone;
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
httpcommon.cc | 349 "UT", "GMT", "EST", "EDT", "CST", "CDT", "MST", "MDT", "PST", "PDT", 384 size_t gmt, non_gmt = mktime(&tval); local 393 gmt = non_gmt + ((zone[0] == '+') ? offset : -offset); 399 gmt = non_gmt + kTimeZoneOffsets[zindex] * 60 * 60; 403 tm *tm_for_timezone = localtime((time_t *)&gmt); 404 *seconds = gmt + tm_for_timezone->tm_gmtoff; 406 *seconds = gmt - timezone;
|
/external/chromium_org/v8/test/intl/date-format/ |
timezone.js | 36 df = Intl.DateTimeFormat(undefined, {timeZone: 'gmt'}); 49 df = Intl.DateTimeFormat(undefined, {timeZone: 'Etc/GMT'}); 56 assertThrows('Intl.DateTimeFormat(undefined, {timeZone: \'GMT+07:00\'})'); 57 assertThrows('Intl.DateTimeFormat(undefined, {timeZone: \'GMT+0700\'})'); 58 assertThrows('Intl.DateTimeFormat(undefined, {timeZone: \'GMT-05:00\'})'); 59 assertThrows('Intl.DateTimeFormat(undefined, {timeZone: \'GMT-0500\'})'); 60 assertThrows('Intl.DateTimeFormat(undefined, {timeZone: \'Etc/GMT+0\'})');
|
/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)
|
/bionic/libc/tzcode/ |
localtime.c | 80 static const char gmt[] = "GMT"; variable 125 char chars[BIGGEST(BIGGEST(TZ_MAX_CHARS + 1, sizeof gmt), 284 tzname[0] = tzname[1] = gmt; [all...] |
/external/chromium_org/third_party/icu/source/tools/tzcode/ |
localtime.c | 73 static const char gmt[] = "GMT"; variable 118 char chars[BIGGEST(BIGGEST(TZ_MAX_CHARS + 1, sizeof gmt), 273 tzname[0] = tzname[1] = gmt; 1146 if (tzload(gmt, sp, TRUE) != 0) 1147 (void) tzparse(gmt, sp, TRUE); 1214 (void) strcpy(lclptr->chars, gmt); [all...] |
zdump.c | 929 struct tm gmt; local 953 gmt = *gmtime(&t); 954 offset = delta(&loc, &gmt);
|
/external/icu4c/tools/tzcode/ |
localtime.c | 73 static const char gmt[] = "GMT"; variable 118 char chars[BIGGEST(BIGGEST(TZ_MAX_CHARS + 1, sizeof gmt), 273 tzname[0] = tzname[1] = gmt; 1146 if (tzload(gmt, sp, TRUE) != 0) 1147 (void) tzparse(gmt, sp, TRUE); 1214 (void) strcpy(lclptr->chars, gmt); [all...] |
zdump.c | 929 struct tm gmt; local 953 gmt = *gmtime(&t); 954 offset = delta(&loc, &gmt);
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
dtfmrgts.cpp | 475 if (!strFullDate.endsWith(UnicodeString("GMT-05:00"))) 476 errln("Fail: Want GMT-05:00"); 936 TimeZone *gmt = timeZone->clone(); local 938 gmt->setRawOffset(0); 944 format->setTimeZone(*gmt); 973 delete gmt; 1002 * SimpleDateFormat won't parse "GMT" 1011 UDate d = fmt->parse("01/22/92 04:52:00 GMT", p0); 1014 errln("Fail: failed to parse 'GMT'"); [all...] |
/external/icu4c/test/intltest/ |
dtfmrgts.cpp | 479 if (!strFullDate.endsWith(UnicodeString("GMT-05:00"))) 480 errln("Fail: Want GMT-05:00"); 940 TimeZone *gmt = timeZone->clone(); local 942 gmt->setRawOffset(0); 948 format->setTimeZone(*gmt); 977 delete gmt; 1006 * SimpleDateFormat won't parse "GMT" 1015 UDate d = fmt->parse("01/22/92 04:52:00 GMT", p0); 1018 errln("Fail: failed to parse 'GMT'"); [all...] |