Lines Matching refs:rt
30 timelib_rel_time *rt; in timelib_diff() local
35 rt = timelib_rel_time_ctor(); in timelib_diff()
36 rt->invert = 0; in timelib_diff()
41 rt->invert = 1; in timelib_diff()
62 rt->y = two->y - one->y; in timelib_diff()
63 rt->m = two->m - one->m; in timelib_diff()
64 rt->d = two->d - one->d; in timelib_diff()
65 rt->h = two->h - one->h; in timelib_diff()
66 rt->i = two->i - one->i; in timelib_diff()
67 rt->s = two->s - one->s; in timelib_diff()
68 rt->f = two->f - one->f; in timelib_diff()
70 rt->h += dst_h_corr; in timelib_diff()
71 rt->i += dst_m_corr; in timelib_diff()
74 rt->days = fabs(floor((one->sse - two->sse - (dst_h_corr * 3600) - (dst_m_corr * 60)) / 86400)); in timelib_diff()
76 timelib_do_rel_normalize(rt->invert ? one : two, rt); in timelib_diff()
81 rt->d--; in timelib_diff()
82 rt->h = 24; in timelib_diff()
84 rt->h += dst_h_corr; in timelib_diff()
85 rt->i += dst_m_corr; in timelib_diff()
93 return rt; in timelib_diff()