HomeSort by relevance Sort by last modified time
    Searched defs:gmt (Results 1 - 25 of 125) sorted by null

1 2 3 4 5

  /external/tcpdump/
gmt2local.c 38 * Returns the difference between gmt and local time in seconds.
45 register struct tm *gmt, *loc; local
50 gmt = &sgmt;
51 *gmt = *gmtime(&t);
53 dt = (loc->tm_hour - gmt->tm_hour) * 60 * 60 +
54 (loc->tm_min - gmt->tm_min) * 60;
57 * If the year or julian day is different, we span 00:00 GMT
61 dir = loc->tm_year - gmt->tm_year;
63 dir = loc->tm_yday - gmt->tm_yday;
  /hardware/bsp/intel/peripheral/libupm/examples/c++/
tm1637.cxx 49 struct tm * gmt; local
63 gmt = gmtime(&rawtime); // Get current time
65 int hour = (gmt) ? gmt->tm_hour : 0;
66 int min = (gmt) ? gmt->tm_min : 0;
  /external/libchrome/base/third_party/nspr/
prtime.h 90 * to midnight (00:00:00), January 1, 1970 Greenwich Mean Time (GMT).
91 * (GMT is also known as Coordinated Universal Time, UTC.)
104 * Time zone and daylight saving time corrections applied to GMT to
109 PRInt32 tp_gmt_offset; /* the offset from GMT in seconds */
119 * offsets from the GMT must be saved in the 'tm_params' field so that
120 * all the information is available to reconstruct GMT.
161 * given the current time in GMT. The input argument gmt should
162 * point to a PRExplodedTime that is in GMT, i.e., whose
165 * For any time zone other than GMT, the computation is intended t
208 NSPR_API(PRTimeParameters) PR_GMTParameters(const PRExplodedTime *gmt); variable
    [all...]
  /external/boringssl/src/crypto/x509/
t_x509.c 369 int gmt=0; local
379 if (v[i-1] == 'Z') gmt=1;
405 mon[M-1],d,h,m,s,f_len,f,y,(gmt)?" GMT":"") <= 0)
417 int gmt=0; local
425 if (v[i-1] == 'Z') gmt=1;
441 mon[M-1],d,h,m,s,y+1900,(gmt)?" GMT":"") <= 0)
  /external/curl/docs/examples/
synctime.c 57 * GMT/UTC time. Therefore your computer timezone must be properly set.
255 struct tm *gmt; local
306 /* Calculating time diff between GMT and localtime */
310 gmt = gmtime(&tt);
311 tt_gmt = mktime(gmt);
  /external/vogar/src/vogar/
XmlReportPrinter.java 66 TimeZone gmt = TimeZone.getTimeZone("GMT"); local
67 dateFormat.setTimeZone(gmt);
  /external/icu/icu4c/source/i18n/
measfmt.cpp 71 const TimeZone *gmt = TimeZone::getGMT(); local
72 hourMinute.setTimeZone(*gmt);
73 minuteSecond.setTimeZone(*gmt);
74 hourMinuteSecond.setTimeZone(*gmt);
    [all...]
  /external/icu/icu4c/source/test/intltest/
dtfmrgts.cpp 483 if (!strFullDate.endsWith(UnicodeString("GMT-05:00")))
484 errln("Fail: Want GMT-05:00");
944 TimeZone *gmt = timeZone->clone(); local
946 gmt->setRawOffset(0);
952 format->setTimeZone(*gmt);
981 delete gmt;
1010 * SimpleDateFormat won't parse "GMT"
1019 UDate d = fmt->parse("01/22/92 04:52:00 GMT", p0);
1022 errln("Fail: failed to parse 'GMT'");
    [all...]
dtfmttst.cpp 305 if (fmtOffset.startsWith("GMT") && fmtOffset.length() != 3)
561 "1997", "GMT-7", "-07", "-07", "1997", ":",
563 "1997", "GMT-7", "-07", "-07", "1997", "",
568 "1997", "2450674", "52452513", "GMT-07:00", "Pacific Time", "Wednesday", "August", "3rd quarter", "3rd quarter", "Los Angeles Time",
570 "1997", "GMT-07:00", "-0700", "-0700", "1997", ":",
572 "1997", "GMT-07:00", "-0700", "-0700", "1997", "",
3432 TimeZone *gmt = TimeZone::createTimeZone("Etc\/GMT"); local
    [all...]
  /external/icu/icu4c/source/tools/tzcode/
zdump.c 985 struct tm gmt; local
1009 gmt = *gmtime(&t);
1010 offset = delta(&loc, &gmt);
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...]
  /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;
  /system/core/liblog/
