Searched refs:utc (Results 1 – 8 of 8) sorted by relevance
94 time_t utc; in get_time() local104 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()
1370 utc_to_tod(time_t utc) in utc_to_tod() argument1383 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 …]
139 # localtime->utc and utc->localtime conversions. These tests only work152 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}
278 int utc = 0; in parse_datetime() local302 utc = 1; in parse_datetime()334 if (utc) { in parse_datetime()
1061 time_t utc = time(NULL); in log2errdefs() local1090 (void) fprintf(fp, "# %-24s%s\n", "Script creation time:", ctime(&utc)); in log2errdefs()1656 time_t utc = time(NULL); in create_test_file() local1659 drvname, utc) == -1 || in create_test_file()1661 drvname, utc) == -1) in create_test_file()
171 amiBoolean utc; /* TRUE means UTC time */ member
1027 const mDNSs32 utc = mDNSPlatformUTC(); in SetupInterfaceList() local1031 if (utc - pi->LastSeen < 60) ri = (PosixNetworkInterface **)&pi->coreIntf.next; in SetupInterfaceList()
326 # decided that next Sunday instead of "staying" @utc-03:00 they will go327 # to utc-04:00 until the second Saturday in October...