Searched refs:ms (Results 1 - 12 of 12) sorted by relevance

/bionic/libc/bionic/
H A Dbionic_time_conversions.cpp45 void timespec_from_ms(timespec& ts, const int ms) { argument
46 ts.tv_sec = ms / 1000;
47 ts.tv_nsec = (ms % 1000) * 1000000;
H A Dpoll.cpp40 int poll(pollfd* fds, nfds_t fd_count, int ms) { argument
43 if (ms >= 0) {
44 timespec_from_ms(ts, ms);
H A Dpthread_cond.cpp241 pthread_mutex_t* mutex, unsigned ms) {
243 timespec_from_ms(ts, ms);
240 pthread_cond_timeout_np(pthread_cond_t* cond_interface, pthread_mutex_t* mutex, unsigned ms) argument
H A Dpthread_mutex.cpp938 extern "C" int pthread_mutex_lock_timeout_np(pthread_mutex_t* mutex_interface, unsigned ms) { argument
940 timespec_from_ms(ts, ms);
/bionic/libc/private/
H A Dbionic_time_conversions.h41 __LIBC_HIDDEN__ void timespec_from_ms(timespec& ts, const int ms);
/bionic/tests/
H A Dsemaphore_test.cpp95 static inline void timespec_add_ms(timespec& ts, size_t ms) { argument
96 ts.tv_sec += ms / 1000;
97 ts.tv_nsec += (ms % 1000) * 1000000;
H A Dsys_ptrace_test.cpp521 std::this_thread::sleep_for(500ms);
525 std::this_thread::sleep_for(250ms);
/bionic/libc/kernel/uapi/drm/
H A Dvia_drm.h112 __u32 ms; member in struct:_drm_via_futex
/bionic/libc/versioner-dependencies/common/kernel_uapi/drm/
H A Dvia_drm.h112 __u32 ms; member in struct:_drm_via_futex
/bionic/tools/versioner/dependencies/common/kernel_uapi/drm/
H A Dvia_drm.h112 __u32 ms; member in struct:_drm_via_futex
/bionic/tools/versioner/src/
H A DDriver.cpp237 auto diff = (end - start) / 1.0ms;
H A Dversioner.cpp662 auto diff = (end - start) / 1.0ms;

Completed in 166 milliseconds