Home
last modified time | relevance | path

Searched refs:O_NONBLOCK (Results 1 – 7 of 7) sorted by relevance

/libcore/ojluni/src/main/native/
DLinuxWatchService.c111 if ((blocking == JNI_FALSE) && !(flags & O_NONBLOCK)) in Java_sun_nio_fs_LinuxWatchService_configureBlocking()
112 fcntl(fd, F_SETFL, flags | O_NONBLOCK); in Java_sun_nio_fs_LinuxWatchService_configureBlocking()
113 else if ((blocking == JNI_TRUE) && (flags & O_NONBLOCK)) in Java_sun_nio_fs_LinuxWatchService_configureBlocking()
114 fcntl(fd, F_SETFL, flags & ~O_NONBLOCK); in Java_sun_nio_fs_LinuxWatchService_configureBlocking()
DIOUtil.c77 int newflags = blocking ? (flags & ~O_NONBLOCK) : (flags | O_NONBLOCK); in configureBlocking()
/libcore/luni/src/main/java/libcore/io/
DIoUtils.java93 flags |= O_NONBLOCK; in setBlocking()
95 flags &= ~O_NONBLOCK; in setBlocking()
/libcore/luni/src/main/native/
DNetworkUtilities.cpp193 flags |= O_NONBLOCK; in setBlocking()
195 flags &= ~O_NONBLOCK; in setBlocking()
Dandroid_system_OsConstants.cpp398 initConstant(env, c, "O_NONBLOCK", O_NONBLOCK); in OsConstants_initConstants()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DServerSocketTest.java48 import static android.system.OsConstants.O_NONBLOCK;
190 assertEquals(0, Libcore.os.fcntlVoid(sconn.getFileDescriptor$(), F_GETFL) & O_NONBLOCK); in test_accept()
/libcore/luni/src/main/java/android/system/
DOsConstants.java373 public static final int O_NONBLOCK = placeholder(); field in OsConstants