HomeSort by relevance Sort by last modified time
    Searched refs:fileno (Results 1 - 25 of 445) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /bionic/libc/upstream-freebsd/lib/libc/stdio/
fileno.c 34 static char sccsid[] = "@(#)fileno.c 8.1 (Berkeley) 6/4/93";
44 #undef fileno macro
48 fileno(FILE *fp) function
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/hotshot/
log.py 25 # fileno -> filename
27 # (fileno, lineno) -> filename, funcname
50 def fileno(self): member in class:LogReader
52 return self._reader.fileno()
68 def get_filename(self, fileno):
70 return self._filemap[fileno]
72 raise ValueError, "unknown fileno"
79 for fileno, name in self._filemap.items():
81 return fileno
84 def get_funcname(self, fileno, lineno)
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/hotshot/
log.py 25 # fileno -> filename
27 # (fileno, lineno) -> filename, funcname
50 def fileno(self): member in class:LogReader
52 return self._reader.fileno()
68 def get_filename(self, fileno):
70 return self._filemap[fileno]
72 raise ValueError, "unknown fileno"
79 for fileno, name in self._filemap.items():
81 return fileno
84 def get_funcname(self, fileno, lineno)
    [all...]
  /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
fopen-safer.c 37 int fd = fileno (fp);
  /external/chromium_org/third_party/skia/src/ports/
