Searched refs:O_NONBLOCK (Results 1 – 13 of 13) sorted by relevance
/libcore/ojluni/src/main/native/ |
D | LinuxWatchService.c | 115 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()
|
D | IOUtil.c | 77 int newflags = blocking ? (flags & ~O_NONBLOCK) : (flags | O_NONBLOCK); in configureBlocking()
|
/libcore/luni/src/test/java/libcore/libcore/io/ |
D | BlockGuardOsTest.java | 25 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/ |
D | IoUtils.java | 41 import static android.system.OsConstants.O_NONBLOCK; 254 flags |= O_NONBLOCK; in setBlocking() 256 flags &= ~O_NONBLOCK; in setBlocking()
|
D | BlockGuardOs.java | 118 if ((flag & O_NONBLOCK) != 0) { in isNonBlockingFile()
|
/libcore/luni/src/main/native/ |
D | NetworkUtilities.cpp | 540 flags |= O_NONBLOCK; in setBlocking() 542 flags &= ~O_NONBLOCK; in setBlocking()
|
D | android_system_OsConstants.cpp | 423 initConstant(env, c, "O_NONBLOCK", O_NONBLOCK); in OsConstants_initConstants()
|
/libcore/luni/annotations/flagged_api/android/system/ |
D | OsConstants.annotated.java | 861 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/ |
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/test/java/libcore/android/system/ |
D | OsTest.java | 129 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()
|
D | OsConstantsTest.java | 71 assertEquals(OsConstants.O_NONBLOCK, OsConstants.SOCK_NONBLOCK); in testConstantsEqual()
|
/libcore/luni/src/main/java/android/system/ |
D | OsConstants.java | 519 public static final int O_NONBLOCK = placeholder(); field in OsConstants
|
/libcore/api/ |
D | current.txt | 429 field public static final int O_NONBLOCK;
|