/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.duration/time.duration.arithmetic/ |
op_modEQrep.pass.cpp | 10 // <chrono> 16 #include <chrono> 21 std::chrono::microseconds us(11);
|
op_times=.pass.cpp | 10 // <chrono> 16 #include <chrono> 21 std::chrono::nanoseconds ns(3);
|
op_timesEQ.pass.cpp | 10 // <chrono> 16 #include <chrono> 21 std::chrono::nanoseconds ns(3);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.duration/time.duration.cons/ |
default.pass.cpp | 10 // <chrono> 18 #include <chrono> 37 test<std::chrono::duration<Rep> >();
|
rep01.fail.cpp | 10 // <chrono> 19 #include <chrono> 25 std::chrono::duration<int> d = 1;
|
rep02.fail.cpp | 10 // <chrono> 19 #include <chrono> 25 std::chrono::duration<Rep> d(1);
|
rep03.fail.cpp | 10 // <chrono> 19 #include <chrono> 23 std::chrono::duration<int> d(1.);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.duration/time.duration.nonmember/ |
op_divide_rep.fail.cpp | 10 // <chrono> 18 #include <chrono> 24 std::chrono::duration<Rep> d(Rep(15));
|
op_mod_rep.fail.cpp | 10 // <chrono> 18 #include <chrono> 24 std::chrono::duration<Rep> d(Rep(15));
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.duration/ |
types.pass.cpp | 10 // <chrono> 19 #include <chrono> 24 typedef std::chrono::duration<long, std::ratio<3, 2> > D;
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.traits/time.traits.is_fp/ |
treat_as_floating_point.pass.cpp | 10 // <chrono> 14 #include <chrono> 22 std::chrono::treat_as_floating_point<T> >::value), "");
|
/external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/ |
try_lock_until_deadlock_bug.pass.cpp | 20 #include <chrono> 34 bool b = m.try_lock_for(std::chrono::milliseconds(500)); 53 typedef std::chrono::steady_clock Clock; 61 auto end_point = Clock::now() + std::chrono::seconds(10); 63 std::this_thread::sleep_for(std::chrono::seconds(1));
|
/external/libcxx/test/std/thread/thread.threads/thread.thread.this/ |
sleep_for.pass.cpp | 15 // void sleep_for(const chrono::duration<Rep, Period>& rel_time); 46 typedef std::chrono::system_clock Clock; 49 std::chrono::milliseconds ms(500); 53 std::chrono::nanoseconds ns = (t1 - t0) - ms; 54 std::chrono::nanoseconds err = 5 * ms / 100;
|
/ndk/tests/device/issue39680-chrono-resolution/jni/ |
issue39680-chrono-resolution.cpp | 2 #include <chrono> 31 namespace chrono { namespace in namespace:std 66 printClockData<std::chrono::system_clock>(is_high_res1, is_steady); 68 printClockData<std::chrono::high_resolution_clock>(is_high_res2, is_steady); 70 printClockData<std::chrono::steady_clock>(is_high_res3, is_steady);
|
/system/core/libmemunreachable/tests/ |
DisableMalloc_test.cpp | 19 #include <chrono> 29 void alarm(std::chrono::microseconds us) { 30 std::chrono::seconds s = std::chrono::duration_cast<std::chrono::seconds>(us);
|
/prebuilts/ndk/current/sources/cxx-stl/gnu-libstdc++/4.9/include/ |
chrono | 0 // <chrono> -*- C++ -*- 25 /** @file include/chrono 49 * @defgroup chrono Time 56 /** @namespace std::chrono 59 namespace chrono 86 typedef __success_type<chrono::duration<__cr, __r>> type; 94 struct common_type<chrono::duration<_Rep1, _Period1>, 95 chrono::duration<_Rep2, _Period2>> 105 typedef __success_type<chrono::time_point<_Clock, typename _CT::type>> 114 struct common_type<chrono::time_point<_Clock, _Duration1> [all...] |
/external/libcxx/test/std/utilities/time/time.point/time.point.comparisons/ |
op_less.pass.cpp | 10 // <chrono> 30 #include <chrono> 35 typedef std::chrono::system_clock Clock; 36 typedef std::chrono::milliseconds Duration1; 37 typedef std::chrono::microseconds Duration2; 38 typedef std::chrono::time_point<Clock, Duration1> T1; 39 typedef std::chrono::time_point<Clock, Duration2> T2;
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.point/time.point.comparisons/ |
op_less.pass.cpp | 10 // <chrono> 30 #include <chrono> 35 typedef std::chrono::system_clock Clock; 36 typedef std::chrono::milliseconds Duration1; 37 typedef std::chrono::microseconds Duration2; 38 typedef std::chrono::time_point<Clock, Duration1> T1; 39 typedef std::chrono::time_point<Clock, Duration2> T2;
|
/system/netd/server/ |
NetdConstants.h | 26 #include <chrono> 65 Stopwatch() : mStart(std::chrono::steady_clock::now()) {} 69 using ms = std::chrono::duration<float, std::ratio<1, 1000>>; 70 return (std::chrono::duration_cast<ms>( 71 std::chrono::steady_clock::now() - mStart)).count(); 75 std::chrono::time_point<std::chrono::steady_clock> mStart;
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/ |
mutex | 66 bool try_lock_for(const chrono::duration<Rep, Period>& rel_time); 68 bool try_lock_until(const chrono::time_point<Clock, Duration>& abs_time); 84 bool try_lock_for(const chrono::duration<Rep, Period>& rel_time); 86 bool try_lock_until(const chrono::time_point<Clock, Duration>& abs_time); 123 unique_lock(mutex_type& m, const chrono::time_point<Clock, Duration>& abs_time); 125 unique_lock(mutex_type& m, const chrono::duration<Rep, Period>& rel_time); 138 bool try_lock_for(const chrono::duration<Rep, Period>& rel_time); 140 bool try_lock_until(const chrono::time_point<Clock, Duration>& abs_time); 232 bool try_lock_for(const chrono::duration<_Rep, _Period>& __d) 233 {return try_lock_until(chrono::steady_clock::now() + __d); [all...] |
/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/libcxx/include/ |
mutex | 66 bool try_lock_for(const chrono::duration<Rep, Period>& rel_time); 68 bool try_lock_until(const chrono::time_point<Clock, Duration>& abs_time); 84 bool try_lock_for(const chrono::duration<Rep, Period>& rel_time); 86 bool try_lock_until(const chrono::time_point<Clock, Duration>& abs_time); 123 unique_lock(mutex_type& m, const chrono::time_point<Clock, Duration>& abs_time); 125 unique_lock(mutex_type& m, const chrono::duration<Rep, Period>& rel_time); 138 bool try_lock_for(const chrono::duration<Rep, Period>& rel_time); 140 bool try_lock_until(const chrono::time_point<Clock, Duration>& abs_time); 232 bool try_lock_for(const chrono::duration<_Rep, _Period>& __d) 233 {return try_lock_until(chrono::steady_clock::now() + __d); [all...] |
/external/skia/src/core/ |
SkTime.cpp | 69 // TODO: try std::chrono again with MSVC 2015? 81 // TODO: fold into std::chrono when available? 93 // This std::chrono code looks great on Linux and Android, 95 #include <chrono> 97 auto now = std::chrono::high_resolution_clock::now(); 98 std::chrono::duration<double, std::nano> ns = now.time_since_epoch();
|
/external/google-benchmark/src/ |
walltime.cc | 32 #include <chrono> 47 template <bool HighResIsSteady = std::chrono::high_resolution_clock::is_steady> 49 typedef std::chrono::high_resolution_clock type; 54 typedef std::chrono::steady_clock type; 62 typedef std::chrono::high_resolution_clock type; 188 typedef std::chrono::duration<WallTime, std::chrono::seconds::period> 190 static_assert(std::chrono::treat_as_floating_point<WallTime>::value, 193 return std::chrono::duration_cast<FPSeconds>(now).count(); 201 VLOG(1) << "Using std::chrono to provide walltime::Now().\n" [all...] |
/external/libcxx/test/std/thread/thread.condition/ |
notify_all_at_thread_exit.pass.cpp | 20 #include <chrono> 26 typedef std::chrono::milliseconds ms; 27 typedef std::chrono::high_resolution_clock Clock;
|
/external/libcxx/test/std/thread/thread.condition/thread.condition.condvarany/ |
wait_for.exception.pass.cpp | 15 #include <chrono> 47 std::this_thread::sleep_for(std::chrono::milliseconds(500)); 59 cv.wait_for(mut, std::chrono::milliseconds(250));
|