Home
last modified time | relevance | path

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

12

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_fcntl.py71 rv = fcntl.fcntl(self.f.fileno(), fcntl.F_SETFL, os.O_NONBLOCK)
83 rv = fcntl.fcntl(self.f, fcntl.F_SETFL, os.O_NONBLOCK)
Dtest_posix.py176 os.O_WRONLY|os.O_EXLOCK|os.O_NONBLOCK)
183 os.O_WRONLY|os.O_EXLOCK|os.O_NONBLOCK)
199 os.O_RDONLY|os.O_EXLOCK|os.O_NONBLOCK)
Dtest_pty.py86 fcntl.fcntl(master_fd, fcntl.F_SETFL, orig_flags | os.O_NONBLOCK)
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/
Dconnect.c76 bBlocking = (BOOLEAN)( 0 == ( pDescriptor->Oflags & O_NONBLOCK )); in connect()
Dsendto.c79 bBlocking = (BOOLEAN)( 0 == ( pDescriptor->Oflags & O_NONBLOCK )); in sendto()
Daccept.c64 bBlocking = (BOOLEAN)( 0 == ( pDescriptor->Oflags & O_NONBLOCK )); in AcceptWork()
/device/linaro/bootloader/edk2/StdLib/LibC/Stdio/
Dflags.c105 o |= O_NONBLOCK; in __sflags()
Dfopen.c73 if (oflags & O_NONBLOCK) { in fopen()
Dfdopen.c84 if (oflags & O_NONBLOCK) { in __weak_alias()
Dfreopen.c154 if (oflags & O_NONBLOCK) { in freopen()
/device/linaro/bootloader/edk2/StdLib/Include/sys/
Dfcntl.h69 #define O_NONBLOCK 0x00000004 ///< no delay macro
/device/google/cuttlefish/guest/hals/gps/
Dgps_thread.h60 fcntl(fd, F_SETFL, fcntl(fd, F_GETFL) | O_NONBLOCK); in epoll_register()
/device/generic/goldfish-opengl/shared/qemupipe/
Dqemu_pipe_guest.cpp70 return qemu_pipe_open_ns(NULL, pipeName, O_RDWR | O_NONBLOCK); in qemu_pipe_open()
/device/linaro/bootloader/edk2/StdLib/PosixLib/Gen/
Dopendir.c84 if ((fd = open(name, O_RDONLY | O_NONBLOCK, 0)) == -1 || in __opendir2()
/device/google/cuttlefish/common/libs/utils/
Dnetwork.cpp58 auto tap_fd = SharedFD::Open(TUNTAP_DEV, O_RDWR | O_NONBLOCK); in OpenTapInterface()
/device/google/cuttlefish/guest/commands/vsoc_input_service/
Dvirtual_device_base.cpp58 fd_ = open("/dev/uinput", O_WRONLY | O_NONBLOCK); in SetUp()
/device/linaro/hikey/bluetooth/
Dasync_fd_watcher.cc74 if (pipe2(pipe_fds, O_NONBLOCK)) return -1; in tryStartThread()
/device/google/cuttlefish/host/frontend/gcastv2/https/
DSupport.cpp29 DEBUG_ONLY(int res = )fcntl(fd, F_SETFL, flags | O_NONBLOCK); in makeFdNonblocking()
/device/google/wahoo/folio_daemon/
Dmain.cpp54 uinputFd = TEMP_FAILURE_RETRY(open("/dev/uinput", O_WRONLY | O_NONBLOCK)); in main()
/device/generic/goldfish/gnss/
Dgnss_hw_conn.cpp39 ret = TEMP_FAILURE_RETRY(fcntl(fd, F_SETFL, ret | O_NONBLOCK)); in epollCtlAdd()
/device/google/wahoo/dumpstate/
DDumpstateDevice.cpp187 …ue_fd fdLog(TEMP_FAILURE_RETRY(open(modemLogCombined.c_str(), O_RDONLY | O_CLOEXEC | O_NONBLOCK))); in dumpModem()
/device/linaro/hikey/wpan/uim/
Duim.c363 fcntl(dev_fd, F_SETFL,fcntl(dev_fd, F_GETFL) | O_NONBLOCK); in st_uart_config()
/device/generic/goldfish/radio/libril/
Dril_event.cpp261 fcntl(fd, F_SETFL, O_NONBLOCK); in ril_event_set()
/device/google/trout/hal/sensors/2.0/
DSensor.cpp248 mpollfd_iio.fd = open(buffer_path.c_str(), O_RDONLY | O_NONBLOCK); in HWSensorBase()
/device/google/cuttlefish/guest/hals/ril/libril/
Dril_event.cpp261 fcntl(fd, F_SETFL, O_NONBLOCK); in ril_event_set()

12