Searched defs:ts (Results 1 - 10 of 10) sorted by relevance
/bind-9.11.3/lib/isc/pthreads/ |
H A D | condition.c | 28 struct timespec ts; local 36 result = isc_time_secondsastimet(t, &ts.tv_sec); 39 * If we have a range error ts.tv_sec is most probably a signed 40 * 32 bit value. Set ts.tv_sec to INT_MAX. This is a kludge. 43 ts.tv_sec = INT_MAX; 51 ts.tv_nsec = (long)isc_time_nanoseconds(t); 55 presult = pthread_cond_timedwait(c, &m->mutex, &ts); 57 presult = pthread_cond_timedwait(c, m, &ts);
|
/bind-9.11.3/lib/isc/tests/ |
H A D | isctest.c | 164 struct timespec ts; local 166 ts.tv_sec = usec / 1000000; 167 ts.tv_nsec = (usec % 1000000) * 1000; 168 nanosleep(&ts, NULL);
|
/bind-9.11.3/unit/atf-src/tools/ |
H A D | timers.cpp | 205 static const timespec ts = { 1, 0 }; local 208 ::nanosleep(&ts, NULL);
|
/bind-9.11.3/bin/tests/virtual-time/ |
H A D | vtwrapper.c | 255 struct timespec ts; local 267 ts.tv_sec = out.tv_sec; 268 ts.tv_nsec = out.tv_usec * 1000; 270 nevents, &ts);
|
/bind-9.11.3/lib/isc/unix/ |
H A D | entropy.c | 174 struct timespec ts; local 176 ts.tv_sec = 0; 177 ts.tv_nsec = 1000000; 178 nanosleep(&ts, NULL);
|
H A D | socket.c | 6454 struct timespec ts, *tsp; local 6476 ts.tv_sec = tvp->tv_sec; 6477 ts.tv_nsec = tvp->tv_usec * 1000; 6478 tsp = &ts;
|
/bind-9.11.3/lib/dns/tests/ |
H A D | dnstest.c | 306 struct timespec ts; local 308 ts.tv_sec = usec / 1000000; 309 ts.tv_nsec = (usec % 1000000) * 1000; 310 nanosleep(&ts, NULL);
|
/bind-9.11.3/lib/dns/ |
H A D | rrl.c | 107 delta_rrl_time(isc_stdtime_t ts, isc_stdtime_t now) { argument 110 delta = now - ts; 130 return (delta_rrl_time(e->ts + rrl->ts_bases[e->ts_gen], now)); 137 int i, ts; local 140 ts = now - rrl->ts_bases[ts_gen]; 141 if (ts < 0) { 142 if (ts < -DNS_RRL_MAX_TIME_TRAVEL) 143 ts = DNS_RRL_FOREVER; 145 ts = 0; 160 if (ts > [all...] |
/bind-9.11.3/lib/dns/include/dns/ |
H A D | rrl.h | 123 unsigned int ts :DNS_RRL_TS_BITS; member in struct:dns_rrl_entry
|
/bind-9.11.3/contrib/perftcpdns/ |
H A D | perftcpdns.c | 1292 struct timespec now, ts; local 1335 ts = due; 1336 ts.tv_sec -= now.tv_sec; 1337 ts.tv_nsec -= now.tv_nsec; 1338 while (ts.tv_nsec < 0) { 1339 ts.tv_sec -= 1; 1340 ts.tv_nsec += 1000000000; 1343 if (ts.tv_sec < 0) { 1344 ts.tv_sec = ts 2263 struct timespec now, ts; local [all...] |
Completed in 34 milliseconds