Home
last modified time | relevance | path

Searched refs:sleep_ms (Results 1 – 13 of 13) sorted by relevance

/external/ltp/testcases/kernel/syscalls/poll/
Dpoll02.c33 unsigned int sleep_ms = usec / 1000; in sample_fn() local
40 TEST(poll(pfds, 1, sleep_ms)); in sample_fn()
/external/valgrind/drd/tests/
Drwlock_race.c20 static void sleep_ms(const int ms) in sleep_ms() function
31 sleep_ms(100); in thread_func()
/external/libchrome/base/process/
Dprocess_posix.cc319 unsigned sleep_ms = 4; in Terminate() local
339 usleep(sleep_ms * 1000); in Terminate()
341 if (sleep_ms < kMaxSleepMs) in Terminate()
342 sleep_ms *= 2; in Terminate()
/external/ltp/testcases/kernel/syscalls/epoll_wait/
Depoll_wait02.c37 unsigned int sleep_ms = usec / 1000; in sample_fn() local
40 TEST(epoll_wait(epfd, epevs, 1, sleep_ms)); in sample_fn()
/external/ltp/testcases/open_posix_testsuite/functional/threads/pi_test/
Dpitest-1.c58 int sleep_ms; member
115 ts.tv_nsec = tp->sleep_ms * 1000 * 1000; in thread_fn()
118 if (tp->sleep_ms == 0) in thread_fn()
Dpitest-5.c59 int sleep_ms; member
118 ts.tv_nsec = tp->sleep_ms * 1000 * 1000; in thread_fn()
121 if (tp->sleep_ms == 0) in thread_fn()
Dpitest-6.c57 int sleep_ms; member
115 ts.tv_nsec = tp->sleep_ms * 1000 * 1000; in thread_fn()
118 if (tp->sleep_ms == 0) in thread_fn()
Dpitest-4.c61 int sleep_ms; member
120 ts.tv_nsec = tp->sleep_ms * 1000 * 1000; in thread_fn()
125 if (tp->sleep_ms == 0) in thread_fn()
Dpitest-3.c60 int sleep_ms; member
120 ts.tv_nsec = tp->sleep_ms * 1000 * 1000; in thread_fn()
123 if (tp->sleep_ms == 0) in thread_fn()
Dpitest-2.c59 int sleep_ms; member
117 ts.tv_nsec = tp->sleep_ms * 1000 * 1000; in thread_fn()
120 if (tp->sleep_ms == 0) in thread_fn()
/external/autotest/client/site_tests/cellular_DisableWhileConnecting/
Dcellular_DisableWhileConnecting.py214 sleep_ms = self.test_kwargs.get('async_connect_sleep_ms', 0)
215 logging.info('Sleeping %d ms before connect', sleep_ms)
216 gobi_modem.InjectFault('AsyncConnectSleepMs', sleep_ms)
/external/webrtc/webrtc/voice_engine/test/auto_test/fakes/
Dconference_transport.cc209 int32_t sleep_ms = rtt_ms_ / 2 - elapsed_time_ms; in DispatchPackets() local
210 if (sleep_ms > 0) { in DispatchPackets()
212 webrtc::SleepMs(sleep_ms); in DispatchPackets()
/external/curl/lib/
Deasy.c683 int sleep_ms = without_fds < 10 ? (1 << (without_fds - 1)) : 1000; in easy_transfer() local
684 Curl_wait_ms(sleep_ms); in easy_transfer()