Searched defs:utc (Results 1 - 6 of 6) sorted by relevance

/illumos-gate/usr/src/lib/libprtdiag/common/
H A Ddisplay_funcs.c94 time_t utc; local
104 utc = (year - 70); /* next 3 lines: utc = 365y + y/4 */
105 utc += (utc << 3) + (utc << 6);
106 utc += (utc << 2) + ((year - 69) >> 2);
107 utc += days_thru_month[month] + day - 1;
108 utc
[all...]
/illumos-gate/usr/src/cmd/touch/
H A Dtouch.c278 int utc = 0; local
302 utc = 1;
334 if (utc) {
/illumos-gate/usr/src/uts/common/os/
H A Dtimers.c1370 utc_to_tod(time_t utc) argument
1378 * Note that tod_set_prev() assumes utc will be set to zero in
1383 if (utc < 0) /* should never happen */
1384 utc = 0;
1386 saved_tod.tod_sec += utc - saved_utc;
1387 saved_utc = utc;
1391 dse = utc / 86400; /* days since epoch */
1393 tod.tod_sec = utc % 60;
1394 tod.tod_min = (utc % 3600) / 60;
1395 tod.tod_hour = (utc
1419 time_t utc; local
[all...]
/illumos-gate/usr/src/cmd/th_tools/
H A Dth_define.c898 /* has the utc time wrapped over ULMAX - unlikely so fix it at 10 */
1061 time_t utc = time(NULL); local
1090 (void) fprintf(fp, "# %-24s%s\n", "Script creation time:", ctime(&utc));
1656 time_t utc = time(NULL); local
1659 drvname, utc) == -1 ||
1661 drvname, utc) == -1)
/illumos-gate/usr/src/lib/libslp/clib/
H A Dslp_ami.h171 amiBoolean utc; /* TRUE means UTC time */ member in struct:__anon4022
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A DmDNSPosix.c1032 const mDNSs32 utc = mDNSPlatformUTC(); local
1036 if (utc - pi->LastSeen < 60) ri = (PosixNetworkInterface **)&pi->coreIntf.next;

Completed in 246 milliseconds