Searched refs:pctp (Results 1 – 2 of 2) sorted by relevance
119 struct pctime *pctp) /* pctime output */ in pc_tvtopct() argument173 pctp->pct_time = in pc_tvtopct()175 pctp->pct_date = in pc_tvtopct()189 struct pctime *pctp, /* DOS time input */ in pc_pcttotv() argument194 sec = 2 * ((LE_16(pctp->pct_time) >> SECSHIFT) & SECMASK); in pc_pcttotv()195 min = (LE_16(pctp->pct_time) >> MINSHIFT) & MINMASK; in pc_pcttotv()196 hour = (LE_16(pctp->pct_time) >> HOURSHIFT) & HOURMASK; in pc_pcttotv()197 day = (LE_16(pctp->pct_date) >> DAYSHIFT) & DAYMASK; in pc_pcttotv()198 month = (LE_16(pctp->pct_date) >> MONSHIFT) & MONMASK; in pc_pcttotv()199 year = (LE_16(pctp->pct_date) >> YEARSHIFT) & YEARMASK; in pc_pcttotv()[all …]
828 getNow(struct pctime *pctp, uchar_t *msec) in getNow() argument857 pctp->pct_date = LE_16(dat); in getNow()858 pctp->pct_time = LE_16(tim); in getNow()