Lines Matching defs:sw
1700 uint32_t sw, cy, Q, sflag;
1711 sw = uint32_saturate(int32_to_uint32_2cpl(weeks), sflag);
1712 sw = 4u * sw + 2;
1713 Q = sflag ^ ((sflag ^ sw) / GREGORIAN_CYCLE_WEEKS);
1714 sw -= Q * GREGORIAN_CYCLE_WEEKS;
1718 /* Split off years; sw >= 0 here! The scaled weeks in the years
1721 sw = (sw / 4u) * 157u + bctab[ci];
1722 cy = sw / 8192u; /* ws >> 13 , let the compiler sort it out */
1723 sw = sw % 8192u; /* ws & 8191, let the compiler sort it out */
1729 res.lo = sw / 157u;