/external/libcxx/test/std/utilities/time/time.point/time.point.cast/ |
D | time_point_cast.pass.cpp | 60 test(std::chrono::milliseconds(7265000), std::chrono::hours(2)); in main() 61 test(std::chrono::milliseconds(7265000), std::chrono::minutes(121)); in main() 62 test(std::chrono::milliseconds(7265000), std::chrono::seconds(7265)); in main() 63 test(std::chrono::milliseconds(7265000), std::chrono::milliseconds(7265000)); in main() 64 test(std::chrono::milliseconds(7265000), std::chrono::microseconds(7265000000LL)); in main() 65 test(std::chrono::milliseconds(7265000), std::chrono::nanoseconds(7265000000000LL)); in main() 66 test(std::chrono::milliseconds(7265000), in main() 72 test_constexpr<std::chrono::milliseconds, 7265000, std::chrono::hours, 2> (); in main() 73 test_constexpr<std::chrono::milliseconds, 7265000, std::chrono::minutes,121> (); in main() 74 test_constexpr<std::chrono::milliseconds, 7265000, std::chrono::seconds,7265> (); in main() [all …]
|
D | ceil.pass.cpp | 56 test(std::chrono::milliseconds( 7290000), std::chrono::hours( 3)); in main() 57 test(std::chrono::milliseconds(-7290000), std::chrono::hours(-2)); in main() 58 test(std::chrono::milliseconds( 7290000), std::chrono::minutes( 122)); in main() 59 test(std::chrono::milliseconds(-7290000), std::chrono::minutes(-121)); in main() 62 test_constexpr<std::chrono::milliseconds, 9000000, std::chrono::hours, 3> (); in main() 63 test_constexpr<std::chrono::milliseconds,-9000000, std::chrono::hours, -2> (); in main() 64 test_constexpr<std::chrono::milliseconds, 9000001, std::chrono::minutes, 151> (); in main() 65 test_constexpr<std::chrono::milliseconds,-9000001, std::chrono::minutes,-150> (); in main() 67 test_constexpr<std::chrono::milliseconds, 9000000, std::chrono::seconds, 9000> (); in main() 68 test_constexpr<std::chrono::milliseconds,-9000000, std::chrono::seconds,-9000> (); in main()
|
D | floor.pass.cpp | 55 test(std::chrono::milliseconds( 7290000), std::chrono::hours( 2)); in main() 56 test(std::chrono::milliseconds(-7290000), std::chrono::hours(-3)); in main() 57 test(std::chrono::milliseconds( 7290000), std::chrono::minutes( 121)); in main() 58 test(std::chrono::milliseconds(-7290000), std::chrono::minutes(-122)); in main() 61 test_constexpr<std::chrono::milliseconds, 9000000, std::chrono::hours, 2> (); in main() 62 test_constexpr<std::chrono::milliseconds,-9000000, std::chrono::hours, -3> (); in main() 63 test_constexpr<std::chrono::milliseconds, 9000001, std::chrono::minutes, 150> (); in main() 64 test_constexpr<std::chrono::milliseconds,-9000001, std::chrono::minutes,-151> (); in main() 66 test_constexpr<std::chrono::milliseconds, 9000000, std::chrono::seconds, 9000> (); in main() 67 test_constexpr<std::chrono::milliseconds,-9000000, std::chrono::seconds,-9000> (); in main()
|
D | round.pass.cpp | 55 test(std::chrono::milliseconds( 7290000), std::chrono::hours( 2)); in main() 56 test(std::chrono::milliseconds(-7290000), std::chrono::hours(-2)); in main() 57 test(std::chrono::milliseconds( 7290000), std::chrono::minutes( 122)); in main() 58 test(std::chrono::milliseconds(-7290000), std::chrono::minutes(-122)); in main() 61 test_constexpr<std::chrono::milliseconds, 9000000, std::chrono::hours, 2> (); in main() 62 test_constexpr<std::chrono::milliseconds,-9000000, std::chrono::hours, -2> (); in main() 63 test_constexpr<std::chrono::milliseconds, 9000001, std::chrono::minutes, 150> (); in main() 64 test_constexpr<std::chrono::milliseconds,-9000001, std::chrono::minutes,-150> (); in main() 66 test_constexpr<std::chrono::milliseconds, 9000000, std::chrono::seconds, 9000> (); in main() 67 test_constexpr<std::chrono::milliseconds,-9000000, std::chrono::seconds,-9000> (); in main()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/testdata/ |
D | testdata_en.txt | 131 3 milliseconds ago 132 2 milliseconds ago 134 0 milliseconds 136 2 milliseconds from now 137 3 milliseconds from now 138 5 milliseconds from now 139 10 milliseconds from now 140 11 milliseconds from now 141 12 milliseconds from now 142 20 milliseconds from now [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/duration/testdata/ |
D | testdata_en.txt | 131 3 milliseconds ago 132 2 milliseconds ago 134 0 milliseconds 136 2 milliseconds from now 137 3 milliseconds from now 138 5 milliseconds from now 139 10 milliseconds from now 140 11 milliseconds from now 141 12 milliseconds from now 142 20 milliseconds from now [all …]
|
/external/libcxx/test/std/utilities/time/time.duration/time.duration.cast/ |
D | duration_cast.pass.cpp | 36 test(std::chrono::milliseconds(7265000), std::chrono::hours(2)); in main() 37 test(std::chrono::milliseconds(7265000), std::chrono::minutes(121)); in main() 38 test(std::chrono::milliseconds(7265000), std::chrono::seconds(7265)); in main() 39 test(std::chrono::milliseconds(7265000), std::chrono::milliseconds(7265000)); in main() 40 test(std::chrono::milliseconds(7265000), std::chrono::microseconds(7265000000LL)); in main() 41 test(std::chrono::milliseconds(7265000), std::chrono::nanoseconds(7265000000000LL)); in main() 42 test(std::chrono::milliseconds(7265000), in main() 48 …rono::hours h = std::chrono::duration_cast<std::chrono::hours>(std::chrono::milliseconds(7265000)); in main()
|
D | round.pass.cpp | 38 test(std::chrono::milliseconds( 7290000), std::chrono::hours( 2)); in main() 39 test(std::chrono::milliseconds(-7290000), std::chrono::hours(-2)); in main() 40 test(std::chrono::milliseconds( 7290000), std::chrono::minutes( 122)); in main() 41 test(std::chrono::milliseconds(-7290000), std::chrono::minutes(-122)); in main() 45 …std::chrono::hours h1 = std::chrono::round<std::chrono::hours>(std::chrono::milliseconds(9000000)); in main() 47 …td::chrono::hours h2 = std::chrono::round<std::chrono::hours>(std::chrono::milliseconds(-9000000)); in main()
|
D | floor.pass.cpp | 38 test(std::chrono::milliseconds( 7290000), std::chrono::hours( 2)); in main() 39 test(std::chrono::milliseconds(-7290000), std::chrono::hours(-3)); in main() 40 test(std::chrono::milliseconds( 7290000), std::chrono::minutes( 121)); in main() 41 test(std::chrono::milliseconds(-7290000), std::chrono::minutes(-122)); in main() 45 …std::chrono::hours h1 = std::chrono::floor<std::chrono::hours>(std::chrono::milliseconds(9000000)); in main() 47 …td::chrono::hours h2 = std::chrono::floor<std::chrono::hours>(std::chrono::milliseconds(-9000000)); in main()
|
D | ceil.pass.cpp | 39 test(std::chrono::milliseconds( 7290000), std::chrono::hours( 3)); in main() 40 test(std::chrono::milliseconds(-7290000), std::chrono::hours(-2)); in main() 41 test(std::chrono::milliseconds( 7290000), std::chrono::minutes( 122)); in main() 42 test(std::chrono::milliseconds(-7290000), std::chrono::minutes(-121)); in main() 46 … std::chrono::hours h1 = std::chrono::ceil<std::chrono::hours>(std::chrono::milliseconds(9000000)); in main() 48 …std::chrono::hours h2 = std::chrono::ceil<std::chrono::hours>(std::chrono::milliseconds(-9000000)); in main()
|
/external/webrtc/webrtc/base/ |
D | event.cc | 49 bool Event::Wait(int milliseconds) { in Wait() argument 50 DWORD ms = (milliseconds == kForever) ? INFINITE : milliseconds; in Wait() 81 bool Event::Wait(int milliseconds) { 85 if (milliseconds != kForever) { 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;
|
/external/deqp/framework/delibs/deutil/ |
D | deTimer.c | 79 deBool deTimer_scheduleSingle (deTimer* timer, int milliseconds) in deTimer_scheduleSingle() argument 83 DE_ASSERT(timer && milliseconds > 0); in deTimer_scheduleSingle() 88 …ret = CreateTimerQueueTimer(&timer->timer, NULL, timerCallback, timer, (DWORD)milliseconds, 0, WT_… in deTimer_scheduleSingle() 99 deBool deTimer_scheduleInterval (deTimer* timer, int milliseconds) in deTimer_scheduleInterval() argument 103 DE_ASSERT(timer && milliseconds > 0); in deTimer_scheduleInterval() 108 …ueueTimer(&timer->timer, NULL, timerCallback, timer, (DWORD)milliseconds, (DWORD)milliseconds, WT_… in deTimer_scheduleInterval() 215 deBool deTimer_scheduleSingle (deTimer* timer, int milliseconds) in deTimer_scheduleSingle() argument 219 DE_ASSERT(timer && milliseconds > 0); in deTimer_scheduleSingle() 224 tspec.it_value.tv_sec = milliseconds / 1000; in deTimer_scheduleSingle() 225 tspec.it_value.tv_nsec = (milliseconds % 1000) * 1000; in deTimer_scheduleSingle() [all …]
|
/external/libchrome/base/time/ |
D | time_posix.cc | 180 int64_t milliseconds; // Milliseconds since epoch. in Explode() local 185 milliseconds = microseconds / kMicrosecondsPerMillisecond; in Explode() 186 seconds = milliseconds / kMillisecondsPerSecond; in Explode() 187 millisecond = milliseconds % kMillisecondsPerSecond; in Explode() 190 milliseconds = (microseconds - kMicrosecondsPerMillisecond + 1) / in Explode() 192 seconds = (milliseconds - kMillisecondsPerSecond + 1) / in Explode() 195 millisecond = milliseconds % kMillisecondsPerSecond; in Explode() 230 int64_t milliseconds; in FromExploded() local 294 milliseconds = min_seconds * kMillisecondsPerSecond; in FromExploded() 296 milliseconds = max_seconds * kMillisecondsPerSecond; in FromExploded() [all …]
|
/external/libcxx/test/std/thread/thread.condition/thread.condition.condvarany/ |
D | wait_for.pass.cpp | 41 typedef std::chrono::milliseconds milliseconds; in f() typedef 48 cv.wait_for(lk, milliseconds(250)) == std::cv_status::no_timeout) in f() 53 assert(t1 - t0 < milliseconds(250)); in f() 58 assert(t1 - t0 - milliseconds(250) < milliseconds(50)); in f()
|
D | wait_for_pred.pass.cpp | 52 typedef std::chrono::milliseconds milliseconds; in f() typedef 58 bool result = cv.wait_for(lk, milliseconds(250), Pred(test2)); in f() 63 assert(t1 - t0 < milliseconds(250)); in f() 68 assert(t1 - t0 - milliseconds(250) < milliseconds(50)); in f()
|
/external/libcxx/test/std/thread/thread.condition/thread.condition.condvar/ |
D | wait_for_pred.pass.cpp | 48 typedef std::chrono::milliseconds milliseconds; in f() typedef 54 bool r = cv.wait_for(lk, milliseconds(250), Pred(test2)); in f() 59 assert(t1 - t0 < milliseconds(250)); in f() 64 assert(t1 - t0 - milliseconds(250) < milliseconds(50)); in f()
|
D | wait_for.pass.cpp | 38 typedef std::chrono::milliseconds milliseconds; in f() typedef 45 cv.wait_for(lk, milliseconds(250)) == std::cv_status::no_timeout) in f() 50 assert(t1 - t0 < milliseconds(250)); in f() 55 assert(t1 - t0 - milliseconds(250) < milliseconds(50)); in f()
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowVibrator.java | 12 private long milliseconds; field in ShadowVibrator 17 public void vibrate(long milliseconds) { in vibrate() argument 19 this.milliseconds = milliseconds; in vibrate() 44 return milliseconds; in getMilliseconds()
|
/external/curl/lib/ |
D | timeval.c | 37 DWORD milliseconds = GetTickCount(); in curlx_tvnow() local 38 now.tv_sec = milliseconds / 1000; in curlx_tvnow() 39 now.tv_usec = (milliseconds % 1000) * 1000; in curlx_tvnow() 41 ULONGLONG milliseconds = GetTickCount64(); in curlx_tvnow() local 42 now.tv_sec = (long) (milliseconds / 1000); in curlx_tvnow() 43 now.tv_usec = (long) (milliseconds % 1000) * 1000; in curlx_tvnow()
|
/external/webrtc/webrtc/system_wrappers/source/ |
D | clock_unittest.cc | 22 int64_t milliseconds = clock->CurrentNtpInMilliseconds(); in TEST() local 23 EXPECT_GT(milliseconds / 1000, kNtpJan1970); in TEST() 24 EXPECT_GE(milliseconds, Clock::NtpToMs(seconds, fractions)); in TEST() 25 EXPECT_NEAR(milliseconds, Clock::NtpToMs(seconds, fractions), 100); in TEST()
|
/external/libcxx/utils/google-benchmark/src/ |
D | sleep.cc | 29 void SleepForMilliseconds(int milliseconds) { Sleep(milliseconds); } in SleepForMilliseconds() argument 42 void SleepForMilliseconds(int milliseconds) { 43 SleepForMicroseconds(static_cast<int>(milliseconds) * kNumMicrosPerMilli);
|
/external/google-benchmark/src/ |
D | sleep.cc | 29 void SleepForMilliseconds(int milliseconds) { Sleep(milliseconds); } in SleepForMilliseconds() argument 42 void SleepForMilliseconds(int milliseconds) { 43 SleepForMicroseconds(static_cast<int>(milliseconds) * kNumMicrosPerMilli);
|
/external/chromium-trace/catapult/telemetry/third_party/web-page-replay/third_party/dns/rdtypes/ANY/ |
D | LOC.py | 165 (seconds, milliseconds) = t.split('.') 171 l = len(milliseconds) 172 if l == 0 or l > 3 or not milliseconds.isdigit(): 180 latitude[3] = m * int(milliseconds) 196 (seconds, milliseconds) = t.split('.') 202 l = len(milliseconds) 203 if l == 0 or l > 3 or not milliseconds.isdigit(): 211 longitude[3] = m * int(milliseconds) 258 milliseconds = (degrees * 3600000 + 262 latitude = 0x80000000L + milliseconds [all …]
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/media/ |
D | MediaRecorderFacade.java | 87 private void startVideoRecording(File file, int milliseconds, int videoSize) throws Exception { in startVideoRecording() argument 147 if (milliseconds > 0) { in startVideoRecording() 148 mMediaRecorder.setMaxDuration(milliseconds); in startVideoRecording() 152 if (milliseconds > 0) { in startVideoRecording() 153 new CountDownLatch(1).await(milliseconds, TimeUnit.MILLISECONDS); in startVideoRecording() 170 …private void startVideoRecording(File file, int milliseconds, boolean withAudio) throws Exception { in startVideoRecording() argument 189 if (milliseconds > 0) { in startVideoRecording() 190 mMediaRecorder.setMaxDuration(milliseconds); in startVideoRecording() 194 if (milliseconds > 0) { in startVideoRecording() 195 new CountDownLatch(1).await(milliseconds, TimeUnit.MILLISECONDS); in startVideoRecording()
|
/external/libcxx/test/std/thread/futures/futures.unique_future/ |
D | get.pass.cpp | 28 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func1() 34 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func2() 42 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func3() 49 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func4() 55 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func5() 61 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func6()
|