| /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/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 | 1915 FormatTime(const char *fmt, time_t t, bool gmt) 1923 if (gmt && strchr(fmt, 's') != NULL) { 1936 strftime(buf, sizeof buf, fmt, (gmt ? gmtime : localtime)(&t)); 2561 bool gmt = mod[0] == 'g'; local 2563 if (!ModMatchEq(mod, gmt ? "gmtime" : "localtime", ch)) 2565 args = mod + (gmt ? 6 : 9); 2594 Expr_SetValueOwn(expr, FormatTime(Expr_Str(expr), t, gmt));
|