HomeSort by: relevance | last modified time | path
    Searched refs:gmt (Results 1 - 14 of 14) sorted by relevancy

  /src/external/ibm-public/postfix/dist/src/global/
mail_date.c 60 struct tm gmt; local
83 gmt = *gmtime(&when);
85 gmtoff = (lt->tm_hour - gmt.tm_hour) * HOUR_MIN + lt->tm_min - gmt.tm_min;
86 if (lt->tm_year < gmt.tm_year)
88 else if (lt->tm_year > gmt.tm_year)
90 else if (lt->tm_yday < gmt.tm_yday)
92 else if (lt->tm_yday > gmt.tm_yday)
94 if (lt->tm_sec <= gmt.tm_sec - MIN_SEC)
96 else if (lt->tm_sec >= gmt.tm_sec + MIN_SEC
    [all...]
  /src/sys/dev/pci/
igmavar.h 50 bus_space_tag_t gmt; member in struct:igma_chip
igma.c 337 bus_space_tag_t gttmmt, gmt, regt; local
369 &gmt, &gmh, &gmb, NULL)) {
373 sc->sc_chip.gmt = gmt;
  /src/external/bsd/cron/dist/
misc.c 594 /* Return the offset from GMT in seconds (algorithm taken from sendmail).
603 struct tm gmt; local
606 gmt = *gmtime(clock);
610 offset = (local->tm_sec - gmt.tm_sec) +
611 ((local->tm_min - gmt.tm_min) * 60) +
612 ((local->tm_hour - gmt.tm_hour) * 3600);
615 if (local->tm_year < gmt.tm_year)
617 else if (local->tm_year > gmt.tm_year)
619 else if (local->tm_yday < gmt.tm_yday)
621 else if (local->tm_yday > gmt.tm_yday
    [all...]
  /src/external/bsd/libarchive/dist/libarchive/
archive_parse_date.c 71 time_t Timezone; /* Seconds offset from GMT */
548 { 0, "gmt", tZONE, 0*HOUR }, /* Greenwich Mean */
984 struct tm gmt, *gmt_ptr; local
1020 gmt_ptr = gmtime_s(&gmt, &now) ? NULL : &gmt;
1022 gmt_ptr = gmtime_r(&now, &gmt);
1024 memset(&gmt, 0, sizeof(gmt));
1028 gmt = *gmt_ptr;
1032 tzone = difftm (&gmt, &local)
    [all...]
  /src/crypto/dist/ipsec-tools/src/setkey/
setkey.c 1031 * Returns the difference between gmt and local time in seconds.
1038 register struct tm *gmt, *loc; local
1043 gmt = &sgmt;
1044 *gmt = *gmtime(&t);
1046 dt = (loc->tm_hour - gmt->tm_hour) * 60 * 60 +
1047 (loc->tm_min - gmt->tm_min) * 60;
1050 * If the year or julian day is different, we span 00:00 GMT
1054 dir = loc->tm_year - gmt->tm_year;
1056 dir = loc->tm_yday - gmt->tm_yday;
  /src/crypto/external/bsd/openssl.old/dist/crypto/asn1/
a_time.c 472 int gmt = 0, l; local
484 gmt = 1;
504 (gmt ? " GMT" : "")) > 0;
509 (gmt ? " GMT" : "")) > 0;
  /src/usr.sbin/ndp/
ndp.c 134 static int32_t thiszone; /* time difference with gmt */
979 * Returns the difference between gmt and local time in seconds.
986 struct tm *gmt, *loc; local
991 gmt = &sgmt;
992 *gmt = *gmtime(&t);
994 dt = (loc->tm_hour - gmt->tm_hour) * 60 * 60 +
995 (loc->tm_min - gmt->tm_min) * 60;
998 * If the year or julian day is different, we span 00:00 GMT
1002 dir = loc->tm_year - gmt->tm_year;
1004 dir = loc->tm_yday - gmt->tm_yday
    [all...]
  /src/external/gpl2/mkhybrid/dist/
write.c 1307 struct tm gmt; local
1313 gmt = *gmtime(&begun);
1324 local.tm_min -= gmt.tm_min;
1325 local.tm_hour -= gmt.tm_hour;
1326 local.tm_yday -= gmt.tm_yday;
  /src/sys/dev/pci/igma/
igmafb.c 134 sc->sc_fbaddr = bus_space_vaddr(sc->sc_chip.gmt, sc->sc_chip.gmh);
312 return bus_space_mmap(sc->sc_chip.gmt, sc->sc_chip.gmb, offset, prot,
  /src/external/gpl2/xcvs/dist/lib/
getdate.c 2598 time stamps that would not otherwise be valid, e.g., GMT time
2602 { "GMT", tZONE, HOUR ( 0) }, /* Greenwich Mean */
3331 struct tm const *gmt = gmtime (&t);
3332 if (! gmt)
3334 delta -= tm_diff (&tm, gmt);
3328 struct tm const *gmt = gmtime (&t); local
getdate.y 687 time stamps that would not otherwise be valid, e.g., GMT time
691 { "GMT", tZONE, HOUR ( 0) }, /* Greenwich Mean */
1420 struct tm const *gmt = gmtime (&t);
1421 if (! gmt)
1423 delta -= tm_diff (&tm, gmt);
  /src/usr.bin/make/
var.c 1914 FormatTime(const char *fmt, time_t t, bool gmt)
1922 if (gmt && strchr(fmt, 's') != NULL) {
1935 strftime(buf, sizeof buf, fmt, (gmt ? gmtime : localtime)(&t));
2560 bool gmt = mod[0] == 'g'; local
2562 if (!ModMatchEq(mod, gmt ? "gmtime" : "localtime", ch))
2564 args = mod + (gmt ? 6 : 9);
2593 Expr_SetValueOwn(expr, FormatTime(Expr_Str(expr), t, gmt));
  /src/external/public-domain/sqlite/dist/autosetup/
jimsh0.c 6417 int gmt; member in struct:clock_options
6423 static const char * const options[] = { "-gmt", "-format", NULL };
6434 if (Jim_GetBoolean(interp, argv[i + 1], &opts->gmt) != JIM_OK) {
6466 tm = options.gmt ? gmtime(&t) : localtime(&t);
6521 tm.tm_isdst = options.gmt ? 0 : -1;
6522 Jim_SetResultInt(interp, options.gmt ? jim_timegm(&tm) : mktime(&tm));
6561 "seconds ?-format string? ?-gmt boolean?",
6583 "str -format format ?-gmt boolean?",

Completed in 44 milliseconds