Searched refs:O_NONBLOCK (Results 1 – 9 of 9) sorted by relevance
/libcore/ojluni/src/main/native/ |
D | LinuxWatchService.c | 117 if ((blocking == JNI_FALSE) && !(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() 119 else if ((blocking == JNI_TRUE) && (flags & O_NONBLOCK)) in Java_sun_nio_fs_LinuxWatchService_configureBlocking() 120 fcntl(fd, F_SETFL, flags & ~O_NONBLOCK); in Java_sun_nio_fs_LinuxWatchService_configureBlocking()
|
D | IOUtil.c | 77 int newflags = blocking ? (flags & ~O_NONBLOCK) : (flags | O_NONBLOCK); in configureBlocking()
|
/libcore/luni/src/test/java/libcore/android/system/ |
D | OsConstantsTest.java | 45 assertEquals(OsConstants.O_NONBLOCK, OsConstants.SOCK_NONBLOCK); in testConstantsEqual()
|
D | OsTest.java | 93 assertEquals(0, (Os.fcntlVoid(fd, F_GETFL) & O_NONBLOCK)); in testFcntlInt_udpSocket() 96 Os.fcntlInt(fd, F_SETFL, SOCK_DGRAM | O_NONBLOCK); in testFcntlInt_udpSocket() 97 assertTrue((Os.fcntlVoid(fd, F_GETFL) & O_NONBLOCK) != 0); in testFcntlInt_udpSocket() 101 assertEquals(0, (Os.fcntlVoid(fd, F_GETFL) & O_NONBLOCK)); in testFcntlInt_udpSocket() 122 Os.fcntlInt(null, F_SETFL, O_NONBLOCK); in testFcntlInt_nullFd()
|
/libcore/luni/src/main/java/libcore/io/ |
D | IoUtils.java | 36 import static android.system.OsConstants.O_NONBLOCK; 212 flags |= O_NONBLOCK; in setBlocking() 214 flags &= ~O_NONBLOCK; in setBlocking()
|
/libcore/luni/src/main/native/ |
D | NetworkUtilities.cpp | 209 flags |= O_NONBLOCK; in setBlocking() 211 flags &= ~O_NONBLOCK; in setBlocking()
|
D | android_system_OsConstants.cpp | 407 initConstant(env, c, "O_NONBLOCK", O_NONBLOCK); in OsConstants_initConstants()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | ServerSocketTest.java | 48 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/ |
D | OsConstants.java | 410 public static final int O_NONBLOCK = placeholder(); field in OsConstants
|