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()
69 rt->h += dst_h_corr; in timelib_diff()
70 rt->i += dst_m_corr; in timelib_diff()
73 rt->days = fabs(floor((one->sse - two->sse - (dst_h_corr * 3600) - (dst_m_corr * 60)) / 86400)); in timelib_diff()
75 timelib_do_rel_normalize(rt->invert ? one : two, rt); in timelib_diff()
80 rt->d--; in timelib_diff()
81 rt->h = 24; in timelib_diff()
83 rt->h += dst_h_corr; in timelib_diff()
84 rt->i += dst_m_corr; in timelib_diff()
92 return rt; in timelib_diff()