/freebsd-9.3-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-9.3-release/sys/i386/include/xen/ |
H A D | xen_clock_util.h | 33 extern void xen_fetch_wallclock(struct timespec *ts); 34 extern void xen_fetch_uptime(struct timespec *ts);
|
/freebsd-9.3-release/tools/regression/geom_gate/ |
H A D | runtests.sh | 6 for ts in `dirname $0`/test-*.sh; do 7 sh $ts
|
/freebsd-9.3-release/tools/regression/geom_uzip/ |
H A D | runtests.sh | 8 for ts in `dirname $0`/test-*.sh; do 9 sh $ts
|
/freebsd-9.3-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-9.3-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-9.3-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-9.3-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-9.3-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 291 turnstile_adjust_thread(struct turnstile *ts, struct thread *td) argument 423 struct turnstile *ts; local 456 turnstile_setowner(struct turnstile *ts, struct thread *owner) argument 478 struct turnstile *ts; local 493 struct turnstile *ts; local 508 struct turnstile *ts; local 528 turnstile_free(struct turnstile *ts) argument 550 struct turnstile *ts; local 570 turnstile_cancel(struct turnstile *ts) argument 594 struct turnstile *ts; local 623 turnstile_first_waiter(struct turnstile *ts) argument 639 turnstile_claim(struct turnstile *ts) argument 676 turnstile_wait(struct turnstile *ts, struct thread *owner, int queue) argument 766 turnstile_signal(struct turnstile *ts, int queue) argument 817 turnstile_broadcast(struct turnstile *ts, int queue) argument 867 turnstile_unpend(struct turnstile *ts, int owner_type) argument 952 turnstile_disown(struct turnstile *ts) argument 999 turnstile_head(struct turnstile *ts, int queue) argument 1014 turnstile_empty(struct turnstile *ts, int queue) argument 1053 struct turnstile *ts; local 1106 struct turnstile *ts; local 1253 struct turnstile *ts; local 1266 print_waiters(struct turnstile *ts, int indent) argument 1293 struct turnstile *ts; local [all...] |
H A D | subr_rtc.c | 112 struct timespec ts; local 121 error = CLOCK_GETTIME(clock_dev, &ts); 127 if (error == EINVAL || ts.tv_sec < 0) { 133 ts.tv_sec += utc_offset(); 134 timespecadd(&ts, &clock_adj); 135 tc_setclock(&ts); 140 ts.tv_sec = base; 141 ts.tv_nsec = 0; 142 tc_setclock(&ts); 152 struct timespec ts; local [all...] |
/freebsd-9.3-release/contrib/ntp/libntp/ |
H A D | buftvtots.c | 18 l_fp *ts 34 *ts = tval_stamp_to_lfp(tv);
|
H A D | prettydate.c | 69 time_t ts; local 74 ts = tl = stamp->q_s; 80 while (ts != tl) { /* truncation? */ 90 ts = tl; /* next try... */ 114 ts = (int32)lo; 119 * 'ts' should be a suitable value by now. Just go ahead, but 131 while ((tm = (*(local ? localtime : gmtime))(&ts)) == NULL) 132 if (ts < 0) { 135 ts += SOLAR_CYCLE_SECS; 136 } else if (ts > 155 common_prettydate( l_fp *ts, int local ) argument [all...] |
H A D | uglydate.c | 16 l_fp *ts 26 timep = ulfptoa(ts, 6); /* returns max 17 characters */ 28 sec = ts->l_ui - JAN_1970; 29 msec = ts->l_uf / 4294967; /* fract / (2**32/1000) */ 31 if (ts->l_ui == 0) {
|
/freebsd-9.3-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-9.3-release/sys/net80211/ |
H A D | ieee80211_tdma.c | 145 struct ieee80211_tdma_state *ts; local 150 ts = (struct ieee80211_tdma_state *) malloc( 152 if (ts == NULL) { 159 ts->tdma_version = TDMA_VERSION; 160 ts->tdma_slotlen = TDMA_SLOTLEN_DEFAULT; 161 ts->tdma_slotcnt = TDMA_SLOTCNT_DEFAULT; 162 ts->tdma_bintval = TDMA_BINTVAL_DEFAULT; 163 ts->tdma_slot = 1; /* passive operation */ 179 ts->tdma_opdetach = vap->iv_opdetach; 181 ts 193 struct ieee80211_tdma_state *ts = vap->iv_tdma; local 221 struct ieee80211_tdma_state *ts = vap->iv_tdma; local 287 struct ieee80211_tdma_state *ts = vap->iv_tdma; local 323 struct ieee80211_tdma_state *ts = vap->iv_tdma; local 404 struct ieee80211_tdma_state *ts = vap->iv_tdma; local 516 struct ieee80211_tdma_state *ts = vap->iv_tdma; local 622 struct ieee80211_tdma_state *ts = vap->iv_tdma; local 640 struct ieee80211_tdma_state *ts = vap->iv_tdma; local 679 const struct ieee80211_tdma_state *ts = vap->iv_tdma; local 707 struct ieee80211_tdma_state *ts = vap->iv_tdma; local 740 struct ieee80211_tdma_state *ts = vap->iv_tdma; local 768 struct ieee80211_tdma_state *ts = vap->iv_tdma; local [all...] |
/freebsd-9.3-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-9.3-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...] |
/freebsd-9.3-release/crypto/heimdal/kadmin/ |
H A D | test_util.c | 44 } ts[] = { variable in typeref:struct:__anon4564 55 for (i = 0; i < sizeof(ts)/sizeof(ts[0]); i++) { 59 ret = str2time_t (ts[i].str, &t); 60 if (ret != ts[i].ret) { 64 else if (t != ts[i].t) {
|
/freebsd-9.3-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-9.3-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-9.3-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-9.3-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);
|