Home
last modified time | relevance | path

Searched refs:temp_interval (Results 1 – 1 of 1) sorted by relevance

/php-src/ext/date/lib/
H A Dinterval.c315 timelib_rel_time *temp_interval = timelib_rel_time_clone(interval); in timelib_add_wall() local
317 do_range_limit(0, 1000000, 1000000, &temp_interval->us, &temp_interval->s); in timelib_add_wall()
318 t->sse += bias * timelib_hms_to_seconds(temp_interval->h, temp_interval->i, temp_interval->s); in timelib_add_wall()
320 t->us += temp_interval->us * bias; in timelib_add_wall()
325 timelib_rel_time_dtor(temp_interval); in timelib_add_wall()
368 timelib_rel_time *temp_interval = timelib_rel_time_clone(interval); in timelib_sub_wall() local
370 do_range_limit(0, 1000000, 1000000, &temp_interval->us, &temp_interval->s); in timelib_sub_wall()
371 t->sse -= bias * timelib_hms_to_seconds(temp_interval->h, temp_interval->i, temp_interval->s); in timelib_sub_wall()
373 t->us -= temp_interval->us * bias; in timelib_sub_wall()
378 timelib_rel_time_dtor(temp_interval); in timelib_sub_wall()

Completed in 4 milliseconds