tod
struct pdc_tod tod PDC_ALIGNMENT;
&tod, 0, 0, 0, 0, 0))) {
tv->tv_sec = tod.sec;
tv->tv_usec = tod.usec;
uint8_t tod[8];
rc = octrtc_read(&tod[0], 1); /* ia read */
rc = octrtc_read(&tod[i], 0); /* current address */
DPRINTF(("%#X ", tod[i]));
if ((check & 0xf) == (tod[0] & 0xf))
((tod[5] & 0x80) ? 2000 : 1900) + FROMBCD(tod[6]), /* year */
FROMBCD(tod[5] & 0x1f), /* month */
FROMBCD(tod[4] & 0x3f), /* day */
(tod[3] & 0x7), /* day of the week */
FROMBCD(tod[2] & 0x3f), /* hour */
FROMBCD(tod[1] & 0x7f), /* minute */
FROMBCD(tod[0] & 0x7f))); /* second */
dt.dt_year = ((tod[5] & 0x80) ? 2000 : 1900) + FROMBCD(tod[6]);
dt.dt_mon = FROMBCD(tod[5] & 0x1f);
dt.dt_day = FROMBCD(tod[4] & 0x3f);
dt.dt_hour = FROMBCD(tod[2] & 0x3f);
if ((tod[2] & 0x40) && (tod[2] & 0x20)) /* adjust AM/PM format */
dt.dt_min = FROMBCD(tod[1] & 0x7f);
dt.dt_sec = FROMBCD(tod[0] & 0x7f);
uint8_t tod[8];
tod[0] = TOBCD(dt.dt_sec);
tod[1] = TOBCD(dt.dt_min);
tod[2] = TOBCD(dt.dt_hour);
tod[3] = TOBCD(dt.dt_wday + 1);
tod[4] = TOBCD(dt.dt_day);
tod[5] = TOBCD(dt.dt_mon);
tod[5] |= 0x80;
tod[6] = TOBCD(dt.dt_year % 100);
rc = octrtc_write(tod[i]);
if ((check & 0xf) == (tod[0] & 0xf))
u_int32_t tod = 0;
snprintf(buf, sizeof(buf), "h# %08lx unix-gettod", (long)&tod);
tv->tv_sec = tod;
struct sbbc_sram_tod *tod;
tod = (struct sbbc_sram_tod *)(sc->sc_sram + offset);
if (tod->tod_magic != SBBC_TOD_MAGIC ||
tod->tod_version < SBBC_TOD_VERSION)
handle->cookie = tod;
struct sbbc_sram_tod *tod = handle->cookie;
tv->tv_sec = tod->tod_time + tod->tod_skew;
struct sbbc_sram_tod *tod = handle->cookie;
tod->tod_skew = tv->tv_sec - tod->tod_time;
u_int64_t tod;
if (hv_tod_get(&tod) != H_EOK)
tv->tv_sec = tod;
int64_t hv_tod_get(uint64_t *tod);
int64_t hv_tod_set(uint64_t tod);
uint32_t tod;
tod = bus_space_read_4(sc->sc_iot, sc->sc_ioh, RTCDR);
tv->tv_sec = tod;
if (tod(&runtime) != 0 || month(&runtime) != 0)
time_t tod;
if ((tod = ToSeconds(Hours, Minutes, Seconds, Meridian)) < 0)
julian += tod;
time_t Start, tod, nowtime, tz;
tod = RelativeDate(Start, yyDayOrdinal, yyDayNumber);
Start += tod;
time_t tod;
if ((tod = ToSeconds(Hours, Minutes, Seconds, Meridian)) < 0)
julian += tod;
time_t Start, tod, nowtime, tz;
tod = RelativeDate(Start, yyDayOrdinal, yyDayNumber);
Start += tod;
i_timeofday(time_t * tod)
foo = ctime(tod);
printwp("%s %-8.8s", buf, &(ctime(tod)[11]));
uint64_t tod;
if (tod != 0)
md_add_prop_val(md, node, "tod", tod);
md_get_prop_val(md, node, "tod", &tod);
zic_t dayoff, tod;
tod = gethms(fields[LP_TIME], "invalid time of day", FALSE);
leapadd(tadd(t, tod), positive, lp->l_value, count);
zic_t tod = rp->r_tod;
tod += wdayoff * SECSPERDAY;
tod += wdayoff * SECSPERDAY;
tod += gmtoff;
tod += dstoff;
if (tod != 2 * SECSPERMIN * MINSPERHOUR) {
if (stringoffset(ep, size - (ep - result), tod) != 0)
if (tod < 0) {
} else if (SECSPERDAY <= tod) {