Searched refs:ms (Results 1 – 13 of 13) sorted by relevance
/bionic/libc/upstream-openbsd/lib/libc/string/ |
D | strstr.c | 69 size_t l, ip, jp, k, p, ms, p0, mem, mem0; in twoway_strstr() local 95 ms = ip; in twoway_strstr() 115 if (ip+1 > ms+1) ms = ip; in twoway_strstr() 119 if (memcmp(n, n+p, ms+1)) { in twoway_strstr() 121 p = MAX(ms, l-ms-1) + 1; in twoway_strstr() 157 for (k=MAX(ms+1,mem); n[k] && n[k] == h[k]; k++); in twoway_strstr() 159 h += k-ms; in twoway_strstr() 164 for (k=ms+1; k>mem && n[k-1] == h[k-1]; k--); in twoway_strstr()
|
/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 | 41 int poll(pollfd* fds, nfds_t fd_count, int ms) { in poll() argument 44 if (ms >= 0) { in poll() 45 timespec_from_ms(ts, ms); in poll()
|
D | pthread_cond.cpp | 253 pthread_mutex_t* mutex, unsigned ms) { in pthread_cond_timeout_np() argument 255 timespec_from_ms(ts, ms); in pthread_cond_timeout_np()
|
D | pthread_mutex.cpp | 948 extern "C" int pthread_mutex_lock_timeout_np(pthread_mutex_t* mutex_interface, unsigned ms) { in pthread_mutex_lock_timeout_np() argument 950 timespec_from_ms(ts, ms); in pthread_mutex_lock_timeout_np()
|
/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()
|
D | sys_ptrace_test.cpp | 515 std::this_thread::sleep_for(500ms); in TEST_F() 519 std::this_thread::sleep_for(250ms); in TEST_F()
|
/bionic/docs/ |
D | fdsan.md | 84 sleep_for(300ms); 86 sleep_for(200ms); 95 sleep_for(100ms); 97 sleep_for(300ms); 104 sleep_for(200ms); 144 sleep_for(200ms); 147 sleep_for(200ms); 193 sleep_for(100ms); 196 sleep_for(200ms);
|
D | status.md | 104 * `%mc`/`%ms`/`%m[` support in the scanf family.
|
/bionic/libc/private/ |
D | bionic_time_conversions.h | 41 __LIBC_HIDDEN__ void timespec_from_ms(timespec& ts, const int ms);
|
/bionic/libc/kernel/uapi/drm/ |
D | via_drm.h | 113 __u32 ms; member
|
/bionic/tools/versioner/src/ |
D | Driver.cpp | 231 auto diff = (end - start) / 1.0ms; in initializeTargetCC1FlagCache()
|
D | versioner.cpp | 671 auto diff = (end - start) / 1.0ms; in main()
|