Home
last modified time | relevance | path

Searched refs:__ts (Results 1 – 6 of 6) sorted by relevance

/freebsd-14.2/contrib/llvm-project/libcxx/include/__chrono/
H A Dconvert_to_timespec.h32 _TimeSpec __ts; in __convert_to_timespec() local
33 typedef decltype(__ts.tv_sec) __ts_sec; in __convert_to_timespec()
37 __ts.tv_sec = static_cast<__ts_sec>(__s.count()); in __convert_to_timespec()
38 __ts.tv_nsec = static_cast<decltype(__ts.tv_nsec)>((__ns - __s).count()); in __convert_to_timespec()
40 __ts.tv_sec = __ts_sec_max; in __convert_to_timespec()
41 __ts.tv_nsec = 999999999; // (10^9 - 1) in __convert_to_timespec()
44 return __ts; in __convert_to_timespec()
/freebsd-14.2/sys/compat/linuxkpi/common/include/linux/
H A Dpid.h46 struct task_struct *__ts; \
48 __ts = linux_pid_task(pid); \
49 __ts; \
53 struct task_struct *__ts; \
55 __ts = linux_get_pid_task(pid); \
56 __ts; \
/freebsd-14.2/contrib/llvm-project/libcxx/include/__condition_variable/
H A Dcondition_variable.h214 timespec __ts; in __do_timed_wait() local
216 using __ts_sec = decltype(__ts.tv_sec); in __do_timed_wait()
219 __ts.tv_sec = static_cast<__ts_sec>(__s.count()); in __do_timed_wait()
220 __ts.tv_nsec = (__d - __s).count(); in __do_timed_wait()
222 __ts.tv_sec = __ts_sec_max; in __do_timed_wait()
223 __ts.tv_nsec = giga::num - 1; in __do_timed_wait()
225 int __ec = pthread_cond_clockwait(&__cv_, __lk.mutex()->native_handle(), CLOCK_MONOTONIC, &__ts); in __do_timed_wait()
/freebsd-14.2/contrib/llvm-project/libcxx/include/
H A D__threading_support194 …bcpp_condvar_timedwait(__libcpp_condvar_t* __cv, __libcpp_mutex_t* __m, __libcpp_timespec_t* __ts);
295 …cpp_condvar_timedwait(__libcpp_condvar_t* __cv, __libcpp_mutex_t* __m, __libcpp_timespec_t* __ts) {
296 return pthread_cond_timedwait(__cv, __m, __ts);
340 __libcpp_timespec_t __ts = std::__convert_to_timespec<__libcpp_timespec_t>(__ns);
341 while (nanosleep(&__ts, &__ts) == -1 && errno == EINTR)
395 int __libcpp_condvar_timedwait(__libcpp_condvar_t* __cv, __libcpp_mutex_t* __m, timespec* __ts) {
396 int __ec = cnd_timedwait(__cv, __m, __ts);
437 __libcpp_timespec_t __ts = std::__convert_to_timespec<__libcpp_timespec_t>(__ns);
438 thrd_sleep(&__ts, nullptr);
H A Dlocale2324 char_type& __ts,
2338 char_type& __ts,
2465 char_type __ts;
2698 char_type& __ts,
2714 char_type __ts,
2728 char_type& __ts,
2776 char_type __ts,
2829 *__me++ = __ts;
2922 char_type __ts;
2958 char_type __ts;
[all …]
/freebsd-14.2/sys/net/
H A Dpfvar.h291 uint32_t __ts; \
294 __ts = *zpcpu_get_cpu(prule->timestamp, cpu); \
295 if (__ts > _ts) \
296 _ts = __ts; \