HomeSort by relevance Sort by last modified time
    Searched full:fileno (Results 26 - 50 of 1212) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/autotest/client/tests/kvm/deps/
heartbeat_slu.py 26 sys.stdout = os.fdopen(sys.stdout.fileno(), 'w', 0)
27 sys.stderr = os.fdopen(sys.stderr.fileno(), 'w', 0)
32 os.dup2(output_handle.fileno(), sys.stdout.fileno())
33 os.dup2(output_handle.fileno(), sys.stderr.fileno())
34 os.dup2(stdin_handle.fileno(), sys.stdin.fileno())
  /external/skia/src/ports/
SkOSFile_win.cpp 37 int fileno = _fileno((FILE*)f); local
38 if (fileno < 0) {
42 HANDLE file = (HANDLE)_get_osfhandle(fileno);
82 void* sk_fdmmap(int fileno, size_t* length) {
83 HANDLE file = (HANDLE)_get_osfhandle(fileno);
119 int fileno = sk_fileno(f); local
120 if (fileno < 0) {
124 return sk_fdmmap(fileno, length);
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_mmap.py 33 m = mmap.mmap(f.fileno(), 2 * PAGESIZE)
124 m = mmap.mmap(f.fileno(), mapsize, access=mmap.ACCESS_READ)
179 m = mmap.mmap(f.fileno(), mapsize+1)
201 m = mmap.mmap(f.fileno(), mapsize, access=mmap.ACCESS_WRITE)
217 m = mmap.mmap(f.fileno(), mapsize, access=mmap.ACCESS_COPY)
232 self.assertRaises(ValueError, mmap.mmap, f.fileno(), mapsize, access=4)
238 self.assertRaises(ValueError, mmap.mmap, f.fileno(), mapsize,
246 m = mmap.mmap(f.fileno(), mapsize, prot=prot)
264 m = mmap.mmap(f.fileno(), n)
281 m = mmap.mmap(f.fileno(), n
    [all...]
test_largefile.py 49 self.assertEqual(os.fstat(f.fileno())[stat.ST_SIZE], size+1)
93 self.assertEqual(os.lseek(f.fileno(), 0, 0), 0)
94 self.assertEqual(os.lseek(f.fileno(), 42, 0), 42)
95 self.assertEqual(os.lseek(f.fileno(), 42, 1), 84)
96 self.assertEqual(os.lseek(f.fileno(), 0, 1), 84)
97 self.assertEqual(os.lseek(f.fileno(), 0, 2), size+1+0)
98 self.assertEqual(os.lseek(f.fileno(), -10, 2), size+1-10)
99 self.assertEqual(os.lseek(f.fileno(), -size-1, 2), 0)
100 self.assertEqual(os.lseek(f.fileno(), size, 0), size)
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_mmap.py 33 m = mmap.mmap(f.fileno(), 2 * PAGESIZE)
124 m = mmap.mmap(f.fileno(), mapsize, access=mmap.ACCESS_READ)
179 m = mmap.mmap(f.fileno(), mapsize+1)
201 m = mmap.mmap(f.fileno(), mapsize, access=mmap.ACCESS_WRITE)
217 m = mmap.mmap(f.fileno(), mapsize, access=mmap.ACCESS_COPY)
232 self.assertRaises(ValueError, mmap.mmap, f.fileno(), mapsize, access=4)
238 self.assertRaises(ValueError, mmap.mmap, f.fileno(), mapsize,
246 m = mmap.mmap(f.fileno(), mapsize, prot=prot)
264 m = mmap.mmap(f.fileno(), n)
281 m = mmap.mmap(f.fileno(), n
    [all...]
test_largefile.py 49 self.assertEqual(os.fstat(f.fileno())[stat.ST_SIZE], size+1)
93 self.assertEqual(os.lseek(f.fileno(), 0, 0), 0)
94 self.assertEqual(os.lseek(f.fileno(), 42, 0), 42)
95 self.assertEqual(os.lseek(f.fileno(), 42, 1), 84)
96 self.assertEqual(os.lseek(f.fileno(), 0, 1), 84)
97 self.assertEqual(os.lseek(f.fileno(), 0, 2), size+1+0)
98 self.assertEqual(os.lseek(f.fileno(), -10, 2), size+1-10)
99 self.assertEqual(os.lseek(f.fileno(), -size-1, 2), 0)
100 self.assertEqual(os.lseek(f.fileno(), size, 0), size)
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_mmap.py 33 m = mmap.mmap(f.fileno(), 2 * PAGESIZE)
124 m = mmap.mmap(f.fileno(), mapsize, access=mmap.ACCESS_READ)
179 m = mmap.mmap(f.fileno(), mapsize+1)
201 m = mmap.mmap(f.fileno(), mapsize, access=mmap.ACCESS_WRITE)
217 m = mmap.mmap(f.fileno(), mapsize, access=mmap.ACCESS_COPY)
232 self.assertRaises(ValueError, mmap.mmap, f.fileno(), mapsize, access=4)
238 self.assertRaises(ValueError, mmap.mmap, f.fileno(), mapsize,
246 m = mmap.mmap(f.fileno(), mapsize, prot=prot)
264 m = mmap.mmap(f.fileno(), n)
281 m = mmap.mmap(f.fileno(), n
    [all...]
test_largefile.py 49 self.assertEqual(os.fstat(f.fileno())[stat.ST_SIZE], size+1)
93 self.assertEqual(os.lseek(f.fileno(), 0, 0), 0)
94 self.assertEqual(os.lseek(f.fileno(), 42, 0), 42)
95 self.assertEqual(os.lseek(f.fileno(), 42, 1), 84)
96 self.assertEqual(os.lseek(f.fileno(), 0, 1), 84)
97 self.assertEqual(os.lseek(f.fileno(), 0, 2), size+1+0)
98 self.assertEqual(os.lseek(f.fileno(), -10, 2), size+1-10)
99 self.assertEqual(os.lseek(f.fileno(), -size-1, 2), 0)
100 self.assertEqual(os.lseek(f.fileno(), size, 0), size)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_mmap.py 33 m = mmap.mmap(f.fileno(), 2 * PAGESIZE)
124 m = mmap.mmap(f.fileno(), mapsize, access=mmap.ACCESS_READ)
179 m = mmap.mmap(f.fileno(), mapsize+1)
201 m = mmap.mmap(f.fileno(), mapsize, access=mmap.ACCESS_WRITE)
217 m = mmap.mmap(f.fileno(), mapsize, access=mmap.ACCESS_COPY)
232 self.assertRaises(ValueError, mmap.mmap, f.fileno(), mapsize, access=4)
238 self.assertRaises(ValueError, mmap.mmap, f.fileno(), mapsize,
246 m = mmap.mmap(f.fileno(), mapsize, prot=prot)
264 m = mmap.mmap(f.fileno(), n)
281 m = mmap.mmap(f.fileno(), n
    [all...]
test_largefile.py 49 self.assertEqual(os.fstat(f.fileno())[stat.ST_SIZE], size+1)
93 self.assertEqual(os.lseek(f.fileno(), 0, 0), 0)
94 self.assertEqual(os.lseek(f.fileno(), 42, 0), 42)
95 self.assertEqual(os.lseek(f.fileno(), 42, 1), 84)
96 self.assertEqual(os.lseek(f.fileno(), 0, 1), 84)
97 self.assertEqual(os.lseek(f.fileno(), 0, 2), size+1+0)
98 self.assertEqual(os.lseek(f.fileno(), -10, 2), size+1-10)
99 self.assertEqual(os.lseek(f.fileno(), -size-1, 2), 0)
100 self.assertEqual(os.lseek(f.fileno(), size, 0), size)
  /external/autotest/client/cros/cellular/wardmodem/
at_channel_unittest.py 40 flags = fcntl.fcntl(self._channel_file.fileno(), fcntl.F_GETFL)
42 fcntl.fcntl(self._channel_file.fileno(), fcntl.F_SETFL, flags)
43 self._at_channel._channel = self._channel_file.fileno()
93 self._at_channel._handle_channel_cb(self._channel_file.fileno(),
117 self._at_channel._handle_channel_cb(self._channel_file.fileno(),
138 self._at_channel._handle_channel_cb(self._channel_file.fileno(),
162 self._at_channel._handle_channel_cb(self._channel_file.fileno(),
  /external/bison/lib/
binary-io.h 24 /* The MSVC7 <stdio.h> doesn't like to be included after '#define fileno ...',
42 # undef fileno
43 # define fileno _fileno
  /libcore/ojluni/src/main/native/
Console_md.c 42 return isatty(fileno(stdin)) && isatty(fileno(stdout));
58 int tty = fileno(stdin);
  /toolchain/binutils/binutils-2.25/include/
binary-io.h 23 like to be included after '#define fileno ...'
43 # undef fileno macro
44 # define fileno _fileno macro
  /external/chromium-trace/catapult/common/py_utils/py_utils/
lock.py 80 hfile = win32file._get_osfhandle(target_file.fileno())
92 hfile = win32file._get_osfhandle(target_file.fileno())
107 fcntl.flock(target_file.fileno(), flags)
117 fcntl.flock(target_file.fileno(), fcntl.LOCK_UN)
  /external/libjpeg-turbo/
cdjpeg.c 116 setmode(fileno(stdin), O_BINARY);
119 if ((input_file = fdopen(fileno(stdin), READ_BINARY)) == NULL) {
134 setmode(fileno(stdout), O_BINARY);
137 if ((output_file = fdopen(fileno(stdout), WRITE_BINARY)) == NULL) {
  /external/toybox/toys/pending/
userdel.c 45 if (fcntl(fileno(exfp), F_SETLK, &lock) < 0)
52 while ((line = get_line(fileno(exfp))) != NULL){
78 fcntl(fileno(exfp), F_SETLK, &lock);
82 fsync(fileno(newfp));
  /ndk/sources/cxx-stl/stlport/src/
_stdio_file.h 34 # include <unix.h> /* get the definition of fileno */
72 inline int _FILE_fd(const FILE *__f) { return fileno(__CONST_CAST(FILE*, __f)); }
85 * dwa: I'm not sure they provide fileno for all OS's, but this should
91 inline int _FILE_fd(const FILE *__f) { return ::fileno(__CONST_CAST(FILE*, __f)); }
  /prebuilts/gdb/darwin-x86/lib/python2.7/
posixfile.py 105 return posix.fdopen(posix.dup(self._file_.fileno()), self._file_.mode)
113 posix.dup2(self._file_.fileno(), fd)
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:
195 flock = fcntl.fcntl(self._file_.fileno(), cmd, flock)
  /prebuilts/gdb/linux-x86/lib/python2.7/
posixfile.py 105 return posix.fdopen(posix.dup(self._file_.fileno()), self._file_.mode)
113 posix.dup2(self._file_.fileno(), fd)
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:
195 flock = fcntl.fcntl(self._file_.fileno(), cmd, flock)
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
posixfile.py 105 return posix.fdopen(posix.dup(self._file_.fileno()), self._file_.mode)
113 posix.dup2(self._file_.fileno(), fd)
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:
195 flock = fcntl.fcntl(self._file_.fileno(), cmd, flock)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
posixfile.py 105 return posix.fdopen(posix.dup(self._file_.fileno()), self._file_.mode)
113 posix.dup2(self._file_.fileno(), fd)
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:
195 flock = fcntl.fcntl(self._file_.fileno(), cmd, flock)
  /external/v8/tools/testrunner/server/
daemon.py 69 #os.dup2(si.fileno(), sys.stdin.fileno())
70 #os.dup2(so.fileno(), sys.stdout.fileno())
71 #os.dup2(se.fileno(), sys.stderr.fileno())
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib-dynload/
mmap.so 
  /prebuilts/gdb/darwin-x86/lib/python2.7/multiprocessing/
reduction.py 80 _multiprocessing.sendfd(conn.fileno(), handle)
83 return _multiprocessing.recvfd(conn.fileno())
166 rh = reduce_handle(conn.fileno())
188 reduced_handle = reduce_handle(s.fileno())
206 rh = reduce_handle(conn.fileno())

Completed in 1164 milliseconds

12 3 4 5 6 7 8 91011>>