Lines Matching refs:bias

213 	int bias = 1;  in timelib_add()  local
220 bias = -1; in timelib_add()
223 t->relative.y = interval->y * bias; in timelib_add()
224 t->relative.m = interval->m * bias; in timelib_add()
225 t->relative.d = interval->d * bias; in timelib_add()
226 t->relative.h = interval->h * bias; in timelib_add()
227 t->relative.i = interval->i * bias; in timelib_add()
228 t->relative.s = interval->s * bias; in timelib_add()
229 t->relative.us = interval->us * bias; in timelib_add()
244 int bias = 1; in timelib_sub() local
248 bias = -1; in timelib_sub()
252 t->relative.y = 0 - (interval->y * bias); in timelib_sub()
253 t->relative.m = 0 - (interval->m * bias); in timelib_sub()
254 t->relative.d = 0 - (interval->d * bias); in timelib_sub()
255 t->relative.h = 0 - (interval->h * bias); in timelib_sub()
256 t->relative.i = 0 - (interval->i * bias); in timelib_sub()
257 t->relative.s = 0 - (interval->s * bias); in timelib_sub()
258 t->relative.us = 0 - (interval->us * bias); in timelib_sub()
286 int bias = 1; in timelib_add_wall() local
300 bias = -1; in timelib_add_wall()
303 t->relative.y = interval->y * bias; in timelib_add_wall()
304 t->relative.m = interval->m * bias; in timelib_add_wall()
305 t->relative.d = interval->d * bias; in timelib_add_wall()
312 t->sse += bias * timelib_hms_to_seconds(interval->h, interval->i, 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()
340 int bias = 1; in timelib_sub_wall() local
353 bias = -1; in timelib_sub_wall()
356 t->relative.y = 0 - (interval->y * bias); in timelib_sub_wall()
357 t->relative.m = 0 - (interval->m * bias); in timelib_sub_wall()
358 t->relative.d = 0 - (interval->d * bias); in timelib_sub_wall()
365 t->sse -= bias * timelib_hms_to_seconds(interval->h, interval->i, 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()