| /llvm-project-15.0.7/libcxx/test/std/time/ |
| H A D | rep.h | 35 template <class Rep, class Period> 36 std::chrono::duration<Rep, Period> 39 template <class Rep, class Period> 40 std::chrono::duration<Rep, Period> 43 template <class Rep, class Period> 44 std::chrono::duration<Rep, Period> 47 template <class Rep, class Period> 48 std::chrono::duration<Rep, Period> 52 template <class Rep, class Period> 56 template <class Rep, class Period> [all …]
|
| H A D | milliseconds.pass.cpp | 24 typedef D::period Period; in main() typedef 28 static_assert((std::is_same<Period, std::milli>::value), ""); in main()
|
| H A D | hours.pass.cpp | 24 typedef D::period Period; in main() typedef 28 static_assert((std::is_same<Period, std::ratio<3600> >::value), ""); in main()
|
| H A D | minutes.pass.cpp | 24 typedef D::period Period; in main() typedef 28 static_assert((std::is_same<Period, std::ratio<60> >::value), ""); in main()
|
| H A D | nanoseconds.pass.cpp | 24 typedef D::period Period; in main() typedef 28 static_assert((std::is_same<Period, std::nano>::value), ""); in main()
|
| H A D | seconds.pass.cpp | 24 typedef D::period Period; in main() typedef 28 static_assert((std::is_same<Period, std::ratio<1> >::value), ""); in main()
|
| H A D | microseconds.pass.cpp | 24 typedef D::period Period; in main() typedef 28 static_assert((std::is_same<Period, std::micro>::value), ""); in main()
|
| H A D | years.pass.cpp | 25 typedef D::period Period; in main() typedef 29 …static_assert(std::is_same_v<Period, std::ratio_multiply<std::ratio<146097, 400>, std::chrono::day… in main()
|
| H A D | weeks.pass.cpp | 25 typedef D::period Period; in main() typedef 29 …static_assert(std::is_same_v<Period, std::ratio_multiply<std::ratio<7>, std::chrono::days::period>… in main()
|
| H A D | days.pass.cpp | 25 typedef D::period Period; in main() typedef 29 …static_assert(std::is_same_v<Period, std::ratio_multiply<std::ratio<24>, std::chrono::hours::perio… in main()
|
| H A D | months.pass.cpp | 25 typedef D::period Period; in main() typedef 29 …static_assert(std::is_same_v<Period, std::ratio_divide<std::chrono::years::period, std::ratio<12>>… in main()
|
| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | Chrono.h | 77 template <typename Period> struct unit { static const char value[]; }; 78 template <typename Period> const char unit<Period>::value[] = ""; 112 template <typename Rep, typename Period> 113 struct format_provider<std::chrono::duration<Rep, Period>> { 115 typedef std::chrono::duration<Rep, Period> Dur; 140 return {D.count(), detail::unit<Period>::value};
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/ |
| H A D | spuriously-wake-up-functions.cpp | 17 template <class Rep, class Period = ratio<1>> 21 using period = Period; 98 template <class Rep, class Period> 100 const chrono::duration<Rep, Period> &rel_time){}; in wait_for() 101 template <class Rep, class Period, class Predicate> 103 const chrono::duration<Rep, Period> &rel_time, in wait_for()
|
| /llvm-project-15.0.7/libcxx/include/ |
| H A D | semaphore | 33 template<class Rep, class Period> 34 bool try_acquire_for(const chrono::duration<Rep, Period>& rel_time); 109 template <class Rep, class Period> 111 bool try_acquire_for(chrono::duration<Rep, Period> const& __rel_time) 113 if (__rel_time == chrono::duration<Rep, Period>::zero()) 160 template<class Rep, class Period> 162 bool try_acquire_for(chrono::duration<Rep, Period> const& __rel_time)
|
| H A D | condition_variable | 48 template <class Rep, class Period> 51 const chrono::duration<Rep, Period>& rel_time); 53 template <class Rep, class Period, class Predicate> 56 const chrono::duration<Rep, Period>& rel_time, 93 template <class Lock, class Rep, class Period> 96 const chrono::duration<Rep, Period>& rel_time); 98 template <class Lock, class Rep, class Period, class Predicate> 101 const chrono::duration<Rep, Period>& rel_time,
|
| H A D | shared_mutex | 56 template <class Rep, class Period> 57 bool try_lock_for(const chrono::duration<Rep, Period>& rel_time); 65 template <class Rep, class Period> 67 try_lock_shared_for(const chrono::duration<Rep, Period>& rel_time); 89 template <class Rep, class Period> 91 const chrono::duration<Rep, Period>& rel_time); 102 template <class Rep, class Period> 103 bool try_lock_for(const chrono::duration<Rep, Period>& rel_time); 402 template <class Rep, class Period> 403 bool try_lock_for(const chrono::duration<Rep, Period>& __rel_time);
|
| H A D | chrono | 23 template <class ToDuration, class Rep, class Period> 26 duration_cast(const duration<Rep, Period>& fd); 44 template <class Rep, class Period = ratio<1>> 162 template <class Rep1, class Period, class Rep2> 166 template <class Rep1, class Period, class Rep2> 170 template <class Rep1, class Period, class Rep2> 200 template <class ToDuration, class Rep, class Period> 203 template <class ToDuration, class Rep, class Period> 205 template <class ToDuration, class Rep, class Period> 257 template <class Rep, class Period> [all …]
|
| H A D | mutex | 64 template <class Rep, class Period> 65 bool try_lock_for(const chrono::duration<Rep, Period>& rel_time); 82 template <class Rep, class Period> 83 bool try_lock_for(const chrono::duration<Rep, Period>& rel_time); 138 template <class Rep, class Period> 139 unique_lock(mutex_type& m, const chrono::duration<Rep, Period>& rel_time); 151 template <class Rep, class Period> 152 bool try_lock_for(const chrono::duration<Rep, Period>& rel_time);
|
| /llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/fs.filesystem.synopsis/ |
| H A D | file_time_type_resolution.compile.pass.cpp | 27 using Period = Dur::period; typedef 28 ASSERT_SAME_TYPE(Period, std::nano);
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/support/ |
| H A D | Threading.h | 189 Rep Period; variable 194 PeriodicThrottler(Stopwatch::duration Period, Stopwatch::duration Delay = {}) 195 : Period(Period.count()),
|
| H A D | Threading.cpp | 136 Rep NewNext = Now + Period; in operator ()()
|
| /llvm-project-15.0.7/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/ |
| H A D | try_lock_for.pass.cpp | 29 template <class Rep, class Period> 30 bool try_lock_for(const std::chrono::duration<Rep, Period>& rel_time) in try_lock_for()
|
| /llvm-project-15.0.7/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/ |
| H A D | try_lock_for.pass.cpp | 32 template <class Rep, class Period> 33 bool try_lock_shared_for(const std::chrono::duration<Rep, Period>& rel_time) in try_lock_shared_for()
|
| /llvm-project-15.0.7/libcxx/test/libcxx/input.output/filesystems/ |
| H A D | convert_file_time.pass.cpp | 277 template <class IntType, class Period = std::micro> 278 using TestFileTimeT = time_point<TestClock<duration<IntType, Period> > >;
|
| /llvm-project-15.0.7/libcxx/docs/Status/ |
| H A D | FormatPaper.csv | 7 `[time.syn] <https://wg21.link/time.syn>`_,"Formatter ``chrono::duration<Rep, Period>``",,Mark de W… 30 `[time.syn] <https://wg21.link/time.syn>`_,"Formatter ``chrono::hh_mm_ss<duration<Rep, Period>>``",…
|