/freebsd-10.0-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/printf/ |
H A D | tst.printcont.d | 39 uint64_t ts; 43 ts = 53114233149441; 44 printf("%u\n", ts); 45 printf("%u\n", ts); 46 printf("%u\n", ts); 47 printf("%u\n", ts); 48 printf("%u\n", ts); 49 printf("%u\n", ts); 50 printf("%u\n", ts); 51 printf("%u\n", ts); [all...] |
/freebsd-10.0-release/tools/regression/geom_gate/ |
H A D | runtests.sh | 6 for ts in `dirname $0`/test-*.sh; do 7 sh $ts
|
/freebsd-10.0-release/tools/regression/geom_uzip/ |
H A D | runtests.sh | 8 for ts in `dirname $0`/test-*.sh; do 9 sh $ts
|
/freebsd-10.0-release/sys/sys/ |
H A D | timespec.h | 41 #define TIMEVAL_TO_TIMESPEC(tv, ts) \ 43 (ts)->tv_sec = (tv)->tv_sec; \ 44 (ts)->tv_nsec = (tv)->tv_usec * 1000; \ 46 #define TIMESPEC_TO_TIMEVAL(tv, ts) \ 48 (tv)->tv_sec = (ts)->tv_sec; \ 49 (tv)->tv_usec = (ts)->tv_nsec / 1000; \
|
/freebsd-10.0-release/sys/cddl/compat/opensolaris/sys/ |
H A D | time.h | 46 #define TIMESPEC_OVERFLOW(ts) \ 47 ((ts)->tv_sec < INT32_MIN || (ts)->tv_sec > INT32_MAX) 49 #define TIMESPEC_OVERFLOW(ts) \ 50 ((ts)->tv_sec < INT64_MIN || (ts)->tv_sec > INT64_MAX) 60 struct timespec ts; local 63 getnanouptime(&ts); 64 nsec = (hrtime_t)ts.tv_sec * NANOSEC + ts 91 struct timespec ts; local [all...] |
/freebsd-10.0-release/contrib/gcclibs/libgomp/config/posix/ |
H A D | time.c | 52 struct timespec ts; local 54 if (clock_gettime (CLOCK_MONOTONIC, &ts) < 0) 56 clock_gettime (CLOCK_REALTIME, &ts); 57 return ts.tv_sec + ts.tv_nsec / 1e9; 69 struct timespec ts; local 71 if (clock_getres (CLOCK_MONOTONIC, &ts) < 0) 73 clock_getres (CLOCK_REALTIME, &ts); 74 return ts.tv_sec + ts [all...] |
/freebsd-10.0-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/docsExamples/ |
H A D | rwtime.d | 42 ts[probefunc] = timestamp; 47 /(ts[probefunc] != 0) && (pid == 100551)/ 49 printf("%d nsecs\n", timestamp - ts[probefunc]);
|
/freebsd-10.0-release/sys/kern/ |
H A D | subr_turnstile.c | 162 static int turnstile_adjust_thread(struct turnstile *ts, 164 static struct thread *turnstile_first_waiter(struct turnstile *ts); 165 static void turnstile_setowner(struct turnstile *ts, struct thread *owner); 185 struct turnstile *ts; local 190 ts = td->td_blocked; 191 THREAD_LOCKPTR_ASSERT(td, &ts->ts_lock); 198 mtx_lock_spin(&ts->ts_lock); 200 td = ts->ts_owner; 207 mtx_unlock_spin(&ts->ts_lock); 212 mtx_unlock_spin(&ts 290 turnstile_adjust_thread(struct turnstile *ts, struct thread *td) argument 422 struct turnstile *ts; local 455 turnstile_setowner(struct turnstile *ts, struct thread *owner) argument 477 struct turnstile *ts; local 492 struct turnstile *ts; local 507 struct turnstile *ts; local 527 turnstile_free(struct turnstile *ts) argument 549 struct turnstile *ts; local 569 turnstile_cancel(struct turnstile *ts) argument 593 struct turnstile *ts; local 622 turnstile_first_waiter(struct turnstile *ts) argument 638 turnstile_claim(struct turnstile *ts) argument 675 turnstile_wait(struct turnstile *ts, struct thread *owner, int queue) argument 765 turnstile_signal(struct turnstile *ts, int queue) argument 816 turnstile_broadcast(struct turnstile *ts, int queue) argument 866 turnstile_unpend(struct turnstile *ts, int owner_type) argument 951 turnstile_disown(struct turnstile *ts) argument 998 turnstile_head(struct turnstile *ts, int queue) argument 1013 turnstile_empty(struct turnstile *ts, int queue) argument 1052 struct turnstile *ts; local 1105 struct turnstile *ts; local 1252 struct turnstile *ts; local 1265 print_waiters(struct turnstile *ts, int indent) argument 1292 struct turnstile *ts; local [all...] |
H A D | subr_rtc.c | 122 struct timespec ts; local 131 error = CLOCK_GETTIME(clock_dev, &ts); 137 if (error == EINVAL || ts.tv_sec < 0) { 143 ts.tv_sec += utc_offset(); 144 timespecadd(&ts, &clock_adj); 145 tc_setclock(&ts); 147 ffclock_reset_clock(&ts); 153 ts.tv_sec = base; 154 ts.tv_nsec = 0; 155 tc_setclock(&ts); 165 struct timespec ts; local [all...] |
/freebsd-10.0-release/contrib/ntp/libntp/ |
H A D | buftvtots.c | 17 l_fp *ts 30 ts->l_ui = tv.tv_sec + (u_long)JAN_1970; 33 TVUTOTSF(tv.tv_usec, ts->l_uf);
|
H A D | prettydate.c | 76 l_fp *ts 86 sec = ts->l_ui; 87 msec = ts->l_uf / 4294967; /* fract / (2 ** 32 / 1000) */ 92 (u_long)ts->l_ui, (u_long)ts->l_uf); 96 (u_long)ts->l_ui, (u_long)ts->l_uf, days[tm->tm_wday], 106 l_fp *ts 116 sec = ts->l_ui; 117 msec = ts [all...] |
H A D | uglydate.c | 15 l_fp *ts 25 timep = ulfptoa(ts, 6); /* returns max 17 characters */ 27 sec = ts->l_ui - JAN_1970; 28 msec = ts->l_uf / 4294967; /* fract / (2**32/1000) */ 30 if (ts->l_ui == 0) {
|
/freebsd-10.0-release/contrib/openbsm/compat/ |
H A D | clock_gettime.h | 41 clock_gettime(int clock_id, struct timespec *ts) argument 51 ts->tv_sec = tv.tv_sec; 52 ts->tv_nsec = tv.tv_usec * 1000;
|
/freebsd-10.0-release/sys/net80211/ |
H A D | ieee80211_tdma.c | 147 struct ieee80211_tdma_state *ts; local 152 ts = (struct ieee80211_tdma_state *) malloc( 154 if (ts == NULL) { 161 ts->tdma_version = TDMA_VERSION; 162 ts->tdma_slotlen = TDMA_SLOTLEN_DEFAULT; 163 ts->tdma_slotcnt = TDMA_SLOTCNT_DEFAULT; 164 ts->tdma_bintval = TDMA_BINTVAL_DEFAULT; 165 ts->tdma_slot = 1; /* passive operation */ 181 ts->tdma_opdetach = vap->iv_opdetach; 183 ts 195 struct ieee80211_tdma_state *ts = vap->iv_tdma; local 223 struct ieee80211_tdma_state *ts = vap->iv_tdma; local 289 struct ieee80211_tdma_state *ts = vap->iv_tdma; local 327 struct ieee80211_tdma_state *ts = vap->iv_tdma; local 408 struct ieee80211_tdma_state *ts = vap->iv_tdma; local 520 struct ieee80211_tdma_state *ts = vap->iv_tdma; local 626 struct ieee80211_tdma_state *ts = vap->iv_tdma; local 644 struct ieee80211_tdma_state *ts = vap->iv_tdma; local 683 const struct ieee80211_tdma_state *ts = vap->iv_tdma; local 711 struct ieee80211_tdma_state *ts = vap->iv_tdma; local 744 struct ieee80211_tdma_state *ts = vap->iv_tdma; local 772 struct ieee80211_tdma_state *ts = vap->iv_tdma; local [all...] |
/freebsd-10.0-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/speculation/ |
H A D | err.D_AGG_SPEC.SpeculateWithLquant.d | 45 self->ts = timestamp; 49 /self->ts/ 54 @Lqauntus[execname] = lquantize(timestamp - self->ts, 0, 100, 1);
|
H A D | err.D_AGG_SPEC.SpeculateWithQuant.d | 45 self->ts = timestamp; 49 /self->ts/ 54 @Qauntus[execname] = quantize(timestamp - self->ts);
|
/freebsd-10.0-release/contrib/gcclibs/libgomp/ |
H A D | single.c | 41 gomp_mutex_unlock (&gomp_thread ()->ts.work_share->lock); 60 gomp_mutex_unlock (&thr->ts.work_share->lock); 66 gomp_barrier_wait (&thr->ts.team->barrier); 68 ret = thr->ts.work_share->copyprivate; 82 struct gomp_team *team = thr->ts.team; 86 thr->ts.work_share->copyprivate = data;
|
H A D | barrier.c | 37 struct gomp_team *team = thr->ts.team;
|
H A D | team.c | 59 struct gomp_team_state ts; member in struct:gomp_thread_start_data 89 thr->ts = data->ts; 91 thr->ts.team->ordered_release[thr->ts.team_id] = &thr->release; 95 gomp_barrier_wait (&thr->ts.team->barrier); 97 gomp_barrier_wait (&thr->ts.team->barrier); 101 gomp_threads[thr->ts.team_id] = thr; 112 team = thr->ts.team; 115 thr->ts [all...] |
H A D | ordered.c | 41 struct gomp_team *team = thr->ts.team; 42 struct gomp_work_share *ws = thr->ts.work_share; 52 ws->ordered_team_ids[index] = thr->ts.team_id; 58 gomp_sem_post (team->ordered_release[thr->ts.team_id]); 72 struct gomp_team *team = thr->ts.team; 73 struct gomp_work_share *ws = thr->ts.work_share; 107 struct gomp_team *team = thr->ts.team; 108 struct gomp_work_share *ws = thr->ts.work_share; 123 gomp_sem_post (team->ordered_release[thr->ts.team_id]); 135 ws->ordered_team_ids[index] = thr->ts [all...] |
/freebsd-10.0-release/crypto/heimdal/kadmin/ |
H A D | test_util.c | 42 } ts[] = { variable in typeref:struct:__anon4757 53 for (i = 0; i < sizeof(ts)/sizeof(ts[0]); i++) { 57 ret = str2time_t (ts[i].str, &t); 58 if (ret != ts[i].ret) { 62 else if (t != ts[i].t) {
|
/freebsd-10.0-release/lib/libc/sys/ |
H A D | clock_gettime.c | 36 int __clock_gettime(clockid_t, struct timespec *ts); 41 __clock_gettime(clockid_t clock_id, struct timespec *ts) argument 46 error = __vdso_clock_gettime(clock_id, ts); 50 error = __sys_clock_gettime(clock_id, ts);
|
/freebsd-10.0-release/cddl/contrib/dtracetoolkit/Bin/ |
H A D | inttimes.d | 49 self->ts = vtimestamp; 53 /self->ts && arg0 != 0/ 60 @num[self->name, this->inst] = sum(vtimestamp - self->ts); 66 self->ts = 0;
|
/freebsd-10.0-release/cddl/contrib/dtracetoolkit/Cpu/ |
H A D | inttimes.d | 49 self->ts = vtimestamp; 53 /self->ts && arg0 != 0/ 60 @num[self->name, this->inst] = sum(vtimestamp - self->ts); 66 self->ts = 0;
|
/freebsd-10.0-release/contrib/libc++/src/ |
H A D | condition_variable.cpp | 56 timespec ts; local 58 typedef decltype(ts.tv_sec) ts_sec; 62 ts.tv_sec = static_cast<ts_sec>(s.count()); 63 ts.tv_nsec = static_cast<decltype(ts.tv_nsec)>((d - s).count()); 67 ts.tv_sec = ts_sec_max; 68 ts.tv_nsec = giga::num - 1; 70 int ec = pthread_cond_timedwait(&__cv_, lk.mutex()->native_handle(), &ts);
|