Searched refs:ms (Results 1 – 14 of 14) 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()
|
D | memmem.c | 72 size_t i, ip, jp, k, p, ms, p0, mem, mem0; in twoway_memmem() local 97 ms = ip; in twoway_memmem() 117 if (ip+1 > ms+1) ms = ip; in twoway_memmem() 121 if (memcmp(n, n+p, ms+1)) { in twoway_memmem() 123 p = MAX(ms, l-ms-1) + 1; in twoway_memmem() 148 for (k=MAX(ms+1,mem); k<l && n[k] == h[k]; k++); in twoway_memmem() 150 h += k-ms; in twoway_memmem() 155 for (k=ms+1; k>mem && n[k-1] == h[k-1]; k--); in twoway_memmem()
|
/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 | 281 pthread_mutex_t* mutex, unsigned ms) { in pthread_cond_timeout_np() argument 283 timespec_from_ms(ts, ms); in pthread_cond_timeout_np()
|
D | pthread_mutex.cpp | 950 extern "C" int pthread_mutex_lock_timeout_np(pthread_mutex_t* mutex_interface, unsigned ms) { in pthread_mutex_lock_timeout_np() argument 952 timespec_from_ms(ts, ms); in pthread_mutex_lock_timeout_np()
|
/bionic/tests/ |
D | semaphore_test.cpp | 99 static inline void timespec_add_ms(timespec& ts, size_t ms) { in timespec_add_ms() argument 100 ts.tv_sec += ms / 1000; in timespec_add_ms() 101 ts.tv_nsec += (ms % 1000) * 1000000; in timespec_add_ms()
|
D | sys_ptrace_test.cpp | 518 std::this_thread::sleep_for(500ms); in TEST_F() 522 std::this_thread::sleep_for(250ms); in TEST_F()
|
/bionic/libc/private/ |
D | bionic_time_conversions.h | 41 __LIBC_HIDDEN__ void timespec_from_ms(timespec& ts, const int ms);
|
/bionic/docs/ |
D | fdsan.md | 88 sleep_for(300ms); 90 sleep_for(200ms); 99 sleep_for(100ms); 101 sleep_for(300ms); 108 sleep_for(200ms); 148 sleep_for(200ms); 151 sleep_for(200ms); 197 sleep_for(100ms); 200 sleep_for(200ms);
|
D | status.md | 139 * `%mc`/`%ms`/`%m[` support in the scanf family.
|
/bionic/libc/kernel/uapi/drm/ |
D | via_drm.h | 113 __u32 ms; member
|
/bionic/tools/versioner/src/ |
D | Driver.cpp | 232 auto diff = (end - start) / 1.0ms; in initializeTargetCC1FlagCache()
|
D | versioner.cpp | 671 auto diff = (end - start) / 1.0ms; in main()
|