Searched refs:timeout (Results 1 - 25 of 1718) sorted by relevance

1234567891011>>

/external/clang/test/CodeGen/
H A D2003-11-04-OutOfMemory.c3 void schedule_timeout(signed long timeout) argument
5 switch (timeout)
/external/jemalloc/test/src/
H A Dmq.c17 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/junit/src/main/java/org/junit/runners/model/
H A DTestTimedOutException.java6 * Exception thrown when a test fails on timeout.
16 private final long timeout; field in class:TestTimedOutException
19 * Creates exception with a standard message "test timed out after [timeout] [timeUnit]"
21 * @param timeout the amount of time passed before the test was interrupted
22 * @param timeUnit the time unit for the timeout value
24 public TestTimedOutException(long timeout, TimeUnit timeUnit) { argument
26 timeout, timeUnit.name().toLowerCase()));
28 this.timeout = timeout;
35 return timeout;
[all...]
/external/nist-sip/java/javax/sip/
H A DTimeoutEvent.java7 Timeout timeout) {
9 mTimeout = timeout;
13 Timeout timeout) {
15 mTimeout = timeout;
6 TimeoutEvent(Object source, ServerTransaction serverTransaction, Timeout timeout) argument
12 TimeoutEvent(Object source, ClientTransaction clientTransaction, Timeout timeout) argument
/external/webrtc/webrtc/base/
H A Dgunit.h22 // Wait until "ex" is true, or "timeout" expires.
23 #define WAIT(ex, timeout) \
24 for (uint32_t start = rtc::Time(); !(ex) && rtc::Time() < start + timeout;) \
30 #define WAIT_(ex, timeout, res) \
34 while (!res && rtc::Time() < start + timeout) { \
40 // The typical EXPECT_XXXX and ASSERT_XXXXs, but done until true or a timeout.
41 #define EXPECT_TRUE_WAIT(ex, timeout) \
44 WAIT_(ex, timeout, res); \
48 #define EXPECT_EQ_WAIT(v1, v2, timeout) \
51 WAIT_(v1 == v2, timeout, re
[all...]
/external/strace/tests/
H A Drt_sigtimedwait.c45 const struct timespec *const timeout, const unsigned long size)
47 return syscall(__NR_rt_sigtimedwait, set, info, timeout, size);
52 const struct timespec *const timeout, unsigned int size)
55 assert(k_sigtimedwait(set, NULL, timeout, size) == -1);
60 (intmax_t) timeout->tv_sec,
61 (intmax_t) timeout->tv_nsec,
68 set, (intmax_t) timeout->tv_sec,
69 (intmax_t) timeout->tv_nsec, size);
74 text, (intmax_t) timeout->tv_sec,
75 (intmax_t) timeout
44 k_sigtimedwait(const sigset_t *const set, siginfo_t *const info, const struct timespec *const timeout, const unsigned long size) argument
51 iterate(const char *const text, const void *set, const struct timespec *const timeout, unsigned int size) argument
90 struct timespec *const timeout = tail_alloc(sizeof(*timeout)); local
[all...]
/external/strace/tests-m32/
H A Drt_sigtimedwait.c45 const struct timespec *const timeout, const unsigned long size)
47 return syscall(__NR_rt_sigtimedwait, set, info, timeout, size);
52 const struct timespec *const timeout, unsigned int size)
55 assert(k_sigtimedwait(set, NULL, timeout, size) == -1);
60 (intmax_t) timeout->tv_sec,
61 (intmax_t) timeout->tv_nsec,
68 set, (intmax_t) timeout->tv_sec,
69 (intmax_t) timeout->tv_nsec, size);
74 text, (intmax_t) timeout->tv_sec,
75 (intmax_t) timeout
44 k_sigtimedwait(const sigset_t *const set, siginfo_t *const info, const struct timespec *const timeout, const unsigned long size) argument
51 iterate(const char *const text, const void *set, const struct timespec *const timeout, unsigned int size) argument
90 struct timespec *const timeout = tail_alloc(sizeof(*timeout)); local
[all...]
/external/strace/tests-mx32/
H A Drt_sigtimedwait.c45 const struct timespec *const timeout, const unsigned long size)
47 return syscall(__NR_rt_sigtimedwait, set, info, timeout, size);
52 const struct timespec *const timeout, unsigned int size)
55 assert(k_sigtimedwait(set, NULL, timeout, size) == -1);
60 (intmax_t) timeout->tv_sec,
61 (intmax_t) timeout->tv_nsec,
68 set, (intmax_t) timeout->tv_sec,
69 (intmax_t) timeout->tv_nsec, size);
74 text, (intmax_t) timeout->tv_sec,
75 (intmax_t) timeout
44 k_sigtimedwait(const sigset_t *const set, siginfo_t *const info, const struct timespec *const timeout, const unsigned long size) argument
51 iterate(const char *const text, const void *set, const struct timespec *const timeout, unsigned int size) argument
90 struct timespec *const timeout = tail_alloc(sizeof(*timeout)); local
[all...]
/external/ksoap2/ksoap2-j2se/src/main/java/org/ksoap2/transport/
H A DKeepAliveHttpsTransportSE.java30 private final int timeout; field in class:KeepAliveHttpsTransportSE
33 public KeepAliveHttpsTransportSE(String host, int port, String file, int timeout) { argument
34 super(host, port, file, timeout);
38 this.timeout = timeout;
52 file, timeout);
/external/okhttp/okio/okio/src/test/java/okio/
H A DAsyncTimeoutTest.java44 a.timeout( 250, TimeUnit.MILLISECONDS);
45 b.timeout( 500, TimeUnit.MILLISECONDS);
46 c.timeout( 750, TimeUnit.MILLISECONDS);
47 d.timeout(1000, TimeUnit.MILLISECONDS);
51 AsyncTimeout timeout = new RecordingAsyncTimeout();
52 timeout.timeout(0, TimeUnit.MILLISECONDS);
53 timeout.enter();
55 assertFalse(timeout.exit());
135 RecordingAsyncTimeout timeout
[all...]
/external/ltp/lib/newlib_tests/
H A Dtest10.c17 * Test for watchdog timeout.
32 .timeout = 1,
H A Dtest12.c17 * Test for timeout override.
30 .timeout = 2,
/external/toolchain-utils/cros_utils/
H A Dcommand_executer_unittest.py16 timeout = 1
21 ce.RunCommand(command, command_timeout=timeout, terminated_timeout=timeout)
23 self.assertTrue(round(end - start) == timeout)
/external/chromium-trace/catapult/systrace/systrace/tracing_agents/
H A D__init__.py32 def StartAgentTracing(self, config, timeout=None):
33 '''Starts running the trace for this agent. Stops with timeout if
34 not completed within timeout interval.
39 timeout: Timeout interval in seconds.
46 def StopAgentTracing(self, timeout=None):
48 Stops with timeout if not completed within timeout interval.
51 timeout: Timeout interval in seconds.
78 def GetResults(self, timeout=None):
79 '''Get the completed trace for this agent, stopping with timeout
[all...]
/external/junit/src/main/java/org/junit/rules/
H A DTimeout.java10 * The Timeout Rule applies the same timeout to all test methods in a class:
29 * Each test is run in a new thread. If the specified timeout elapses before
34 * A specified timeout of 0 will be interpreted as not set, however tests will
41 private final long timeout; field in class:Timeout
54 * Create a {@code Timeout} instance with the timeout specified
63 * test to run before it should timeout
71 * Create a {@code Timeout} instance with the timeout specified
74 * @param timeout the maximum time to allow the test to run
75 * before it should timeout
76 * @param timeUnit the time unit for the {@code timeout}
79 Timeout(long timeout, TimeUnit timeUnit) argument
158 private long timeout = 0; field in class:Timeout.Builder
179 withTimeout(long timeout, TimeUnit unit) argument
[all...]
/external/autotest/client/cros/
H A Dlogin.py36 def wait_for_condition(condition, timeout_msg, timeout, process, crash_msg):
39 Poll for |condition| to become true, for |timeout| seconds. If the timeout
45 @param timeout: float number of seconds to poll on |condition|.
50 @raise: TimeoutError if timeout is reached.
61 timeout=timeout)
71 def wait_for_browser(timeout=cros_ui.RESTART_UI_TIMEOUT):
74 @param timeout: float number of seconds to wait.
76 @raise: TimeoutError: Chrome didn't start before timeout
[all...]
/external/apache-harmony/support/src/test/java/tests/support/
H A DSupport_HttpServerSocket.java34 private int timeout = 8000; field in class:Support_HttpServerSocket
48 instance.setSoTimeout(timeout);
55 * timeout for the server.
57 public void setTimeout(int timeout) { argument
58 this.timeout = timeout;
/external/autotest/client/common_lib/cros/
H A Darc_common.py27 def wait_for_android_boot(timeout=None):
28 """Sleep until Android has completed booting or timeout occurs."""
29 if timeout is None:
30 timeout = _WAIT_FOR_ANDROID_BOOT_SECONDS
40 timeout=timeout,
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/tracing_agent/
H A D__init__.py27 def StartAgentTracing(self, config, timeout):
40 timeout: number of seconds that this tracing agent should try to start
60 def FlushAgentTracing(self, config, timeout, trace_data_builder):
62 del config, timeout, trace_data_builder # unused
94 def CollectAgentTraceData(self, trace_data_builder, timeout=None):
97 del timeout
H A Ddisplay_tracing_agent.py17 def StartAgentTracing(self, config, timeout):
18 del timeout # unused
27 def CollectAgentTraceData(self, trace_data_builder, timeout=None):
29 del timeout
/external/autotest/client/tests/barriertest/
H A Dbarriertest.py12 def run_once(self, our_addr, hostnames, master, timeout=120):
17 self.job.barrier(our_addr, 'First', timeout=timeout,
23 self.job.barrier(our_addr, 'Second', timeout=timeout,
31 self.job.barrier(our_addr, 'WillAbort', timeout=timeout,
47 self.job.barrier(our_addr, 'FinalSync', timeout=timeout,
55 self.job.barrier(our_addr, 'WillAbortServers', timeout
[all...]
/external/syslinux/gpxe/src/net/
H A Dretry.c42 * adjust the timeout back down to is seven ticks, so set the minimum
43 * timeout to at least that value for the sake of consistency.
55 * This starts the timer running with the current timeout value. If
65 /* 0 means "use default timeout" */
71 /* Honor user-specified minimum timeout */
72 if ( timer->timeout < timer->min_timeout )
73 timer->timeout = timer->min_timeout;
76 timer, timer->start, ( timer->start + timer->timeout ) );
80 * Start timer with a specified fixed timeout
83 * @v timeout Timeou
[all...]
/external/autotest/server/cros/multimedia/
H A Dbrowser_facade_adapter.py77 self, tab_descriptor, expression, timeout):
82 @param timeout: Indicate the timeout of the expression.
85 tab_descriptor, expression, timeout)
88 def execute_javascript(self, tab_descriptor, statement, timeout):
93 @param timeout: Indicate the timeout of the statement.
96 tab_descriptor, statement, timeout)
99 def evaluate_javascript(self, tab_descriptor, expression, timeout):
104 @param timeout
[all...]
/external/autotest/server/cros/
H A Dqueue_barrier.py9 """QueueBarrier timeout exception."""
37 def master_barrier(self, token=None, timeout=None):
42 @param timeout: The timeout, in seconds, to wait for the slaves.
51 result.append(self.queue_master_.get(timeout=timeout))
61 def slave_barrier(self, token=None, timeout=None):
66 @param timeout: The timeout, in seconds, to wait for the slaves.
71 return self.queue_slave_.get(timeout
[all...]
/external/guava/guava/src/com/google/common/collect/
H A DForwardingBlockingDeque.java65 public boolean offerFirst(E e, long timeout, TimeUnit unit) throws InterruptedException { argument
66 return delegate().offerFirst(e, timeout, unit);
70 public boolean offerLast(E e, long timeout, TimeUnit unit) throws InterruptedException { argument
71 return delegate().offerLast(e, timeout, unit);
85 public E pollFirst(long timeout, TimeUnit unit) throws InterruptedException { argument
86 return delegate().pollFirst(timeout, unit);
90 public E pollLast(long timeout, TimeUnit unit) throws InterruptedException { argument
91 return delegate().pollLast(timeout, unit);
100 public boolean offer(E e, long timeout, TimeUnit unit) throws InterruptedException { argument
101 return delegate().offer(e, timeout, uni
110 poll(long timeout, TimeUnit unit) argument
[all...]

Completed in 781 milliseconds

1234567891011>>