logprint.c 305 static const char gmt[] = "GMT"; local
313 * zone is GMT, check if that is what was asked for, if not then
319 || !strcmp(tzname[0], gmt)) /* error? */
321 && strcasecmp(formatString, gmt))) { /* ok */
    [all...]
  /external/curl/lib/vtls/
openssl.c 1023 int gmt=FALSE; local
1033 gmt=TRUE;
1056 year+1900, month, day, hour, minute, second, (gmt?"GMT":""));
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
CompatibilityTest.java 48 java.util.TimeZone jdkGMT = java.util.TimeZone.getTimeZone("GMT");
75 TimeZone gmt = TimeZone.getTimeZone("GMT"); local
76 GregorianCalendar cal = new GregorianCalendar(gmt);
634 // Test the behavior of GMT vs. local time
647 // Note that in sample output 2 according to the offset, the gmt time
702 // ma feb 03 00:00:00 GMT+00:00 1997
711 // ma feb 03 13:11:06 GMT+00:00 1997
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DateTimeGeneratorTest.java 94 TimeZone enZone = TimeZone.getTimeZone("Etc/GMT");
117 {"hhmmVVVV", "6:58 AM GMT"}, // (fixed expected result per ticket 6872<-7180)
131 rootFormat.setTimeZone(gmt);
140 TimeZone rootZone = TimeZone.getTimeZone("Etc/GMT");
667 private TimeZone gmt = TimeZone.getTimeZone("Etc/GMT"); field in class:DateTimeGeneratorTest
    [all...]
DateFormatRegressionTest.java 338 if (!strFullDate.endsWith("GMT-05:00"))
339 errln("Fail: Want GMT-05:00");
625 TimeZone gmt = (TimeZone) timeZone.clone(); local
626 gmt.setRawOffset(0);
631 format.setTimeZone(gmt);
680 * SimpleDateFormat won't parse "GMT"
687 Date d = fmt.parse("01/22/92 04:52:00 GMT", p0);
690 errln("Fail: failed to parse 'GMT'");
724 String dateString = "Thursday, 31-Dec-98 23:00:00 GMT";
749 String dateString = "Thu, 30-Jul-1999 11:51:14 GMT";
    [all...]
DateFormatTest.java 266 if (fmtOffset.toString().startsWith("GMT")) {
390 "1997", "GMT-7", "-07", "-07", "1997", "",
394 "1997", "2450674", "52452513", "GMT-07:00", "Pacific Time", "Wednesday", "August", "3rd quarter", "3rd quarter", "Los Angeles Time",
395 "1997", "GMT-07:00", "-0700", "-0700", "1997", "",
3627 TimeZone gmt = TimeZone.getTimeZone("Etc\/GMT"); local
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
CompatibilityTest.java 44 java.util.TimeZone jdkGMT = java.util.TimeZone.getTimeZone("GMT");
71 TimeZone gmt = TimeZone.getTimeZone("GMT"); local
72 GregorianCalendar cal = new GregorianCalendar(gmt);
630 // Test the behavior of GMT vs. local time
643 // Note that in sample output 2 according to the offset, the gmt time
698 // ma feb 03 00:00:00 GMT+00:00 1997
707 // ma feb 03 13:11:06 GMT+00:00 1997
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DateTimeGeneratorTest.java 90 TimeZone enZone = TimeZone.getTimeZone("Etc/GMT");
113 {"hhmmVVVV", "6:58 AM GMT"}, // (fixed expected result per ticket 6872<-7180)
127 rootFormat.setTimeZone(gmt);
136 TimeZone rootZone = TimeZone.getTimeZone("Etc/GMT");
663 private TimeZone gmt = TimeZone.getTimeZone("Etc/GMT"); field in class:DateTimeGeneratorTest
    [all...]
DateFormatRegressionTest.java 334 if (!strFullDate.endsWith("GMT-05:00"))
335 errln("Fail: Want GMT-05:00");
621 TimeZone gmt = (TimeZone) timeZone.clone(); local
622 gmt.setRawOffset(0);
627 format.setTimeZone(gmt);
676 * SimpleDateFormat won't parse "GMT"
683 Date d = fmt.parse("01/22/92 04:52:00 GMT", p0);
686 errln("Fail: failed to parse 'GMT'");
720 String dateString = "Thursday, 31-Dec-98 23:00:00 GMT";
745 String dateString = "Thu, 30-Jul-1999 11:51:14 GMT";
    [all...]
DateFormatTest.java 262 if (fmtOffset.toString().startsWith("GMT")) {
386 "1997", "GMT-7", "-07", "-07", "1997", "",
390 "1997", "2450674", "52452513", "GMT-07:00", "Pacific Time", "Wednesday", "August", "3rd quarter", "3rd quarter", "Los Angeles Time",
391 "1997", "GMT-07:00", "-0700", "-0700", "1997", "",
3623 TimeZone gmt = TimeZone.getTimeZone("Etc\/GMT"); local
    [all...]
  /bionic/libc/tzcode/
localtime.c 86 static const char gmt[] = "GMT"; variable
132 char chars[BIGGEST(BIGGEST(TZ_MAX_CHARS + 1, sizeof gmt),
291 tzname[0] = tzname[1] = (char *) gmt;
1023 stdlen = sizeof gmt - 1;
    [all...]
  /prebuilts/devtools/tools/lib/
ddmlib.jar 
  /prebuilts/gradle-plugin/com/android/tools/ddms/ddmlib/22.2.0/
ddmlib-22.2.0.jar 

Completed in 971 milliseconds

1 2 3 4 5