Lines Matching refs:relunit
737 const timelib_relunit* relunit;
739 if (!(relunit = timelib_lookup_relunit(ptr))) {
743 switch (relunit->unit) {
744 …case TIMELIB_MICROSEC: add_with_overflow(s, &s->time->relative.us, amount, relunit->multiplier); b…
745 …case TIMELIB_SECOND: add_with_overflow(s, &s->time->relative.s, amount, relunit->multiplier); br…
746 …case TIMELIB_MINUTE: add_with_overflow(s, &s->time->relative.i, amount, relunit->multiplier); br…
747 …case TIMELIB_HOUR: add_with_overflow(s, &s->time->relative.h, amount, relunit->multiplier); br…
748 …case TIMELIB_DAY: add_with_overflow(s, &s->time->relative.d, amount, relunit->multiplier); br…
749 …case TIMELIB_MONTH: add_with_overflow(s, &s->time->relative.m, amount, relunit->multiplier); br…
750 …case TIMELIB_YEAR: add_with_overflow(s, &s->time->relative.y, amount, relunit->multiplier); br…
758 s->time->relative.weekday = relunit->multiplier;
767 s->time->relative.special.type = relunit->multiplier;
1821 const timelib_relunit* relunit;
1827 relunit = timelib_lookup_relunit(&ptr);
1828 s->time->relative.weekday = relunit->multiplier;