Lines Matching refs:sec
19 void os_sleep(os_time_t sec, os_time_t usec);
22 os_time_t sec; member
27 os_time_t sec; member
50 return (a->sec < b->sec) || in os_time_before()
51 (a->sec == b->sec && a->usec < b->usec); in os_time_before()
58 res->sec = a->sec - b->sec; in os_time_sub()
61 res->sec--; in os_time_sub()
72 return (a->sec < b->sec) || in os_reltime_before()
73 (a->sec == b->sec && a->usec < b->usec); in os_reltime_before()
80 res->sec = a->sec - b->sec; in os_reltime_sub()
83 res->sec--; in os_reltime_sub()
106 return (age.sec > timeout_secs) || in os_reltime_expired()
107 (age.sec == timeout_secs && age.usec > 0); in os_reltime_expired()
113 return t->sec != 0 || t->usec != 0; in os_reltime_initialized()
132 int os_mktime(int year, int month, int day, int hour, int min, int sec,
136 int sec; /* 0..59 or 60 for leap seconds */ member