Lines Matching refs:relative
97 memcpy(&t->relative, interval, sizeof(struct timelib_rel_time)); in timelib_add()
102 memset(&t->relative, 0, sizeof(struct timelib_rel_time)); in timelib_add()
103 t->relative.y = interval->y * bias; in timelib_add()
104 t->relative.m = interval->m * bias; in timelib_add()
105 t->relative.d = interval->d * bias; in timelib_add()
106 t->relative.h = interval->h * bias; in timelib_add()
107 t->relative.i = interval->i * bias; in timelib_add()
108 t->relative.s = interval->s * bias; in timelib_add()
137 memset(&t->relative, 0, sizeof(struct timelib_rel_time)); in timelib_sub()
138 t->relative.y = 0 - (interval->y * bias); in timelib_sub()
139 t->relative.m = 0 - (interval->m * bias); in timelib_sub()
140 t->relative.d = 0 - (interval->d * bias); in timelib_sub()
141 t->relative.h = 0 - (interval->h * bias); in timelib_sub()
142 t->relative.i = 0 - (interval->i * bias); in timelib_sub()
143 t->relative.s = 0 - (interval->s * bias); in timelib_sub()