Home
last modified time | relevance | path

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

/llvm-project-15.0.7/libcxx/include/__chrono/
H A Dconvert_to_timespec.h29 _TimeSpec __convert_to_timespec(const chrono::nanoseconds& __ns) in __convert_to_timespec() argument
32 seconds __s = duration_cast<seconds>(__ns); in __convert_to_timespec()
40 __ts.tv_nsec = static_cast<decltype(__ts.tv_nsec)>((__ns - __s).count()); in __convert_to_timespec()
H A Dduration.h592 constexpr chrono::nanoseconds operator""ns(unsigned long long __ns)
594 return chrono::nanoseconds(static_cast<chrono::nanoseconds::rep>(__ns));
597 constexpr chrono::duration<long double, nano> operator""ns(long double __ns)
599 return chrono::duration<long double, nano> (__ns);
/llvm-project-15.0.7/libcxx/include/
H A Dthread361 _LIBCPP_FUNC_VIS void sleep_for(const chrono::nanoseconds& __ns);
374 chrono::nanoseconds __ns;
377 __ns = chrono::duration_cast<chrono::nanoseconds>(__d);
378 if (__ns < __d)
379 ++__ns;
382 __ns = chrono::nanoseconds::max();
383 this_thread::sleep_for(__ns);
H A D__threading_support238 void __libcpp_thread_sleep_for(const chrono::nanoseconds& __ns);
409 void __libcpp_thread_sleep_for(const chrono::nanoseconds& __ns)
411 __libcpp_timespec_t __ts = _VSTD::__convert_to_timespec<__libcpp_timespec_t>(__ns);
566 void __libcpp_thread_sleep_for(const chrono::nanoseconds& __ns)
568 __libcpp_timespec_t __ts = _VSTD::__convert_to_timespec<__libcpp_timespec_t>(__ns);
H A Dlocale1218 char* __ns;
1224 for (__ns = __nf; __ns < __ne; ++__ns)
1230 for (__ns = __nf; __ns < __ne; ++__ns)
1401 if (__ns > __sz)
1402 __ns -= __sz;
1404 __ns = 0;
1407 for (; __ns; --__ns, ++__s)
1426 if (__ns > __sz)
1429 __ns = 0;
1439 if (__ns > 0)
[all …]
H A Dvector2932 difference_type __ns = _VSTD::distance(__first, __last);
2933 _LIBCPP_ASSERT(__ns >= 0, "invalid range specified");
2934 const size_t __n = static_cast<size_type>(__ns);
/llvm-project-15.0.7/libcxx/src/support/win32/
H A Dthread_win32.cpp243 void __libcpp_thread_sleep_for(const chrono::nanoseconds& __ns) in __libcpp_thread_sleep_for() argument
246 chrono::milliseconds __ms = chrono::ceil<chrono::milliseconds>(__ns); in __libcpp_thread_sleep_for()
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/
H A Dreserved-identifier.cpp50 namespace __ns { namespace
/llvm-project-15.0.7/libcxx/include/__filesystem/
H A Doperations.h181 …IDE_FROM_ABI void resize_file(const path& __p, uintmax_t __ns) { return __resize_file(__p, __ns); } in resize_file() argument
182 …void resize_file(const path& __p, uintmax_t __ns, error_code& __ec) noexcept { return __resize_fil… in resize_file() argument
/llvm-project-15.0.7/llvm/test/CodeGen/Hexagon/
H A Dearly-if-conversion-bug1.ll79 %__ns = alloca i32, align 4
116 store i32 %6, i32* %__ns, align 4
117 %7 = load i32, i32* %__ns, align 4
124 %10 = load i32, i32* %__ns, align 4
126 store i32 %sub, i32* %__ns, align 4
130 store i32 0, i32* %__ns, align 4
176 %24 = load i32, i32* %__ns, align 4
181 %25 = load i32, i32* %__ns, align 4
272 %47 = load i32, i32* %__ns, align 4
290 %52 = load i32, i32* %__ns, align 4