/external/skia/tools/timer/ |
D | SysTimer_mach.cpp | 32 if ((end_clock.microseconds - start_clock.microseconds) < 0) { in interval_in_ms() 34 duration_clock += (1000000 + end_clock.microseconds - start_clock.microseconds) / 1000.0; in interval_in_ms() 37 duration_clock += (end_clock.microseconds - start_clock.microseconds) / 1000.0; in interval_in_ms()
|
/external/chromium_org/third_party/skia/bench/ |
D | BenchSysTimer_mach.cpp | 40 if ((end_clock.microseconds - start_clock.microseconds) < 0) { in intervalInMSec() 43 + end_clock.microseconds in intervalInMSec() 44 - start_clock.microseconds) / 1000.0; in intervalInMSec() 47 duration_clock += (end_clock.microseconds - start_clock.microseconds) in intervalInMSec()
|
/external/chromium_org/base/time/ |
D | time_posix.cc | 101 int64 microseconds = InMicroseconds(); in ToTimeSpec() local 103 if (microseconds >= Time::kMicrosecondsPerSecond) { in ToTimeSpec() 105 microseconds -= seconds * Time::kMicrosecondsPerSecond; in ToTimeSpec() 109 static_cast<long>(microseconds * Time::kNanosecondsPerMicrosecond)}; in ToTimeSpec() 165 int64 microseconds = us_ - kWindowsEpochDeltaMicroseconds; in Explode() local 170 if (microseconds >= 0) { in Explode() 172 milliseconds = microseconds / kMicrosecondsPerMillisecond; in Explode() 177 milliseconds = (microseconds - kMicrosecondsPerMillisecond + 1) / in Explode()
|
/external/libcxx/test/utilities/time/time.duration/time.duration.nonmember/ |
D | op_+.pass.cpp | 31 std::chrono::microseconds s2(5); in main() 32 std::chrono::microseconds r = s1 + s2; in main() 56 constexpr std::chrono::microseconds s2(5); in main() 57 constexpr std::chrono::microseconds r = s1 + s2; in main()
|
D | op_-.pass.cpp | 32 std::chrono::microseconds s2(5); in main() 33 std::chrono::microseconds r = s1 - s2; in main() 57 constexpr std::chrono::microseconds s2(5); in main() 58 constexpr std::chrono::microseconds r = s1 - s2; in main()
|
D | op_divide_duration.pass.cpp | 30 std::chrono::microseconds us1(15); in main() 51 constexpr std::chrono::microseconds us1(15); in main()
|
D | op_mod_duration.pass.cpp | 31 std::chrono::microseconds us1(15); in main() 50 constexpr std::chrono::microseconds us1(15); in main()
|
/external/chromium_org/content/renderer/media/ |
D | webmediaplayer_util.cc | 27 double microseconds = seconds * base::Time::kMicrosecondsPerSecond; in ConvertSecondsToTimestamp() local 29 microseconds > 0 ? microseconds + 0.5 : ceil(microseconds - 0.5)); in ConvertSecondsToTimestamp()
|
/external/libcxx/test/utilities/time/time.duration/time.duration.comparisons/ |
D | op_equal.pass.cpp | 43 std::chrono::microseconds s2(3000); in main() 49 std::chrono::microseconds s2(4000); in main() 86 constexpr std::chrono::microseconds s2(3000); in main() 92 constexpr std::chrono::microseconds s2(4000); in main()
|
D | op_less.pass.cpp | 57 std::chrono::microseconds s2(3000); in main() 65 std::chrono::microseconds s2(4000); in main() 114 constexpr std::chrono::microseconds s2(3000); in main() 122 constexpr std::chrono::microseconds s2(4000); in main()
|
/external/llvm/include/llvm/Support/ |
D | TimeValue.h | 207 uint32_t microseconds() const { in microseconds() function 293 void microseconds ( int32_t micros ) { in microseconds() function 306 void usec( int64_t microseconds ) { in usec() argument 307 this->seconds_ = microseconds / MICROSECONDS_PER_SECOND; in usec() 308 this->nanos_ = NanoSecondsType(microseconds % MICROSECONDS_PER_SECOND) * in usec()
|
/external/libcxx/test/utilities/time/time.duration/time.duration.arithmetic/ |
D | op_mod=duration.pass.cpp | 21 std::chrono::microseconds us(11); in main() 22 std::chrono::microseconds us2(3); in main()
|
/external/libcxx/test/utilities/time/time.duration/time.duration.literals/ |
D | literals.pass.cpp | 26 static_assert ( std::is_same<decltype( 3us ), std::chrono::microseconds>::value, "" ); in main() 49 std::chrono::microseconds us = 867us; in main() 50 assert ( us == std::chrono::microseconds(867)); in main()
|
D | literals1.pass.cpp | 38 microseconds us = 867us; in main() 39 assert ( us == microseconds(867)); in main()
|
D | literals2.pass.cpp | 41 std::chrono::microseconds us = 867us; in main() 42 assert ( us == std::chrono::microseconds(867)); in main()
|
/external/libcxx/test/utilities/time/time.duration/time.duration.cons/ |
D | convert_exact.pass.cpp | 26 std::chrono::microseconds us = ms; in main() 32 constexpr std::chrono::microseconds us = ms; in main()
|
/external/chromium_org/third_party/webrtc/base/ |
D | timeutils_unittest.cc | 131 int microseconds; in TEST() local 134 CurrentTmTime(&tm, µseconds); in TEST() 143 EXPECT_TRUE(0 <= microseconds && microseconds < 1000000); in TEST()
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
D | timeutils_unittest.cc | 148 int microseconds; in TEST() local 151 CurrentTmTime(&tm, µseconds); in TEST() 160 EXPECT_TRUE(0 <= microseconds && microseconds < 1000000); in TEST()
|
/external/stressapptest/src/ |
D | sattypes.h | 157 inline bool sat_usleep(int32 microseconds) { in sat_usleep() argument 159 req.tv_sec = microseconds / 1000000; in sat_usleep() 161 req.tv_nsec = (microseconds % 1000000) * 1000; in sat_usleep()
|
/external/chromium_org/third_party/icu/source/i18n/ |
D | utmscale.c | 15 #define microseconds (ticks * 10) macro 16 #define milliseconds (microseconds * 1000) 34 …{microseconds, INT64_C(62135596800000000), INT64_C(-984472800485477580), INT64_C(860201606885477…
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/messaging/timer/ |
D | popup.js | 28 var usec = Math.round(timer.microseconds() / response.counter); 50 var usec = Math.round(timer.microseconds() / response.counter);
|
/external/libcxx/test/utilities/time/ |
D | Android.mk | 43 test_name := utilities/time/microseconds 44 test_src := microseconds.pass.cpp
|
/external/icu/icu4c/source/i18n/ |
D | utmscale.c | 15 #define microseconds (ticks * 10) macro 16 #define milliseconds (microseconds * 1000) 34 …{microseconds, INT64_C(62135596800000000), INT64_C(-984472800485477580), INT64_C(860201606885477…
|
/external/chromium_org/media/cast/test/utility/ |
D | udp_proxy.cc | 72 int64 microseconds = static_cast<int64>(seconds * 1E6); in Schedule() local 76 base::TimeDelta::FromMicroseconds(microseconds)); in Schedule() 205 int64 microseconds = static_cast<int64>(seconds * 1E6); in ScheduleExtraDelay() local 210 base::TimeDelta::FromMicroseconds(microseconds)); in ScheduleExtraDelay() 293 int64 microseconds = static_cast<int64>(seconds * 1E6); in Flip() local 297 base::TimeDelta::FromMicroseconds(microseconds)); in Flip()
|
/external/libcxx/test/utilities/time/time.point/time.point.cast/ |
D | time_point_cast.pass.cpp | 62 test(std::chrono::milliseconds(7265000), std::chrono::microseconds(7265000000LL)); in main() 74 test_constexpr<std::chrono::milliseconds, 7265000, std::chrono::microseconds,7265000000LL> (); in main()
|