/external/libcxx/test/std/utilities/time/time.duration/time.duration.cast/ |
round.pass.cpp | 38 test(std::chrono::milliseconds( 7290000), std::chrono::hours( 2)); 39 test(std::chrono::milliseconds(-7290000), std::chrono::hours(-2)); 40 test(std::chrono::milliseconds( 7290000), std::chrono::minutes( 122)); 41 test(std::chrono::milliseconds(-7290000), std::chrono::minutes(-122)); 45 constexpr std::chrono::hours h1 = std::chrono::round<std::chrono::hours>(std::chrono::milliseconds(9000000)); 47 constexpr std::chrono::hours h2 = std::chrono::round<std::chrono::hours>(std::chrono::milliseconds(-9000000));
|
/hardware/interfaces/automotive/vehicle/2.0/default/tests/ |
RecurrentTimer_test.cpp | 26 using std::chrono::milliseconds; 42 timer.registerRecurrentEvent(milliseconds(1), 0xdead); 43 std::this_thread::sleep_for(milliseconds(100)); 65 timer.registerRecurrentEvent(milliseconds(1), 0xdead); 66 timer.registerRecurrentEvent(milliseconds(5), 0xbeef); 68 std::this_thread::sleep_for(milliseconds(100));
|
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.condition/thread.condition.condvar/ |
wait_for.pass.cpp | 36 typedef std::chrono::milliseconds milliseconds; typedef 43 cv.wait_for(lk, milliseconds(250)) == std::cv_status::no_timeout) 48 assert(t1 - t0 < milliseconds(250)); 53 assert(t1 - t0 - milliseconds(250) < milliseconds(50));
|
wait_for_pred.pass.cpp | 46 typedef std::chrono::milliseconds milliseconds; typedef 52 bool r = cv.wait_for(lk, milliseconds(250), Pred(test2)); 56 assert(t1 - t0 < milliseconds(250)); 61 assert(t1 - t0 - milliseconds(250) < milliseconds(50));
|
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.condition/thread.condition.condvarany/ |
wait_for.pass.cpp | 39 typedef std::chrono::milliseconds milliseconds; typedef 46 cv.wait_for(lk, milliseconds(250)) == std::cv_status::no_timeout) 51 assert(t1 - t0 < milliseconds(250)); 56 assert(t1 - t0 - milliseconds(250) < milliseconds(50));
|
wait_for_pred.pass.cpp | 49 typedef std::chrono::milliseconds milliseconds; typedef 55 bool r = cv.wait_for(lk, milliseconds(250), Pred(test2)); 59 assert(t1 - t0 < milliseconds(250)); 64 assert(t1 - t0 - milliseconds(250) < milliseconds(50));
|
wait_for.exception.pass.cpp | 36 std::this_thread::sleep_for(std::chrono::milliseconds(500)); 48 cv.wait_for(mut, std::chrono::milliseconds(250));
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/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)); 58 assert(t1 - t0 < milliseconds(250)); 63 assert(t1 - t0 - milliseconds(250) < milliseconds(50));
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/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 | 51 typedef std::chrono::milliseconds milliseconds; typedef 57 bool r = cv.wait_for(lk, milliseconds(250), Pred(test2)); 61 assert(t1 - t0 < milliseconds(250)); 66 assert(t1 - t0 - milliseconds(250) < milliseconds(50));
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/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));
|
round.pass.cpp | 38 test(std::chrono::milliseconds( 7290000), std::chrono::hours( 2)); 39 test(std::chrono::milliseconds(-7290000), std::chrono::hours(-2)); 40 test(std::chrono::milliseconds( 7290000), std::chrono::minutes( 122)); 41 test(std::chrono::milliseconds(-7290000), std::chrono::minutes(-122)); 45 constexpr std::chrono::hours h1 = std::chrono::round<std::chrono::hours>(std::chrono::milliseconds(9000000)); 47 constexpr std::chrono::hours h2 = std::chrono::round<std::chrono::hours>(std::chrono::milliseconds(-9000000));
|
/test/vts/runners/target/vts_hal_hidl_target/ |
VtsHalHidlTargetCallbackBase.h | 33 constexpr milliseconds DEFAULT_CALLBACK_WAIT_TIMEOUT_INITIAL = minutes(1); 122 * Timeout defaults to -1 milliseconds. Negative timeout means use to 128 milliseconds timeout = milliseconds(-1)) { 143 milliseconds timeout_any = milliseconds(-1)) { 204 milliseconds GetWaitTimeout(const string& callback_function_name = 216 milliseconds timeout) { 225 milliseconds GetWaitTimeoutDefault() { return cb_default_wait_timeout_; } 232 void SetWaitTimeoutDefault(milliseconds timeout) [all...] |
/external/c-ares/ |
ares__timeval.c | 25 ** to nowadays. Returns milliseconds elapsed since last system boot, 29 DWORD milliseconds = GetTickCount(); local 30 now.tv_sec = milliseconds / 1000; 31 now.tv_usec = (milliseconds % 1000) * 1000; 103 * Returns: the time difference in number of milliseconds.
|
/system/bt/vendor_libs/test_vendor_lib/include/ |
async_manager.h | 62 AsyncTaskId ExecAsync(std::chrono::milliseconds delay, 69 AsyncTaskId ExecAsyncPeriodically(std::chrono::milliseconds delay, 70 std::chrono::milliseconds period,
|
/system/core/libmemunreachable/ |
ScopedDisableMalloc.h | 75 std::chrono::milliseconds timeout = std::chrono::milliseconds(2000)) 101 std::chrono::milliseconds timeout_;
|
/external/curl/lib/ |
timeval.c | 31 ** to nowadays. Returns milliseconds elapsed since last system boot, 37 DWORD milliseconds = GetTickCount(); local 38 now.tv_sec = milliseconds / 1000; 39 now.tv_usec = (milliseconds % 1000) * 1000; 41 ULONGLONG milliseconds = GetTickCount64(); local 42 now.tv_sec = (long) (milliseconds / 1000); 43 now.tv_usec = (long) (milliseconds % 1000) * 1000; 116 * Returns: the time difference in number of milliseconds. For large diffs it
|
/external/autotest/client/cros/video/ |
screenshot_file_namer.py | 58 # integer division, discard decimal milliseconds 59 milliseconds = time_delta_value.microseconds // 1000 62 hours, minutes, seconds, milliseconds)
|
/system/core/adb/sysdeps/ |
chrono.h | 37 constexpr std::chrono::milliseconds operator"" ms(unsigned long long ms) { 38 return std::chrono::milliseconds(ms);
|
/system/core/base/include/android-base/ |
chrono_utils.h | 41 std::chrono::milliseconds duration() const { 42 return std::chrono::duration_cast<std::chrono::milliseconds>(boot_clock::now() - start_);
|
/external/autotest/client/site_tests/power_LoadTest/extension/ |
params.js | 5 // Convert seconds to milliseconds 10 // Convert minutes to milliseconds
|
/external/curl/src/ |
tool_util.c | 34 ** to nowadays. Returns milliseconds elapsed since last system boot, 40 ** is typically in the range of 10 milliseconds to 16 milliseconds. 44 ULONGLONG milliseconds = GetTickCount64(); local 46 DWORD milliseconds = GetTickCount(); local 48 now.tv_sec = (long)(milliseconds / 1000); 49 now.tv_usec = (milliseconds % 1000) * 1000; 120 * Returns: the time difference in number of milliseconds.
|
/external/libcxx/test/std/utilities/time/time.duration/time.duration.alg/ |
abs.pass.cpp | 37 test(std::chrono::milliseconds( 7290000), std::chrono::milliseconds( 7290000)); 38 test(std::chrono::milliseconds(-7290000), std::chrono::milliseconds( 7290000));
|