Home
last modified time | relevance | path

Searched refs:_fp (Results 1 – 21 of 21) sorted by relevance

/external/python/cpython2/Lib/email/
Dgenerator.py59 self._fp = outfp
65 self._fp.write(s)
82 print >> self._fp, ufrom
105 oldfp = self._fp
107 self._fp = sfp = StringIO()
110 self._fp = oldfp
118 self._fp.write(sfp.getvalue())
142 print >> self._fp, '%s:' % h,
145 print >> self._fp, v
148 print >> self._fp, v.encode()
[all …]
/external/python/cpython3/Lib/
Dplistlib.py577 self._fp = fp
578 self._fp.seek(-32, os.SEEK_END)
579 trailer = self._fp.read(32)
586 self._fp.seek(offset_table_offset)
598 m = self._fp.read(1)[0] & 0x3
601 return struct.unpack(f, self._fp.read(s))[0]
606 data = self._fp.read(size * n)
629 self._fp.seek(offset)
630 token = self._fp.read(1)[0]
649 result = int.from_bytes(self._fp.read(1 << tokenL),
[all …]
Dlzma.py93 self._fp = None
120 self._fp = builtins.open(filename, mode)
124 self._fp = filename
130 raw = _compression.DecompressReader(self._fp, LZMADecompressor,
147 self._fp.write(self._compressor.flush())
152 self._fp.close()
154 self._fp = None
166 return self._fp.fileno()
233 self._fp.write(compressed)
Dbz2.py64 self._fp = None
96 self._fp = _builtin_open(filename, mode)
100 self._fp = filename
106 raw = _compression.DecompressReader(self._fp,
125 self._fp.write(self._compressor.flush())
130 self._fp.close()
132 self._fp = None
145 return self._fp.fileno()
246 self._fp.write(compressed)
D_compression.py40 self._fp = fp
64 return self._fp.seekable()
84 self._fp.read(BUFFER_SIZE))
97 rawblock = self._fp.read(BUFFER_SIZE)
115 self._fp.seek(0)
Dgzip.py406 data = self._fp.read(n)
408 b = self._fp.read(n - len(data))
416 magic = self._fp.read(2)
435 s = self._fp.read(1)
441 s = self._fp.read(1)
479 buf = self._fp.read(io.DEFAULT_BUFFER_SIZE)
483 self._fp.prepend(self._decompressor.unconsumed_tail)
487 self._fp.prepend(self._decompressor.unused_data)
520 c = self._fp.read(1)
522 self._fp.prepend(c)
/external/python/cpython2/Lib/test/
Dtest_StringIO.py24 self._fp = self.MODULE.StringIO(self._lines)
28 self.assertRaises(TypeError, self._fp.seek)
29 eq(self._fp.read(10), self._line[:10])
30 eq(self._fp.read(0), '')
31 eq(self._fp.readline(0), '')
32 eq(self._fp.readline(), self._line[10:] + '\n')
33 eq(len(self._fp.readlines(60)), 2)
34 self._fp.seek(0)
35 eq(self._fp.readline(-1), self._line + '\n')
94 eq(iter(self._fp), self._fp)
[all …]
/external/python/cpython2/Lib/
DMimeWriter.py93 self._fp = fp
125 self._fp.writelines(self._headers)
142 self._fp.write("\n")
143 return self._fp
173 self._fp.write("\n--" + self._boundary + "\n")
174 return self.__class__(self._fp)
182 self._fp.write("\n--" + self._boundary + "--\n")
/external/python/cpython3/Lib/email/
Dgenerator.py63 self._fp = outfp
70 self._fp.write(s)
177 oldfp = self._fp
180 self._fp = sfp = self._new_buffer()
183 self._fp = oldfp
198 self._fp.write(sfp.getvalue())
294 self._fp.write(msgtexts.pop(0))
302 self._fp.write(body_part)
342 self._fp.write(self._encoded_NL.join(blocks))
362 self._fp.write(payload)
[all …]
/external/python/cpython2/Lib/plat-mac/
Dappletrawmain.py56 _fp = open(__file__, 'rb') variable
57 _fp.read(8)
58 __code__ = marshal.load(_fp)
63 del argvemulator, os, sys, marshal, _dir, _fp
/external/clang/test/SemaCXX/
Ddcl_ambig_res.cpp67 void h7(int *(*_fp)(C7 _parm[10])) { } // expected-error{{redefinition}} in h7()
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
Ddllimport.ll60 ; CHECK: _fp:
/external/llvm/test/CodeGen/X86/
Ddllimport.ll61 ; CHECK: _fp:
/external/tinyxml2/
Dtinyxml2.cpp2414 _fp( file ), in XMLPrinter()
2443 if ( _fp ) { in Print()
2444 vfprintf( _fp, format, va ); in Print()
2462 if ( _fp ) { in Write()
2463 fwrite ( data , sizeof(char), size, _fp); in Write()
2475 if ( _fp ) { in Putc()
2476 fputc ( ch, _fp); in Putc()
Dtinyxml2.h2282 FILE* _fp; variable
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/NewGVN/
Dcondprop-xfail.ll58 ;; NewGVN takes two passes to get test[6,8] and test[6,8]_fp's main part
/external/python/httplib2/python3/httplib2/
D__init__.py475 print("%s:" % h, end=" ", file=self._fp)
477 print(v.encode(maxlinelen=self._maxheaderlen), file=self._fp)
483 print(headers.encode(), file=self._fp)
485 print(file=self._fp)
/external/blktrace/btt/doc/
Dbtt.tex471 \item[\emph{file}\_mbps\_fp.dat] Provides a set of data for
475 \item[\emph{file}\_iops\_fp.dat] Provides a set of data for
641 with \texttt{iops\_fp.dat}) and throughput (MiB per second - name ends
642 with \texttt{mbps\_fp.dat}).
/external/python/cpython3/Lib/test/
Dtest_lzma.py683 fp = f._fp
717 self.assertEqual(f.fileno(), f._fp.fileno())
Dtest_gzip.py559 f._buffer.raw._fp.prepend()
/external/libunwind/doc/
Dlibunwind-dynamic.tex367 \_U\_dyn\_op\_spill\_fp\_rel();