Lines Matching refs:bias
97 int bias = 1; in timelib_add() local
104 bias = -1; in timelib_add()
107 t->relative.y = interval->y * bias; in timelib_add()
108 t->relative.m = interval->m * bias; in timelib_add()
109 t->relative.d = interval->d * bias; in timelib_add()
110 t->relative.h = interval->h * bias; in timelib_add()
111 t->relative.i = interval->i * bias; in timelib_add()
112 t->relative.s = interval->s * bias; in timelib_add()
134 int bias = 1; in timelib_sub() local
138 bias = -1; in timelib_sub()
142 t->relative.y = 0 - (interval->y * bias); in timelib_sub()
143 t->relative.m = 0 - (interval->m * bias); in timelib_sub()
144 t->relative.d = 0 - (interval->d * bias); in timelib_sub()
145 t->relative.h = 0 - (interval->h * bias); in timelib_sub()
146 t->relative.i = 0 - (interval->i * bias); in timelib_sub()
147 t->relative.s = 0 - (interval->s * bias); in timelib_sub()