/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
H A D | test_fcntl.py | 1 """Test program for the fcntl C module.
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)
73 print 'Status from fcntl wit [all...] |
H A 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)
|
H A D | test_pty.py | 3 #Skip these tests if either fcntl or termios is not available
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 [all...] |
H A D | test_signal.py | 261 import fcntl
namespace 265 flags = fcntl.fcntl(self.write, fcntl.F_GETFL, 0)
267 fcntl.fcntl(self.write, fcntl.F_SETFL, flags)
|
H A D | test_mailbox.py | 15 import fcntl
namespace
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
H A D | posixfile.py | 57 "fcntl.lockf() provides better locking", DeprecationWarning, 2)
117 import fcntl, os
namespace 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(fil 154 import struct, fcntl namespace [all...] |
H A D | SimpleXMLRPCServer.py | 111 import fcntl
namespace 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(sel [all...] |
H A D | asyncore.py | 604 import fcntl
namespace 648 flags = fcntl.fcntl(fd, fcntl.F_GETFL, 0)
650 fcntl.fcntl(fd, fcntl.F_SETFL, flags)
|
H A D | mailbox.py | 24 # OS/2 EMX fcntl() not adequate
26 import fcntl
namespace 28 fcntl = None
variable 1906 if fcntl:
1908 fcntl.lockf(f, fcntl.LOCK_EX | fcntl.LOCK_NB)
1941 if fcntl:
1942 fcntl.lockf(f, fcntl [all...] |
/device/linaro/bootloader/edk2/StdLib/LibC/Uefi/ |
H A D | SysCalls.c | 32 #include <sys/fcntl.h>
271 /** The fcntl() function shall perform the operations described below on open
274 The available values for cmd are defined in <fcntl.h> and are as follows:
283 - F_GETFD - Get the file descriptor flags defined in <fcntl.h> that are
287 - F_SETFD - Set the file descriptor flags defined in <fcntl.h>, that are
294 <fcntl.h>, for the file description associated with fildes.
297 <fcntl.h>. File status flags and file access modes are
301 - F_SETFL - Set the file status flags, defined in <fcntl.h>, for the file
305 flags, as defined in <fcntl.h>, that are set in arg shall
322 The fcntl() functio 352 fcntl (int fildes, int cmd, ...) function [all...] |