Home
last modified time | relevance | path

Searched refs:microseconds (Results 1 – 25 of 92) sorted by relevance

1234

/external/parameter-framework/asio-1.10.6/include/asio/detail/impl/
Dhandler_tracking.ipp37 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/libweave/third_party/chromium/base/time/
Dtime_posix.cc94 int64_t microseconds = InMicroseconds(); in ToTimeSpec() local
96 if (microseconds >= Time::kMicrosecondsPerSecond) { in ToTimeSpec()
98 microseconds -= seconds * Time::kMicrosecondsPerSecond; in ToTimeSpec()
102 static_cast<long>(microseconds * Time::kNanosecondsPerMicrosecond)}; in ToTimeSpec()
158 int64_t microseconds = us_ - kWindowsEpochDeltaMicroseconds; in Explode() local
163 if (microseconds >= 0) { in Explode()
165 milliseconds = microseconds / kMicrosecondsPerMillisecond; in Explode()
170 milliseconds = (microseconds - kMicrosecondsPerMillisecond + 1) / in Explode()
/external/google-benchmark/src/
Dsleep.cc34 void SleepForMicroseconds(int microseconds) {
36 sleep_time.tv_sec = microseconds / kNumMicrosPerSecond;
37 sleep_time.tv_nsec = (microseconds % kNumMicrosPerSecond) * kNumNanosPerMicro;
/external/libchrome/base/time/
Dtime_posix.cc114 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/test/std/utilities/time/time.duration/time.duration.nonmember/
Dop_+.pass.cpp31 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()
Dop_-.pass.cpp32 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()
Dop_divide_duration.pass.cpp30 std::chrono::microseconds us1(15); in main()
51 constexpr std::chrono::microseconds us1(15); in main()
Dop_mod_duration.pass.cpp31 std::chrono::microseconds us1(15); in main()
50 constexpr std::chrono::microseconds us1(15); in main()
/external/llvm/include/llvm/Support/
DTimeValue.h217 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/libcxx/test/std/utilities/time/time.duration/time.duration.comparisons/
Dop_equal.pass.cpp43 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()
Dop_less.pass.cpp57 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/libcxx/test/std/utilities/time/time.duration/time.duration.literals/
Dliterals.pass.cpp26 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()
Dliterals1.pass.cpp38 microseconds us = 867us; in main()
39 assert ( us == microseconds(867)); in main()
Dliterals2.pass.cpp41 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.arithmetic/
Dop_mod=duration.pass.cpp21 std::chrono::microseconds us(11); in main()
22 std::chrono::microseconds us2(3); in main()
/external/libcxx/test/std/utilities/time/time.duration/time.duration.cons/
Dconvert_exact.pass.cpp26 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/
DGenerateCTimeScaleData.java36 private static final long microseconds = ticks * 10; field in GenerateCTimeScaleData
37 private static final long milliseconds = microseconds * 1000;
78 } else if (units == microseconds) { in main()
DEpochOffsets.java37 private static final long microseconds = ticks * 10; field in EpochOffsets
38 private static final long milliseconds = microseconds * 1000;
/external/icu/icu4c/source/i18n/
Dutmscale.c15 #define microseconds (ticks * 10) macro
16 #define milliseconds (microseconds * 1000)
34 …{microseconds, INT64_C(62135596800000000), INT64_C(-984472800485477580), INT64_C(860201606885477…
/external/webrtc/webrtc/base/
Dtimeutils_unittest.cc132 int microseconds; in TEST() local
135 CurrentTmTime(&tm, &microseconds); in TEST()
144 EXPECT_TRUE(0 <= microseconds && microseconds < 1000000); in TEST()
/external/libcxx/src/
Dchrono.cpp43 return time_point(seconds(tp.tv_sec) + microseconds(tp.tv_nsec / 1000)); in now()
47 return time_point(seconds(tv.tv_sec) + microseconds(tv.tv_usec)); in now()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DUniversalTimeScale.java286 private static final long microseconds = ticks * 10; field in UniversalTimeScale
287 private static final long milliseconds = microseconds * 1000;
349 …new TimeScaleData(microseconds, 621355968000000000L, -9223372036854775804L, 9223372036854775804L, …
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/
Dutil.py401 microseconds = seconds * 10**6 + offset.microseconds
402 return microseconds / (10**6 * 1.0)
/external/icu/android_icu4j/src/main/java/android/icu/util/
DUniversalTimeScale.java250 private static final long microseconds = ticks * 10; field in UniversalTimeScale
251 private static final long milliseconds = microseconds * 1000;
313 …new TimeScaleData(microseconds, 621355968000000000L, -9223372036854775804L, 9223372036854775804L, …
/external/libcxx/test/std/utilities/time/time.point/time.point.cast/
Dtime_point_cast.pass.cpp62 test(std::chrono::milliseconds(7265000), std::chrono::microseconds(7265000000LL)); in main()
74 test_constexpr<std::chrono::milliseconds, 7265000, std::chrono::microseconds,7265000000LL> (); in main()

1234