Searched refs:ts (Results 1 - 5 of 5) sorted by relevance

/bind-9.6-ESV-R11/lib/isc/pthreads/
H A Dcondition.c37 struct timespec ts; local
45 result = isc_time_secondsastimet(t, &ts.tv_sec);
48 * If we have a range error ts.tv_sec is most probably a signed
49 * 32 bit value. Set ts.tv_sec to INT_MAX. This is a kludge.
52 ts.tv_sec = INT_MAX;
60 ts.tv_nsec = (long)isc_time_nanoseconds(t);
64 presult = pthread_cond_timedwait(c, &m->mutex, &ts);
66 presult = pthread_cond_timedwait(c, m, &ts);
/bind-9.6-ESV-R11/lib/dns/tests/
H A Ddnstest.c286 struct timespec ts; local
288 ts.tv_sec = usec / 1000000;
289 ts.tv_nsec = (usec % 1000000) * 1000;
290 nanosleep(&ts, NULL);
/bind-9.6-ESV-R11/unit/atf-src/atf-run/
H A Dtimer.cpp209 static const timespec ts = { 1, 0 }; local
212 ::nanosleep(&ts, NULL);
/bind-9.6-ESV-R11/lib/isc/unix/
H A Dentropy.c181 struct timespec ts; local
183 ts.tv_sec = 0;
184 ts.tv_nsec = 1000000;
185 nanosleep(&ts, NULL);
H A Dsocket.c5458 struct timespec ts, *tsp; local
5474 ts.tv_sec = tvp->tv_sec;
5475 ts.tv_nsec = tvp->tv_usec * 1000;
5476 tsp = &ts;

Completed in 23 milliseconds