Home
last modified time | relevance | path

Searched refs:__ns (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/llvm-project/libcxx/include/__thread/
H A Dthis_thread.h32 _LIBCPP_EXPORTED_FROM_ABI void sleep_for(const chrono::nanoseconds& __ns);
41 chrono::nanoseconds __ns; in sleep_for() local
43 __ns = chrono::duration_cast<chrono::nanoseconds>(__d); in sleep_for()
44 if (__ns < __d) in sleep_for()
45 ++__ns; in sleep_for()
47 __ns = chrono::nanoseconds::max(); in sleep_for()
48 this_thread::sleep_for(__ns); in sleep_for()
/freebsd/contrib/llvm-project/libcxx/include/__chrono/
H A Dconvert_to_timespec.h29 _LIBCPP_HIDE_FROM_ABI inline _TimeSpec __convert_to_timespec(const chrono::nanoseconds& __ns) {
31 seconds __s = duration_cast<seconds>(__ns); in __convert_to_timespec()
38 __ts.tv_nsec = static_cast<decltype(__ts.tv_nsec)>((__ns - __s).count()); in __convert_to_timespec()
30 __convert_to_timespec(const chrono::nanoseconds & __ns) __convert_to_timespec() argument
H A Dduration.h525 _LIBCPP_HIDE_FROM_ABI constexpr chrono::nanoseconds operator""ns(unsigned long long __ns) {
526 return chrono::nanoseconds(static_cast<chrono::nanoseconds::rep>(__ns));
529 _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, nano> operator""ns(long double __ns) {
530 return chrono::duration<long double, nano>(__ns);
/freebsd/contrib/llvm-project/libcxx/include/__thread/support/
H A Dpthread.h196 inline _LIBCPP_HIDE_FROM_ABI void __libcpp_thread_sleep_for(const chrono::nanoseconds& __ns) { in __libcpp_thread_sleep_for() argument
197 __libcpp_timespec_t __ts = std::__convert_to_timespec<__libcpp_timespec_t>(__ns); in __libcpp_thread_sleep_for()
H A Dc11.h167 inline _LIBCPP_HIDE_FROM_ABI void __libcpp_thread_sleep_for(const chrono::nanoseconds& __ns) { in __libcpp_thread_sleep_for() argument
168 __libcpp_timespec_t __ts = std::__convert_to_timespec<__libcpp_timespec_t>(__ns); in __libcpp_thread_sleep_for()
H A Dwindows.h115 _LIBCPP_EXPORTED_FROM_ABI void __libcpp_thread_sleep_for(const chrono::nanoseconds& __ns);
/freebsd/contrib/llvm-project/libcxx/include/__filesystem/
H A Doperations.h280 …IDE_FROM_ABI void resize_file(const path& __p, uintmax_t __ns) { return __resize_file(__p, __ns); } in resize_file() argument
281 inline _LIBCPP_HIDE_FROM_ABI void resize_file(const path& __p, uintmax_t __ns, error_code& __ec) no… in resize_file() argument
282 return __resize_file(__p, __ns, &__ec); in resize_file()
/freebsd/contrib/llvm-project/libcxx/include/
H A Dlocale1129 char* __ns;
1133 for (__ns = __nf; __ns < __ne; ++__ns)
1134 if (!isxdigit_l(*__ns, _LIBCPP_GET_C_LOCALE))
1137 for (__ns = __nf; __ns < __ne; ++__ns)
1138 if (!isdigit_l(*__ns, _LIBCPP_GET_C_LOCALE))
1142 __ct.widen(__nf, __ns, __oe);
1143 __oe += __ns - __nf;
1145 std::reverse(__nf, __ns);
1149 for (char* __p = __nf; __p < __ns; ++__p) {
1161 for (__nf = __ns; __nf < __ne; ++__nf) {
[all …]
H A Dvector2207 __assign_with_size(_ForwardIterator __first, _Sentinel __last, difference_type __ns);
2614 …_Allocator>::__assign_with_size(_ForwardIterator __first, _Sentinel __last, difference_type __ns) {
2615 _LIBCPP_ASSERT_VALID_INPUT_RANGE(__ns >= 0, "invalid range specified");
2619 const size_t __n = static_cast<size_type>(__ns);
/freebsd/usr.sbin/bsdconfig/share/media/
H A Dtcpip.subr644 local __ns
645 __ns=$( awk "$f_resolv_conf_nameservers_awk" "$RESOLV_CONF" \
647 setvar "$__var_to_set" "$__ns"