/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_fcntl.py | 14 fcntl = import_module('fcntl') variable 43 fcntl.F_WRLCK, 0) 45 lockdata = struct.pack('hhlllii', fcntl.F_WRLCK, 0, 0, 0, 0, 0, 0) 49 lockdata = struct.pack('hh'+start_len+'hh', fcntl.F_WRLCK, 0, 0, 0, 0, 0) 71 rv = fcntl.fcntl(self.f.fileno(), fcntl.F_SETFL, os.O_NONBLOCK) 75 rv = fcntl.fcntl(self.f.fileno(), fcntl.F_SETLKW, lockdata) 83 rv = fcntl.fcntl(self.f, fcntl.F_SETFL, os.O_NONBLOCK) 85 rv = fcntl.fcntl(self.f, fcntl.F_SETLKW, lockdata) 92 cmd = fcntl.F_NOTIFY 94 flags = fcntl.DN_MULTISHOT [all …]
|
D | test_pty.py | 4 fcntl = import_module('fcntl') variable 85 orig_flags = fcntl.fcntl(master_fd, fcntl.F_GETFL) 86 fcntl.fcntl(master_fd, fcntl.F_SETFL, orig_flags | os.O_NONBLOCK) 94 fcntl.fcntl(master_fd, fcntl.F_SETFL, orig_flags)
|
D | test_ioctl.py | 5 fcntl = import_module('fcntl') variable 15 r = fcntl.ioctl(tty, termios.TIOCGPGRP, " ") 34 r = fcntl.ioctl(tty, termios.TIOCGPGRP, " ") 51 r = fcntl.ioctl(tty, termios.TIOCGPGRP, buf, 1) 83 new_winsz = fcntl.ioctl(mfd, set_winsz_opcode_pos, our_winsz) 84 new_winsz = fcntl.ioctl(mfd, set_winsz_opcode_maybe_neg, our_winsz)
|
D | test_signal.py | 261 import fcntl 265 flags = fcntl.fcntl(self.write, fcntl.F_GETFL, 0) 267 fcntl.fcntl(self.write, fcntl.F_SETFL, flags)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | posixfile.py | 117 import fcntl, os 133 cur_fl = fcntl.fcntl(file.fileno(), fcntl.F_GETFL, 0) 137 l_flags = fcntl.fcntl(file.fileno(), fcntl.F_SETFL, l_flags) 141 l_flags = fcntl.fcntl(file.fileno(), fcntl.F_SETFD, arg) 145 l_flags = fcntl.fcntl(file.fileno(), fcntl.F_GETFL, 0) 147 if fcntl.fcntl(file.fileno(), fcntl.F_GETFD, 0) & 1: 154 import struct, fcntl 156 if 'w' in how: l_type = fcntl.F_WRLCK 157 elif 'r' in how: l_type = fcntl.F_RDLCK 158 elif 'u' in how: l_type = fcntl.F_UNLCK [all …]
|
D | SimpleXMLRPCServer.py | 111 import fcntl 113 fcntl = None variable 595 if fcntl is not None and hasattr(fcntl, 'FD_CLOEXEC'): 596 flags = fcntl.fcntl(self.fileno(), fcntl.F_GETFD) 597 flags |= fcntl.FD_CLOEXEC 598 fcntl.fcntl(self.fileno(), fcntl.F_SETFD, flags)
|
D | asyncore.py | 604 import fcntl 648 flags = fcntl.fcntl(fd, fcntl.F_GETFL, 0) 650 fcntl.fcntl(fd, fcntl.F_SETFL, flags)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/ |
D | dup2.c | 23 if (fcntl(fd1, F_GETFL) < 0) in dup2() 25 if (fcntl(fd2, F_GETFL) >= 0) in dup2() 27 if (fcntl(fd1, F_DUPFD, fd2) < 0) in dup2()
|
/device/google/cuttlefish/host/commands/tapsetiff/ |
D | tapsetiff.py | 17 import fcntl 30 fcntl.ioctl(tun_fd, TUNSETIFF, ifr)
|
/device/google/cuttlefish/guest/hals/gps/ |
D | gps_thread.h | 60 fcntl(fd, F_SETFL, fcntl(fd, F_GETFL) | O_NONBLOCK); in epoll_register()
|
/device/google/contexthub/util/stm32_flash/ |
D | uart.c | 100 fl = fcntl(uart_handle->fd, F_GETFL, 0); in uart_init() 103 fl = fcntl(uart_handle->fd, F_SETFL, fl & ~O_NDELAY); in uart_init()
|
/device/google/cuttlefish/host/libs/screen_connector/ |
D | wayland_screen_connector.cpp | 31 int wayland_fd = fcntl(frames_fd, F_DUPFD_CLOEXEC, 3); in WaylandScreenConnector()
|
/device/google/cuttlefish/host/frontend/gcastv2/https/ |
D | Support.cpp | 27 int flags = fcntl(fd, F_GETFL, 0); in makeFdNonblocking() 29 DEBUG_ONLY(int res = )fcntl(fd, F_SETFL, flags | O_NONBLOCK); in makeFdNonblocking()
|
/device/generic/goldfish/gnss/ |
D | gnss_hw_conn.cpp | 35 ret = TEMP_FAILURE_RETRY(fcntl(fd, F_GETFL)); in epollCtlAdd() 39 ret = TEMP_FAILURE_RETRY(fcntl(fd, F_SETFL, ret | O_NONBLOCK)); in epollCtlAdd()
|
/device/linaro/bootloader/edk2/StdLib/Include/sys/ |
D | fcntl.h | 196 int fcntl(int, int, ...);
|
D | EfiSysCall.h | 275 int fcntl (int Fd, int Cmd, ...);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
D | fcntlmodule.c | 52 ret = fcntl(fd, code, buf); in fcntl_fcntl() 70 ret = fcntl(fd, code, arg); in fcntl_fcntl() 286 ret = fcntl(fd, (code & LOCK_NB) ? F_SETLK : F_SETLKW, &l); in fcntl_flock() 367 ret = fcntl(fd, (code & LOCK_NB) ? F_SETLK : F_SETLKW, &l); in fcntl_lockf()
|
/device/linaro/bootloader/edk2/StdLib/LibC/Stdio/ |
D | fdopen.c | 76 if ((fdflags = fcntl(fd, F_GETFL, 0)) < 0) in __weak_alias()
|
/device/google/cuttlefish_vmm/aarch64-linux-gnu/etc/seccomp/ |
D | input_device.policy | 46 fcntl: 1
|
D | wl_device.policy | 58 fcntl: arg1 == 3
|
/device/google/cuttlefish_vmm/x86_64-linux-gnu/etc/seccomp/ |
D | input_device.policy | 48 fcntl: 1
|
D | wl_device.policy | 59 fcntl: arg1 == 3
|
D | xhci.policy | 57 fcntl: 1
|
/device/linaro/bootloader/edk2/StdLib/PosixLib/Gen/ |
D | opendir.c | 85 fcntl(fd, F_SETFD, FD_CLOEXEC) == -1) in __opendir2()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Python/ |
D | random.c | 255 attr = fcntl(fd, F_GETFD); in dev_urandom_python() 258 (void)fcntl(fd, F_SETFD, attr); in dev_urandom_python()
|