Lines Matching refs:relative
106 memcpy(&t->relative, interval, sizeof(timelib_rel_time)); in timelib_add()
111 memset(&t->relative, 0, sizeof(timelib_rel_time)); in timelib_add()
112 t->relative.y = interval->y * bias; in timelib_add()
113 t->relative.m = interval->m * bias; in timelib_add()
114 t->relative.d = interval->d * bias; in timelib_add()
115 t->relative.h = interval->h * bias; in timelib_add()
116 t->relative.i = interval->i * bias; in timelib_add()
117 t->relative.s = interval->s * bias; in timelib_add()
118 t->relative.us = interval->us * bias; in timelib_add()
147 memset(&t->relative, 0, sizeof(timelib_rel_time)); in timelib_sub()
148 t->relative.y = 0 - (interval->y * bias); in timelib_sub()
149 t->relative.m = 0 - (interval->m * bias); in timelib_sub()
150 t->relative.d = 0 - (interval->d * bias); in timelib_sub()
151 t->relative.h = 0 - (interval->h * bias); in timelib_sub()
152 t->relative.i = 0 - (interval->i * bias); in timelib_sub()
153 t->relative.s = 0 - (interval->s * bias); in timelib_sub()
154 t->relative.us = 0 - (interval->us * bias); in timelib_sub()