Searched refs:_file (Results 1 – 25 of 29) sorted by relevance
12
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | aifc.py | 285 self._file = file 300 chunk = Chunk(self._file) 341 return self._file 351 self._file.close() 565 self._file = file 583 if self._file: 712 self._file.write(data) 726 self._file.write(chr(0)) 738 self._file.close() 823 self._file.write('FORM') [all …]
|
D | tempfile.py | 495 self._file = _StringIO() 508 file = self._file 509 newfile = self._file = TemporaryFile(*self._TemporaryFileArgs) 524 if self._file.closed: 529 self._file.close() 533 return self._file.__iter__() 536 self._file.close() 540 return self._file.closed 544 return self._file.encoding 548 return self._file.fileno() [all …]
|
D | wave.py | 128 self._file = Chunk(file, bigendian = 0) 129 if self._file.getname() != 'RIFF': 131 if self._file.read(4) != 'WAVE': 138 chunk = Chunk(self._file, bigendian = 0) 175 return self._file 185 self._file = None 313 self._file = file 425 data.tofile(self._file) 428 self._file.write(data) 438 if self._file: [all …]
|
D | mailbox.py | 563 self._file = f 609 _lock_file(self._file) 615 _unlock_file(self._file) 630 self._file.seek(0, 2) 631 cur_len = self._file.tell() 643 self._file.seek(start) 647 buffer = self._file.read(min(4096, 648 stop - self._file.tell())) 660 self._file.close() 670 self._file = open(self._path, 'rb+') [all …]
|
D | fileinput.py | 101 if _state and _state._file: 217 self._file = None 277 file = self._file 278 self._file = 0 302 if not self._file: 308 self._file = None 313 self._file = sys.stdin 323 self._file = open(self._backupfilename, self._mode) 325 perm = os.fstat(self._file.fileno()).st_mode 343 self._file = self._openhook(self._filename, self._mode) [all …]
|
D | httplib.py | 1268 self._file = file 1274 return getattr(self._file, attr) 1281 self.read = self._file.read 1282 self.readline = self._file.readline 1283 self.readlines = self._file.readlines 1287 return self._file.read(amt) 1293 return s + self._file.read() 1295 return s + self._file.read(amt - len(s)) 1309 return self._file.readline() 1317 return self._file.readlines(size) [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
D | fileinput.py | 100 if _state and _state._file: 216 self._file = None 279 file = self._file 280 self._file = 0 305 if not self._file: 311 self._file = None 316 self._file = sys.stdin 326 self._file = open(self._backupfilename, self._mode) 328 perm = os.fstat(self._file.fileno()).st_mode 346 self._file = self._openhook(self._filename, self._mode) [all …]
|
/device/linaro/bootloader/edk2/StdLib/LibC/Stdio/ |
D | stdio.c | 73 ret = (int)read(fp->_file, buf, (size_t)n); in __sread() 95 (void) lseek(fp->_file, (off_t)0, SEEK_END); in __swrite() 97 return (int)(write(fp->_file, (char *)buf, (size_t)n)); in __swrite() 112 ret = lseek(fp->_file, (off_t)offset, whence); in __sseek() 132 return (close(((FILE *)cookie)->_file)); in __sclose()
|
D | makebuf.c | 95 if (couldbetty || isatty(fp->_file)) in __smakebuf() 116 if (fp->_file < 0 || fstat(fp->_file, &st) < 0) { in __swhatbuf()
|
D | fseeko.c | 170 fp->_file < 0 || fstat(fp->_file, &st) || in __weak_alias() 186 if (fstat(fp->_file, &st)) in __weak_alias()
|
D | freopen.c | 107 if (((wantfd = fp->_file) >= 0) && isopen) { in freopen() 182 fp->_file = (short)f; in freopen()
|
D | vsprintf.c | 66 f._file = -1; in vsprintf()
|
D | sprintf.c | 69 f._file = -1; in sprintf()
|
D | fclose.c | 83 fp->_file = -1; in fclose()
|
D | funopen.c | 75 fp->_file = -1;
|
D | snprintf.c | 80 f._file = -1; in __weak_alias()
|
D | vsnprintf.c | 73 f._file = -1; in __weak_alias()
|
D | vasprintf.c | 57 f._file = -1;
|
D | fopen.c | 87 fp->_file = (short)f; in fopen()
|
D | fdopen.c | 105 fp->_file = (short)fd; in __weak_alias()
|
D | vswscanf.c | 89 f._file = -1; in vswscanf()
|
D | vswprintf.c | 59 f._file = -1; in vswprintf()
|
D | findfp.c | 157 fp->_file = -1; /* no file */ in __sfp()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_mailbox.py | 826 self._box._file.flush() 827 self._box._file.seek(0) 828 contents = self._box._file.read() 1680 self._file = open(self._path, 'wb+') 1683 self._file.close() 1688 self._file.write('foo') 1689 pos = self._file.tell() 1690 proxy0 = mailbox._ProxyFile(self._file) 1692 self.assertEqual(self._file.tell(), pos) 1693 proxy1 = mailbox._ProxyFile(self._file, 0) [all …]
|
/device/linaro/bootloader/edk2/StdLib/Include/ |
D | stdio.h | 224 short _file; /**< fileno, if Unix descriptor, else -1 */ member 1598 #define __sfileno(p) ((p)->_file)
|
12