/haiku/src/tests/system/libroot/posix/ |
H A D | fifo_test.cpp | 18 int rfd = open(filename, O_RDONLY | O_NONBLOCK);
|
/haiku/headers/posix/ |
H A D | fcntl.h | 49 #define O_NONBLOCK 0x00000080 /* non blocking io */ macro 50 #define O_NDELAY O_NONBLOCK
|
/haiku/src/add-ons/kernel/file_systems/nfs4/ |
H A D | NFS4Object.cpp | 98 if ((cookie->fMode & O_NONBLOCK) == 0) { 131 if ((cookie->fMode & O_NONBLOCK) == 0) {
|
/haiku/src/bin/debug/strace/ |
H A D | fcntl.cpp | 31 FLAG_INFO_ENTRY(O_NONBLOCK),
|
/haiku/src/tests/system/network/ |
H A D | firefox_crash.cpp | 26 fcntl(fd, F_SETFL, O_NONBLOCK);
|
H A D | unix_dgram_test.cpp | 68 status = fcntl(sock, F_SETFL, flags1 | O_NONBLOCK); 73 status = fcntl(sock1, F_SETFL, flags1 | O_NONBLOCK); 204 status = fcntl(sock, F_SETFL, O_NONBLOCK); 209 status = fcntl(sock1, F_SETFL, O_NONBLOCK);
|
/haiku/src/apps/expander/ |
H A D | ExpanderThread.cpp | 93 flags |= O_NONBLOCK; 96 flags |= O_NONBLOCK;
|
/haiku/src/libs/util/ |
H A D | pidfile.c | 116 fd = open(pfh->pf_path, O_WRONLY | O_CREAT | O_NONBLOCK, mode);
|
/haiku/src/kits/device/ |
H A D | SerialPort.cpp | 118 // I think BeOS uses O_RDWR|O_NONBLOCK here. 119 ffd = open(buf, O_RDWR | O_NONBLOCK | O_EXCL); 122 // we used open() with O_NONBLOCK flag to let it return immediately, 126 fcntl(ffd, F_SETFL, flags & ~O_NONBLOCK);
|
H A D | Joystick.cpp | 138 // annotated BeBook. I think BeOS uses O_RDWR | O_NONBLOCK here. 139 fFD = open(nameBuffer, O_RDWR | O_NONBLOCK | O_EXCL);
|
/haiku/src/system/kernel/fs/ |
H A D | fifo.cpp | 246 open_mode |= O_NONBLOCK; 248 open_mode &= ~(int)O_NONBLOCK; 961 (cookie->open_mode & O_NONBLOCK) != 0, is_called_via_syscall(), 995 (cookie->open_mode & O_NONBLOCK) != 0, is_called_via_syscall()); 1131 cookie->open_mode = (cookie->open_mode & ~(O_APPEND | O_NONBLOCK)) | flags;
|
H A D | socket.cpp | 230 // we ignore O_APPEND, but O_NONBLOCK we need to translate 231 uint32 op = (flags & O_NONBLOCK) != 0 334 descriptor->open_mode = O_RDWR | (nonBlock ? O_NONBLOCK : 0);
|
/haiku/src/add-ons/kernel/drivers/network/ether/usb_asix/ |
H A D | ASIXDevice.cpp | 131 fNonBlocking = (flags & O_NONBLOCK) == O_NONBLOCK; 447 result = Open(fNonBlocking ? O_NONBLOCK : 0);
|
/haiku/src/tests/system/kernel/ |
H A D | syscall_restart_test.cpp | 299 fcntl(fFDs[1], F_SETFL, O_NONBLOCK); 607 fcntl(fClientSocket, F_SETFL, O_NONBLOCK);
|
/haiku/src/kits/network/libnetapi/ |
H A D | NetEndpoint.cpp | 287 flags |= O_NONBLOCK; 289 flags &= ~O_NONBLOCK;
|
/haiku/src/add-ons/kernel/network/devices/tunnel/ |
H A D | tunnel.cpp | 143 cookie->flags |= O_NONBLOCK; 146 cookie->flags &= ~O_NONBLOCK;
|
/haiku/src/tools/fs_shell/ |
H A D | stat_util.cpp | 212 SET_OPEN_MODE_FLAG(O_NONBLOCK, FSSH_O_NONBLOCK)
|
/haiku/src/tests/add-ons/kernel/network/ |
H A D | userland_ipc.c | 407 cookie->openFlags &= ~O_NONBLOCK; 411 cookie->openFlags |= O_NONBLOCK;
|
/haiku/src/bin/screenmode/ |
H A D | screenmode.cpp | 342 fcntl(STDIN_FILENO, F_SETFL, flags | O_NONBLOCK);
|
/haiku/src/add-ons/kernel/drivers/network/ether/usb_davicom/ |
H A D | DavicomDevice.cpp | 192 fNonBlocking = (flags & O_NONBLOCK) == O_NONBLOCK; 529 result = Open(fNonBlocking ? O_NONBLOCK : 0);
|
/haiku/src/add-ons/kernel/drivers/audio/usb/ |
H A D | Device.cpp | 86 fNonBlocking = (flags & O_NONBLOCK) == O_NONBLOCK; 456 result = Open(fNonBlocking ? O_NONBLOCK : 0);
|
/haiku/src/add-ons/kernel/generic/tty/ |
H A D | tty.cpp | 1079 bool dontBlock = (mode & O_NONBLOCK) != 0; 1184 bool dontBlock = (mode & O_NONBLOCK) != 0; 1560 bool dontBlock = (mode & O_NONBLOCK) != 0; 1692 cookie->open_mode &= ~O_NONBLOCK; 1695 cookie->open_mode |= O_NONBLOCK;
|
/haiku/src/libs/uuid/ |
H A D | gen_uuid.c | 83 fd = open("/dev/random", O_RDONLY | O_NONBLOCK);
|
/haiku/src/tests/add-ons/kernel/drivers/tty/ |
H A D | tty-test.cpp | 308 if (fcntl(fd, F_SETFL, O_NONBLOCK) < 0) {
|
/haiku/src/add-ons/kernel/drivers/network/ether/pegasus/ |
H A D | driver.c | 461 device->nonblocking = (flags & O_NONBLOCK) != 0;
|