Lines Matching refs:y

44 static void inc_month(timelib_sll *y, timelib_sll *m)  in inc_month()  argument
49 (*y)++; in inc_month()
53 static void dec_month(timelib_sll *y, timelib_sll *m) in dec_month() argument
58 (*y)--; in dec_month()
62 static void do_range_limit_days_relative(timelib_sll *base_y, timelib_sll *base_m, timelib_sll *y, … in do_range_limit_days_relative() argument
104 static int do_range_limit_days(timelib_sll *y, timelib_sll *m, timelib_sll *d) in do_range_limit_days() argument
113 *y += YEARS_PER_LYEAR_PERIOD * (*d / DAYS_PER_LYEAR_PERIOD); in do_range_limit_days()
117 do_range_limit(1, 13, 12, m, y); in do_range_limit_days()
119 leapyear = timelib_is_leap(*y); in do_range_limit_days()
125 last_year = (*y) - 1; in do_range_limit_days()
127 last_year = (*y); in do_range_limit_days()
149 current_dow = timelib_day_of_week(time->y, time->m, time->d); in do_adjust_for_weekday()
176 do {} while (do_range_limit(0, 12, 12, &rt->m, &rt->y)); in timelib_do_rel_normalize()
178 do_range_limit_days_relative(&base->y, &base->m, &rt->y, &rt->m, &rt->d, rt->invert); in timelib_do_rel_normalize()
179 do {} while (do_range_limit(0, 12, 12, &rt->m, &rt->y)); in timelib_do_rel_normalize()
187 do {} while (do_range_limit(1, 13, 12, &time->m, &time->y)); in timelib_do_normalize()
189 do {} while (do_range_limit_days(&time->y, &time->m, &time->d)); in timelib_do_normalize()
190 do {} while (do_range_limit(1, 13, 12, &time->m, &time->y)); in timelib_do_normalize()
207 time->y += time->relative.y; in do_adjust_relative()
227 current_dow = timelib_day_of_week(time->y, time->m, time->d); in do_adjust_special_weekday()
249 current_dow = timelib_day_of_week(time->y, time->m, time->d); in do_adjust_special_weekday()
266 current_dow = timelib_day_of_week(time->y, time->m, time->d); in do_adjust_special_weekday()
437 res += do_years(time->y); in timelib_update_ts()
438 res += do_months(time->m, time->y); in timelib_update_ts()
458 time.y, time.m, time.d, time.h, time.i, time.s, time.f, time.z, time.dst);
461 …time.relative.y, time.relative.m, time.relative.d, time.relative.h, time.relative.i, time.relative…