Searched defs:fcntl (Results 1 - 25 of 26) sorted by relevance

12

/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/
H A Dfcntl.c10 int fcntl(int fd, int cmd, ...) { function
/external/chromium_org/tools/gyp/pylib/gyp/
H A Dflock_tool.py9 import fcntl namespace
39 # where fcntl.flock(fd, LOCK_EX) always fails
43 op = struct.pack('hhllhhl', fcntl.F_WRLCK, 0, 0, 0, 0, 0, 0)
44 fcntl.fcntl(fd, fcntl.F_SETLK, op)
H A Dmac_tool.py11 import fcntl namespace
215 fcntl.flock(fd, fcntl.LOCK_EX)
/external/chromium_org/build/android/pylib/
H A Dcmd_helper.py16 # fcntl is not available on Windows.
18 import fcntl namespace
20 fcntl = None variable
132 assert fcntl, 'fcntl module is required'
143 fl = fcntl.fcntl(child_fd, fcntl.F_GETFL)
144 fcntl.fcntl(child_f
[all...]
H A Dports.py8 import fcntl namespace
53 fcntl.flock(fp_lock, fcntl.LOCK_EX)
73 fcntl.flock(fp_lock, fcntl.LOCK_UN)
H A Dforwarder.py7 import fcntl namespace
39 fcntl.flock(self._fd, fcntl.LOCK_EX)
42 fcntl.flock(self._fd, fcntl.LOCK_UN)
/external/chromium_org/build/android/
H A Dsurface_stats.py49 import fcntl, termios, struct namespace
53 fcntl.ioctl(0, termios.TIOCGWINSZ,
/external/lldb/test/pexpect-2.4/examples/
H A Dscript.py22 import signal, fcntl, termios, struct namespace
89 a = struct.unpack ('HHHH', fcntl.ioctl(sys.stdout.fileno(), TIOCGWINSZ , s))
/external/bison/lib/
H A Dfcntl.c23 #include <fcntl.h>
31 # define rpl_fcntl fcntl
33 #undef fcntl macro
152 native fcntl. An unrecognized ACTION returns -1 with errno set to
194 int flags = fcntl (fd, F_GETFD);
200 result = fcntl (fd, action, target);
201 if (0 <= result && fcntl (fd, F_SETFD, flags) == -1)
235 result = fcntl (fd, action, target);
256 int flags = fcntl (result, F_GETFD);
257 if (flags < 0 || fcntl (resul
[all...]
H A Derror.c88 # include <fcntl.h>
99 /* The gnulib override of fcntl is not needed in this file. */
100 # undef fcntl macro
130 There is no fcntl, and the gnulib replacement fcntl does not support
135 # error Please port fcntl to your platform
137 return 0 <= fcntl (fd, F_GETFL);
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/
H A Dplatforminfo.py113 import fcntl namespace
116 packed = fcntl.ioctl(sys.stderr.fileno(), termios.TIOCGWINSZ, '\0' * 8)
/external/chromium_org/tools/telemetry/telemetry/core/platform/profiler/
H A Dmonsoon.py8 Currently Unix-only. Relies on fcntl, /dev, and /tmp.
67 import fcntl namespace
68 fcntl.lockf(self._tempfile, fcntl.LOCK_EX | fcntl.LOCK_NB)
/external/bison/darwin-lib/
H A Dfcntl.h2 /* Like <fcntl.h>, but with non-working flags defined to 0.
33 <fcntl.h>. On glibc systems, we would like to avoid namespace pollution.
34 But on glibc systems, <fcntl.h> includes <sys/stat.h> inside an
41 #include_next <fcntl.h>
52 <fcntl.h>. On glibc systems, we would like to avoid namespace pollution.
53 But on glibc systems, <fcntl.h> includes <sys/stat.h> inside an
61 #include_next <fcntl.h>
400 # undef fcntl
401 # define fcntl rpl_fcntl
403 _GL_FUNCDECL_RPL (fcntl, in
411 _GL_CXXALIASWARN (fcntl); variable
413 # undef fcntl macro
[all...]
/external/bison/linux-lib/
H A Dfcntl.h2 /* Like <fcntl.h>, but with non-working flags defined to 0.
33 <fcntl.h>. On glibc systems, we would like to avoid namespace pollution.
34 But on glibc systems, <fcntl.h> includes <sys/stat.h> inside an
41 #include_next <fcntl.h>
52 <fcntl.h>. On glibc systems, we would like to avoid namespace pollution.
53 But on glibc systems, <fcntl.h> includes <sys/stat.h> inside an
61 #include_next <fcntl.h>
400 # undef fcntl macro
401 # define fcntl rpl_fcntl macro
403 _GL_FUNCDECL_RPL (fcntl, in
411 _GL_CXXALIASWARN (fcntl); variable
413 # undef fcntl macro
[all...]
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/
H A Dserver_process.py50 import fcntl namespace
148 fl = fcntl.fcntl(fd, fcntl.F_GETFL)
149 fcntl.fcntl(fd, fcntl.F_SETFL, fl | os.O_NONBLOCK)
151 fl = fcntl.fcntl(fd, fcntl
[all...]
/external/chromium_org/third_party/pexpect/
H A Dpexpect.py79 import fcntl namespace
1503 x = fcntl.ioctl(self.fileno(), TIOCGWINSZ, s)
1528 fcntl.ioctl(self.fileno(), TIOCSWINSZ, s)
1555 import pexpect, struct, fcntl, termios, signal, sys
1558 a = struct.unpack('hhhh', fcntl.ioctl(sys.stdout.fileno(),
/external/chromium_org/tools/telemetry/third_party/pyserial/serial/
H A Dserialposix.py15 import sys, os, fcntl, termios, struct, select, errno, time namespace
27 FCNTL = fcntl
145 import array, fcntl namespace
148 fcntl.ioctl(port.fd, IOSSIOSPEED, buf, 1)
276 done with termios and fcntl. Runs on Linux and many other Un*x like
293 #~ fcntl.fcntl(self.fd, FCNTL.F_SETFL, 0) # set blocking
448 #~ s = fcntl.ioctl(self.fd, TERMIOS.FIONREAD, TIOCM_zero_str)
449 s = fcntl.ioctl(self.fd, TIOCINQ, TIOCM_zero_str)
546 fcntl
[all...]
/external/lldb/test/pexpect-2.4/
H A Dpexpect.py78 import fcntl namespace
1429 x = fcntl.ioctl(self.fileno(), TIOCGWINSZ, s)
1453 fcntl.ioctl(self.fileno(), TIOCSWINSZ, s)
1479 import pexpect, struct, fcntl, termios, signal, sys
1482 a = struct.unpack('hhhh', fcntl.ioctl(sys.stdout.fileno(), termios.TIOCGWINSZ , s))
/external/chromium_org/remoting/host/linux/
H A Dlinux_me2me_host.py14 import fcntl namespace
638 old_flags = fcntl.fcntl(write_pipe, fcntl.F_GETFD)
639 fcntl.fcntl(write_pipe, fcntl.F_SETFD, old_flags | fcntl.FD_CLOEXEC)
/external/chromium_org/tools/gyp/test/lib/
H A DTestCmd.py686 import fcntl namespace
688 try: fcntl.F_GETFL
689 except AttributeError: fcntl.F_GETFL = 3
691 try: fcntl.F_SETFL
692 except AttributeError: fcntl.F_SETFL = 4
778 flags = fcntl.fcntl(conn, fcntl.F_GETFL)
783 fcntl.fcntl(con
[all...]
/external/chromium-trace/trace-viewer/third_party/python_gflags/
H A Dgflags.py399 import fcntl namespace
401 fcntl = None variable
534 if (not sys.stdout.isatty()) or (termios is None) or (fcntl is None):
537 data = fcntl.ioctl(sys.stdout, termios.TIOCGWINSZ, '1234')
/external/chromium_org/third_party/python_gflags/
H A Dgflags.py399 import fcntl namespace
401 fcntl = None variable
534 if (not sys.stdout.isatty()) or (termios is None) or (fcntl is None):
537 data = fcntl.ioctl(sys.stdout, termios.TIOCGWINSZ, '1234')
/external/lldb/test/
H A Ddotest.py1401 import fcntl, termios, struct, os namespace
1402 cr = struct.unpack('hh', fcntl.ioctl(fd, termios.TIOCGWINSZ,
/external/valgrind/main/coregrind/
H A Dm_libcfile.c66 newfd = VG_(fcntl)(oldfd, VKI_F_DUPFD, VG_(fd_hard_limit));
71 VG_(fcntl)(newfd, VKI_F_SETFD, VKI_FD_CLOEXEC);
93 if (0 == VG_(fcntl)(fd, VKI_F_GETPATH, (UWord)tmp)) {
397 Int VG_(fcntl) ( Int fd, Int cmd, Addr arg ) function
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/
H A Dkernel_proxy.cc9 #include <fcntl.h>
780 int KernelProxy::fcntl(int fd, int request, va_list args) { function in class:nacl_io::KernelProxy
1594 // The NaCl newlib version of fcntl.h doesn't currently define

Completed in 1294 milliseconds

12