/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.duration/time.duration.nonmember/ |
D | op_times_rep.pass.cpp | 30 std::chrono::nanoseconds ns(3); in main() local 31 ns = ns * 5; in main() 32 assert(ns.count() == 15); in main() 33 ns = 6 * ns; in main() 34 assert(ns.count() == 90); in main() 38 constexpr std::chrono::nanoseconds ns(3); in main() local 39 constexpr std::chrono::nanoseconds ns2 = ns * 5; in main() 41 constexpr std::chrono::nanoseconds ns3 = 6 * ns; in main()
|
D | op_divide_rep.pass.cpp | 25 std::chrono::nanoseconds ns(15); in main() local 26 ns = ns / 5; in main() 27 assert(ns.count() == 3); in main() 31 constexpr std::chrono::nanoseconds ns(15); in main() local 32 constexpr std::chrono::nanoseconds ns2 = ns / 5; in main()
|
D | op_mod_rep.pass.cpp | 25 std::chrono::nanoseconds ns(15); in main() local 26 ns = ns % 6; in main() 27 assert(ns.count() == 3); in main() 31 constexpr std::chrono::nanoseconds ns(15); in main() local 32 constexpr std::chrono::nanoseconds ns2 = ns % 6; in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.duration/time.duration.literals/ |
D | literals1.pass.cpp | 43 nanoseconds ns = 645ns; in main() local 44 assert ( ns == nanoseconds(645)); in main() 45 auto ns2 = 645.ns; in main() 46 assert ( ns == ns2 ); in main()
|
D | literals2.pass.cpp | 46 std::chrono::nanoseconds ns = 645ns; in main() local 47 assert ( ns == std::chrono::nanoseconds(645)); in main() 48 auto ns2 = 645.ns; in main() 49 assert ( ns == ns2 ); in main()
|
D | literals.pass.cpp | 27 static_assert ( std::is_same<decltype( 3ns ), std::chrono::nanoseconds>::value, "" ); in main() 54 std::chrono::nanoseconds ns = 645ns; in main() local 55 assert ( ns == std::chrono::nanoseconds(645)); in main() 56 auto ns2 = 645.ns; in main() 57 assert ( ns == ns2 ); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.duration/time.duration.arithmetic/ |
D | op_divide=.pass.cpp | 21 std::chrono::nanoseconds ns(15); in main() local 22 ns /= 5; in main() 23 assert(ns.count() == 3); in main()
|
D | op_divideEQ.pass.cpp | 21 std::chrono::nanoseconds ns(15); in main() local 22 ns /= 5; in main() 23 assert(ns.count() == 3); in main()
|
D | op_timesEQ.pass.cpp | 21 std::chrono::nanoseconds ns(3); in main() local 22 ns *= 5; in main() 23 assert(ns.count() == 15); in main()
|
D | op_times=.pass.cpp | 21 std::chrono::nanoseconds ns(3); in main() local 22 ns *= 5; in main() 23 assert(ns.count() == 15); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/ |
D | try_lock_for.pass.cpp | 28 typedef std::chrono::nanoseconds ns; typedef 38 ns d = t1 - t0 - ms(250); in f1() 39 assert(d < ns(50000000)); // within 50ms in f1() 47 ns d = t1 - t0 - ms(250); in f2() 48 assert(d < ns(50000000)); // within 50ms in f2()
|
D | try_lock_until.pass.cpp | 28 typedef std::chrono::nanoseconds ns; typedef 38 ns d = t1 - t0 - ms(250); in f1() 47 ns d = t1 - t0 - ms(250); in f2()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/ |
D | mutex_time_point.pass.cpp | 28 typedef std::chrono::nanoseconds ns; typedef 36 ns d = t1 - t0 - ms(250); in f1() 37 assert(d < ns(50000000)); // within 50ms in f1() 46 ns d = t1 - t0 - ms(250); in f2()
|
D | mutex_duration.pass.cpp | 28 typedef std::chrono::nanoseconds ns; typedef 36 ns d = t1 - t0 - ms(250); in f1() 46 ns d = t1 - t0 - ms(250); in f2()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.guard/ |
D | mutex.fail.cpp | 27 typedef std::chrono::nanoseconds ns; typedef 37 ns d = t1 - t0 - ms(250); in f() 38 assert(d < ns(2500000)); // within 2.5ms in f()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/ |
D | mutex_time_point.pass.cpp | 31 typedef std::chrono::nanoseconds ns; typedef 39 ns d = t1 - t0 - ms(250); in f1() 40 assert(d < ns(50000000)); // within 50ms in f1() 49 ns d = t1 - t0 - ms(250); in f2()
|
D | mutex.pass.cpp | 30 typedef std::chrono::nanoseconds ns; typedef 40 ns d = t1 - t0 - ms(250); in f() 52 ns d = t1 - t0; in g()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/ |
D | try_lock_for.pass.cpp | 28 typedef std::chrono::nanoseconds ns; typedef 36 ns d = t1 - t0 - ms(250); in f1() 45 ns d = t1 - t0 - ms(250); in f2()
|
D | try_lock_until.pass.cpp | 28 typedef std::chrono::nanoseconds ns; typedef 36 ns d = t1 - t0 - ms(250); in f1() 45 ns d = t1 - t0 - ms(250); in f2()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/ |
D | try_lock_for.pass.cpp | 30 typedef std::chrono::nanoseconds ns; typedef 38 ns d = t1 - t0 - ms(250); in f1() 47 ns d = t1 - t0 - ms(250); in f2()
|
D | try_lock_until.pass.cpp | 30 typedef std::chrono::nanoseconds ns; typedef 38 ns d = t1 - t0 - ms(250); in f1() 47 ns d = t1 - t0 - ms(250); in f2()
|
D | lock_shared.pass.cpp | 30 typedef std::chrono::nanoseconds ns; typedef 38 ns d = t1 - t0 - ms(250); in f() 48 ns d = t1 - t0; in g()
|
D | try_lock_shared_for.pass.cpp | 31 typedef std::chrono::nanoseconds ns; typedef 39 ns d = t1 - t0 - ms(250); in f1() 48 ns d = t1 - t0 - ms(250); in f2()
|
D | try_lock_shared_until.pass.cpp | 31 typedef std::chrono::nanoseconds ns; typedef 39 ns d = t1 - t0 - ms(250); in f1() 48 ns d = t1 - t0 - ms(250); in f2()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.threads/thread.thread.this/ |
D | sleep_for.pass.cpp | 28 std::chrono::nanoseconds ns = (t1 - t0) - ms; in main() local 31 assert(std::abs(ns.count()) < err.count()); in main()
|