Home
last modified time | relevance | path

Searched refs:blocking (Results 1 – 11 of 11) sorted by relevance

/libcore/ojluni/src/main/native/
DIOUtil.c74 configureBlocking(int fd, jboolean blocking) in configureBlocking() argument
77 int newflags = blocking ? (flags & ~O_NONBLOCK) : (flags | O_NONBLOCK); in configureBlocking()
84 jobject fdo, jboolean blocking) in IOUtil_configureBlocking() argument
86 if (configureBlocking(fdval(env, fdo), blocking) < 0) in IOUtil_configureBlocking()
91 IOUtil_makePipe(JNIEnv *env, jobject this, jboolean blocking) in IOUtil_makePipe() argument
99 if (blocking == JNI_FALSE) { in IOUtil_makePipe()
DLinuxWatchService.c111 (JNIEnv* env, jclass clazz, jint fd, jboolean blocking) in Java_sun_nio_fs_LinuxWatchService_configureBlocking() argument
115 if ((blocking == JNI_FALSE) && !(flags & O_NONBLOCK)) in Java_sun_nio_fs_LinuxWatchService_configureBlocking()
117 else if ((blocking == JNI_TRUE) && (flags & O_NONBLOCK)) in Java_sun_nio_fs_LinuxWatchService_configureBlocking()
/libcore/ojluni/src/main/java/sun/nio/ch/
DFileDispatcherImpl.java110 int lock(FileDescriptor fd, boolean blocking, long pos, long size, in lock() argument
115 return lock0(fd, blocking, pos, size, shared); in lock()
174 static native int lock0(FileDescriptor fd, boolean blocking, long pos, in lock0() argument
DFileDispatcher.java45 abstract int lock(FileDescriptor fd, boolean blocking, long pos, long size, in lock() argument
DIOUtil.java332 static native long makePipe(boolean blocking); in makePipe() argument
337 boolean blocking) in configureBlocking() argument
DDatagramChannelImpl.java789 boolean blocking = false; in connect()
792 blocking = isBlocking(); in connect()
795 if (blocking) { in connect()
802 if (blocking) { in connect()
/libcore/luni/src/main/native/
DNetworkUtilities.h54 bool setBlocking(int fd, bool blocking);
DNetworkUtilities.cpp532 bool setBlocking(int fd, bool blocking) { in setBlocking() argument
538 if (!blocking) { in setBlocking()
/libcore/ojluni/src/main/java/java/nio/channels/spi/
DAbstractSelectableChannel.java304 boolean blocking = !nonBlocking; in configureBlocking()
305 if (block != blocking) { in configureBlocking()
/libcore/luni/src/main/java/libcore/io/
DIoUtils.java250 … public static void setBlocking(@NonNull FileDescriptor fd, boolean blocking) throws IOException { in setBlocking() argument
253 if (!blocking) { in setBlocking()
/libcore/ojluni/src/main/java/sun/nio/fs/
DLinuxWatchService.java480 private static native void configureBlocking(int fd, boolean blocking) in configureBlocking() argument