/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/ |
D | rep.h | 13 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;}
|
D | minutes.pass.cpp | 21 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()
|
D | hours.pass.cpp | 21 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()
|
D | nanoseconds.pass.cpp | 21 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()
|
D | microseconds.pass.cpp | 21 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()
|
D | seconds.pass.cpp | 21 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()
|
D | milliseconds.pass.cpp | 21 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/ |
D | min.pass.cpp | 26 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()
|
D | max.pass.cpp | 26 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()
|
D | zero.pass.cpp | 25 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/ |
D | max.pass.cpp | 26 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()
|
D | min.pass.cpp | 26 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()
|
D | zero.pass.cpp | 22 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/ |
D | op_divide_rep.fail.cpp | 24 std::chrono::duration<Rep> d(Rep(15)); in main()
|
D | op_mod_rep.fail.cpp | 24 std::chrono::duration<Rep> d(Rep(15)); in main()
|
D | op_times_rep2.fail.cpp | 28 std::chrono::duration<Rep> d; in main()
|
D | op_times_rep1.fail.cpp | 28 std::chrono::duration<Rep> d; in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.duration/time.duration.cons/ |
D | rep.pass.cpp | 38 test<std::chrono::duration<Rep, std::ratio<3, 2> > >(Rep(3)); in main()
|
D | rep02.fail.cpp | 25 std::chrono::duration<Rep> d(1); in main()
|
D | default.pass.cpp | 37 test<std::chrono::duration<Rep> >(); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/ |
D | condition_variable | 49 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,
|
D | shared_mutex | 34 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/ |
D | try_lock_for.pass.cpp | 26 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/ |
D | try_lock_for.pass.cpp | 28 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/ |
D | default.pass.cpp | 24 typedef std::chrono::duration<Rep, std::milli> Duration; in main()
|