Home
last modified time | relevance | path

Searched refs:_fp (Results 1 – 24 of 24) 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.py465 self._fp = fp
466 self._fp.seek(-32, os.SEEK_END)
467 trailer = self._fp.read(32)
474 self._fp.seek(offset_table_offset)
486 m = self._fp.read(1)[0] & 0x3
489 return struct.unpack(f, self._fp.read(s))[0]
494 data = self._fp.read(size * n)
517 self._fp.seek(offset)
518 token = self._fp.read(1)[0]
537 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.py59 self._fp = None
85 self._fp = _builtin_open(filename, mode)
89 self._fp = filename
95 raw = _compression.DecompressReader(self._fp,
114 self._fp.write(self._compressor.flush())
119 self._fp.close()
121 self._fp = None
134 return self._fp.fileno()
235 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.py420 data = self._fp.read(n)
422 b = self._fp.read(n - len(data))
430 magic = self._fp.read(2)
449 s = self._fp.read(1)
455 s = self._fp.read(1)
493 buf = self._fp.read(io.DEFAULT_BUFFER_SIZE)
497 self._fp.prepend(self._decompressor.unconsumed_tail)
501 self._fp.prepend(self._decompressor.unused_data)
534 c = self._fp.read(1)
536 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
202 self._fp.write(sfp.getvalue())
298 self._fp.write(msgtexts.pop(0))
306 self._fp.write(body_part)
346 self._fp.write(self._encoded_NL.join(blocks))
366 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/llvm-project/clang/test/SemaCXX/
Ddcl_ambig_res.cpp67 void h7(int *(*_fp)(C7 _parm[10])) { } // expected-error{{redefinition}} in h7()
/external/llvm-project/llvm/test/CodeGen/X86/
Ddllimport.ll60 ; CHECK: _fp:
/external/llvm/test/CodeGen/X86/
Ddllimport.ll61 ; CHECK: _fp:
/external/tinyxml2/
Dtinyxml2.cpp2517 _fp( file ), in XMLPrinter()
2546 if ( _fp ) { in Print()
2547 vfprintf( _fp, format, va ); in Print()
2565 if ( _fp ) { in Write()
2566 fwrite ( data , sizeof(char), size, _fp); in Write()
2578 if ( _fp ) { in Putc()
2579 fputc ( ch, _fp); in Putc()
Dtinyxml2.h2338 FILE* _fp; variable
/external/llvm-project/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/llvm-project/openmp/www/
DREADME.txt87 __kmpc_atomic_*_fp
/external/llvm-project/openmp/runtime/
DREADME.txt87 __kmpc_atomic_*_fp
/external/python/httplib2/python3/httplib2/
D__init__.py482 print("%s:" % h, end=" ", file=self._fp)
484 print(v.encode(maxlinelen=self._maxheaderlen), file=self._fp)
490 print(headers.encode(), file=self._fp)
492 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.py591 f._buffer.raw._fp.prepend()
/external/llvm-project/clang/docs/
DUsersManual.rst1457 .. _fp-constant-eval: