Home
last modified time | relevance | path

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

12

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/
Drep.h13 class Rep
17 _LIBCPP_CONSTEXPR Rep() : data_(-1) {} in Rep() function
18 explicit _LIBCPP_CONSTEXPR Rep(int i) : data_(i) {} in Rep() function
21 bool _LIBCPP_CONSTEXPR operator==(const Rep& r) const {return data_ == r.data_;}
23 Rep& operator*=(Rep x) {data_ *= x.data_; return *this;}
24 Rep& operator/=(Rep x) {data_ /= x.data_; return *this;}
Dminutes.pass.cpp21 typedef D::rep Rep; in main() typedef
23 static_assert(std::is_signed<Rep>::value, ""); in main()
24 static_assert(std::is_integral<Rep>::value, ""); in main()
25 static_assert(std::numeric_limits<Rep>::digits >= 28, ""); in main()
Dhours.pass.cpp21 typedef D::rep Rep; in main() typedef
23 static_assert(std::is_signed<Rep>::value, ""); in main()
24 static_assert(std::is_integral<Rep>::value, ""); in main()
25 static_assert(std::numeric_limits<Rep>::digits >= 22, ""); in main()
Dnanoseconds.pass.cpp21 typedef D::rep Rep; in main() typedef
23 static_assert(std::is_signed<Rep>::value, ""); in main()
24 static_assert(std::is_integral<Rep>::value, ""); in main()
25 static_assert(std::numeric_limits<Rep>::digits >= 63, ""); in main()
Dmicroseconds.pass.cpp21 typedef D::rep Rep; in main() typedef
23 static_assert(std::is_signed<Rep>::value, ""); in main()
24 static_assert(std::is_integral<Rep>::value, ""); in main()
25 static_assert(std::numeric_limits<Rep>::digits >= 54, ""); in main()
Dseconds.pass.cpp21 typedef D::rep Rep; in main() typedef
23 static_assert(std::is_signed<Rep>::value, ""); in main()
24 static_assert(std::is_integral<Rep>::value, ""); in main()
25 static_assert(std::numeric_limits<Rep>::digits >= 34, ""); in main()
Dmilliseconds.pass.cpp21 typedef D::rep Rep; in main() typedef
23 static_assert(std::is_signed<Rep>::value, ""); in main()
24 static_assert(std::is_integral<Rep>::value, ""); in main()
25 static_assert(std::numeric_limits<Rep>::digits >= 44, ""); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.duration/time.duration.special/
Dmin.pass.cpp26 typedef typename D::rep Rep; in test() typedef
27 Rep min_rep = std::chrono::duration_values<Rep>::min(); in test()
32 typedef typename D::rep Rep; in test() typedef
33 constexpr Rep min_rep = std::chrono::duration_values<Rep>::min(); in test()
42 test<std::chrono::duration<Rep> >(); in main()
Dmax.pass.cpp26 typedef typename D::rep Rep; in test() typedef
27 Rep max_rep = std::chrono::duration_values<Rep>::max(); in test()
32 typedef typename D::rep Rep; in test() typedef
33 constexpr Rep max_rep = std::chrono::duration_values<Rep>::max(); in test()
42 test<std::chrono::duration<Rep> >(); in main()
Dzero.pass.cpp25 typedef typename D::rep Rep; in test() typedef
26 Rep zero_rep = std::chrono::duration_values<Rep>::zero(); in test()
31 typedef typename D::rep Rep; in test() typedef
32 constexpr Rep zero_rep = std::chrono::duration_values<Rep>::zero(); in test()
41 test<std::chrono::duration<Rep> >(); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.traits/time.traits.duration_values/
Dmax.pass.cpp26 assert(std::chrono::duration_values<Rep>::max() == in main()
27 std::numeric_limits<Rep>::max()); in main()
33 static_assert(std::chrono::duration_values<Rep>::max() == in main()
34 std::numeric_limits<Rep>::max(), ""); in main()
Dmin.pass.cpp26 assert(std::chrono::duration_values<Rep>::min() == in main()
27 std::numeric_limits<Rep>::lowest()); in main()
33 static_assert(std::chrono::duration_values<Rep>::min() == in main()
34 std::numeric_limits<Rep>::lowest(), ""); in main()
Dzero.pass.cpp22 assert(std::chrono::duration_values<Rep>::zero() == 0); in main()
25 static_assert(std::chrono::duration_values<Rep>::zero() == 0, ""); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.duration/time.duration.nonmember/
Dop_divide_rep.fail.cpp24 std::chrono::duration<Rep> d(Rep(15)); in main()
Dop_mod_rep.fail.cpp24 std::chrono::duration<Rep> d(Rep(15)); in main()
Dop_times_rep2.fail.cpp28 std::chrono::duration<Rep> d; in main()
Dop_times_rep1.fail.cpp28 std::chrono::duration<Rep> d; in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.duration/time.duration.cons/
Drep.pass.cpp38 test<std::chrono::duration<Rep, std::ratio<3, 2> > >(Rep(3)); in main()
Drep02.fail.cpp25 std::chrono::duration<Rep> d(1); in main()
Ddefault.pass.cpp37 test<std::chrono::duration<Rep> >(); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/
Dcondition_variable49 template <class Rep, class Period>
52 const chrono::duration<Rep, Period>& rel_time);
54 template <class Rep, class Period, class Predicate>
57 const chrono::duration<Rep, Period>& rel_time,
94 template <class Lock, class Rep, class Period>
97 const chrono::duration<Rep, Period>& rel_time);
99 template <class Lock, class Rep, class Period, class Predicate>
102 const chrono::duration<Rep, Period>& rel_time,
Dshared_mutex34 template <class Rep, class Period>
35 bool try_lock_for(const chrono::duration<Rep, Period>& rel_time);
43 template <class Rep, class Period>
45 try_lock_shared_for(const chrono::duration<Rep, Period>& rel_time);
67 template <class Rep, class Period>
69 const chrono::duration<Rep, Period>& rel_time);
80 template <class Rep, class Period>
81 bool try_lock_for(const chrono::duration<Rep, Period>& rel_time);
317 template <class Rep, class Period>
318 bool try_lock_for(const chrono::duration<Rep, Period>& rel_time);
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/
Dtry_lock_for.pass.cpp26 template <class Rep, class Period>
27 bool try_lock_for(const std::chrono::duration<Rep, Period>& rel_time) in try_lock_for()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/
Dtry_lock_for.pass.cpp28 template <class Rep, class Period>
29 bool try_lock_shared_for(const std::chrono::duration<Rep, Period>& rel_time) in try_lock_shared_for()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.point/time.point.cons/
Ddefault.pass.cpp24 typedef std::chrono::duration<Rep, std::milli> Duration; in main()

12