Home
last modified time | relevance | path

Searched refs:ms (Results 1 – 8 of 8) sorted by relevance

/bionic/libc/bionic/
Dbionic_time_conversions.cpp45 void timespec_from_ms(timespec& ts, const int ms) { in timespec_from_ms() argument
46 ts.tv_sec = ms / 1000; in timespec_from_ms()
47 ts.tv_nsec = (ms % 1000) * 1000000; in timespec_from_ms()
Dpoll.cpp40 int poll(pollfd* fds, nfds_t fd_count, int ms) { in poll() argument
43 if (ms >= 0) { in poll()
44 timespec_from_ms(ts, ms); in poll()
Dpthread_cond.cpp240 pthread_mutex_t* mutex, unsigned ms) { in pthread_cond_timeout_np() argument
242 timespec_from_ms(ts, ms); in pthread_cond_timeout_np()
Dpthread_mutex.cpp615 extern "C" int pthread_mutex_lock_timeout_np(pthread_mutex_t* mutex_interface, unsigned ms) { in pthread_mutex_lock_timeout_np() argument
617 timespec_from_ms(ts, ms); in pthread_mutex_lock_timeout_np()
/bionic/libc/private/
Dbionic_time_conversions.h41 __LIBC_HIDDEN__ void timespec_from_ms(timespec& ts, const int ms);
/bionic/tests/
Dsemaphore_test.cpp95 static inline void timespec_add_ms(timespec& ts, size_t ms) { in timespec_add_ms() argument
96 ts.tv_sec += ms / 1000; in timespec_add_ms()
97 ts.tv_nsec += (ms % 1000) * 1000000; in timespec_add_ms()
/bionic/libc/kernel/uapi/drm/
Dvia_drm.h134 __u32 ms; member
/bionic/libc/kernel/uapi/linux/
Dnvme.h112 __le16 ms; member