/libcore/luni/src/main/java/java/net/ |
SocketOptions.java | 48 * Integer timeout in milliseconds for blocking accept or read/receive operations (but not 49 * write/send operations). A timeout of 0 means no timeout. Negative 52 * <p>An {@code InterruptedIOException} is thrown if this timeout expires.
|
SocketTimeoutException.java | 23 * This exception is thrown when a timeout expired on a socket {@code read} or
|
/libcore/luni/src/test/java/libcore/java/net/ |
ServerSocketTest.java | 27 // On Unix, the receive timeout is inherited by the result of accept(2).
|
/prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/ |
poll.h | 38 /* POSIX specifies "int" for the timeout, Linux seems to use long... */
|
/prebuilt/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/ |
poll.h | 38 /* POSIX specifies "int" for the timeout, Linux seems to use long... */
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include/ |
poll.h | 38 /* POSIX specifies "int" for the timeout, Linux seems to use long... */
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/ |
poll.h | 38 /* POSIX specifies "int" for the timeout, Linux seems to use long... */
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-arm/usr/include/ |
poll.h | 38 /* POSIX specifies "int" for the timeout, Linux seems to use long... */
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/ |
poll.h | 38 /* POSIX specifies "int" for the timeout, Linux seems to use long... */
|
/prebuilt/ndk/android-ndk-r5/platforms/android-3/arch-arm/usr/include/ |
poll.h | 38 /* POSIX specifies "int" for the timeout, Linux seems to use long... */
|
/prebuilt/ndk/android-ndk-r6/platforms/android-3/arch-arm/usr/include/ |
poll.h | 38 /* POSIX specifies "int" for the timeout, Linux seems to use long... */
|
/prebuilt/ndk/android-ndk-r6/platforms/android-3/arch-x86/usr/include/ |
poll.h | 38 /* POSIX specifies "int" for the timeout, Linux seems to use long... */
|
/system/core/init/ |
util.h | 38 int wait_for_file(const char *filename, int timeout);
|
/system/core/toolbox/ |
alarm.c | 22 // struct timeval timeout = { 0, 0 }; 50 //timeout.tv_sec = strtol(optarg, NULL, 0); 172 res = select(fd + 1, &rfds, NULL, NULL, &timeout); 183 fprintf(stderr, "timeout waiting for alarm\n");
|
/development/ndk/platforms/android-9/include/android/ |
looper.h | 70 * The poll was awoken using wake() before the timeout expired 83 * The timeout expired. 161 * Waits for events to be available, with optional timeout in milliseconds. 164 * If the timeout is zero, returns immediately without blocking. 165 * If the timeout is negative, waits indefinitely until an event appears. 168 * the timeout expired and no callbacks were invoked and no other file 174 * timeout expired.
|
/external/chromium/third_party/libevent/ |
epoll.c | 97 /* On Linux kernels at least up to 2.6.24.4, epoll can't handle timeout 187 int i, res, timeout = -1; local 190 timeout = tv->tv_sec * 1000 + (tv->tv_usec + 999) / 1000; 192 if (timeout > MAX_EPOLL_TIMEOUT_MSEC) { 193 /* Linux kernels can wait forever if the timeout is too big; 195 timeout = MAX_EPOLL_TIMEOUT_MSEC; 198 res = epoll_wait(epollop->epfd, events, epollop->nevents, timeout);
|
/external/grub/netboot/ |
fsys_tftp.c | 60 long timeout; local 63 timeout = rfc2131_sleep_interval (block ? TFTP_REXMT : TIMEOUT, retry); 65 timeout = rfc2131_sleep_interval (TIMEOUT, retry); 68 if (! await_reply (AWAIT_TFTP, iport, NULL, timeout)) 99 /* Timeout. */
|
/external/guava/src/com/google/common/util/concurrent/ |
AbstractFuture.java | 56 * Blocks until either the task completes or the timeout expires. Uses the 57 * sync blocking-with-timeout support provided by AQS. 59 public V get(long timeout, TimeUnit unit) throws InterruptedException, 61 return sync.get(unit.toNanos(timeout)); 212 * Blocks until the task is complete or the timeout expires. Throws a 219 // Attempt to acquire the shared lock with a timeout. 221 throw new TimeoutException("Timeout waiting for task.");
|
/frameworks/base/native/include/android/ |
looper.h | 70 * The poll was awoken using wake() before the timeout expired 83 * The timeout expired. 162 * Waits for events to be available, with optional timeout in milliseconds. 165 * If the timeout is zero, returns immediately without blocking. 166 * If the timeout is negative, waits indefinitely until an event appears. 169 * the timeout expired and no callbacks were invoked and no other file 175 * timeout expired.
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
OldSocketChannelTest.java | 57 private final static int TIMEOUT = 60000; 271 // if the channel could not finish writing in TIMEOUT ms, the 274 assertTimeout(startTime, TIMEOUT); 280 * than timeout. 282 private void assertTimeout(long startTime, long timeout) { 284 if ((currentTime - startTime) > timeout) { 285 fail("Timeout");
|
/prebuilt/ndk/android-ndk-r5/platforms/android-9/arch-arm/usr/include/android/ |
looper.h | 70 * The poll was awoken using wake() before the timeout expired 83 * The timeout expired. 161 * Waits for events to be available, with optional timeout in milliseconds. 164 * If the timeout is zero, returns immediately without blocking. 165 * If the timeout is negative, waits indefinitely until an event appears. 168 * the timeout expired and no callbacks were invoked and no other file 174 * timeout expired.
|
/prebuilt/ndk/android-ndk-r6/platforms/android-9/arch-arm/usr/include/android/ |
looper.h | 70 * The poll was awoken using wake() before the timeout expired 83 * The timeout expired. 161 * Waits for events to be available, with optional timeout in milliseconds. 164 * If the timeout is zero, returns immediately without blocking. 165 * If the timeout is negative, waits indefinitely until an event appears. 168 * the timeout expired and no callbacks were invoked and no other file 174 * timeout expired.
|
/prebuilt/ndk/android-ndk-r6/platforms/android-9/arch-x86/usr/include/android/ |
looper.h | 70 * The poll was awoken using wake() before the timeout expired 83 * The timeout expired. 161 * Waits for events to be available, with optional timeout in milliseconds. 164 * If the timeout is zero, returns immediately without blocking. 165 * If the timeout is negative, waits indefinitely until an event appears. 168 * the timeout expired and no callbacks were invoked and no other file 174 * timeout expired.
|
/external/llvm/tools/bugpoint/ |
ToolRunner.h | 70 unsigned Timeout = 0, 121 unsigned Timeout = 0, unsigned MemoryLimit = 0) {} 129 unsigned Timeout = 0, 149 unsigned Timeout = 0, 173 unsigned Timeout = 0, unsigned MemoryLimit = 0); 184 unsigned Timeout = 0, 193 unsigned Timeout = 0, 221 unsigned Timeout = 0, unsigned MemoryLimit = 0); 232 unsigned Timeout = 0, 241 unsigned Timeout = 0 [all...] |
/external/qemu/distrib/sdl-1.2.12/src/audio/paudio/ |
SDL_paudio.c | 142 struct timeval timeout; local 150 timeout.tv_sec = 10; 151 timeout.tv_usec = 0; 154 timeout.tv_sec = ms_in_buf/1000; 155 ms_in_buf = ms_in_buf - timeout.tv_sec*1000; 156 timeout.tv_usec = ms_in_buf*1000; 160 timeout.tv_sec, 161 timeout.tv_usec ); 168 if ( select(audio_fd+1, NULL, &fdset, NULL, &timeout) <= 0 ) { 169 const char *message = "Audio timeout - buggy audio driver? (disabled)" [all...] |