Searched defs:timeout (Results 201 - 225 of 227) sorted by relevance

12345678910

/openjdk7/jdk/src/share/back/
H A Dutil.h246 jlong timeout; member in union:__anon515::__anon516::__anon521
/openjdk7/jdk/src/solaris/native/java/net/
H A DPlainDatagramSocketImpl.c155 pdsi_timeoutID = (*env)->GetFieldID(env, cls, "timeout", "I");
550 jint timeout = (*env)->GetIntField(env, this, pdsi_timeoutID); local
568 if (timeout) {
569 int ret = NET_Timeout(fd, timeout);
638 jint timeout = (*env)->GetIntField(env, this, pdsi_timeoutID); local
670 if (timeout) {
671 int ret = NET_Timeout(fd, timeout);
815 jint timeout = (*env)->GetIntField(env, this, pdsi_timeoutID); local
896 if (timeout) {
906 if (timeout) {
[all...]
H A Dnet_util_md.c1621 * Wrapper for select/poll with timeout on a single file descriptor.
1627 * of the specified operation or the timeout expired.
1629 * It returns the time left from the timeout (possibly 0), or -1 if it expired.
1633 NET_Wait(JNIEnv *env, jint fd, jint flags, jint timeout) argument
1653 read_rv = NET_Poll(&pfd, 1, timeout);
1660 t.tv_sec = timeout / 1000;
1661 t.tv_usec = (timeout % 1000) * 1000;
1683 timeout -= (newTime - prevTime);
1684 if (timeout <= 0) {
1696 return timeout;
[all...]
/openjdk7/jdk/src/solaris/native/sun/xawt/
H A DXToolkit.c400 // AWT static poll timeout. Zero means "not set", aging algorithm is
401 // used. Static poll timeout values higher than 50 cause application
403 // enough. Static poll timeout value less than 10 are usually
407 // is highly recomended to use aging algorithm (set static poll timeout
452 * Reads environment variables to initialize timeout fields.
562 * Gets the best timeout for the next call to poll().
565 * timeout task needs to be run, in millis(of currentTimeMillis)
570 uint32_t timeout; local
575 timeout = curPollTimeout;
582 PRINT2("to: %d, ft: %d, to: %d, tt: %d, mil: %d\n", taskTimeout, flushTimeout, timeout, (in
657 uint32_t timeout = get_poll_timeout(nextTaskTime); local
[all...]
H A DXlibWrapper.c1950 uint32_t timeout = 1; local
1958 timeout = (timeout < AWT_SECONDARY_LOOP_TIMEOUT) ? (timeout << 1) : AWT_SECONDARY_LOOP_TIMEOUT;
1959 AWT_WAIT(timeout);
/openjdk7/jdk/src/windows/native/java/net/
H A Dnet_util_md.c538 NET_Timeout(int fd, long timeout) { argument
542 t.tv_sec = timeout / 1000;
543 t.tv_usec = (timeout % 1000) * 1000;
554 * If timeout = -1, it blocks forever.
563 NET_Timeout2(int fd, int fd1, long timeout, int *fdret) { argument
567 if (timeout == -1) {
570 t.tv_sec = timeout / 1000;
571 t.tv_usec = (timeout % 1000) * 1000;
579 return 0; /* timeout */
961 * Wrapper for select/poll with timeout o
973 NET_Wait(JNIEnv *env, jint fd, jint flags, jint timeout) argument
[all...]
H A DTwoStacksPlainDatagramSocketImpl.c393 pdsi_timeoutID = (*env)->GetFieldID(env, cls, "timeout", "I");
800 jint timeout = (*env)->GetIntField(env, this, pdsi_timeoutID); local
836 * If a timeout has been specified then we select on the socket
837 * waiting for a read event or a timeout.
839 if (timeout) {
842 ret = NET_Timeout (fd, timeout);
848 NET_ThrowCurrent(env, "timeout in datagram socket peek");
880 * If a timeout was specified then we need to adjust it because
881 * we may have used up some of the timeout befor the icmp port
884 if (timeout) {
924 jint timeout = (*env)->GetIntField(env, this, pdsi_timeoutID); local
1195 jint timeout = (*env)->GetIntField(env, this, pdsi_timeoutID); local
[all...]
/openjdk7/jdk/src/share/demo/jvmti/hprof/
H A Dhprof_init.c1680 jthread thread, jobject object, jlong timeout)
1685 monitor_wait_event(env, thread, object, timeout);
1679 cbMonitorWait(jvmtiEnv *jvmti, JNIEnv* env, jthread thread, jobject object, jlong timeout) argument
H A Dhprof_io.c1195 io_write_monitor_sleep(jlong timeout, SerialNumber thread_serial_num) argument
1201 write_printf("SLEEP: timeout=%d, <unknown thread>\n",
1202 (int)timeout);
1205 write_printf("SLEEP: timeout=%d, thread %d\n",
1206 (int)timeout, thread_serial_num);
1212 io_write_monitor_wait(char *sig, jlong timeout, argument
1219 write_printf("WAIT: MONITOR %s, timeout=%d, <unknown thread>\n",
1220 sig, (int)timeout);
1223 write_printf("WAIT: MONITOR %s, timeout=%d, thread %d\n",
1224 sig, (int)timeout, thread_serial_nu
[all...]
/openjdk7/jdk/src/share/native/common/
H A Djni_util.c955 JNU_MonitorWait(JNIEnv *env, jobject object, jlong timeout) argument
971 (*env)->CallVoidMethod(env, object, Object_waitMID, timeout);
/openjdk7/jdk/src/share/classes/sun/security/ssl/
H A DSSLSocketImpl.java591 * Connects this socket to the server with a specified timeout
602 * @param timeout the timeout value to be used, 0 is no timeout
604 * @throws SocketTimeoutException if timeout expires before connecting
606 public void connect(SocketAddress endpoint, int timeout) argument
618 super.connect(endpoint, timeout);
759 "SO_LINGER timeout," +
1322 // start an ssl handshake that could be resumed from timeout exception
1331 * be reserved for exceptions like timeout; otherwis
2408 setSoTimeout(int timeout) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/net/ftp/impl/
H A DFtpClient.java848 * Sets the timeout value to use when connecting to the server,
850 * @param timeout the timeout value, in milliseconds, to use for the connect
851 * operation. A value of zero or less, means use the default timeout.
855 public sun.net.ftp.FtpClient setConnectTimeout(int timeout) { argument
856 connectTimeout = timeout;
861 * Returns the current connection timeout value.
863 * @return the value, in milliseconds, of the current connect timeout.
871 * Sets the timeout value to use when reading from the server,
873 * @param timeout th
877 setReadTimeout(int timeout) argument
914 tryConnect(InetSocketAddress dest, int timeout) argument
928 doConnect(InetSocketAddress dest, int timeout) argument
1008 connect(SocketAddress dest, int timeout) argument
[all...]
/openjdk7/jdk/src/share/transport/shmem/
H A DshmemBase.c829 long timeout,
837 CHECK_ERROR(sysEventWait(NULL, transport->attachEvent, timeout));
867 doAttach(SharedMemoryTransport *transport, long timeout) argument
871 CHECK_ERROR(sysEventWait(NULL, transport->acceptEvent, timeout));
876 shmemBase_attach(const char *addressString, long timeout, SharedMemoryConnection **connectionPtr) argument
898 error = doAttach(transport, timeout);
828 shmemBase_accept(SharedMemoryTransport *transport, long timeout, SharedMemoryConnection **connectionPtr) argument
/openjdk7/jdk/src/solaris/classes/sun/awt/motif/
H A DMToolkit.java739 protected boolean syncNativeQueue(final long timeout) { argument
749 awtLockWait(timeout);
755 if (((System.currentTimeMillis() - start) > timeout) && (timeout >= 0)) {
/openjdk7/jdk/src/share/classes/sun/awt/
H A DSunToolkit.java261 public static final void awtLockWait(long timeout) argument
264 AWT_LOCK_COND.await(timeout, TimeUnit.MILLISECONDS);
1486 * @param timeout the maximum time to wait in milliseconds, negative means "forever".
1488 public void realSync(final long timeout) throws OperationTimedOut, InfiniteLoop argument
1505 syncNativeQueue(timeout);
1508 while (syncNativeQueue(timeout) && iters < MAX_ITERS) {
1524 waitForIdle(timeout);
1527 while (waitForIdle(timeout) && iters < MAX_ITERS) {
1538 } while ((syncNativeQueue(timeout) || waitForIdle(timeout))
1549 syncNativeQueue(final long timeout) argument
1567 waitForIdle(final long timeout) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/jmx/snmp/daemon/
H A DSnmpAdaptorServer.java224 private int timeout = 3 * 1000 ; field in class:SnmpAdaptorServer
677 * Gets the timeout to wait for an inform response from the manager.
678 * By default, a timeout of 3 seconds is used.
679 * @return The value of the timeout property.
682 return timeout;
686 * Changes the timeout to wait for an inform response from the manager.
687 * @param newTimeout The timeout (in milliseconds).
692 timeout= newTimeout;
/openjdk7/hotspot/src/share/vm/runtime/
H A DobjectMonitor.cpp1428 jlong timeout,
1431 event->set_timeout((TYPE_ULONG)timeout);
1489 // returns because of a timeout of interrupt. Contention is exceptionally rare
1525 // while (!timeout && !interrupted && _notified == 0) park()
1648 // no, it could be timeout or Thread.interrupt() or both
1649 // check for interrupt event, otherwise it is timeout
1656 // NOTE: Spurious wake up will be consider as timeout.
2329 // timeout or other spurious wake-up, dequeue the
1426 post_monitor_wait_event(EventJavaMonitorWait* event, jlong notifier_tid, jlong timeout, bool timedout) argument
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWToolkit.java983 public native boolean syncNativeQueue(final long timeout); argument
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/http/
H A DHttpURLConnection.java128 * sun.net.http.errorstream.timeout = <int>
129 * the timeout (in millisec) waiting the error stream
141 /* timeout waiting for read for buffered error stream;
223 "sun.net.http.errorstream.timeout", 300)).intValue();
1013 // 5s read timeout in case the server doesn't understand
2534 * it may be closed (idle timeout) or may be allocated to
2852 public void setConnectTimeout(int timeout) { argument
2853 if (timeout < 0)
2855 connectTimeout = timeout;
2860 * Returns setting for connect timeout
2897 setReadTimeout(int timeout) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/rmi/server/
H A DActivation.java172 /** timeout on wait for child process to be created or destroyed */
178 /** timeout on wait for child process to be created */
1268 "timeout creating child process"));
2289 public void setSoTimeout(int timeout) argument
2292 serverSocket.setSoTimeout(timeout);
/openjdk7/hotspot/src/share/vm/prims/
H A DjvmtiExport.cpp2034 jlong timeout) {
2059 jem.jni_object(), timeout);
2033 post_monitor_wait(JavaThread *thread, oop object, jlong timeout) argument
/openjdk7/jdk/src/windows/native/sun/windows/
H A Dawt_Toolkit.cpp2636 Java_sun_awt_windows_WToolkit_syncNativeQueue(JNIEnv *env, jobject self, jlong timeout) argument
H A Dawt_Window.cpp2086 void AwtWindow::FlashWindowEx(HWND hWnd, UINT count, DWORD timeout, DWORD flags) { argument
2092 fi.dwTimeout = timeout;
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXToolkit.java133 * Return (potentially) platform specific display timeout for the
1844 * Executes mature timeout tasks registered with schedule().
2312 protected boolean syncNativeQueue(final long timeout) { argument
2363 awtLockWait(timeout);
2369 if ((System.currentTimeMillis() - start > timeout) && timeout >= 0) {
/openjdk7/jdk/src/solaris/native/sun/awt/
H A Dawt_MToolkit.c208 static int32_t def_poll_timeout = AWT_MAX_POLL_TIMEOUT; /* default value for timeout */
288 * Gets the best timeout for the next call to poll() or select().
289 * If timedOut is True, we assume that our previous timeout elapsed
291 * next timeout slightly.
296 uint32_t timeout = AWT_MAX_POLL_TIMEOUT; local
309 timeout = min(curPollTimeout, flushDiff);
311 timeout = curPollTimeout;
314 return timeout;
1704 a ScrollBar timeout from expiring, and restarting the
1988 uint32_t timeout local
2044 uint32_t timeout = awt_get_poll_timeout(False); local
[all...]

Completed in 590 milliseconds

12345678910