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

1234567891011>>

/freebsd-11-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-11-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-11-stable/sys/compat/linuxkpi/common/include/linux/
H A Dtime.h72 #define getrawmonotonic(ts) nanouptime(ts)
77 struct timespec ts; local
79 ts.tv_sec = lhs.tv_sec;
80 ts.tv_nsec = lhs.tv_nsec;
81 timespecsub(&ts, &rhs);
83 return ts;
87 set_normalized_timespec(struct timespec *ts, time_t sec, int64_t nsec) argument
90 ts->tv_sec = sec;
91 ts
95 timespec_to_ns(const struct timespec *ts) argument
103 struct timespec ts; local
123 timespec_valid(const struct timespec *ts) argument
[all...]
H A Dktime.h164 timespec_to_ktime(struct timespec ts) argument
166 return (ktime_set(ts.tv_sec, ts.tv_nsec));
179 #define ktime_get_ts64(ts) ktime_get_ts(ts)
184 struct timespec ts; local
186 ktime_get_ts(&ts);
188 return (ktime_to_ns(timespec_to_ktime(ts)));
194 struct timespec ts; local
196 ktime_get_ts(&ts);
203 struct timespec ts; local
212 struct timespec ts; local
221 struct timespec ts; local
230 struct timespec ts; local
239 struct timespec ts; local
[all...]
/freebsd-11-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-11-stable/sys/cddl/compat/opensolaris/sys/
H A Dtime.h52 #define TIMESPEC_OVERFLOW(ts) \
53 ((ts)->tv_sec < INT32_MIN || (ts)->tv_sec > INT32_MAX)
55 #define TIMESPEC_OVERFLOW(ts) \
56 ((ts)->tv_sec < INT64_MIN || (ts)->tv_sec > INT64_MAX)
66 struct timespec ts; local
69 getnanouptime(&ts);
70 nsec = (hrtime_t)ts.tv_sec * NANOSEC + ts
87 struct timespec ts; local
[all...]
/freebsd-11-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-11-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-11-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...]
/freebsd-11-stable/sys/kern/
H A Dsubr_turnstile.c161 static int turnstile_adjust_thread(struct turnstile *ts,
163 static struct thread *turnstile_first_waiter(struct turnstile *ts);
164 static void turnstile_setowner(struct turnstile *ts, struct thread *owner);
184 struct turnstile *ts; local
189 ts = td->td_blocked;
190 THREAD_LOCKPTR_ASSERT(td, &ts->ts_lock);
197 mtx_lock_spin(&ts->ts_lock);
199 td = ts->ts_owner;
206 mtx_unlock_spin(&ts->ts_lock);
211 mtx_unlock_spin(&ts
289 turnstile_adjust_thread(struct turnstile *ts, struct thread *td) argument
421 struct turnstile *ts; local
454 turnstile_setowner(struct turnstile *ts, struct thread *owner) argument
476 struct turnstile *ts; local
491 struct turnstile *ts; local
506 struct turnstile *ts; local
526 turnstile_free(struct turnstile *ts) argument
548 struct turnstile *ts; local
568 turnstile_cancel(struct turnstile *ts) argument
592 struct turnstile *ts; local
621 turnstile_first_waiter(struct turnstile *ts) argument
637 turnstile_claim(struct turnstile *ts) argument
674 turnstile_wait(struct turnstile *ts, struct thread *owner, int queue) argument
764 turnstile_signal(struct turnstile *ts, int queue) argument
815 turnstile_broadcast(struct turnstile *ts, int queue) argument
865 turnstile_unpend(struct turnstile *ts, int owner_type) argument
950 turnstile_disown(struct turnstile *ts) argument
997 turnstile_head(struct turnstile *ts, int queue) argument
1012 turnstile_empty(struct turnstile *ts, int queue) argument
1050 struct turnstile *ts; local
1103 struct turnstile *ts; local
1248 struct turnstile *ts; local
1261 print_waiters(struct turnstile *ts, int indent) argument
1288 struct turnstile *ts; local
[all...]
/freebsd-11-stable/contrib/blacklist/port/
H A Dclock_gettime.c9 clock_gettime(int clock __unused, struct timespec *ts) argument
14 ts->tv_sec = tv.tv_sec;
15 ts->tv_nsec = tv.tv_usec * 1000;
/freebsd-11-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-11-stable/sys/compat/linuxkpi/common/src/
H A Dlinux_tasklet.c46 #define TASKLET_ST_CMPSET(ts, old, new) \
47 atomic_cmpset_ptr((volatile uintptr_t *)&(ts)->entry.tqe_prev, old, new)
49 #define TASKLET_ST_SET(ts, new) \
50 WRITE_ONCE(*(volatile uintptr_t *)&(ts)->entry.tqe_prev, new)
52 #define TASKLET_ST_GET(ts) \
53 READ_ONCE(*(volatile uintptr_t *)&(ts)->entry.tqe_prev)
70 struct tasklet_struct *ts; local
76 ts = TAILQ_FIRST(&tw->head);
77 if (ts == NULL)
79 TAILQ_REMOVE(&tw->head, ts, entr
136 tasklet_init(struct tasklet_struct *ts, tasklet_func_t *func, unsigned long data) argument
158 tasklet_schedule(struct tasklet_struct *ts) argument
191 tasklet_kill(struct tasklet_struct *ts) argument
202 tasklet_enable(struct tasklet_struct *ts) argument
208 tasklet_disable(struct tasklet_struct *ts) argument
[all...]
H A Dlinux_current.c48 struct task_struct *ts; local
55 ts = malloc(sizeof(*ts), M_LINUX_CURRENT, flags | M_ZERO);
56 if (ts == NULL)
61 free(ts, M_LINUX_CURRENT);
66 atomic_set(&ts->kthread_flags, 0);
67 ts->task_thread = td;
68 ts->comm = td->td_name;
69 ts->pid = td->td_tid;
70 atomic_set(&ts
138 linux_free_current(struct task_struct *ts) argument
147 struct task_struct *ts; local
166 struct task_struct *ts = td->td_lkpi_task; local
175 struct task_struct *ts = td->td_lkpi_task; local
195 struct task_struct *ts = td->td_lkpi_task; local
206 struct task_struct *ts = td->td_lkpi_task; local
256 struct task_struct *ts; local
[all...]
/freebsd-11-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-11-stable/contrib/netbsd-tests/lib/librt/
H A Dt_sem.c184 timespec_add_ms(struct timespec *ts, int ms) argument
186 ts->tv_nsec += ms * 1000*1000;
187 if (ts->tv_nsec > 1000*1000*1000) {
188 ts->tv_sec++;
189 ts->tv_nsec -= 1000*1000*1000;
213 struct timespec ts; local
219 ATF_REQUIRE_MSG(clock_gettime(CLOCK_REALTIME, &ts) == 0,
221 timespec_add_ms(&ts, 100);
222 SEM_REQUIRE(sem_timedwait(&sem, &ts));
223 ATF_REQUIRE_ERRNO(ETIMEDOUT, sem_timedwait(&sem, &ts));
[all...]
/freebsd-11-stable/sys/net80211/
H A Dieee80211_tdma.c150 struct ieee80211_tdma_state *ts; local
155 ts = (struct ieee80211_tdma_state *) IEEE80211_MALLOC(
158 if (ts == NULL) {
165 ts->tdma_version = TDMA_VERSION;
166 ts->tdma_slotlen = TDMA_SLOTLEN_DEFAULT;
167 ts->tdma_slotcnt = TDMA_SLOTCNT_DEFAULT;
168 ts->tdma_bintval = TDMA_BINTVAL_DEFAULT;
169 ts->tdma_slot = 1; /* passive operation */
185 ts->tdma_opdetach = vap->iv_opdetach;
187 ts
199 struct ieee80211_tdma_state *ts = vap->iv_tdma; local
227 struct ieee80211_tdma_state *ts = vap->iv_tdma; local
293 struct ieee80211_tdma_state *ts = vap->iv_tdma; local
331 struct ieee80211_tdma_state *ts = vap->iv_tdma; local
412 struct ieee80211_tdma_state *ts = vap->iv_tdma; local
524 struct ieee80211_tdma_state *ts = vap->iv_tdma; local
630 struct ieee80211_tdma_state *ts = vap->iv_tdma; local
648 struct ieee80211_tdma_state *ts = vap->iv_tdma; local
687 const struct ieee80211_tdma_state *ts = vap->iv_tdma; local
715 struct ieee80211_tdma_state *ts = vap->iv_tdma; local
748 struct ieee80211_tdma_state *ts = vap->iv_tdma; local
776 struct ieee80211_tdma_state *ts = vap->iv_tdma; local
[all...]
/freebsd-11-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...]
/freebsd-11-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-11-stable/crypto/heimdal/kadmin/
H A Dtest_util.c42 } ts[] = { variable in typeref:struct:__anon5933
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-11-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);

Completed in 200 milliseconds

1234567891011>>