HomeSort by relevance Sort by last modified time
    Searched defs:fcntl (Results 1 - 25 of 44) sorted by null

1 2

  /bionic/libc/bionic/
fcntl.c 33 int fcntl(int fd, int cmd, ...) function
  /development/ndk/sources/android/libportable/arch-x86/
fcntl.c 18 #include <fcntl.h>
24 int WRAP(fcntl)(int fd, int cmd, ...) function
  /external/chromium_org/tools/gyp/pylib/gyp/
sun_tool.py 9 import fcntl namespace
41 # where fcntl.flock(fd, LOCK_EX) always fails
45 op = struct.pack('hhllhhl', fcntl.F_WRLCK, 0, 0, 0, 0, 0, 0)
46 fcntl.fcntl(fd, fcntl.F_SETLK, op)
mac_tool.py 11 import fcntl namespace
180 fcntl.flock(fd, fcntl.LOCK_EX)
  /external/chromium_org/build/android/pylib/
ports.py 8 import fcntl namespace
53 fcntl.flock(fp_lock, fcntl.LOCK_EX)
73 fcntl.flock(fp_lock, fcntl.LOCK_UN)
forwarder.py 5 import fcntl namespace
41 fcntl.flock(self._fd, fcntl.LOCK_EX)
44 fcntl.flock(self._fd, fcntl.LOCK_UN)
  /external/chromium_org/build/android/
surface_stats.py 48 import fcntl, termios, struct namespace
52 fcntl.ioctl(0, termios.TIOCGWINSZ,
  /development/ndk/sources/android/libportable/arch-mips/
fcntl.c 18 #include <fcntl.h>
70 * Maps a fcntl portable cmd to a native command.
289 int WRAP(fcntl)(int fd, int portable_cmd, ...) function
  /external/bison/lib/
fcntl.c 23 #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 (result, F_SETFD, flags | FD_CLOEXEC) == -1
    [all...]
error.c 88 # 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/
platforminfo.py 106 import fcntl namespace
109 packed = fcntl.ioctl(sys.stderr.fileno(), termios.TIOCGWINSZ, '\0' * 8)
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
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(file.fileno(), fcntl.F_SETFD, arg
154 import struct, fcntl namespace
    [all...]
SimpleXMLRPCServer.py 111 import fcntl namespace
113 fcntl = None variable
598 if fcntl is not None and hasattr(fcntl, 'FD_CLOEXEC'):
599 flags = fcntl.fcntl(self.fileno(), fcntl.F_GETFD)
600 flags |= fcntl.FD_CLOEXEC
601 fcntl.fcntl(self.fileno(), fcntl.F_SETFD, flags
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_fcntl.py 1 """Test program for the fcntl C module.
15 fcntl = import_module('fcntl') variable
40 fcntl.F_WRLCK, 0)
42 lockdata = struct.pack('hhlllii', fcntl.F_WRLCK, 0, 0, 0, 0, 0, 0)
46 lockdata = struct.pack('hh'+start_len+'hh', fcntl.F_WRLCK, 0, 0, 0, 0, 0)
68 rv = fcntl.fcntl(self.f.fileno(), fcntl.F_SETFL, os.O_NONBLOCK)
70 print 'Status from fcntl with O_NONBLOCK: ', r
    [all...]
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)
test_pty.py 3 #Skip these tests if either fcntl or termios is not available
4 fcntl = import_module('fcntl') variable
87 orig_flags = fcntl.fcntl(master_fd, fcntl.F_GETFL)
88 fcntl.fcntl(master_fd, fcntl.F_SETFL, orig_flags | os.O_NONBLOCK)
96 fcntl.fcntl(master_fd, fcntl.F_SETFL, orig_flags
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
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(file.fileno(), fcntl.F_SETFD, arg
154 import struct, fcntl namespace
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_fcntl.py 1 """Test program for the fcntl C module.
15 fcntl = import_module('fcntl') variable
40 fcntl.F_WRLCK, 0)
42 lockdata = struct.pack('hhlllii', fcntl.F_WRLCK, 0, 0, 0, 0, 0, 0)
46 lockdata = struct.pack('hh'+start_len+'hh', fcntl.F_WRLCK, 0, 0, 0, 0, 0)
68 rv = fcntl.fcntl(self.f.fileno(), fcntl.F_SETFL, os.O_NONBLOCK)
70 print 'Status from fcntl with O_NONBLOCK: ', r
    [all...]
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)
test_pty.py 3 #Skip these tests if either fcntl or termios is not available
4 fcntl = import_module('fcntl') variable
87 orig_flags = fcntl.fcntl(master_fd, fcntl.F_GETFL)
88 fcntl.fcntl(master_fd, fcntl.F_SETFL, orig_flags | os.O_NONBLOCK)
96 fcntl.fcntl(master_fd, fcntl.F_SETFL, orig_flags
    [all...]
  /frameworks/base/tools/orientationplot/
orientationplot.py 27 import fcntl namespace
41 fcntl.fcntl(stream, fcntl.F_SETFL, os.O_NONBLOCK)
  /frameworks/base/tools/velocityplot/
velocityplot.py 31 import fcntl namespace
45 fcntl.fcntl(stream, fcntl.F_SETFL, os.O_NONBLOCK)
  /external/bison/darwin-lib/
fcntl.h 2 /* 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, int, (int fd, int action, ...))
411 _GL_CXXALIASWARN (fcntl); variable
413 # undef fcntl macro
    [all...]
  /external/bison/linux-lib/
fcntl.h 2 /* 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, int, (int fd, int action, ...))
411 _GL_CXXALIASWARN (fcntl); variable
413 # undef fcntl macro
    [all...]
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/
server_process.py 45 import fcntl namespace
121 fl = fcntl.fcntl(fd, fcntl.F_GETFL)
122 fcntl.fcntl(fd, fcntl.F_SETFL, fl | os.O_NONBLOCK)
124 fl = fcntl.fcntl(fd, fcntl.F_GETFL
    [all...]

Completed in 595 milliseconds

1 2