Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/native/
DLinuxWatchService.c115 if ((blocking == JNI_FALSE) && !(flags & O_NONBLOCK)) in Java_sun_nio_fs_LinuxWatchService_configureBlocking()
116 fcntl(fd, F_SETFL, 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()
118 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/test/java/libcore/libcore/io/
DBlockGuardOsTest.java25 import static android.system.OsConstants.O_NONBLOCK;
157 Libcore.os.fcntlInt(unixSocket, F_SETFL, O_NONBLOCK); in test_nonblock()
158 Libcore.os.fcntlInt(udpSocket, F_SETFL, O_NONBLOCK); in test_nonblock()
184 Libcore.os.fcntlInt(unixSocket, F_SETFL, O_NONBLOCK); in test_accept_networkPolicy()
/libcore/luni/src/main/java/libcore/io/
DIoUtils.java41 import static android.system.OsConstants.O_NONBLOCK;
254 flags |= O_NONBLOCK; in setBlocking()
256 flags &= ~O_NONBLOCK; in setBlocking()
DBlockGuardOs.java118 if ((flag & O_NONBLOCK) != 0) { in isNonBlockingFile()
/libcore/luni/src/main/native/
DNetworkUtilities.cpp540 flags |= O_NONBLOCK; in setBlocking()
542 flags &= ~O_NONBLOCK; in setBlocking()
Dandroid_system_OsConstants.cpp423 initConstant(env, c, "O_NONBLOCK", O_NONBLOCK); in OsConstants_initConstants()
/libcore/luni/annotations/flagged_api/android/system/
DOsConstants.annotated.java861 public static final int O_NONBLOCK; field in OsConstants
862 static { O_NONBLOCK = 0; }
/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/test/java/libcore/android/system/
DOsTest.java129 assertEquals(0, (Os.fcntlVoid(fd, F_GETFL) & O_NONBLOCK)); in testFcntlInt_udpSocket()
132 Os.fcntlInt(fd, F_SETFL, SOCK_DGRAM | O_NONBLOCK); in testFcntlInt_udpSocket()
133 assertTrue((Os.fcntlVoid(fd, F_GETFL) & O_NONBLOCK) != 0); in testFcntlInt_udpSocket()
137 assertEquals(0, (Os.fcntlVoid(fd, F_GETFL) & O_NONBLOCK)); in testFcntlInt_udpSocket()
160 Os.fcntlInt(null, F_SETFL, O_NONBLOCK); in testFcntlInt_nullFd()
DOsConstantsTest.java71 assertEquals(OsConstants.O_NONBLOCK, OsConstants.SOCK_NONBLOCK); in testConstantsEqual()
/libcore/luni/src/main/java/android/system/
DOsConstants.java519 public static final int O_NONBLOCK = placeholder(); field in OsConstants
/libcore/api/
Dcurrent.txt429 field public static final int O_NONBLOCK;