Lines Matching refs:timespec
131 const struct timespec timeout);
132 static int retrying_poll(const int sock, short events, const struct timespec* finish);
143 static struct timespec evConsTime(time_t sec, long nsec) { in evConsTime()
144 struct timespec x; in evConsTime()
151 static struct timespec evAddTime(struct timespec addend1, struct timespec addend2) { in evAddTime()
152 struct timespec x; in evAddTime()
163 static struct timespec evSubTime(struct timespec minuend, struct timespec subtrahend) { in evSubTime()
164 struct timespec x; in evSubTime()
176 static int evCmpTime(struct timespec a, struct timespec b) { in evCmpTime()
187 static struct timespec evNowTime(void) { in evNowTime()
188 struct timespec tsnow; in evNowTime()
686 static struct timespec get_timeout(const res_state statp, const res_params* params, const int ns) { in get_timeout()
701 struct timespec result; in get_timeout()
728 struct timespec now = evNowTime(); in send_vc()
902 struct timespec done = evNowTime(); in send_vc()
911 const struct timespec timeout) { in connect_with_timeout()
923 struct timespec now = evNowTime(); in connect_with_timeout()
924 struct timespec finish = evAddTime(now, timeout); in connect_with_timeout()
937 static int retrying_poll(const int sock, const short events, const struct timespec* finish) { in retrying_poll()
938 struct timespec now, timeout; in retrying_poll()
982 struct timespec now, timeout, finish, done; in send_dg()