Searched defs:microseconds (Results 1 - 19 of 19) sorted by relevance

/external/chromium_org/content/renderer/media/
H A Dwebmediaplayer_util.cc26 double microseconds = seconds * base::Time::kMicrosecondsPerSecond; local
28 microseconds > 0 ? microseconds + 0.5 : ceil(microseconds - 0.5));
/external/chromium_org/third_party/libjingle/source/talk/base/
H A Dtimeutils_unittest.cc41 // Make sure the Time is not returning in smaller unit like microseconds.
148 int microseconds; local
151 CurrentTmTime(&tm, &microseconds);
160 EXPECT_TRUE(0 <= microseconds && microseconds < 1000000);
H A Dtimeutils.cc111 // 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) { argument
147 *microseconds = timeval.tv_usec;
/external/chromium_org/third_party/icu/source/i18n/
H A Dutmscale.c15 #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/
H A Dutmscale.c15 #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/chromium/base/
H A Dtime_posix.cc18 int64 microseconds = InMicroseconds(); local
20 if (microseconds >= Time::kMicrosecondsPerSecond) {
22 microseconds -= seconds * Time::kMicrosecondsPerSecond;
26 microseconds * Time::kNanosecondsPerMicrosecond};
63 // Combine seconds and microseconds in a 64-bit field containing microseconds
/external/chromium_org/base/time/
H A Dtime_posix.cc101 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
[all...]
H A Dtime_win.cc391 // 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/media/ffmpeg/
H A Dffmpeg_common.cc53 int64 microseconds = av_rescale_q(timestamp, time_base, kMicrosBase); local
54 return base::TimeDelta::FromMicroseconds(microseconds);
H A Dffmpeg_unittest.cc249 double microseconds = 1.0L * audio_buffer_->nb_samples / local
252 decoded_audio_duration_ = static_cast<int64>(microseconds);
/external/chromium_org/v8/src/platform/
H A Dtime.h66 static TimeDelta FromMicroseconds(int64_t microseconds) { argument
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.
/external/llvm/include/llvm/Support/
H A DTimeValue.h207 /// @brief Retrieve the fractional part as microseconds;
208 uint32_t microseconds() const { function in class:llvm::sys::TimeValue
219 /// Returns the TimeValue as a number of microseconds. Note that the value
223 /// @brief Convert to a number of microseconds (can overflow)
302 /// @brief Set the nanoseconds component using a number of microseconds.
303 void microseconds ( int32_t micros ) { function in class:llvm::sys::TimeValue
316 void usec( int64_t microseconds ) {
317 this->seconds_ = microseconds / MICROSECONDS_PER_SECOND;
318 this->nanos_ = NanoSecondsType(microseconds % MICROSECONDS_PER_SECOND) *
/external/stressapptest/src/
H A Dsattypes.h157 inline bool sat_usleep(int32 microseconds) { argument
159 req.tv_sec = microseconds / 1000000;
160 // Convert microseconds argument to nano seconds.
161 req.tv_nsec = (microseconds % 1000000) * 1000;
/external/chromium/webkit/glue/
H A Dwebmediaplayer_impl.cc71 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_org/third_party/sqlite/src/src/
H A Dos_unix.c5387 ** The argument is the number of microseconds we want to sleep.
5388 ** The return value is the number of microseconds of sleep actually
5393 static int unixSleep(sqlite3_vfs *NotUsed, int microseconds){ argument
5397 sp.tv_sec = microseconds / 1000000;
5398 sp.tv_nsec = (microseconds % 1000000) * 1000;
5401 return microseconds;
5403 usleep(microseconds);
5405 return microseconds;
5407 int seconds = (microseconds+999999)/1000000;
/external/chromium_org/third_party/sqlite/amalgamation/
H A Dsqlite3.c1434 ** least the number of microseconds given. ^The xCurrentTime()
1476 int (*xSleep)(sqlite3_vfs*, int microseconds);
23797 ** The argument is the number of microseconds we want to sleep.
23798 ** The return value is the number of microseconds of sleep actually
29549 unixSleep(sqlite3_vfs *NotUsed, int microseconds) argument
[all...]
/external/sqlite/dist/orig/
H A Dsqlite3.c1550 ** least the number of microseconds given. ^The xCurrentTime()
1592 int (*xSleep)(sqlite3_vfs*, int microseconds);
24651 ** The argument is the number of microseconds we want to sleep.
24652 ** The return value is the number of microseconds of sleep actually
30516 unixSleep(sqlite3_vfs *NotUsed, int microseconds) argument
[all...]
/external/sqlite/dist/
H A Dsqlite3.c1550 ** least the number of microseconds given. ^The xCurrentTime()
1592 int (*xSleep)(sqlite3_vfs*, int microseconds);
24651 ** The argument is the number of microseconds we want to sleep.
24652 ** The return value is the number of microseconds of sleep actually
30544 unixSleep(sqlite3_vfs *NotUsed, int microseconds) argument
[all...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 2151 milliseconds