Lines Matching refs:lo

203 		res.D_s.lo = (uint32_t)-tt;  in time_to_vint64()
204 M_NEG(res.D_s.hi, res.D_s.lo); in time_to_vint64()
206 res.D_s.lo = (uint32_t)tt; in time_to_vint64()
221 res.D_s.lo = (uint32_t)tt; in time_to_vint64()
223 M_NEG(res.D_s.hi, res.D_s.lo); in time_to_vint64()
225 res.D_s.lo = (uint32_t)tt; in time_to_vint64()
244 res = (time_t)tv->D_s.lo; in vint64_to_time()
252 res = ((time_t)tv->d_s.hi << 32) | tv->D_s.lo; in vint64_to_time()
589 ntp -= res.D_s.lo; /* cycle difference */ in ntpcal_ntp_to_time()
600 M_SUB(res.D_s.hi, res.D_s.lo, 0, 0x80000000u); in ntpcal_ntp_to_time()
602 ntp -= res.D_s.lo; /* cycle difference */ in ntpcal_ntp_to_time()
603 M_ADD(res.D_s.hi, res.D_s.lo, 0, ntp); in ntpcal_ntp_to_time()
638 ntp -= res.D_s.lo; /* cycle difference */ in ntpcal_ntp_to_ntp()
649 M_SUB(res.D_s.hi, res.D_s.lo, 0, 0x80000000u); in ntpcal_ntp_to_ntp()
650 M_ADD(res.D_s.hi, res.D_s.lo, 0, (uint32_t)JAN_1970);/*into NTP */ in ntpcal_ntp_to_ntp()
651 ntp -= res.D_s.lo; /* cycle difference */ in ntpcal_ntp_to_ntp()
652 M_ADD(res.D_s.hi, res.D_s.lo, 0, ntp); in ntpcal_ntp_to_ntp()
706 R = ts->D_s.lo - Q * SECSPERDAY; in ntpcal_daysplit()
742 uint32_t al = ts->D_s.lo; in ntpcal_daysplit()
756 R = (R << 7) | (ts->d_s.lo & 0x07F); in ntpcal_daysplit()
761 res.lo = R; in ntpcal_daysplit()
798 R = ts->D_s.lo - Q * SECSPERWEEK; in ntpcal_weeksplit()
803 uint32_t al = ts->D_s.lo; in ntpcal_weeksplit()
816 R = (R << 7) | (ts->d_s.lo & 0x07F); in ntpcal_weeksplit()
821 res.lo = R; in ntpcal_weeksplit()
941 res.lo = uday / 4u; in ntpcal_split_eradays()
983 res.lo = eyd - ((489 * res.hi + 8) >> 4); in ntpcal_split_yeardays()
1017 jd->yearday = (uint16_t)split.lo + 1; in ntpcal_rd_to_date()
1020 split = ntpcal_split_yeardays(split.lo, leapy); in ntpcal_rd_to_date()
1022 jd->monthday = (uint8_t)split.lo + 1; in ntpcal_rd_to_date()
1047 utm->tm_yday = split.lo; /* 0-based */ in ntpcal_rd_to_tm()
1050 split = ntpcal_split_yeardays(split.lo, leapy); in ntpcal_rd_to_tm()
1052 utm->tm_mday = split.lo + 1; /* 1-based */ in ntpcal_rd_to_tm()
1120 dof += ntpcal_daysec_to_date(jd, ds->lo); in ntpcal_daysplit_to_date()
1141 dof += ntpcal_daysec_to_tm(utm, ds->lo); in ntpcal_daysplit_to_tm()
1160 ds.hi += ntpcal_daysec_to_date(jd, ds.lo); in ntpcal_time_to_date()
1187 int32_t lo in _dwjoin() argument
1198 res.D_s.lo = (p1 & 0xFFFF) * mul; in _dwjoin()
1203 M_ADD(res.D_s.hi, res.D_s.lo, p2, p1); in _dwjoin()
1206 res.D_s.hi = (res.D_s.hi << 7) | (res.D_s.lo >> 25); in _dwjoin()
1207 res.D_s.lo = (res.D_s.lo << 7); in _dwjoin()
1210 M_ADD(res.D_s.hi, res.D_s.lo, sf, sf); in _dwjoin()
1211 res.D_s.lo ^= sf; in _dwjoin()
1215 p2 = (uint32_t)-(lo < 0); in _dwjoin()
1216 p1 = (uint32_t)lo; in _dwjoin()
1217 M_ADD(res.D_s.hi, res.D_s.lo, p2, p1); in _dwjoin()
1353 res.lo = m + 10; in ntpcal_days_in_months()
1356 res.lo = m - 2; in ntpcal_days_in_months()
1362 if (res.lo < 0 || res.lo >= 12) { in ntpcal_days_in_months()
1364 sf32 = int32_sflag(res.lo); in ntpcal_days_in_months()
1365 mu = (uint32_t)res.lo; in ntpcal_days_in_months()
1369 res.lo = mu - Q * 12u; in ntpcal_days_in_months()
1376 res.lo = ((res.lo * 979 + 16) >> 5) - 306; in ntpcal_days_in_months()
1402 res = ntpcal_days_in_years(years + tmp.hi) + tmp.lo; in ntpcal_edate_to_eradays()
1434 mdays += tmp.lo in ntpcal_edate_to_yeardays()
1527 return rd - ntpcal_split_eradays(rd - 1, NULL).lo; in ntpcal_rd_to_ystart()
1544 split = ntpcal_split_yeardays(split.lo, leaps); in ntpcal_rd_to_mstart()
1546 return rd - split.lo; in ntpcal_rd_to_mstart()
1614 ds.hi += ntpcal_daysec_to_date(jd, ds.lo); in ntpcal_ntp64_to_date()
1659 return ntpcal_date_to_ntp64(jd).d_s.lo; in ntpcal_date_to_ntp()
1887 res.lo = sw / 157u; in isocal_split_eraweeks()
1914 ds.hi += priv_timesplit(ts, ds.lo); in isocal_ntp64_to_date()
1927 ds.lo = ud; in isocal_ntp64_to_date()
1929 id->weekday = (uint8_t)ds.lo + 1; /* weekday result */ in isocal_ntp64_to_date()
1934 id->week = (uint8_t )ds.lo + 1; in isocal_ntp64_to_date()
1984 return isocal_date_to_ntp64(id).d_s.lo; in isocal_date_to_ntp()