Home
last modified time | relevance | path

Searched refs:ms (Results 1 – 9 of 9) 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.cpp246 pthread_mutex_t* mutex, unsigned ms) { in pthread_cond_timeout_np() argument
248 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
618 abs_timeout.tv_sec += ms / 1000; in pthread_mutex_lock_timeout_np()
619 abs_timeout.tv_nsec += (ms % 1000) * 1000000; in pthread_mutex_lock_timeout_np()
/bionic/libc/upstream-dlmalloc/
Dmalloc.c5490 mstate ms = (mstate)msp; in mspace_track_large_chunks() local
5491 if (!PREACTION(ms)) { in mspace_track_large_chunks()
5492 if (!use_mmap(ms)) { in mspace_track_large_chunks()
5496 enable_mmap(ms); in mspace_track_large_chunks()
5498 disable_mmap(ms); in mspace_track_large_chunks()
5500 POSTACTION(ms); in mspace_track_large_chunks()
5507 mstate ms = (mstate)msp; in destroy_mspace() local
5508 if (ok_magic(ms)) { in destroy_mspace()
5509 msegmentptr sp = &ms->seg; in destroy_mspace()
5510 (void)DESTROY_LOCK(&ms->mutex); /* destroy before unmapped */ in destroy_mspace()
[all …]
/bionic/libc/private/
Dbionic_time_conversions.h38 __LIBC_HIDDEN__ void timespec_from_ms(timespec& ts, const int ms);
/bionic/tests/
Dsemaphore_test.cpp94 static inline void timespec_add_ms(timespec& ts, size_t ms) { in timespec_add_ms() argument
95 ts.tv_sec += ms / 1000; in timespec_add_ms()
96 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