HomeSort by relevance Sort by last modified time
    Searched refs:_fp (Results 1 - 25 of 25) sorted by null

  /external/libxcam/xcore/
file_handle.cpp 29 : _fp (NULL)
35 : _fp (NULL)
53 return feof (_fp);
64 XCAM_ASSERT (!_file_name && !_fp);
65 _fp = fopen (name, option);
67 if (!_fp)
77 if (_fp) {
78 fclose (_fp);
79 _fp = NULL;
96 return (fseek (_fp, 0L, SEEK_SET) == 0) ? XCAM_RETURN_NO_ERROR : XCAM_RETURN_ERROR_FILE
    [all...]
file_handle.h 36 return (_fp ? true : false);
53 FILE *_fp; member in class:XCam::FileHandle
image_file_handle.cpp 56 if (fread (memory + info.offsets [index] + i * info.strides [index], 1, line_bytes, _fp) != line_bytes) {
86 if (fwrite (memory + info.offsets [index] + i * info.strides [index], 1, line_bytes, _fp) != line_bytes) {
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
MimeWriter.py 93 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/cpython2/Lib/
MimeWriter.py 93 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")
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/email/
generator.py 60 self._fp = outfp
66 self._fp.write(s)
83 print >> self._fp, ufrom
106 oldfp = self._fp
108 self._fp = sfp = StringIO()
111 self._fp = oldfp
119 self._fp.write(sfp.getvalue())
143 print >> self._fp, '%s:' % h,
146 print >> self._fp, v
149 print >> self._fp, v.encode()
    [all...]
  /external/python/cpython2/Lib/email/
generator.py 60 self._fp = outfp
66 self._fp.write(s)
83 print >> self._fp, ufrom
106 oldfp = self._fp
108 self._fp = sfp = StringIO()
111 self._fp = oldfp
119 self._fp.write(sfp.getvalue())
143 print >> self._fp, '%s:' % h,
146 print >> self._fp, v
149 print >> self._fp, v.encode(
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_StringIO.py 23 self._fp = self.MODULE.StringIO(self._lines)
27 self.assertRaises(TypeError, self._fp.seek)
28 eq(self._fp.read(10), self._line[:10])
29 eq(self._fp.readline(), self._line[10:] + '\n')
30 eq(len(self._fp.readlines(60)), 2)
31 self._fp.seek(0)
32 eq(self._fp.readline(-1), self._line + '\n')
91 eq(iter(self._fp), self._fp)
93 unless(hasattr(self._fp, '__iter__'))
    [all...]
  /external/python/cpython2/Lib/plat-mac/
appletrawmain.py 56 _fp = open(__file__, 'rb') variable
57 _fp.read(8)
58 __code__ = marshal.load(_fp)
63 del argvemulator, os, sys, marshal, _dir, _fp
  /external/python/cpython2/Lib/test/
test_StringIO.py 24 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/cpython3/Lib/
plistlib.py 549 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...]
bz2.py 62 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)
lzma.py 93 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)
_compression.py 40 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)
gzip.py 390 '''Read exactly *n* bytes from `self._fp`
392 This method is required because self._fp may be unbuffered,
396 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
    [all...]
  /external/python/cpython3/Lib/email/
generator.py 64 self._fp = outfp
71 self._fp.write(s)
134 # the source, and self._fp.write when what we are writing is coming from a
178 oldfp = self._fp
181 self._fp = sfp = self._new_buffer()
184 self._fp = oldfp
199 self._fp.write(sfp.getvalue())
295 self._fp.write(msgtexts.pop(0))
303 self._fp.write(body_part)
343 self._fp.write(self._encoded_NL.join(blocks)
    [all...]
  /external/clang/test/SemaCXX/
dcl_ambig_res.cpp 67 void h7(int *(*_fp)(C7 _parm[10])) { } // expected-error{{redefinition}}
  /external/tinyxml2/
tinyxml2.cpp     [all...]
tinyxml2.h 2282 FILE* _fp; member in class:tinyxml2::XMLPrinter
    [all...]
  /external/libxcam/modules/soft/
soft_image.h 329 WARNING, fread (line_ptr, 1, line_bytes, _fp) == line_bytes, XCAM_RETURN_ERROR_FILE,
354 WARNING, fwrite (line_ptr, 1, line_bytes, _fp) == line_bytes, XCAM_RETURN_ERROR_FILE,
  /external/python/httplib2/python3/httplib2/
__init__.py 462 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)
    [all...]
  /external/blktrace/btt/doc/
btt.tex 471 \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}).
    [all...]
  /external/python/cpython3/Lib/test/
test_lzma.py 681 fp = f._fp
715 self.assertEqual(f.fileno(), f._fp.fileno())
    [all...]
test_gzip.py 539 f._buffer.raw._fp.prepend()
  /external/libunwind/doc/
libunwind-dynamic.tex 336 \item[\Const{UNW\_DYN\_SPILL\_FP\_REL}] Marks an instruction which
367 \_U\_dyn\_op\_spill\_fp\_rel();

Completed in 1499 milliseconds