Home
last modified time | relevance | path

Searched refs:now (Results 1 – 25 of 172) sorted by relevance

1234567

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.async/
Dasync.pass.cpp69 Clock::time_point t0 = Clock::now(); in main()
71 Clock::time_point t1 = Clock::now(); in main()
77 Clock::time_point t0 = Clock::now(); in main()
79 Clock::time_point t1 = Clock::now(); in main()
85 Clock::time_point t0 = Clock::now(); in main()
87 Clock::time_point t1 = Clock::now(); in main()
93 Clock::time_point t0 = Clock::now(); in main()
95 Clock::time_point t1 = Clock::now(); in main()
102 Clock::time_point t0 = Clock::now(); in main()
104 Clock::time_point t1 = Clock::now(); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.unique_future/
Dwait_until.pass.cpp53 assert(f.wait_until(Clock::now() + ms(300)) == std::future_status::timeout); in main()
55 assert(f.wait_until(Clock::now() + ms(300)) == std::future_status::ready); in main()
57 Clock::time_point t0 = Clock::now(); in main()
59 Clock::time_point t1 = Clock::now(); in main()
69 assert(f.wait_until(Clock::now() + ms(300)) == std::future_status::timeout); in main()
71 assert(f.wait_until(Clock::now() + ms(300)) == std::future_status::ready); in main()
73 Clock::time_point t0 = Clock::now(); in main()
75 Clock::time_point t1 = Clock::now(); in main()
85 assert(f.wait_until(Clock::now() + ms(300)) == std::future_status::timeout); in main()
87 assert(f.wait_until(Clock::now() + ms(300)) == std::future_status::ready); in main()
[all …]
Dwait.pass.cpp52 Clock::time_point t0 = Clock::now(); in main()
54 Clock::time_point t1 = Clock::now(); in main()
66 Clock::time_point t0 = Clock::now(); in main()
68 Clock::time_point t1 = Clock::now(); in main()
80 Clock::time_point t0 = Clock::now(); in main()
82 Clock::time_point t1 = Clock::now(); in main()
Dwait_for.pass.cpp57 Clock::time_point t0 = Clock::now(); in main()
59 Clock::time_point t1 = Clock::now(); in main()
73 Clock::time_point t0 = Clock::now(); in main()
75 Clock::time_point t1 = Clock::now(); in main()
89 Clock::time_point t0 = Clock::now(); in main()
91 Clock::time_point t1 = Clock::now(); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.shared_future/
Dwait_until.pass.cpp53 assert(f.wait_until(Clock::now() + ms(300)) == std::future_status::timeout); in main()
55 assert(f.wait_until(Clock::now() + ms(300)) == std::future_status::ready); in main()
57 Clock::time_point t0 = Clock::now(); in main()
59 Clock::time_point t1 = Clock::now(); in main()
69 assert(f.wait_until(Clock::now() + ms(300)) == std::future_status::timeout); in main()
71 assert(f.wait_until(Clock::now() + ms(300)) == std::future_status::ready); in main()
73 Clock::time_point t0 = Clock::now(); in main()
75 Clock::time_point t1 = Clock::now(); in main()
85 assert(f.wait_until(Clock::now() + ms(300)) == std::future_status::timeout); in main()
87 assert(f.wait_until(Clock::now() + ms(300)) == std::future_status::ready); in main()
[all …]
Dwait.pass.cpp52 Clock::time_point t0 = Clock::now(); in main()
54 Clock::time_point t1 = Clock::now(); in main()
66 Clock::time_point t0 = Clock::now(); in main()
68 Clock::time_point t1 = Clock::now(); in main()
80 Clock::time_point t0 = Clock::now(); in main()
82 Clock::time_point t1 = Clock::now(); in main()
Dwait_for.pass.cpp57 Clock::time_point t0 = Clock::now(); in main()
59 Clock::time_point t1 = Clock::now(); in main()
73 Clock::time_point t0 = Clock::now(); in main()
75 Clock::time_point t1 = Clock::now(); in main()
89 Clock::time_point t0 = Clock::now(); in main()
91 Clock::time_point t1 = Clock::now(); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/
Dtry_lock_until.pass.cpp32 time_point t0 = Clock::now(); in f1()
33 assert(m.try_lock_until(Clock::now() + ms(300)) == true); in f1()
34 time_point t1 = Clock::now(); in f1()
44 time_point t0 = Clock::now(); in f2()
45 assert(m.try_lock_until(Clock::now() + ms(250)) == false); in f2()
46 time_point t1 = Clock::now(); in f2()
Dtry_lock_for.pass.cpp32 time_point t0 = Clock::now(); in f1()
34 time_point t1 = Clock::now(); in f1()
44 time_point t0 = Clock::now(); in f2()
46 time_point t1 = Clock::now(); in f2()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/
Dtry_lock_until.pass.cpp34 time_point t0 = Clock::now(); in f1()
35 assert(m.try_lock_until(Clock::now() + ms(300)) == true); in f1()
36 time_point t1 = Clock::now(); in f1()
44 time_point t0 = Clock::now(); in f2()
45 assert(m.try_lock_until(Clock::now() + ms(250)) == false); in f2()
46 time_point t1 = Clock::now(); in f2()
Dtry_lock_shared_until.pass.cpp35 time_point t0 = Clock::now(); in f1()
36 assert(m.try_lock_shared_until(Clock::now() + ms(300)) == true); in f1()
37 time_point t1 = Clock::now(); in f1()
45 time_point t0 = Clock::now(); in f2()
46 assert(m.try_lock_shared_until(Clock::now() + ms(250)) == false); in f2()
47 time_point t1 = Clock::now(); in f2()
Dtry_lock_for.pass.cpp34 time_point t0 = Clock::now(); in f1()
36 time_point t1 = Clock::now(); in f1()
44 time_point t0 = Clock::now(); in f2()
46 time_point t1 = Clock::now(); in f2()
Dlock_shared.pass.cpp34 time_point t0 = Clock::now(); in f()
36 time_point t1 = Clock::now(); in f()
44 time_point t0 = Clock::now(); in g()
46 time_point t1 = Clock::now(); in g()
Dtry_lock_shared_for.pass.cpp35 time_point t0 = Clock::now(); in f1()
37 time_point t1 = Clock::now(); in f1()
45 time_point t0 = Clock::now(); in f2()
47 time_point t1 = Clock::now(); in f2()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/
Dtry_lock_until.pass.cpp32 time_point t0 = Clock::now(); in f1()
33 assert(m.try_lock_until(Clock::now() + ms(300)) == true); in f1()
34 time_point t1 = Clock::now(); in f1()
42 time_point t0 = Clock::now(); in f2()
43 assert(m.try_lock_until(Clock::now() + ms(250)) == false); in f2()
44 time_point t1 = Clock::now(); in f2()
Dtry_lock_for.pass.cpp32 time_point t0 = Clock::now(); in f1()
34 time_point t1 = Clock::now(); in f1()
42 time_point t0 = Clock::now(); in f2()
44 time_point t1 = Clock::now(); in f2()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/
Dmutex_time_point.pass.cpp32 time_point t0 = Clock::now(); in f1()
33 std::unique_lock<std::timed_mutex> lk(m, Clock::now() + ms(300)); in f1()
35 time_point t1 = Clock::now(); in f1()
42 time_point t0 = Clock::now(); in f2()
43 std::unique_lock<std::timed_mutex> lk(m, Clock::now() + ms(250)); in f2()
45 time_point t1 = Clock::now(); in f2()
Dmutex_duration.pass.cpp32 time_point t0 = Clock::now(); in f1()
35 time_point t1 = Clock::now(); in f1()
42 time_point t0 = Clock::now(); in f2()
45 time_point t1 = Clock::now(); in f2()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/
Dmutex_time_point.pass.cpp35 time_point t0 = Clock::now(); in f1()
36 std::shared_lock<std::shared_timed_mutex> lk(m, Clock::now() + ms(300)); in f1()
38 time_point t1 = Clock::now(); in f1()
45 time_point t0 = Clock::now(); in f2()
46 std::shared_lock<std::shared_timed_mutex> lk(m, Clock::now() + ms(250)); in f2()
48 time_point t1 = Clock::now(); in f2()
Dmutex.pass.cpp34 time_point t0 = Clock::now(); in f()
38 t1 = Clock::now(); in f()
46 time_point t0 = Clock::now(); in g()
50 t1 = Clock::now(); in g()
Dmutex_duration.pass.cpp35 time_point t0 = Clock::now(); in f1()
38 time_point t1 = Clock::now(); in f1()
45 time_point t0 = Clock::now(); in f2()
48 time_point t1 = Clock::now(); in f2()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/
Dtry_lock_until.pass.cpp28 assert(Clock::now() - abs_time < ms(5)); in try_lock_until()
41 assert(lk.try_lock_until(Clock::now()) == true); in main()
46 lk.try_lock_until(Clock::now()); in main()
54 assert(lk.try_lock_until(Clock::now()) == false); in main()
60 lk.try_lock_until(Clock::now()); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/
Dtry_lock_until.pass.cpp30 assert(Clock::now() - abs_time < ms(5)); in try_lock_shared_until()
46 assert(lk.try_lock_until(Clock::now()) == true); in main()
51 lk.try_lock_until(Clock::now()); in main()
59 assert(lk.try_lock_until(Clock::now()) == false); in main()
65 lk.try_lock_until(Clock::now()); in main()
/ndk/sources/third_party/googletest/googletest/
DCHANGES4 simulator now.
5 * New feature: Test::RecordProperty() can now be used outside of the
8 * New feature (potentially breaking): --gtest_list_tests now prints
10 * Improvement: char pointers and char arrays are now escaped properly
12 * Improvement: failure summary in XML reports now includes file and
14 * Improvement: the <testsuites> XML element now has a timestamp attribute.
17 * Potentially breaking change: RUN_ALL_TESTS() is now implemented as a
29 the XML report now.
31 * Colored output works in GNU Screen sessions now.
32 * Parameters of value-parameterized tests are now printed in the
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.condition/thread.condition.condvarany/
Dwait_until.pass.cpp32 static time_point now() in now() function
36 steady_clock::now().time_since_epoch() in now()
59 Clock::time_point t0 = Clock::now(); in f()
63 Clock::time_point t1 = Clock::now(); in f()

1234567