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

1234567891011>>

/freebsd-10-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/printf/
H A Dtst.printcont.d39 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-stable/contrib/bmake/unit-tests/
H A Dmodts.mk5 FU_mod-ts = a / b / cool
10 all: mod-ts
23 mod-ts:
25 @echo 'LIST:ts,="${LIST:ts,}"'
26 @echo 'LIST:ts/:tu="${LIST:ts/:tu}"'
27 @echo 'LIST:ts::tu="${LIST:ts::tu}"'
28 @echo 'LIST:ts
31 @echo 'LIST:ts="${LIST:ts}"' macro
[all...]
/freebsd-10-stable/sys/sys/
H A Dtimespec.h41 #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-stable/sys/cddl/compat/opensolaris/sys/
H A Dtime.h49 #define TIMESPEC_OVERFLOW(ts) \
50 ((ts)->tv_sec < INT32_MIN || (ts)->tv_sec > INT32_MAX)
52 #define TIMESPEC_OVERFLOW(ts) \
53 ((ts)->tv_sec < INT64_MIN || (ts)->tv_sec > INT64_MAX)
63 struct timespec ts; local
66 getnanouptime(&ts);
67 nsec = (hrtime_t)ts.tv_sec * NANOSEC + ts
84 struct timespec ts; local
[all...]
/freebsd-10-stable/contrib/gcclibs/libgomp/config/posix/
H A Dtime.c52 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-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/docsExamples/
H A Drwtime.d42 ts[probefunc] = timestamp;
47 /(ts[probefunc] != 0) && (pid == 100551)/
49 printf("%d nsecs\n", timestamp - ts[probefunc]);
/freebsd-10-stable/contrib/ntp/libntp/
H A Dbuftvtots.c18 l_fp *ts
34 *ts = tval_stamp_to_lfp(tv);
H A Dprettydate.c69 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 Duglydate.c16 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-10-stable/sys/kern/
H A Dsubr_turnstile.c162 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
1051 struct turnstile *ts; local
1104 struct turnstile *ts; local
1249 struct turnstile *ts; local
1262 print_waiters(struct turnstile *ts, int indent) argument
1289 struct turnstile *ts; local
[all...]
H A Dsubr_rtc.c122 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-stable/contrib/openbsm/compat/
H A Dclock_gettime.h39 clock_gettime(int clock_id, struct timespec *ts) argument
49 ts->tv_sec = tv.tv_sec;
50 ts->tv_nsec = tv.tv_usec * 1000;
/freebsd-10-stable/contrib/netbsd-tests/lib/libc/string/
H A Dt_bm.c74 size_t ts; local
79 for (ts = 0; ts < sizeof(testcases)/sizeof(t_testcase); ts++) {
80 ATF_CHECK(pattern = bm_comp((const u_char *)testcases[ts].pattern,
81 strlen(testcases[ts].pattern), (const u_char *)testcases[ts].freq));
83 ATF_REQUIRE(text = strdup(testcases[ts].text));
86 if (testcases[ts].match == -1)
89 ATF_CHECK_EQ(testcases[ts]
[all...]
/freebsd-10-stable/sys/net80211/
H A Dieee80211_tdma.c147 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-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/speculation/
H A Derr.D_AGG_SPEC.SpeculateWithLquant.d45 self->ts = timestamp;
49 /self->ts/
54 @Lqauntus[execname] = lquantize(timestamp - self->ts, 0, 100, 1);
H A Derr.D_AGG_SPEC.SpeculateWithQuant.d45 self->ts = timestamp;
49 /self->ts/
54 @Qauntus[execname] = quantize(timestamp - self->ts);
/freebsd-10-stable/contrib/gcclibs/libgomp/
H A Dsingle.c41 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 Dbarrier.c37 struct gomp_team *team = thr->ts.team;
H A Dteam.c59 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 Dordered.c41 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-stable/crypto/heimdal/kadmin/
H A Dtest_util.c42 } ts[] = { variable in typeref:struct:__anon5035
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-stable/lib/libc/sys/
H A Dclock_gettime.c36 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-stable/cddl/contrib/dtracetoolkit/Bin/
H A Dinttimes.d49 self->ts = vtimestamp;
53 /self->ts && arg0 != 0/
60 @num[self->name, this->inst] = sum(vtimestamp - self->ts);
66 self->ts = 0;
/freebsd-10-stable/cddl/contrib/dtracetoolkit/Cpu/
H A Dinttimes.d49 self->ts = vtimestamp;
53 /self->ts && arg0 != 0/
60 @num[self->name, this->inst] = sum(vtimestamp - self->ts);
66 self->ts = 0;
/freebsd-10-stable/contrib/libc++/src/
H A Dcondition_variable.cpp60 timespec ts; variable
62 typedef decltype(ts.tv_sec) ts_sec;
66 ts.tv_sec = static_cast<ts_sec>(s.count());
67 ts.tv_nsec = static_cast<decltype(ts.tv_nsec)>((d - s).count());
71 ts.tv_sec = ts_sec_max;
72 ts.tv_nsec = giga::num - 1;
74 int ec = pthread_cond_timedwait(&__cv_, lk.mutex()->native_handle(), &ts);

Completed in 130 milliseconds

1234567891011>>