/external/jemalloc/test/src/ |
mq.c | 17 struct timespec timeout; local 20 timeout.tv_sec = 0; 21 timeout.tv_nsec = ns; 23 timeout.tv_sec = 1; 24 timeout.tv_nsec = 0; 26 nanosleep(&timeout, NULL);
|
/external/valgrind/none/tests/ |
pselect_sigmask_null.c | 13 struct timespec timeout; local 14 timeout.tv_sec = 1; 15 timeout.tv_nsec = 0; 16 switch (pselect (0, 0, 0, 0, &timeout, 0))
|
/prebuilts/go/darwin-x86/doc/progs/ |
timeout1.go | 5 package timeout package 11 func Timeout() { 13 timeout := make(chan bool, 1) 16 timeout <- true 24 case <-timeout:
|
/prebuilts/go/linux-x86/doc/progs/ |
timeout1.go | 5 package timeout package 11 func Timeout() { 13 timeout := make(chan bool, 1) 16 timeout <- true 24 case <-timeout:
|
/external/dhcpcd-6.8.2/compat/ |
pollts.c | 45 int r, timeout; local 49 timeout = -1; 53 timeout = INT_MAX; 55 timeout = ts->tv_sec * 1000 + (ts->tv_nsec + 999999) / 1000000; 58 r = poll(fds, nfds, timeout);
|
/external/pdfium/fxjs/xfa/ |
cjx_command.cpp | 21 void CJX_Command::timeout(CFXJSE_Value* pValue, function in class:CJX_Command
|
/external/testng/src/test/java/test/timeout/ |
TimeOutSample2Test.java | 1 package test.timeout; 11 @Test(timeOut = 1_500)
|
TimeOutWithParallelSample.java | 1 package test.timeout; 7 @Test(timeOut = 1_000)
|
TestTimeOutSampleTest.java | 1 package test.timeout;
|
InvocationTimeOutSampleTest.java | 1 package test.timeout;
|
TimeOutSampleTest.java | 1 package test.timeout; 12 @Test(timeOut = 5_000 /* 5 seconds */) 16 @Test(timeOut = 5_000 /* 5 seconds */) 21 @Test(timeOut = 1_000 /* 1 second */)
|
/external/okhttp/okio/okio/src/main/java/okio/ |
Source.java | 70 /** Returns the timeout for this source. */ 71 Timeout timeout(); method in interface:Source
|
Sink.java | 58 /** Returns the timeout for this sink. */ 59 Timeout timeout(); method in interface:Sink
|
/bionic/libc/kernel/uapi/linux/netfilter/ |
xt_IDLETIMER.h | 24 __u32 timeout; member in struct:idletimer_tg_info
|
/external/kernel-headers/original/uapi/linux/netfilter/ |
xt_IDLETIMER.h | 38 __u32 timeout; member in struct:idletimer_tg_info
|
/external/libusb/libusb/os/ |
threads_posix.c | 43 struct timespec timeout; local 46 r = usbi_backend->clock_gettime(USBI_CLOCK_REALTIME, &timeout); 50 timeout.tv_sec += tv->tv_sec; 51 timeout.tv_nsec += tv->tv_usec * 1000; 52 while (timeout.tv_nsec >= 1000000000L) { 53 timeout.tv_nsec -= 1000000000L; 54 timeout.tv_sec++; 57 return pthread_cond_timedwait(cond, mutex, &timeout);
|
/external/ltp/testcases/kernel/syscalls/select/ |
select04.c | 34 struct timeval timeout = tst_us_to_timeval(usec); local 42 TEST(select(1, &sfds, NULL, NULL, &timeout));
|
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/mqueue_h/ |
10-1-buildonly.c | 14 struct timespec timeout; local 25 err = mq_timedsend(mqdes, msgp, msg_len, msg_prio, &timeout);
|
/external/ltp/testcases/open_posix_testsuite/tools/ |
t0.c | 17 * This utility software allows to run any executable file with a timeout limit. 20 * where n is the timeout duration in seconds, 32 * as if it has been timedout. This is usefull to check a timeout return code value. 65 int status, timeout; local 79 printf(" n is the timeout duration in seconds,\n"); 84 (" The second use case will emulate an immediate timeout.\n\n"); 88 timeout = atoi(argv[1]); 89 if (timeout < 1) { 91 "Invalid timeout value \"%s\". Timeout must be a positive integer.\n" [all...] |
/external/mdnsresponder/mDNSPosix/ |
ExampleClientApp.c | 53 struct timeval timeout; local 61 // 2. Set up the timeout. 63 // so we set an effectively infinite timeout 64 timeout.tv_sec = 0x3FFFFFFF; 65 timeout.tv_usec = 0; 67 // 3. Give the mDNSPosix layer a chance to add its information to the fd_set and timeout 68 mDNSPosixGetFDSet(m, &nfds, &readfds, &timeout); 71 verbosedebugf("select(%d, %d.%06d)", nfds, timeout.tv_sec, timeout.tv_usec); 72 result = select(nfds, &readfds, NULL, NULL, &timeout); [all...] |
/external/tpm2/ |
PolicyTicket.c | 16 // TPM_RC_EXPIRED timeout value in the ticket is in the past and the ticket has expired 17 // TPM_RC_SIZE timeout or cpHash has invalid size for the 27 UINT64 timeout; local 45 // Restore timeout data. The format of timeout buffer is TPM-specific. 46 // In this implementation, we simply copy the value of timeout to the 48 if(in->timeout.t.size != sizeof(UINT64)) 50 timeout = BYTE_ARRAY_TO_UINT64(in->timeout.t.buffer); 52 // Do the normal checks on the cpHashA and timeout value [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/netfilter/ |
xt_IDLETIMER.h | 37 __u32 timeout; member in struct:idletimer_tg_info
|
/external/autotest/client/common_lib/cros/ |
retry.py | 49 Set the sigalarm timeout. 51 This methods treats any timeout <= 0 as a possible error and falls back to 52 using it's default timeout, since negative timeouts can have 'alarming' 53 effects. Though 0 is a valid timeout, it is often used to cancel signals; in 55 many situations where a 0 timeout is considered invalid. 57 @param timeout_secs: The new timeout, in seconds. 58 @param default_timeout: The default timeout to use, if timeout <= 0. 59 @return: The old sigalarm timeout 81 error message (function name and timeout length) instead of a generi 95 def timeout(func, args=(), kwargs={}, timeout_sec=60.0, default_result=None): function [all...] |
/external/autotest/client/site_tests/camera_HAL3/ |
camera_HAL3.py | 22 timeout = 600 variable in class:camera_HAL3 58 utils.system(' '.join(cmd), timeout=self.timeout)
|
/external/devlib/devlib/module/ |
cooling.py | 24 timeout = 30 variable in class:MbedFanActiveCoolingModule 37 with open_serial_connection(timeout=self.timeout, 43 with open_serial_connection(timeout=self.timeout,
|