Lines Matching refs:tv_sec
78 (ts)->l_ui = (u_long)(tv)->tv_sec; \
86 (ts)->l_ui = (tv)->tv_sec; \
88 if (((tv)->tv_sec < 0) || ((tv)->tv_usec < 0)) { \
105 (tv)->tv_sec = (ts)->l_ui; \
108 (tv)->tv_sec++; \
155 x.tv_sec += z; in normalize_tval()
167 x.tv_sec--; in normalize_tval()
172 x.tv_sec++; in normalize_tval()
188 x.tv_sec += b.tv_sec; in add_tval()
219 x.tv_sec -= b.tv_sec; in sub_tval()
248 x.tv_sec = -a.tv_sec; in neg_tval()
263 if (c.tv_sec < 0) { in abs_tval()
265 c.tv_sec = -c.tv_sec - 1; in abs_tval()
268 c.tv_sec = -c.tv_sec; in abs_tval()
287 r = (a.tv_sec > b.tv_sec) - (a.tv_sec < b.tv_sec); in cmp_tval()
319 r = (a.tv_sec > 0) - (a.tv_sec < 0); in test_tval()
344 return format_time_fraction(x.tv_sec, x.tv_usec, 6); in tvaltoa()
358 y.l_i = (int32)v.tv_sec; in tval_intv_to_lfp()
393 out.tv_sec = absx.l_i; in lfp_intv_to_tval()
395 out.tv_sec = -out.tv_sec; in lfp_intv_to_tval()
411 out.tv_sec = x.l_ui; in lfp_uintv_to_tval()
435 out.tv_sec = (time_t)sec.d_s.lo; in lfp_stamp_to_tval()
437 out.tv_sec = (time_t)sec.q_s; in lfp_stamp_to_tval()
439 out.tv_sec = ((time_t)sec.d_s.hi << 32) | sec.d_s.lo; in lfp_stamp_to_tval()