/external/libcxx/test/std/utilities/time/time.duration/time.duration.cons/ |
convert_exact.pass.cpp | 25 std::chrono::milliseconds ms(1); 31 constexpr std::chrono::milliseconds ms(1);
|
/external/libcxx/test/std/utilities/time/time.point/time.point.cast/ |
toduration.fail.cpp | 25 typedef std::chrono::time_point<Clock, std::chrono::milliseconds> FromTimePoint; 27 std::chrono::time_point_cast<ToTimePoint>(FromTimePoint(std::chrono::milliseconds(3)));
|
ceil.pass.cpp | 56 test(std::chrono::milliseconds( 7290000), std::chrono::hours( 3)); 57 test(std::chrono::milliseconds(-7290000), std::chrono::hours(-2)); 58 test(std::chrono::milliseconds( 7290000), std::chrono::minutes( 122)); 59 test(std::chrono::milliseconds(-7290000), std::chrono::minutes(-121)); 62 test_constexpr<std::chrono::milliseconds, 9000000, std::chrono::hours, 3> (); 63 test_constexpr<std::chrono::milliseconds,-9000000, std::chrono::hours, -2> (); 64 test_constexpr<std::chrono::milliseconds, 9000001, std::chrono::minutes, 151> (); 65 test_constexpr<std::chrono::milliseconds,-9000001, std::chrono::minutes,-150> (); 67 test_constexpr<std::chrono::milliseconds, 9000000, std::chrono::seconds, 9000> (); 68 test_constexpr<std::chrono::milliseconds,-9000000, std::chrono::seconds,-9000> () [all...] |
floor.pass.cpp | 55 test(std::chrono::milliseconds( 7290000), std::chrono::hours( 2)); 56 test(std::chrono::milliseconds(-7290000), std::chrono::hours(-3)); 57 test(std::chrono::milliseconds( 7290000), std::chrono::minutes( 121)); 58 test(std::chrono::milliseconds(-7290000), std::chrono::minutes(-122)); 61 test_constexpr<std::chrono::milliseconds, 9000000, std::chrono::hours, 2> (); 62 test_constexpr<std::chrono::milliseconds,-9000000, std::chrono::hours, -3> (); 63 test_constexpr<std::chrono::milliseconds, 9000001, std::chrono::minutes, 150> (); 64 test_constexpr<std::chrono::milliseconds,-9000001, std::chrono::minutes,-151> (); 66 test_constexpr<std::chrono::milliseconds, 9000000, std::chrono::seconds, 9000> (); 67 test_constexpr<std::chrono::milliseconds,-9000000, std::chrono::seconds,-9000> () [all...] |
round.pass.cpp | 55 test(std::chrono::milliseconds( 7290000), std::chrono::hours( 2)); 56 test(std::chrono::milliseconds(-7290000), std::chrono::hours(-2)); 57 test(std::chrono::milliseconds( 7290000), std::chrono::minutes( 122)); 58 test(std::chrono::milliseconds(-7290000), std::chrono::minutes(-122)); 61 test_constexpr<std::chrono::milliseconds, 9000000, std::chrono::hours, 2> (); 62 test_constexpr<std::chrono::milliseconds,-9000000, std::chrono::hours, -2> (); 63 test_constexpr<std::chrono::milliseconds, 9000001, std::chrono::minutes, 150> (); 64 test_constexpr<std::chrono::milliseconds,-9000001, std::chrono::minutes,-150> (); 66 test_constexpr<std::chrono::milliseconds, 9000000, std::chrono::seconds, 9000> (); 67 test_constexpr<std::chrono::milliseconds,-9000000, std::chrono::seconds,-9000> () [all...] |
/packages/apps/Email/tests/src/com/android/email/ |
MockClock.java | 35 public void advance(long milliseconds) { 36 mTime += milliseconds;
|
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.duration/time.duration.cons/ |
convert_exact.pass.cpp | 25 std::chrono::milliseconds ms(1); 31 constexpr std::chrono::milliseconds ms(1);
|
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.point/time.point.cast/ |
toduration.fail.cpp | 25 typedef std::chrono::time_point<Clock, std::chrono::milliseconds> FromTimePoint; 27 std::chrono::time_point_cast<ToTimePoint>(FromTimePoint(std::chrono::milliseconds(3)));
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/utilities/time/time.duration/time.duration.cons/ |
convert_exact.pass.cpp | 25 std::chrono::milliseconds ms(1); 31 constexpr std::chrono::milliseconds ms(1);
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/utilities/time/time.point/time.point.cast/ |
toduration.fail.cpp | 25 typedef std::chrono::time_point<Clock, std::chrono::milliseconds> FromTimePoint; 27 std::chrono::time_point_cast<ToTimePoint>(FromTimePoint(std::chrono::milliseconds(3)));
|
ceil.pass.cpp | 56 test(std::chrono::milliseconds( 7290000), std::chrono::hours( 3)); 57 test(std::chrono::milliseconds(-7290000), std::chrono::hours(-2)); 58 test(std::chrono::milliseconds( 7290000), std::chrono::minutes( 122)); 59 test(std::chrono::milliseconds(-7290000), std::chrono::minutes(-121)); 62 test_constexpr<std::chrono::milliseconds, 9000000, std::chrono::hours, 3> (); 63 test_constexpr<std::chrono::milliseconds,-9000000, std::chrono::hours, -2> (); 64 test_constexpr<std::chrono::milliseconds, 9000001, std::chrono::minutes, 151> (); 65 test_constexpr<std::chrono::milliseconds,-9000001, std::chrono::minutes,-150> (); 67 test_constexpr<std::chrono::milliseconds, 9000000, std::chrono::seconds, 9000> (); 68 test_constexpr<std::chrono::milliseconds,-9000000, std::chrono::seconds,-9000> () [all...] |
floor.pass.cpp | 55 test(std::chrono::milliseconds( 7290000), std::chrono::hours( 2)); 56 test(std::chrono::milliseconds(-7290000), std::chrono::hours(-3)); 57 test(std::chrono::milliseconds( 7290000), std::chrono::minutes( 121)); 58 test(std::chrono::milliseconds(-7290000), std::chrono::minutes(-122)); 61 test_constexpr<std::chrono::milliseconds, 9000000, std::chrono::hours, 2> (); 62 test_constexpr<std::chrono::milliseconds,-9000000, std::chrono::hours, -3> (); 63 test_constexpr<std::chrono::milliseconds, 9000001, std::chrono::minutes, 150> (); 64 test_constexpr<std::chrono::milliseconds,-9000001, std::chrono::minutes,-151> (); 66 test_constexpr<std::chrono::milliseconds, 9000000, std::chrono::seconds, 9000> (); 67 test_constexpr<std::chrono::milliseconds,-9000000, std::chrono::seconds,-9000> () [all...] |
round.pass.cpp | 55 test(std::chrono::milliseconds( 7290000), std::chrono::hours( 2)); 56 test(std::chrono::milliseconds(-7290000), std::chrono::hours(-2)); 57 test(std::chrono::milliseconds( 7290000), std::chrono::minutes( 122)); 58 test(std::chrono::milliseconds(-7290000), std::chrono::minutes(-122)); 61 test_constexpr<std::chrono::milliseconds, 9000000, std::chrono::hours, 2> (); 62 test_constexpr<std::chrono::milliseconds,-9000000, std::chrono::hours, -2> (); 63 test_constexpr<std::chrono::milliseconds, 9000001, std::chrono::minutes, 150> (); 64 test_constexpr<std::chrono::milliseconds,-9000001, std::chrono::minutes,-150> (); 66 test_constexpr<std::chrono::milliseconds, 9000000, std::chrono::seconds, 9000> (); 67 test_constexpr<std::chrono::milliseconds,-9000000, std::chrono::seconds,-9000> () [all...] |
/external/webrtc/webrtc/base/ |
event.cc | 49 bool Event::Wait(int milliseconds) { 50 DWORD ms = (milliseconds == kForever) ? INFINITE : milliseconds; 81 bool Event::Wait(int milliseconds) { 85 if (milliseconds != kForever) { 87 // milliseconds (1e-3) to seconds and nanoseconds (1e-9). 93 ts.tv_sec = milliseconds / 1000; 94 ts.tv_nsec = (milliseconds % 1000) * 1000000; 99 ts.tv_sec = tv.tv_sec + (milliseconds / 1000); 100 ts.tv_nsec = tv.tv_usec * 1000 + (milliseconds % 1000) * 1000000 [all...] |
/external/google-benchmark/src/ |
sleep.h | 11 void SleepForMilliseconds(int milliseconds);
|
/external/libcxx/test/std/utilities/time/time.point/time.point.cons/ |
duration.fail.cpp | 23 typedef std::chrono::milliseconds Duration;
|
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.point/time.point.cons/ |
duration.fail.cpp | 23 typedef std::chrono::milliseconds Duration;
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/utilities/time/time.point/time.point.cons/ |
duration.fail.cpp | 23 typedef std::chrono::milliseconds Duration;
|
/external/deqp/framework/delibs/deutil/ |
deTimer.h | 37 deBool deTimer_scheduleSingle (deTimer* timer, int milliseconds); 38 deBool deTimer_scheduleInterval (deTimer* timer, int milliseconds);
|
/external/libcxx/test/std/thread/thread.condition/thread.condition.condvar/ |
wait_for.pass.cpp | 38 typedef std::chrono::milliseconds milliseconds; typedef 45 cv.wait_for(lk, milliseconds(250)) == std::cv_status::no_timeout) 50 assert(t1 - t0 < milliseconds(250)); 55 assert(t1 - t0 - milliseconds(250) < milliseconds(50));
|
wait_for_pred.pass.cpp | 48 typedef std::chrono::milliseconds milliseconds; typedef 54 bool r = cv.wait_for(lk, milliseconds(250), Pred(test2)); 59 assert(t1 - t0 < milliseconds(250)); 64 assert(t1 - t0 - milliseconds(250) < milliseconds(50));
|
/external/libcxx/test/std/thread/thread.condition/thread.condition.condvarany/ |
wait_for.pass.cpp | 41 typedef std::chrono::milliseconds milliseconds; typedef 48 cv.wait_for(lk, milliseconds(250)) == std::cv_status::no_timeout) 53 assert(t1 - t0 < milliseconds(250)); 58 assert(t1 - t0 - milliseconds(250) < milliseconds(50));
|
wait_for_pred.pass.cpp | 52 typedef std::chrono::milliseconds milliseconds; typedef 58 bool result = cv.wait_for(lk, milliseconds(250), Pred(test2)); 63 assert(t1 - t0 < milliseconds(250)); 68 assert(t1 - t0 - milliseconds(250) < milliseconds(50));
|
/external/libcxx/test/std/utilities/time/time.duration/time.duration.cast/ |
ceil.pass.cpp | 39 test(std::chrono::milliseconds( 7290000), std::chrono::hours( 3)); 40 test(std::chrono::milliseconds(-7290000), std::chrono::hours(-2)); 41 test(std::chrono::milliseconds( 7290000), std::chrono::minutes( 122)); 42 test(std::chrono::milliseconds(-7290000), std::chrono::minutes(-121)); 46 constexpr std::chrono::hours h1 = std::chrono::ceil<std::chrono::hours>(std::chrono::milliseconds(9000000)); 48 constexpr std::chrono::hours h2 = std::chrono::ceil<std::chrono::hours>(std::chrono::milliseconds(-9000000));
|
floor.pass.cpp | 38 test(std::chrono::milliseconds( 7290000), std::chrono::hours( 2)); 39 test(std::chrono::milliseconds(-7290000), std::chrono::hours(-3)); 40 test(std::chrono::milliseconds( 7290000), std::chrono::minutes( 121)); 41 test(std::chrono::milliseconds(-7290000), std::chrono::minutes(-122)); 45 constexpr std::chrono::hours h1 = std::chrono::floor<std::chrono::hours>(std::chrono::milliseconds(9000000)); 47 constexpr std::chrono::hours h2 = std::chrono::floor<std::chrono::hours>(std::chrono::milliseconds(-9000000));
|