Searched refs:timeout (Results 1 - 25 of 1476) sorted by path

1234567891011>>

/external/antlr/antlr-3.4/antlr-ant/main/antlr3-task/antlr3-src/org/apache/tools/ant/antlr/
H A DANTLR3.java119 * Whether to override the default conversion timeout with -Xconversiontimeout nnnn
251 * override the default conversion timeout with -Xconversiontimeout nnnn
257 int timeout = Integer.valueOf(conversiontimeoutString);
/external/antlr/antlr-3.4/antlr-ant/main/antlr3-task/
H A Dantlr3.jar ... enable public void setConversiontimeout (java.lang.String) int timeout NumberFormatException e String conversiontimeoutString public void setGrammartree (boolean) boolean enable ...
/external/antlr/antlr-3.4/runtime/Python/tests/
H A Dt059debug.py65 except socket.timeout:
66 self.events.append(['timeout'])
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/debugging/
H A Ddebug-mode.rb20 timeout( 2 ) do
/external/apache-harmony/jdwp/
H A DAndroid.mk16 -Djpda.settings.timeout=$(jdwp_test_timeout_ms) \
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/
H A DTestOptions.java64 * <li><code>jpda.settings.timeout</code>
65 * - timeout used in JPDA tests
67 * - timeout for waiting events
77 /** Default timeout value for various operations. */
103 // current timeout value (negative means using default value)
104 private long timeout = -1; field in class:TestOptions
392 * Returns timeout for JPDA tests in milliseconds.
394 * @return option "jpda.settings.timeout" or DEFAULT_TIMEOUT by default.
397 if (timeout < 0) {
398 timeout
417 setTimeout(long timeout) argument
[all...]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/
H A DPacketDispatcher.java41 * events through established JDWP connection and supports timeout for these
121 * Waits for new event during timeout.
123 * @param timeout
124 * wait timeout
131 public EventPacket waitForNextEvent(long timeout) argument
151 this.wait(timeout);
154 // next event was received, exception in main cyrcle or timeout
172 // no events were occurred during timeout
258 * Sends command and waits for the reply during timeout.
262 * @param timeout
268 waitForReply(CommandPacket command, long timeout) argument
398 receiveReply(int commandId, long timeout) argument
636 receiveEvent(long timeout) argument
678 performCommand(CommandPacket command, long timeout) argument
725 receiveReply(int commandId, long timeout) argument
[all...]
H A DParsedEvent.java306 private long timeout; field in class:ParsedEvent.Event_MONITOR_WAIT
316 this.timeout = packet.getNextValueAsLong();
320 return timeout;
H A DVmMirror.java1930 * default timeout. All thrown exceptions are wrapped into
1954 * specified timeout.
1958 * @param timeout
1965 public ReplyPacket performCommand(CommandPacket command, long timeout) argument
1968 return packetDispatcher.performCommand(command, timeout);
1992 * method. Default timeout is used as time limit for waiting. This method
2008 * if timeout exceeded
2017 * method. Specified timeout is used as time limit for waiting. This method
2027 * @param timeout
2028 * Specified timeout i
2037 receiveReply(int commandId, long timeout) argument
2068 receiveEvent(long timeout) argument
[all...]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/share/
H A DJDWPUnitDebuggeeProcessWrapper.java287 // ProcessWaiter thread is still running (after we wait until a timeout) but is
302 throw new TestErrorException("Debuggee process did not finish during timeout", e);
310 * Separate thread for waiting for process exit for specified timeout.
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/share/
H A DJPDADebuggeeSynchronizer.java45 * TCP/IP sockets. All operations can be timed out according to default timeout.
213 long timeout = settings.getTimeout();
215 serverSocket.setSoTimeout((int) timeout);
220 clientSocket.setSoTimeout((int) timeout);
233 long timeout = settings.getTimeout();
240 clientSocket.setSoTimeout((int) timeout);
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
H A DTestHelper_Connection1.java229 public boolean isValid(int timeout) throws SQLException { argument
/external/apache-harmony/support/src/test/java/tests/support/
H A DSupport_HttpServer.java32 private static final int timeout = 10000; field in class:Support_HttpServer
108 serversocket.setTimeout(timeout);
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;
H A DSupport_ServerSocket.java29 public void setTimeout(int timeout); argument
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
H A DSSLServerSocketImplTest.java79 int timeout = 10; // wait no more than 5 seconds for handshake
86 timeout--;
87 if (timeout < 0) {
143 int timeout = 10; // wait no more than 5 seconds for handshake
150 timeout--;
151 if (timeout < 0) {
207 int timeout = 10; // wait no more than 5 seconds for handshake
214 timeout--;
215 if (timeout < 0) {
271 int timeout
[all...]
H A DSSLSocketImplTest.java92 int timeout = 10; // wait no more than 10*500 ms for handshake
99 timeout--;
100 if (timeout < 0) {
156 int timeout = 10; // wait no more than 5 seconds for handshake
163 timeout--;
164 if (timeout < 0) {
223 int timeout = 10; // wait no more than 5 seconds for handshake
230 timeout--;
231 if (timeout < 0) {
289 int timeout
[all...]
/external/apache-http/android/src/android/net/http/
H A DAndroidHttpClientConnection.java188 public void setSocketTimeout(int timeout) { argument
192 this.socket.setSoTimeout(timeout);
433 * that by attempting a read with a very small timeout. Thus this
/external/apache-http/src/org/apache/http/
H A DHttpClientConnection.java58 * implementations may completely ignore the timeout parameter.
60 * @param timeout the maximum time in milliseconds to wait for data
62 * even after waiting for <code>timeout</code> milliseconds.
65 boolean isResponseAvailable(int timeout) argument
H A DHttpConnection.java74 * that by attempting a read with a very small timeout. Thus this
85 * Sets the socket timeout value.
87 * @param timeout timeout value in milliseconds
89 void setSocketTimeout(int timeout); argument
92 * Returns the socket timeout value.
94 * @return positive value in milliseconds if a timeout is set,
95 * <code>0</code> if timeout is disabled or <code>-1</code> if
96 * timeout is undefined.
/external/apache-http/src/org/apache/http/conn/
H A DClientConnectionRequest.java49 * the timeout expires, or the connection manager is
57 * @param timeout the timeout, 0 or negative for no timeout
58 * @param tunit the unit for the <code>timeout</code>,
59 * may be <code>null</code> only if there is no timeout
65 * in case of a timeout
69 ManagedClientConnection getConnection(long timeout, TimeUnit tunit) argument
H A DMultihomePlainSocketFactory.java103 * @throws SocketTimeoutException if timeout expires before connecting
131 int timeout = HttpConnectionParams.getConnectionTimeout(params);
141 sock.connect(new InetSocketAddress(address, port), timeout);
/external/apache-http/src/org/apache/http/conn/params/
H A DConnManagerParamBean.java53 public void setTimeout (final long timeout) { argument
54 params.setLongParameter(ConnManagerPNames.TIMEOUT, timeout);
H A DConnManagerParams.java61 * Returns the timeout in milliseconds used when retrieving a
65 * @return timeout in milliseconds.
75 * Sets the timeout in milliseconds used when retrieving a
79 * @param timeout the timeout in milliseconds
81 public static void setTimeout(final HttpParams params, long timeout) { argument
85 params.setLongParameter(TIMEOUT, timeout);
/external/apache-http/src/org/apache/http/conn/scheme/
H A DPlainSocketFactory.java115 int timeout = HttpConnectionParams.getConnectionTimeout(params);
124 sock.connect(remoteAddress, timeout);

Completed in 483 milliseconds

1234567891011>>