/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/hotshot/ |
D | log.py | 50 def fileno(self): member in LogReader 52 return self._reader.fileno() 68 def get_filename(self, fileno): argument 70 return self._filemap[fileno] 79 for fileno, name in self._filemap.items(): 81 return fileno 84 def get_funcname(self, fileno, lineno): argument 86 return self._funcmap[(fileno, lineno)] 98 what, tdelta, fileno, lineno = self._nextitem() 103 filename, funcname = self._decode_location(fileno, lineno) [all …]
|
D | __init__.py | 30 def fileno(self): member in Profile 32 return self._prof.fileno()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_kqueue.py | 18 self.assertTrue(kq.fileno() > 0, kq.fileno()) 22 self.assertRaises(ValueError, kq.fileno) 25 fd = sys.stderr.fileno() 105 kq2 = select.kqueue.fromfd(kq.fileno()) 107 ev = select.kevent(server.fileno(), 111 ev = select.kevent(server.fileno(), 115 ev = select.kevent(client.fileno(), 119 ev = select.kevent(client.fileno(), 128 (client.fileno(), select.KQ_FILTER_WRITE, flags), 129 (server.fileno(), select.KQ_FILTER_WRITE, flags)]) [all …]
|
D | test_epoll.py | 72 self.assertTrue(ep.fileno() > 0, ep.fileno()) 76 self.assertRaises(ValueError, ep.fileno) 91 ep.register(server.fileno(), select.EPOLLIN | select.EPOLLOUT) 92 ep.register(client.fileno(), select.EPOLLIN | select.EPOLLOUT) 128 ep2 = select.epoll.fromfd(ep.fileno()) 130 ep2.register(server.fileno(), select.EPOLLIN | select.EPOLLOUT) 131 ep2.register(client.fileno(), select.EPOLLIN | select.EPOLLOUT) 150 ep.register(server.fileno(), 152 ep.register(client.fileno(), 161 expected = [(client.fileno(), select.EPOLLOUT), [all …]
|
D | 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 …]
|
D | 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)
|
D | test_posix.py | 120 self.assertTrue(posix.fstatvfs(fp.fileno())) 131 posix.ftruncate(fp.fileno(), 0) 139 fd = posix.dup(fp.fileno()) 155 posix.dup2(fp1.fileno(), fp2.fileno()) 206 self.assertTrue(posix.fstat(fp.fileno())) 252 fd = test_file.fileno()
|
D | test_fcntl.py | 71 rv = fcntl.fcntl(self.f.fileno(), fcntl.F_SETFL, os.O_NONBLOCK) 75 rv = fcntl.fcntl(self.f.fileno(), fcntl.F_SETLKW, lockdata)
|
D | test_fileinput.py | 174 self.assertEqual(fi.fileno(), -1) 176 self.assertNotEqual(fi.fileno(), -1) 178 self.assertEqual(fi.fileno(), -1) 180 self.assertEqual(fi.fileno(), -1)
|
D | test_fileio.py | 88 % (self.f.fileno(), self.f.mode)) 140 os.close(f.fileno()) 155 os.close(f.fileno()) 203 f.fileno() 215 os.close(self.f.fileno())
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | 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)
|
D | fileinput.py | 157 def fileno(): function 164 return _state.fileno() 325 perm = os.fstat(self._file.fileno()).st_mode 362 def fileno(self): member in FileInput 365 return self._file.fileno()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
D | _hotshot.c | 141 return PyInt_FromLong(fileno(self->logfp)); in logreader_fileno() 392 int fileno = -1; in logreader_tp_iternext() local 421 err = unpack_packed_int(self, &fileno, 2); in logreader_tp_iternext() 440 err = unpack_packed_int(self, &fileno, 0); in logreader_tp_iternext() 450 err = unpack_packed_int(self, &fileno, 0); in logreader_tp_iternext() 488 PyTuple_SET_ITEM(result, 2, PyInt_FromLong(fileno)); in logreader_tp_iternext() 515 fileno = ((self->buffer[self->index + 2] << 8) in logreader_tp_iternext() 656 pack_define_file(ProfilerObject *self, int fileno, const char *filename) in pack_define_file() argument 666 if (pack_packed_int(self, fileno) < 0) in pack_define_file() 672 pack_define_func(ProfilerObject *self, int fileno, int lineno, in pack_define_func() argument [all …]
|
D | main.c | 456 _setmode(fileno(stdin), O_BINARY); in Py_Main() 457 _setmode(fileno(stdout), O_BINARY); in Py_Main() 533 isatty(fileno(stdin))) { in Py_Main() 584 if (fstat(fileno(fp), &sb) == 0 && in Py_Main()
|
/device/linaro/bootloader/edk2/StdLib/LibC/Stdio/ |
D | fileno.c | 57 #undef fileno 60 __weak_alias(fileno,_fileno)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/ |
D | minigzip.c | 35 # define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY) 47 # define fileno(file) file->__file macro 137 int ifd = fileno(in); 304 file = gzdopen(fileno(stdin), "rb"); 308 file = gzdopen(fileno(stdout), outmode);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
D | fileinput.py | 156 def fileno(): function 163 return _state.fileno() 328 perm = os.fstat(self._file.fileno()).st_mode 365 def fileno(self): member in FileInput 368 return self._file.fileno()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/freeze/ |
D | bkfile.py | 18 self.fileno = self.__file.fileno
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Parser/ |
D | myreadline.c | 204 if (!isatty (fileno (sys_stdin)) || !isatty (fileno (sys_stdout))) in PyOS_Readline()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Parser/ |
D | myreadline.c | 207 if (!isatty (fileno (sys_stdin)) || !isatty (fileno (sys_stdout))) in PyOS_Readline()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/zlib/ |
D | minigzip.c | 38 # define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY) 54 # define fileno(file) file->__file macro 401 int ifd = fileno(in); 608 file = gzdopen(fileno(stdin), "rb"); 612 file = gzdopen(fileno(stdout), outmode); 638 file = gzdopen(fileno(stdout), outmode);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Modules/ |
D | main.c | 494 _setmode(fileno(stdin), O_BINARY); in Py_Main() 495 _setmode(fileno(stdout), O_BINARY); in Py_Main() 571 isatty(fileno(stdin))) { in Py_Main() 622 if (fstat(fileno(fp), &sb) == 0 && in Py_Main()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Modules/ |
D | main.c | 471 _setmode(fileno(stdin), O_BINARY); in Py_Main() 472 _setmode(fileno(stdout), O_BINARY); in Py_Main() 548 isatty(fileno(stdin))) { in Py_Main() 599 if (fstat(fileno(fp), &sb) == 0 && in Py_Main()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_io/ |
D | _iomodule.c | 446 long fileno; in io_open() local 451 fileno = PyInt_AsLong(res); in io_open() 453 if (fileno == -1 && PyErr_Occurred()) in io_open() 456 if (fstat(fileno, &st) >= 0 && st.st_blksize > 1) in io_open()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/ |
D | frozenmain.c | 60 if (inspect && isatty((int)fileno(stdin))) in Py_FrozenMain()
|