Lines Matching refs:res
316 timelib_sll res = 0; in do_years() local
322 res += (SECS_PER_ERA * eras * 100); in do_years()
328 res += (DAYS_PER_LYEAR * SECS_PER_DAY); in do_years()
330 res += (DAYS_PER_YEAR * SECS_PER_DAY); in do_years()
336 res -= (DAYS_PER_LYEAR * SECS_PER_DAY); in do_years()
338 res -= (DAYS_PER_YEAR * SECS_PER_DAY); in do_years()
342 return res; in do_years()
361 timelib_sll res = 0; in do_time() local
363 res += hour * 3600; in do_time()
364 res += minute * 60; in do_time()
365 res += second; in do_time()
366 return res; in do_time()
439 timelib_sll res = 0; in timelib_update_ts() local
444 res += do_years(time->y); in timelib_update_ts()
445 res += do_months(time->m, time->y); in timelib_update_ts()
446 res += do_days(time->d); in timelib_update_ts()
447 res += do_time(time->h, time->i, time->s); in timelib_update_ts()
448 time->sse = res; in timelib_update_ts()
450 res += do_adjust_timezone(time, tzi); in timelib_update_ts()
451 time->sse = res; in timelib_update_ts()
460 timelib_sll res;
473 res = time2unixtime(&time);
474 printf("%Ld\n", res);