Home
last modified time | relevance | path

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

/external/libxcam/xcore/
Dfile_handle.cpp29 : _fp (NULL) in FileHandle()
35 : _fp (NULL) in FileHandle()
53 return feof (_fp); in end_of_file()
64 XCAM_ASSERT (!_file_name && !_fp); in open()
65 _fp = fopen (name, option); in open()
67 if (!_fp) in open()
77 if (_fp) { in close()
78 fclose (_fp); in close()
79 _fp = NULL; in close()
96 return (fseek (_fp, 0L, SEEK_SET) == 0) ? XCAM_RETURN_NO_ERROR : XCAM_RETURN_ERROR_FILE; in rewind()
[all …]
Dfile_handle.h36 return (_fp ? true : false); in is_valid()
53 FILE *_fp;
Dimage_file_handle.cpp56 …if (fread (memory + info.offsets [index] + i * info.strides [index], 1, line_bytes, _fp) != line_b… in read_buf()
86 …ite (memory + info.offsets [index] + i * info.strides [index], 1, line_bytes, _fp) != line_bytes) { in write_buf()
/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.py549 self._fp = fp
550 self._fp.seek(-32, os.SEEK_END)
551 trailer = self._fp.read(32)
558 self._fp.seek(offset_table_offset)
570 m = self._fp.read(1)[0] & 0x3
573 return struct.unpack(f, self._fp.read(s))[0]
578 data = self._fp.read(size * n)
601 self._fp.seek(offset)
602 token = self._fp.read(1)[0]
621 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.py62 self._fp = None
92 self._fp = _builtin_open(filename, mode)
96 self._fp = filename
102 raw = _compression.DecompressReader(self._fp,
121 self._fp.write(self._compressor.flush())
126 self._fp.close()
128 self._fp = None
141 return self._fp.fileno()
242 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.py396 data = self._fp.read(n)
398 b = self._fp.read(n - len(data))
406 magic = self._fp.read(2)
425 s = self._fp.read(1)
431 s = self._fp.read(1)
469 buf = self._fp.read(io.DEFAULT_BUFFER_SIZE)
473 self._fp.prepend(self._decompressor.unconsumed_tail)
477 self._fp.prepend(self._decompressor.unused_data)
510 c = self._fp.read(1)
512 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/llvm/test/CodeGen/X86/
Ddllimport.ll61 ; CHECK: _fp:
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
Ddllimport.ll60 ; 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/libxcam/modules/soft/
Dsoft_image.h329 WARNING, fread (line_ptr, 1, line_bytes, _fp) == line_bytes, XCAM_RETURN_ERROR_FILE, in read_buf()
354 WARNING, fwrite (line_ptr, 1, line_bytes, _fp) == line_bytes, XCAM_RETURN_ERROR_FILE, in write_buf()
/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__.py462 print("%s:" % h, end=" ", file=self._fp)
464 print(v.encode(maxlinelen=self._maxheaderlen), file=self._fp)
470 print(headers.encode(), file=self._fp)
472 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.py681 fp = f._fp
715 self.assertEqual(f.fileno(), f._fp.fileno())
Dtest_gzip.py539 f._buffer.raw._fp.prepend()
/external/libunwind/doc/
Dlibunwind-dynamic.tex367 \_U\_dyn\_op\_spill\_fp\_rel();