Home
last modified time | relevance | path

Searched refs:Period (Results 1 – 25 of 30) sorted by relevance

12

/llvm-project-15.0.7/libcxx/test/std/time/
H A Drep.h35 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 Dmilliseconds.pass.cpp24 typedef D::period Period; in main() typedef
28 static_assert((std::is_same<Period, std::milli>::value), ""); in main()
H A Dhours.pass.cpp24 typedef D::period Period; in main() typedef
28 static_assert((std::is_same<Period, std::ratio<3600> >::value), ""); in main()
H A Dminutes.pass.cpp24 typedef D::period Period; in main() typedef
28 static_assert((std::is_same<Period, std::ratio<60> >::value), ""); in main()
H A Dnanoseconds.pass.cpp24 typedef D::period Period; in main() typedef
28 static_assert((std::is_same<Period, std::nano>::value), ""); in main()
H A Dseconds.pass.cpp24 typedef D::period Period; in main() typedef
28 static_assert((std::is_same<Period, std::ratio<1> >::value), ""); in main()
H A Dmicroseconds.pass.cpp24 typedef D::period Period; in main() typedef
28 static_assert((std::is_same<Period, std::micro>::value), ""); in main()
H A Dyears.pass.cpp25 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 Dweeks.pass.cpp25 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 Ddays.pass.cpp25 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 Dmonths.pass.cpp25 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 DChrono.h77 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 Dspuriously-wake-up-functions.cpp17 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 Dsemaphore33 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 Dcondition_variable48 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 Dshared_mutex56 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 Dchrono23 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 Dmutex64 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 Dfile_time_type_resolution.compile.pass.cpp27 using Period = Dur::period; typedef
28 ASSERT_SAME_TYPE(Period, std::nano);
/llvm-project-15.0.7/clang-tools-extra/clangd/support/
H A DThreading.h189 Rep Period; variable
194 PeriodicThrottler(Stopwatch::duration Period, Stopwatch::duration Delay = {})
195 : Period(Period.count()),
H A DThreading.cpp136 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 Dtry_lock_for.pass.cpp29 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 Dtry_lock_for.pass.cpp32 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 Dconvert_file_time.pass.cpp277 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 DFormatPaper.csv7 `[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>>``",…

12