Home
last modified time | relevance | path

Searched refs:utc (Results 1 – 8 of 8) sorted by relevance

/titanic_50/usr/src/lib/libprtdiag/common/
H A Ddisplay_funcs.c94 time_t utc; in get_time() local
104 utc = (year - 70); /* next 3 lines: utc = 365y + y/4 */ in get_time()
105 utc += (utc << 3) + (utc << 6); in get_time()
106 utc += (utc << 2) + ((year - 69) >> 2); in get_time()
107 utc += days_thru_month[month] + day - 1; in get_time()
108 utc = (utc << 3) + (utc << 4) + hour; /* 24 * day + hour */ in get_time()
109 utc = (utc << 6) - (utc << 2) + min; /* 60 * hour + min */ in get_time()
110 utc = (utc << 6) - (utc << 2) + sec; /* 60 * min + sec */ in get_time()
112 return (ctime((time_t *)&utc)); in get_time()
/titanic_50/usr/src/uts/common/os/
H A Dtimers.c1370 utc_to_tod(time_t utc) in utc_to_tod() argument
1383 if (utc < 0) /* should never happen */ in utc_to_tod()
1384 utc = 0; in utc_to_tod()
1386 saved_tod.tod_sec += utc - saved_utc; in utc_to_tod()
1387 saved_utc = utc; in utc_to_tod()
1391 dse = utc / 86400; /* days since epoch */ in utc_to_tod()
1393 tod.tod_sec = utc % 60; in utc_to_tod()
1394 tod.tod_min = (utc % 3600) / 60; in utc_to_tod()
1395 tod.tod_hour = (utc % 86400) / 3600; in utc_to_tod()
1419 time_t utc; in tod_to_utc() local
[all …]
/titanic_50/usr/src/lib/libsqlite/test/
H A Ddate.test139 # localtime->utc and utc->localtime conversions. These tests only work
152 datetest 6.5 {datetime('2000-10-29 01:59:00','utc')} {2000-10-29 05:59:00}
153 datetest 6.6 {datetime('2000-10-29 02:00:00','utc')} {2000-10-29 07:00:00}
154 datetest 6.7 {datetime('2000-04-02 01:59:00','utc')} {2000-04-02 06:59:00}
155 datetest 6.8 {datetime('2000-04-02 02:00:00','utc')} {2000-04-02 06:00:00}
/titanic_50/usr/src/cmd/touch/
H A Dtouch.c278 int utc = 0; in parse_datetime() local
302 utc = 1; in parse_datetime()
334 if (utc) { in parse_datetime()
/titanic_50/usr/src/cmd/th_tools/
H A Dth_define.c1061 time_t utc = time(NULL); in log2errdefs() local
1090 (void) fprintf(fp, "# %-24s%s\n", "Script creation time:", ctime(&utc)); in log2errdefs()
1656 time_t utc = time(NULL); in create_test_file() local
1659 drvname, utc) == -1 || in create_test_file()
1661 drvname, utc) == -1) in create_test_file()
/titanic_50/usr/src/lib/libslp/clib/
H A Dslp_ami.h171 amiBoolean utc; /* TRUE means UTC time */ member
/titanic_50/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A DmDNSPosix.c1027 const mDNSs32 utc = mDNSPlatformUTC(); in SetupInterfaceList() local
1031 if (utc - pi->LastSeen < 60) ri = (PosixNetworkInterface **)&pi->coreIntf.next; in SetupInterfaceList()
/titanic_50/usr/src/data/zoneinfo/
H A Dsouthamerica326 # decided that next Sunday instead of "staying" @utc-03:00 they will go
327 # to utc-04:00 until the second Saturday in October...