Searched refs:gmt (Results 1 - 7 of 7) sorted by relevance

/haiku-fatelf/src/bin/network/tcpdump/
H A Dgmt2local.c42 * 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;
65 dir = loc->tm_year - gmt->tm_year;
67 dir = loc->tm_yday - gmt->tm_yday;
/haiku-fatelf/src/tools/docbook/libxslt/libxslt/
H A Dextra.c179 time_t gmt, lmt; local
234 gmt = mktime(&gmt_tm);
241 local_tm = localtime(&gmt);
247 lmt = gmt - timezone;
/haiku-fatelf/src/system/libroot/posix/time/
H A Dstrptime.c495 int gmt; local
497 gmt = 0;
498 ret = _strptime(buf, fmt, tm, &gmt);
499 if (ret && gmt) {
H A Dlocaltime_fading_out.c73 static const char gmt[] = "GMT"; variable
118 char chars[BIGGEST(BIGGEST(TZ_MAX_CHARS + 1, sizeof gmt),
296 tzname[0] = tzname[1] = gmt;
1135 if (tzload(gmt, sp, TRUE) != 0)
1136 (void) tzparse(gmt, sp, TRUE);
1214 (void) strcpy(lclptr->chars, gmt);
1378 tmp->TM_ZONE = gmt;
/haiku-fatelf/src/bin/unzip/
H A Dtimezone.c92 static ZCONST char gmt[] = "GMT"; variable
488 || Parse_TZ(gmt, &statism) == 0) {
/haiku-fatelf/src/bin/coreutils/lib/
H A Dgetdate.c3452 struct tm const *gmt = gmtime (&t);
3453 if (! gmt)
3455 delta -= tm_diff (&tm, gmt);
3449 struct tm const *gmt = gmtime (&t); local
H A Dgetdate.y1479 struct tm const *gmt = gmtime (&t);
1480 if (! gmt)
1482 delta -= tm_diff (&tm, gmt);

Completed in 69 milliseconds