Searched refs:ms (Results 1 – 8 of 8) sorted by relevance
/bionic/libc/bionic/ |
D | bionic_time_conversions.cpp | 45 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()
|
D | poll.cpp | 40 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()
|
D | pthread_cond.cpp | 240 pthread_mutex_t* mutex, unsigned ms) { in pthread_cond_timeout_np() argument 242 timespec_from_ms(ts, ms); in pthread_cond_timeout_np()
|
D | pthread_mutex.cpp | 615 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/ |
D | bionic_time_conversions.h | 41 __LIBC_HIDDEN__ void timespec_from_ms(timespec& ts, const int ms);
|
/bionic/tests/ |
D | semaphore_test.cpp | 95 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/ |
D | via_drm.h | 134 __u32 ms; member
|
/bionic/libc/kernel/uapi/linux/ |
D | nvme.h | 112 __le16 ms; member
|