Lines Matching refs:amount
675 static void timelib_set_relative(const char **ptr, timelib_sll amount, int behavior, Scanner *s, in…
684 case TIMELIB_MICROSEC: s->time->relative.us += amount * relunit->multiplier; break;
685 case TIMELIB_SECOND: s->time->relative.s += amount * relunit->multiplier; break;
686 case TIMELIB_MINUTE: s->time->relative.i += amount * relunit->multiplier; break;
687 case TIMELIB_HOUR: s->time->relative.h += amount * relunit->multiplier; break;
688 case TIMELIB_DAY: s->time->relative.d += amount * relunit->multiplier; break;
689 case TIMELIB_MONTH: s->time->relative.m += amount * relunit->multiplier; break;
690 case TIMELIB_YEAR: s->time->relative.y += amount * relunit->multiplier; break;
697 s->time->relative.d += (amount > 0 ? amount - 1 : amount) * 7;
708 s->time->relative.special.amount = amount;
1747 s->time->relative.special.amount = 0 - s->time->relative.special.amount;