/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.point/time.point.comparisons/ |
op_equal.pass.cpp | 29 typedef std::chrono::microseconds Duration2;
|
op_less.pass.cpp | 37 typedef std::chrono::microseconds Duration2;
|
/external/chromium_org/base/time/ |
time_posix.cc | 101 int64 microseconds = InMicroseconds(); local 103 if (microseconds >= Time::kMicrosecondsPerSecond) { 105 microseconds -= seconds * Time::kMicrosecondsPerSecond; 109 static_cast<long>(microseconds * Time::kNanosecondsPerMicrosecond)}; 148 // Combine seconds and microseconds in a 64-bit field containing microseconds 165 int64 microseconds = us_ - kWindowsEpochDeltaMicroseconds; local 170 if (microseconds >= 0) { 172 milliseconds = microseconds / kMicrosecondsPerMillisecond; 177 milliseconds = (microseconds - kMicrosecondsPerMillisecond + 1) [all...] |
time_win.cc | 391 // Intentionally calculate microseconds in a round about manner to avoid 395 int64 microseconds = (whole_seconds * Time::kMicrosecondsPerSecond) + local 398 return microseconds; 422 // Get the number of microseconds since boot in an unreliable fashion. 429 // Get the number of microseconds since boot in a reliable fashion.
|
/external/chromium_org/third_party/icu/source/i18n/ |
utmscale.c | 15 #define microseconds (ticks * 10) macro 16 #define milliseconds (microseconds * 1000) 34 {microseconds, INT64_C(62135596800000000), INT64_C(-984472800485477580), INT64_C(860201606885477580), INT64_C(-9223372036854775804), INT64_C(9223372036854775804), INT64_C(62135596800000001), INT64_C(62135596799999999), INT64_C(5), INT64_C(-9223372036854775803), INT64_C(9223372036854775802)},
|
/external/icu4c/i18n/ |
utmscale.c | 15 #define microseconds (ticks * 10) macro 16 #define milliseconds (microseconds * 1000) 34 {microseconds, INT64_C(62135596800000000), INT64_C(-984472800485477580), INT64_C(860201606885477580), INT64_C(-9223372036854775804), INT64_C(9223372036854775804), INT64_C(62135596800000001), INT64_C(62135596799999999), INT64_C(5), INT64_C(-9223372036854775803), INT64_C(9223372036854775802)},
|
/external/stressapptest/src/ |
sattypes.h | 157 inline bool sat_usleep(int32 microseconds) { 159 req.tv_sec = microseconds / 1000000; 160 // Convert microseconds argument to nano seconds. 161 req.tv_nsec = (microseconds % 1000000) * 1000;
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/messaging/timer/ |
popup.js | 28 var usec = Math.round(timer.microseconds() / response.counter); 50 var usec = Math.round(timer.microseconds() / response.counter);
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
timeutils.h | 55 // Returns the current time in microseconds. 60 // Stores current time in *tm and microseconds in *microseconds. 61 void CurrentTmTime(struct tm *tm, int *microseconds);
|
timeutils.cc | 111 // FILETIME is measured in tens of microseconds since 1601-01-01 UTC. 119 // Convert to seconds and microseconds since Unix time Epoch. 139 void CurrentTmTime(struct tm *tm, int *microseconds) { 147 *microseconds = timeval.tv_usec;
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.duration/time.duration.cast/ |
duration_cast.pass.cpp | 40 test(std::chrono::milliseconds(7265000), std::chrono::microseconds(7265000000LL));
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.point/time.point.cast/ |
time_point_cast.pass.cpp | 42 test(std::chrono::milliseconds(7265000), std::chrono::microseconds(7265000000LL));
|
/system/core/include/utils/ |
Timers.h | 75 static inline nsecs_t microseconds(nsecs_t v) { return us2ns(v); } function
|
/cts/libs/vogar-expect/src/vogar/util/ |
TimeUtilities.java | 77 long microseconds = duration % 1000; local
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/ |
chrono.cpp | 34 return time_point(seconds(tv.tv_sec) + microseconds(tv.tv_usec));
|
/external/chromium_org/tools/gdb/ |
gdb_chrome.py | 158 self._timedelta = datetime.timedelta(microseconds=int(val['delta_'])) 170 self._timedelta = datetime.timedelta(microseconds=int(val['ticks_'])) 179 datetime.timedelta(microseconds=
|
/external/llvm/lib/Support/ |
Timer.cpp | 141 Result.WallTime = now.seconds() + now.microseconds() / 1000000.0; 142 Result.UserTime = user.seconds() + user.microseconds() / 1000000.0; 143 Result.SystemTime = sys.seconds() + sys.microseconds() / 1000000.0;
|
/external/chromium_org/v8/src/platform/ |
time.h | 66 static TimeDelta FromMicroseconds(int64_t microseconds) { 67 return TimeDelta(microseconds); 168 // Constructs a delta given the duration in microseconds. This is private 173 // Delta in microseconds. 182 // microseconds (s/1,000,000) since 00:00:00 UTC, January 1, 1970. 302 // Time in microseconds in UTC. 316 // microseconds. It can not be converted to a human-readable time, but is 403 // and testing. Ticks is in microseconds. 406 // Tick count in microseconds.
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_datetime.py | 176 milliseconds=0, microseconds=0)) 179 eq(td(0, 0, 1), td(microseconds=1)) 185 eq(td(milliseconds=1), td(microseconds=1000)) 193 eq(td(milliseconds=0.001), td(microseconds=1)) 271 self.assertEqual(td.microseconds, us) 282 td = timedelta(microseconds=ms) 285 + td.microseconds)/10**6) 293 microseconds=(3*60 - 12) * 1e6 + 1) 294 t2 = timedelta(microseconds=1) 303 microseconds=(3*60 - 12) * 1000000 [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_datetime.py | 176 milliseconds=0, microseconds=0)) 179 eq(td(0, 0, 1), td(microseconds=1)) 185 eq(td(milliseconds=1), td(microseconds=1000)) 193 eq(td(milliseconds=0.001), td(microseconds=1)) 271 self.assertEqual(td.microseconds, us) 282 td = timedelta(microseconds=ms) 285 + td.microseconds)/10**6) 293 microseconds=(3*60 - 12) * 1e6 + 1) 294 t2 = timedelta(microseconds=1) 303 microseconds=(3*60 - 12) * 1000000 [all...] |
/external/chromium/webkit/glue/ |
webmediaplayer_impl.cc | 71 float microseconds = seconds * base::Time::kMicrosecondsPerSecond; local 72 float integer = ceilf(microseconds); 73 float difference = integer - microseconds; 76 if ((microseconds > 0 && difference > 0.5f) || 77 (microseconds <= 0 && difference >= 0.5f)) { 81 // Now we can safely cast to int64 microseconds.
|
/external/chromium/chrome/common/extensions/docs/examples/api/history/showHistory/ |
typedUrls.js | 36 // subtract a week of microseconds from the current time.
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/history/showHistory/ |
typedUrls.js | 40 // subtract a week of microseconds from the current time.
|
/external/chromium_org/media/ffmpeg/ |
ffmpeg_common.cc | 53 int64 microseconds = av_rescale_q(timestamp, time_base, kMicrosBase); local 54 return base::TimeDelta::FromMicroseconds(microseconds);
|
ffmpeg_unittest.cc | 249 double microseconds = 1.0L * audio_buffer_->nb_samples / local 252 decoded_audio_duration_ = static_cast<int64>(microseconds);
|