/external/libcxx/test/std/utilities/time/time.duration/time.duration.arithmetic/ |
D | op_mod=duration.pass.cpp | 24 std::chrono::microseconds us1(11); in test_constexpr() 25 std::chrono::microseconds us2(3); in test_constexpr() 34 std::chrono::microseconds us1(11); in main() 35 std::chrono::microseconds us2(3); in main()
|
/external/parameter-framework/asio-1.10.6/include/asio/detail/impl/ |
D | handler_tracking.ipp | 37 uint64_t microseconds; 46 microseconds = static_cast<uint64_t>(now.total_microseconds() % 1000000); 91 timestamp.seconds, timestamp.microseconds, 111 timestamp.seconds, timestamp.microseconds, 124 timestamp.seconds, timestamp.microseconds, id_); 136 timestamp.seconds, timestamp.microseconds, 149 timestamp.seconds, timestamp.microseconds, 163 timestamp.seconds, timestamp.microseconds, 176 timestamp.seconds, timestamp.microseconds, 190 timestamp.seconds, timestamp.microseconds, id_); [all …]
|
/external/libchrome/base/time/ |
D | time_posix.cc | 114 int64_t microseconds = InMicroseconds(); in ToTimeSpec() local 116 if (microseconds >= Time::kMicrosecondsPerSecond) { in ToTimeSpec() 118 microseconds -= seconds * Time::kMicrosecondsPerSecond; in ToTimeSpec() 122 static_cast<long>(microseconds * Time::kNanosecondsPerMicrosecond)}; in ToTimeSpec() 178 int64_t microseconds = us_ - kWindowsEpochDeltaMicroseconds; in Explode() local 183 if (microseconds >= 0) { in Explode() 185 milliseconds = microseconds / kMicrosecondsPerMillisecond; in Explode() 190 milliseconds = (microseconds - kMicrosecondsPerMillisecond + 1) / in Explode()
|
/external/libcxx/utils/google-benchmark/src/ |
D | sleep.cc | 34 void SleepForMicroseconds(int microseconds) { 36 sleep_time.tv_sec = microseconds / kNumMicrosPerSecond; 37 sleep_time.tv_nsec = (microseconds % kNumMicrosPerSecond) * kNumNanosPerMicro;
|
/external/google-benchmark/src/ |
D | sleep.cc | 35 void SleepForMicroseconds(int microseconds) { 37 sleep_time.tv_sec = microseconds / kNumMicrosPerSecond; 38 sleep_time.tv_nsec = (microseconds % kNumMicrosPerSecond) * kNumNanosPerMicro;
|
/external/libcxx/test/std/utilities/time/time.duration/time.duration.nonmember/ |
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_+.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_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/swiftshader/third_party/llvm-subzero/lib/Support/Unix/ |
D | Unix.h | 78 inline std::chrono::microseconds toDuration(const struct timeval &TV) { in toDuration() 80 std::chrono::microseconds(TV.tv_usec); in toDuration() 94 inline struct timeval toTimeVal(TimePoint<std::chrono::microseconds> TP) { in toTimeVal()
|
/external/llvm/include/llvm/Support/ |
D | TimeValue.h | 217 uint32_t microseconds() const { in microseconds() function 303 void microseconds ( int32_t micros ) { in microseconds() function 316 void usec( int64_t microseconds ) { in usec() argument 317 this->seconds_ = microseconds / MICROSECONDS_PER_SECOND; in usec() 318 this->nanos_ = NanoSecondsType(microseconds % MICROSECONDS_PER_SECOND) * in usec()
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | TimeValue.h | 217 uint32_t microseconds() const { in microseconds() function 303 void microseconds ( int32_t micros ) { in microseconds() function 316 void usec( int64_t microseconds ) { in usec() argument 317 this->seconds_ = microseconds / MICROSECONDS_PER_SECOND; in usec() 318 this->nanos_ = NanoSecondsType(microseconds % MICROSECONDS_PER_SECOND) * in usec()
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | TimeValue.h | 208 uint32_t microseconds() const { in microseconds() function 302 void microseconds ( int32_t micros ) { in microseconds() function 315 void usec( int64_t microseconds ) { in usec() argument 316 this->seconds_ = microseconds / MICROSECONDS_PER_SECOND; in usec() 317 this->nanos_ = NanoSecondsType(microseconds % MICROSECONDS_PER_SECOND) * in usec()
|
/external/libcxx/test/std/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/python/cpython2/Lib/sqlite3/ |
D | dbapi2.py | 73 microseconds = int('{:0<6.6}'.format(timepart_full[1].decode())) 75 microseconds = 0 77 val = datetime.datetime(year, month, day, hours, minutes, seconds, microseconds)
|
/external/libcxx/test/std/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 | 39 microseconds us = 867us; in main() 40 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/std/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/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/timescale/ |
D | GenerateCTimeScaleData.java | 38 private static final long microseconds = ticks * 10; field in GenerateCTimeScaleData 39 private static final long milliseconds = microseconds * 1000; 80 } else if (units == microseconds) { in main()
|
/external/protobuf/java/util/src/main/java/com/google/protobuf/util/ |
D | TimeUtil.java | 300 public static Timestamp createTimestampFromMicros(long microseconds) { in createTimestampFromMicros() argument 301 return normalizedTimestamp(microseconds / MICROS_PER_SECOND, in createTimestampFromMicros() 302 (int) (microseconds % MICROS_PER_SECOND * NANOS_PER_MICROSECOND)); in createTimestampFromMicros() 308 public static Duration createDurationFromMicros(long microseconds) { in createDurationFromMicros() argument 309 return normalizedDuration(microseconds / MICROS_PER_SECOND, in createDurationFromMicros() 310 (int) (microseconds % MICROS_PER_SECOND * NANOS_PER_MICROSECOND)); in createDurationFromMicros()
|
/external/stressapptest/src/ |
D | sattypes.h | 161 inline bool sat_usleep(int32 microseconds) { in sat_usleep() argument 163 req.tv_sec = microseconds / 1000000; in sat_usleep() 165 req.tv_nsec = (microseconds % 1000000) * 1000; in sat_usleep()
|
/external/icu/icu4c/source/i18n/ |
D | utmscale.c | 17 #define microseconds (ticks * 10) macro 18 #define milliseconds (microseconds * 1000) 36 …{microseconds, INT64_C(62135596800000000), INT64_C(-984472800485477580), INT64_C(860201606885477…
|
/external/webrtc/webrtc/base/ |
D | timeutils_unittest.cc | 132 int microseconds; in TEST() local 135 CurrentTmTime(&tm, µseconds); in TEST() 144 EXPECT_TRUE(0 <= microseconds && microseconds < 1000000); in TEST()
|