Searched refs:O_NONBLOCK (Results 1 – 7 of 7) sorted by relevance
111 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()
77 int newflags = blocking ? (flags & ~O_NONBLOCK) : (flags | O_NONBLOCK); in configureBlocking()
93 flags |= O_NONBLOCK; in setBlocking()95 flags &= ~O_NONBLOCK; in setBlocking()
193 flags |= O_NONBLOCK; in setBlocking()195 flags &= ~O_NONBLOCK; in setBlocking()
398 initConstant(env, c, "O_NONBLOCK", O_NONBLOCK); in OsConstants_initConstants()
48 import static android.system.OsConstants.O_NONBLOCK;190 assertEquals(0, Libcore.os.fcntlVoid(sconn.getFileDescriptor$(), F_GETFL) & O_NONBLOCK); in test_accept()
373 public static final int O_NONBLOCK = placeholder(); field in OsConstants