SkOSFile_win.cpp 23 int fileno = _fileno((FILE*)f); local
24 if (fileno < 0) {
28 HANDLE file = (HANDLE)_get_osfhandle(fileno);
70 void* sk_fdmmap(int fileno, size_t* length) {
71 HANDLE file = (HANDLE)_get_osfhandle(fileno);
107 int fileno = sk_fileno(f); local
108 if (fileno < 0) {
112 return sk_fdmmap(fileno, length);
SkOSFile_posix.cpp 23 int fd = fileno((FILE*)a);
70 return fileno((FILE*)f);
  /external/skia/src/ports/
SkOSFile_win.cpp 23 int fileno = _fileno((FILE*)f); local
24 if (fileno < 0) {
28 HANDLE file = (HANDLE)_get_osfhandle(fileno);
70 void* sk_fdmmap(int fileno, size_t* length) {
71 HANDLE file = (HANDLE)_get_osfhandle(fileno);
107 int fileno = sk_fileno(f); local
108 if (fileno < 0) {
112 return sk_fdmmap(fileno, length);
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_epoll.py 73 self.assertTrue(ep.fileno() > 0, ep.fileno())
77 self.assertRaises(ValueError, ep.fileno)
92 ep.register(server.fileno(), select.EPOLLIN | select.EPOLLOUT)
93 ep.register(client.fileno(), select.EPOLLIN | select.EPOLLOUT)
97 # adding by object w/ fileno works, too.
107 # TypeError: argument must be an int, or have a fileno() method.
129 ep2 = select.epoll.fromfd(ep.fileno())
131 ep2.register(server.fileno(), select.EPOLLIN | select.EPOLLOUT)
132 ep2.register(client.fileno(), select.EPOLLIN | select.EPOLLOUT
    [all...]
test_kqueue.py 18 self.assertTrue(kq.fileno() > 0, kq.fileno())
22 self.assertRaises(ValueError, kq.fileno)
25 fd = sys.stderr.fileno()
100 kq2 = select.kqueue.fromfd(kq.fileno())
102 ev = select.kevent(server.fileno(),
106 ev = select.kevent(server.fileno(),
110 ev = select.kevent(client.fileno(),
114 ev = select.kevent(client.fileno(),
122 (client.fileno(), select.KQ_FILTER_WRITE)
    [all...]
test_select.py 15 def fileno(self): member in class:SelectTestCase.Almost
16 return 'fileno'
56 def fileno(self): member in class:SelectTestCase.test_select_mutated.F
58 return sys.__stdout__.fileno()
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_epoll.py 73 self.assertTrue(ep.fileno() > 0, ep.fileno())
77 self.assertRaises(ValueError, ep.fileno)
92 ep.register(server.fileno(), select.EPOLLIN | select.EPOLLOUT)
93 ep.register(client.fileno(), select.EPOLLIN | select.EPOLLOUT)
97 # adding by object w/ fileno works, too.
107 # TypeError: argument must be an int, or have a fileno() method.
129 ep2 = select.epoll.fromfd(ep.fileno())
131 ep2.register(server.fileno(), select.EPOLLIN | select.EPOLLOUT)
132 ep2.register(client.fileno(), select.EPOLLIN | select.EPOLLOUT
    [all...]
test_kqueue.py 18 self.assertTrue(kq.fileno() > 0, kq.fileno())
22 self.assertRaises(ValueError, kq.fileno)
25 fd = sys.stderr.fileno()
100 kq2 = select.kqueue.fromfd(kq.fileno())
102 ev = select.kevent(server.fileno(),
106 ev = select.kevent(server.fileno(),
110 ev = select.kevent(client.fileno(),
114 ev = select.kevent(client.fileno(),
122 (client.fileno(), select.KQ_FILTER_WRITE)
    [all...]
test_select.py 15 def fileno(self): member in class:SelectTestCase.Almost
16 return 'fileno'
56 def fileno(self): member in class:SelectTestCase.test_select_mutated.F
58 return sys.__stdout__.fileno()
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/dropbear/
netbsd_getpass.c 93 (void)tcgetattr(fileno(fp), &term);
96 (void)tcsetattr(fileno(fp), TCSAFLUSH /*|TCSASOFT*/, &term);
105 (void)write(fileno(outfp), "\n", 1);
108 (void)tcsetattr(fileno(fp), TCSAFLUSH/*|TCSASOFT*/, &term);
  /external/libvpx/libvpx/
tools_common.c 18 #define _fileno fileno
  /external/chromium_org/tools/clang/scripts/
update.py 26 # fd2 = os.dup(sys.stdin.fileno()); os.write(fd2, 'hi')
30 stderr=os.fdopen(os.dup(sys.stdin.fileno())))
  /external/compiler-rt/lib/tsan/lit_tests/
user_fopen.cc 16 extern "C" int fileno(FILE *f) { function
19 printf("user fileno\n");
  /external/openssh/
sshtty.c 61 if (tcsetattr(fileno(stdin), TCSADRAIN, &_saved_tio) == -1) {
73 if (tcgetattr(fileno(stdin), &tio) == -1) {
91 if (tcsetattr(fileno(stdin), TCSADRAIN, &tio) == -1) {
  /external/jpeg/
cdjpeg.c 154 setmode(fileno(stdin), O_BINARY);
157 if ((input_file = fdopen(fileno(stdin), READ_BINARY)) == NULL) {
172 setmode(fileno(stdout), O_BINARY);
175 if ((output_file = fdopen(fileno(stdout), WRITE_BINARY)) == NULL) {
  /external/qemu/android/utils/
debug.c 116 out_fd = fileno(stdout);
117 err_fd = fileno(stderr);
133 out_fd = fileno(stdout);
134 err_fd = fileno(stderr);
  /external/qemu/distrib/jpeg-6b/
cdjpeg.c 154 setmode(fileno(stdin), O_BINARY);
157 if ((input_file = fdopen(fileno(stdin), READ_BINARY)) == NULL) {
172 setmode(fileno(stdout), O_BINARY);
175 if ((output_file = fdopen(fileno(stdout), WRITE_BINARY)) == NULL) {
  /frameworks/av/drm/common/
ReadWriteUtils.cpp 41 int fd = fileno(file);
63 int fd = fileno(file);
83 int fd = fileno(file);
100 int fd = fileno(file);

Completed in 698 milliseconds

1 2 3 4 5 6 7 8 91011>>