| /src/lib/libc/gen/ |
| usleep.c | 49 struct timespec ts; local 54 ts.tv_sec = (useconds / 1000000); 55 ts.tv_nsec = (useconds % 1000000) * 1000; 57 nanosleep(&ts, NULL);
|
| /src/lib/libc/sys/ |
| sigtimedwait.c | 51 struct timespec ts; local 54 ts = *timeout; 55 return __sigtimedwait(set, info, &ts);
|
| epoll.c | 59 struct timespec ts, *tsp; local 62 ts.tv_sec = timeout / 1000; 63 ts.tv_nsec = (timeout % 1000) * 1000000; 64 tsp = &ts;
|
| /src/lib/libc/compat/sys/ |
| compat__lwp_park.c | 59 struct timespec ts, *tsp; local 62 timespec50_to_timespec(ts50, tsp = &ts);
|
| compat_aio_suspend.c | 63 struct timespec ts, *tsp; local 66 timespec50_to_timespec(ts50, tsp = &ts);
|
| compat_lfs_segwait.c | 57 struct timeval ts, *tsp; local 60 timeval50_to_timeval(ts50, tsp = &ts);
|
| compat_mqueue.c | 66 struct timespec ts, *tsp; local 69 timespec50_to_timespec(ts50, tsp = &ts); 79 struct timespec ts, *tsp; local 82 timespec50_to_timespec(ts50, tsp = &ts);
|
| compat_sigtimedwait.c | 61 struct timespec ts; local 64 timespec50_to_timespec(timeout, &ts); 65 return ____sigtimedwait50(set, info, &ts);
|
| compat_adjtime.c | 62 struct timeval ts, *tsp; local 68 timeval50_to_timeval(ts50, tsp = &ts);
|
| compat_nanosleep.c | 62 struct timespec ts, *tsp; local 68 timespec50_to_timespec(ts50, tsp = &ts);
|
| /src/lib/libcurses/ |
| pause.c | 51 struct timespec ts; local 54 ts.tv_sec = ms / 1000; 55 ts.tv_nsec = (ms % 1000) * 1000000; 56 (void)nanosleep(&ts, NULL);
|
| /src/sys/external/bsd/drm2/include/linux/sched/ |
| clock.h | 44 struct timespec ts; local 46 nanouptime(&ts); 48 return ts.tv_sec*1000000000ull + ts.tv_nsec;
|
| /src/external/gpl3/gcc/dist/libgomp/config/posix/ |
| time.c | 50 struct timespec ts; local 52 if (clock_gettime (CLOCK_MONOTONIC, &ts) < 0) 54 clock_gettime (CLOCK_REALTIME, &ts); 55 return ts.tv_sec + ts.tv_nsec / 1e9; 67 struct timespec ts; local 69 if (clock_getres (CLOCK_MONOTONIC, &ts) < 0) 71 clock_getres (CLOCK_REALTIME, &ts); 72 return ts.tv_sec + ts.tv_nsec / 1e9 [all...] |
| /src/external/gpl3/gcc.old/dist/libgomp/config/posix/ |
| time.c | 50 struct timespec ts; local 52 if (clock_gettime (CLOCK_MONOTONIC, &ts) < 0) 54 clock_gettime (CLOCK_REALTIME, &ts); 55 return ts.tv_sec + ts.tv_nsec / 1e9; 67 struct timespec ts; local 69 if (clock_getres (CLOCK_MONOTONIC, &ts) < 0) 71 clock_getres (CLOCK_REALTIME, &ts); 72 return ts.tv_sec + ts.tv_nsec / 1e9 [all...] |
| /src/external/mpl/bind/dist/lib/isc/ |
| condition.c | 30 struct timespec ts; local 37 result = isc_time_secondsastimet(t, &ts.tv_sec); 40 * If we have a range error ts.tv_sec is most probably a signed 41 * 32 bit value. Set ts.tv_sec to INT_MAX. This is a kludge. 44 ts.tv_sec = INT_MAX; 53 ts.tv_nsec = (long)isc_time_nanoseconds(t); 56 presult = pthread_cond_timedwait(c, m, &ts);
|
| stdtime.c | 40 struct timespec ts; local 42 if (clock_gettime(CLOCKSOURCE, &ts) == -1) { 45 INSIST(ts.tv_sec > 0 && ts.tv_nsec >= 0 && 46 ts.tv_nsec < (long)NS_PER_SEC); 48 return (isc_stdtime_t)ts.tv_sec;
|
| /src/external/bsd/ntp/dist/libntp/lib/isc/pthreads/ |
| condition.c | 39 struct timespec ts; local 47 result = isc_time_secondsastimet(t, &ts.tv_sec); 55 ts.tv_nsec = (long)isc_time_nanoseconds(t); 59 presult = pthread_cond_timedwait(c, &m->mutex, &ts); 61 presult = pthread_cond_timedwait(c, m, &ts);
|
| /src/external/mpl/dhcp/bind/dist/lib/isc/pthreads/ |
| condition.c | 30 struct timespec ts; local 38 result = isc_time_secondsastimet(t, &ts.tv_sec); 41 * If we have a range error ts.tv_sec is most probably a signed 42 * 32 bit value. Set ts.tv_sec to INT_MAX. This is a kludge. 45 ts.tv_sec = INT_MAX; 54 ts.tv_nsec = (long)isc_time_nanoseconds(t); 58 presult = pthread_cond_timedwait(c, &m->mutex, &ts); 60 presult = pthread_cond_timedwait(c, m, &ts);
|
| /src/sys/compat/common/ |
| kern_time_60.c | 59 syscallarg(const struct timespec *) ts; 66 struct timespec ts, *tsp; local 68 if (SCARG(uap, ts) == NULL) 71 error = copyin(SCARG(uap, ts), &ts, sizeof(ts)); 74 tsp = &ts;
|
| /src/sys/compat/netbsd32/ |
| netbsd32_compat_60.c | 53 syscallarg(const netbsd32_timespecp) ts; 58 struct timespec ts, *tsp; local 62 if (SCARG_P32(uap, ts) == NULL) 65 error = copyin(SCARG_P32(uap, ts), &ts32, sizeof ts32); 68 netbsd32_to_timespec(&ts32, &ts); 69 tsp = &ts;
|
| /src/crypto/external/bsd/heimdal/dist/lib/wind/ |
| combining.c | 54 struct translation ts = {code_point, 0}; local 55 void *s = bsearch(&ts, _wind_combining_table, _wind_combining_table_size,
|
| /src/external/bsd/ntp/dist/include/ |
| refclock_atom.h | 14 struct timespec ts; member in struct:refclock_atom
|
| /src/external/cddl/osnet/dev/dtrace/ |
| dtrace_vtime.c | 89 hrtime_t ts; local 92 ts = dtrace_gethrtime(); 95 curthread->t_dtrace_vtime += ts - curthread->t_dtrace_start; 100 next->t_dtrace_start = ts;
|
| /src/external/gpl2/lvm2/dist/lib/misc/ |
| timestamp.c | 43 struct timestamp *ts = NULL; local 45 if (!(ts = dm_malloc(sizeof(*ts)))) 48 if (clock_gettime(CLOCK_MONOTONIC, &ts->t)) { 53 return ts; 92 struct timestamp *ts = NULL; local 94 if (!(ts = dm_malloc(sizeof(*ts)))) 97 if (gettimeofday(&ts->t, NULL)) { 102 return ts; [all...] |
| /src/external/gpl2/xcvs/dist/src/ |
| no_diff.c | 32 char *ts, *options; local 63 ts = time_stamp (finfo->file); 65 vers->vn_user ? vers->vn_user : vers->vn_rcs, ts, 75 free (ts);
|