/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_timedlock/ |
H A D | 2-1.c | 11 * available. The wait will end when the specified timeout time has expired. 13 * The timeout expires when the absolute time 'abs_timeout' passes, or if 'abs_timeout' 39 #define TIMEOUT 3 /* 3 seconds of timeout time for 115 struct timespec timeout, ts; local 131 timeout.tv_sec = currsec1.tv_sec + TIMEOUT; 132 timeout.tv_nsec = currsec1.tv_usec * 1000; 137 if (pthread_mutex_timedlock(&mutex, &timeout) != ETIMEDOUT) {
|
/external/ltp/testcases/open_posix_testsuite/stress/threads/ |
H A D | helper.c | 25 * -> after a specified timeout, the monitor let the stress test terminate 63 int timeout; variable 67 when the timeout expires. As this is highly 74 unsigned remaining = timeout * 3600; 102 printf(" n is the timeout duration in hours,\n"); 109 timeout = atoi(argv[1]); 110 if (timeout < 1) { 112 "Invalid timeout value \"%s\". Timeout must be a positive integer.\n", 120 perror("Failed to create the timeout thread\n");
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
H A D | sp_fence.c | 55 uint64_t timeout) 53 softpipe_fence_finish(struct pipe_screen *screen, struct pipe_fence_handle *fence, uint64_t timeout) argument
|
/external/mockito/src/test/java/org/mockito/verification/ |
H A D | NegativeDurationTest.java | 13 Mockito.timeout(-1); 14 Assert.fail("It is forbidden to invoke Mockito.timeout() with negative value.");
|
/external/syslinux/core/lwip/src/arch/ |
H A D | sys_arch.c | 47 u32_t sys_arch_sem_wait(sys_sem_t *sem, u32_t timeout) argument 53 rv = sem_down(*sem, timeout); 94 u32_t sys_arch_mbox_fetch(sys_mbox_t *mbox, void **msg, u32_t timeout) argument 100 rv = mbox_fetch(*mbox, msg, timeout);
|
/external/toybox/toys/pending/ |
H A D | sulogin.c | 27 long timeout; 50 if(TT.timeout) { 52 alarm(TT.timeout); 56 if(TT.timeout) alarm(0);
|
/external/v8/src/runtime/ |
H A D | runtime-futex.cc | 26 CONVERT_DOUBLE_ARG_CHECKED(timeout, 3); 30 CHECK(timeout == V8_INFINITY || !std::isnan(timeout)); 35 return FutexEmulation::Wait(isolate, array_buffer, addr, value, timeout);
|
/external/v8/tools/testrunner/local/ |
H A D | commands.py | 52 def RunProcess(verbose, timeout, args, **rest): 106 timer = Timer(timeout, kill_process, [process, timeout_result]) 120 def Execute(args, verbose=False, timeout=None): 122 return RunProcess(verbose, timeout, args=args)
|
/external/v8/tools/testrunner/objects/ |
H A D | context.py | 30 def __init__(self, arch, mode, shell_dir, mode_flags, verbose, timeout, 39 self.timeout = timeout 54 return [self.arch, self.mode, self.mode_flags, self.timeout, self.isolates,
|
/external/valgrind/memcheck/tests/solaris/ |
H A D | scalar_lwp_sigqueue.stderr.exp | 16 Syscall param lwp_sigqueue(timeout) contains uninitialised byte(s) 19 Syscall param lwp_sigqueue(timeout) points to unaddressable byte(s)
|
H A D | scalar_lwp_sigqueue_pid.stderr.exp | 19 Syscall param lwp_sigqueue(timeout) contains uninitialised byte(s) 22 Syscall param lwp_sigqueue(timeout) points to unaddressable byte(s)
|
/external/autotest/client/site_tests/desktopui_Respawn/ |
H A D | desktopui_Respawn.py | 26 def _nuke_ui_with_prejudice_and_wait(self, timeout): 29 @param timeout: time in seconds to wait for browser to come back.""" 38 timeout=timeout)
|
/external/autotest/client/site_tests/kernel_FirmwareRequest/src/ |
H A D | fw_filesystem.sh | 18 OLD_TIMEOUT=$(cat /sys/class/firmware/timeout) 29 echo "$OLD_TIMEOUT" >/sys/class/firmware/timeout 39 # Turn down the timeout so failures don't take so long. 40 echo 1 >/sys/class/firmware/timeout 71 echo "$0: timeout works"
|
/external/autotest/client/site_tests/logging_AsanCrash/ |
H A D | logging_AsanCrash.py | 45 timeout=10, 57 timeout=10, 66 timeout=10,
|
/external/autotest/server/brillo/ |
H A D | host_utils.py | 17 to=%(timeout)d; \ 39 def wait_for_process(host, pid, timeout=-1): 44 @param timeout: Number of seconds to wait; default is wait forever. 48 wait_cmd = _WAIT_CMD_TEMPLATE % {'pid': pid, 'timeout': timeout} 81 sleep_interval=1, timeout=300,
|
/external/autotest/server/site_tests/platform_USBHIDWake/ |
H A D | platform_USBHIDWake.py | 65 def wait_for_host(self, host=None, timeout=30): 66 '''Wait for the DUT to come back up, with a timeout 69 @param timeout: maximum time in seconds to wait 72 return site_utils.ping(host, deadline=timeout) == 0 95 if not self.wait_for_host(host=client_ip, timeout=10):
|
/external/autotest/server/ |
H A D | subcommand.py | 14 def parallel(tasklist, timeout=None, return_results=False): 19 @param timeout: Number of seconds after which the commands should timeout. 29 if timeout: 30 endtime = time.time() + timeout 34 if timeout: 37 status = task.fork_waitfor(timeout=remaining_timeout) 56 def parallel_simple(function, arglist, log=True, timeout=None, 73 @param timeout: Number of seconds after which the commands should timeout [all...] |
/external/chromium-trace/catapult/devil/devil/utils/ |
H A D | cmd_helper.py | 211 """Module-specific timeout exception.""" 222 def _IterProcessStdout(process, iter_timeout=None, timeout=None, 233 timeout: An optional length of time, in seconds, during which 241 TimeoutError: if timeout is set and the process does not complete. 253 end_time = (time.time() + timeout) if timeout else None 290 def GetCmdStatusAndOutputWithTimeout(args, timeout, cwd=None, shell=False, 292 """Executes a subprocess with a timeout. 297 timeout: the timeout i [all...] |
/external/chromium-trace/catapult/systrace/profile_chrome/ |
H A D | fake_agent_2.py | 20 def StartAgentTracing(self, config, timeout=None): 25 def StopAgentTracing(self, timeout=None): 30 def GetResults(self, timeout=None):
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/actions/ |
H A D | repeatable_scroll.py | 15 repeat_count=0, repeat_delay_ms=250, timeout=60, 23 self._timeout = timeout 50 timeout=self._timeout)
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/forwarders/ |
H A D | do_nothing_forwarder.py | 53 (self.host_ip, self._port_pair.local_port), timeout=10) 62 def _WaitForConnectionEstablished(self, address, timeout): 66 py_utils.WaitFor(CanConnect, timeout)
|
/external/guava/guava-bootstrap/src/java/util/concurrent/ |
H A D | ExecutorService.java | 25 boolean awaitTermination(long timeout, TimeUnit unit) argument 38 Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) 45 Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) 37 invokeAll( Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) argument 44 invokeAny( Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) argument
|
/external/iptables/extensions/ |
H A D | libxt_IDLETIMER.c | 35 {.name = "timeout", .id = O_TIMEOUT, .type = XTTYPE_UINT32, 36 .flags = XTOPT_MAND | XTOPT_PUT, XTOPT_POINTER(s, timeout)}, 49 " --timeout time Timeout until the notification is sent (in seconds)\n" 63 printf(" timeout:%u", info->timeout); 74 printf(" --timeout %u", info->timeout);
|
/external/junit/src/main/java/org/junit/internal/runners/ |
H A D | TestMethod.java | 38 long timeout = annotation.timeout(); 39 return timeout;
|
/external/libbrillo/brillo/dbus/ |
H A D | dbus_connection.cc | 31 base::TimeDelta timeout) { 35 base::TimeTicks deadline = base::TimeTicks::Now() + timeout; 53 LOG(ERROR) << "Failed to get system bus after " << timeout.InSeconds() 30 ConnectWithTimeout( base::TimeDelta timeout) argument
|