/external/libcxx/test/std/utilities/time/time.point/time.point.cast/ |
D | time_point_cast.pass.cpp | 58 test(std::chrono::milliseconds(7265000), std::chrono::hours(2)); in main() 59 test(std::chrono::milliseconds(7265000), std::chrono::minutes(121)); in main() 60 test(std::chrono::milliseconds(7265000), std::chrono::seconds(7265)); in main() 61 test(std::chrono::milliseconds(7265000), std::chrono::milliseconds(7265000)); in main() 62 test(std::chrono::milliseconds(7265000), std::chrono::microseconds(7265000000LL)); in main() 63 test(std::chrono::milliseconds(7265000), std::chrono::nanoseconds(7265000000000LL)); in main() 64 test(std::chrono::milliseconds(7265000), in main() 70 test_constexpr<std::chrono::milliseconds, 7265000, std::chrono::hours, 2> (); in main() 71 test_constexpr<std::chrono::milliseconds, 7265000, std::chrono::minutes,121> (); in main() 72 test_constexpr<std::chrono::milliseconds, 7265000, std::chrono::seconds,7265> (); in main() [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/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/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()
|
/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/libweave/third_party/chromium/base/time/ |
D | time_posix.cc | 160 int64_t milliseconds; // Milliseconds since epoch. in Explode() local 165 milliseconds = microseconds / kMicrosecondsPerMillisecond; in Explode() 166 seconds = milliseconds / kMillisecondsPerSecond; in Explode() 167 millisecond = milliseconds % kMillisecondsPerSecond; in Explode() 170 milliseconds = (microseconds - kMicrosecondsPerMillisecond + 1) / in Explode() 172 seconds = (milliseconds - kMillisecondsPerSecond + 1) / in Explode() 175 millisecond = milliseconds % kMillisecondsPerSecond; in Explode() 210 int64_t milliseconds; in FromExploded() local 274 milliseconds = min_seconds * kMillisecondsPerSecond; in FromExploded() 276 milliseconds = max_seconds * kMillisecondsPerSecond; in FromExploded() [all …]
|
/external/jetty/src/resources/org/eclipse/jetty/server/handler/jmx/ |
D | StatisticsHandler-mbean.properties | 2 statsOnMs: Time in milliseconds stats have been collected for. 7 requestTimeMax: Maximum time in milliseconds of request handling since statsReset() called. 8 requestTimeTotal: Total time in milliseconds of all request handling since statsReset() called. 9 requestTimeMean: Mean of time in milliseconds of request handling since statsReset() called. 10 requestTimeStdDev: Standard deviation of time in milliseconds of request handling since statsReset(… 14 dispatchedTimeMax: Maximum time in milliseconds of dispatched handling since statsReset() called. 15 dispatchedTimeTotal: Total time in milliseconds of all dispatched handling since statsReset() calle… 16 dispatchedTimeMean: Mean of time in milliseconds of dispatch handling since statsReset() called. 17 dispatchedTimeStdDev: Standard deviation of time in milliseconds of dispatch handling since statsRe…
|
/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 | 51 typedef std::chrono::milliseconds milliseconds; in f() typedef 57 bool r = cv.wait_for(lk, milliseconds(250), Pred(test2)); in f() 61 assert(t1 - t0 < milliseconds(250)); in f() 66 assert(t1 - t0 - milliseconds(250) < milliseconds(50)); in f()
|
/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.condvar/ |
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()
|
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() 58 assert(t1 - t0 < milliseconds(250)); in f() 63 assert(t1 - t0 - milliseconds(250) < milliseconds(50)); in f()
|
/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/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/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/ |
D | message_types.py | 48 milliseconds = messages.IntegerField(1, required=True) variable in DateTimeMessage 83 return datetime.datetime.utcfromtimestamp(message.milliseconds / 1000.0) 88 milliseconds = (message.milliseconds - 92 return datetime.datetime.fromtimestamp(milliseconds / 1000.0, 112 message.milliseconds = int(util.total_seconds(delta) * 1000)
|
/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/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/webpagereplay/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 | 90 private void startVideoRecording(File file, int milliseconds, int videoSize) throws Exception { in startVideoRecording() argument 150 if (milliseconds > 0) { in startVideoRecording() 151 mMediaRecorder.setMaxDuration(milliseconds); in startVideoRecording() 155 if (milliseconds > 0) { in startVideoRecording() 156 new CountDownLatch(1).await(milliseconds, TimeUnit.MILLISECONDS); in startVideoRecording() 173 …private void startVideoRecording(File file, int milliseconds, boolean withAudio) throws Exception { in startVideoRecording() argument 192 if (milliseconds > 0) { in startVideoRecording() 193 mMediaRecorder.setMaxDuration(milliseconds); in startVideoRecording() 197 if (milliseconds > 0) { in startVideoRecording() 198 new CountDownLatch(1).await(milliseconds, TimeUnit.MILLISECONDS); in startVideoRecording()
|
/external/libcxx/test/std/thread/futures/futures.shared_future/ |
D | get.pass.cpp | 25 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func1() 31 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func2() 39 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func3() 46 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func4() 52 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func5() 58 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func6()
|
/external/libcxx/test/std/thread/futures/futures.unique_future/ |
D | get.pass.cpp | 25 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func1() 31 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func2() 39 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func3() 46 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func4() 52 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func5() 58 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func6()
|
/external/curl/src/ |
D | tool_util.c | 44 ULONGLONG milliseconds = GetTickCount64(); in tool_tvnow() local 46 DWORD milliseconds = GetTickCount(); in tool_tvnow() local 48 now.tv_sec = (long)(milliseconds / 1000); in tool_tvnow() 49 now.tv_usec = (milliseconds % 1000) * 1000; in tool_tvnow()
|
/external/deqp/framework/delibs/dethread/unix/ |
D | deThreadUnix.c | 143 void deSleep (deUint32 milliseconds) in deSleep() argument 146 deUint32 seconds = milliseconds / 1000; in deSleep() 148 milliseconds = milliseconds - seconds * 1000; in deSleep() 153 usleep((useconds_t)milliseconds * (useconds_t)1000); in deSleep()
|
/external/vogar/src/vogar/util/ |
D | TimeUtilities.java | 28 long milliseconds = duration % 1000; in msToIsoString() local 46 if (milliseconds != 0) { in msToIsoString() 48 result.append(milliseconds); in msToIsoString() 79 long milliseconds = duration % 1000; in nsToString() local
|