Home
last modified time | relevance | path

Searched refs:BZ2Decompressor (Results 1 – 23 of 23) sorted by relevance

/external/bsdiff/
Dbz2_decompressor.cc16 BZ2Decompressor::~BZ2Decompressor() { in ~BZ2Decompressor()
22 bool BZ2Decompressor::SetInputData(const uint8_t* input_data, size_t size) { in SetInputData()
43 bool BZ2Decompressor::Read(uint8_t* output_data, size_t bytes_to_output) { in Read()
72 bool BZ2Decompressor::Close() { in Close()
Dbz2_decompressor.h14 class BZ2Decompressor : public DecompressorInterface {
16 BZ2Decompressor() = default;
17 ~BZ2Decompressor();
Dbz2_decompressor_unittest.cc28 decompressor_.reset(new BZ2Decompressor()); in SetUp()
32 std::unique_ptr<BZ2Decompressor> decompressor_;
Ddecompressor_interface.cc16 return std::unique_ptr<DecompressorInterface>(new BZ2Decompressor()); in CreateDecompressor()
/external/python/cpython3/Modules/
D_bz2module.c54 } BZ2Decompressor; typedef
404 decompress_buf(BZ2Decompressor *d, Py_ssize_t max_length) in decompress_buf()
468 decompress(BZ2Decompressor *d, char *data, size_t len, Py_ssize_t max_length) in decompress()
600 _bz2_BZ2Decompressor_decompress_impl(BZ2Decompressor *self, Py_buffer *data, in _bz2_BZ2Decompressor_decompress_impl()
616 BZ2Decompressor_getstate(BZ2Decompressor *self, PyObject *noargs) in BZ2Decompressor_getstate()
632 _bz2_BZ2Decompressor___init___impl(BZ2Decompressor *self) in _bz2_BZ2Decompressor___init___impl()
669 BZ2Decompressor_dealloc(BZ2Decompressor *self) in BZ2Decompressor_dealloc()
696 {"eof", T_BOOL, offsetof(BZ2Decompressor, eof),
698 {"unused_data", T_OBJECT_EX, offsetof(BZ2Decompressor, unused_data),
700 {"needs_input", T_BOOL, offsetof(BZ2Decompressor, needs_input), READONLY,
[all …]
/external/python/cpython3/Modules/clinic/
D_bz2module.c.h121 _bz2_BZ2Decompressor_decompress_impl(BZ2Decompressor *self, Py_buffer *data,
125 _bz2_BZ2Decompressor_decompress(BZ2Decompressor *self, PyObject *const *args, Py_ssize_t nargs, PyO… in _bz2_BZ2Decompressor_decompress()
157 _bz2_BZ2Decompressor___init___impl(BZ2Decompressor *self);
172 return_value = _bz2_BZ2Decompressor___init___impl((BZ2Decompressor *)self); in _bz2_BZ2Decompressor___init__()
/external/python/cpython2/Lib/test/
Dtest_bz2.py16 from bz2 import BZ2File, BZ2Compressor, BZ2Decompressor
383 self.assertRaises(TypeError, BZ2Decompressor, 42)
387 bz2d = BZ2Decompressor()
394 bz2d = BZ2Decompressor()
407 bz2d = BZ2Decompressor()
415 bz2d = BZ2Decompressor()
426 text = bz2.BZ2Decompressor().decompress(compressed)
Dtest_tarfile.py1168 dec = bz2.BZ2Decompressor()
/external/python/cpython3/Lib/test/
Dtest_bz2.py21 from bz2 import BZ2File, BZ2Compressor, BZ2Decompressor
670 self.assertRaises(TypeError, BZ2Decompressor, 42)
673 bz2d = BZ2Decompressor()
679 bz2d = BZ2Decompressor()
691 bz2d = BZ2Decompressor()
698 bz2d = BZ2Decompressor()
711 bz2d = BZ2Decompressor()
722 pickle.dumps(BZ2Decompressor(), proto)
725 bzd = BZ2Decompressor()
758 bzd = BZ2Decompressor()
[all …]
Dtest_tarfile.py1435 decompressor = bz2.BZ2Decompressor if bz2 else None
/external/python/cpython3/Lib/encodings/
Dbz2_codec.py49 self.decompressobj = bz2.BZ2Decompressor()
58 self.decompressobj = bz2.BZ2Decompressor()
/external/python/cpython2/Lib/encodings/
Dbz2_codec.py74 self.decompressobj = bz2.BZ2Decompressor()
83 self.decompressobj = bz2.BZ2Decompressor()
/external/python/cpython3/Lib/
Dbz2.py19 from _bz2 import BZ2Compressor, BZ2Decompressor
103 BZ2Decompressor, trailing_error=OSError)
344 decomp = BZ2Decompressor()
Dzipfile.py704 return bz2.BZ2Decompressor()
Dtarfile.py389 self.cmp = bz2.BZ2Decompressor()
/external/python/cpython3/Doc/library/
Dbz2.rst23 * The :class:`BZ2Compressor` and :class:`BZ2Decompressor` classes for
167 .. class:: BZ2Decompressor()
176 you need to decompress a multi-stream input with :class:`BZ2Decompressor`,
248 For incremental decompression, use a :class:`BZ2Decompressor` instead.
/external/python/cpython2/Doc/library/
Dbz2.rst31 :class:`BZ2Decompressor` classes;
156 :class:`BZ2Compressor` and :class:`BZ2Decompressor`.
181 .. class:: BZ2Decompressor()
214 use an instance of :class:`BZ2Decompressor` instead.
/external/python/cpython3/Misc/NEWS.d/
D3.6.0b2.rst405 LZMADecompressor and BZ2Decompressor classes. Original patch by John Leitch.
D3.5.3rc1.rst766 LZMADecompressor and BZ2Decompressor classes. Original patch by John Leitch.
D3.7.0a1.rst4403 LZMADecompressor and BZ2Decompressor classes. Original patch by John Leitch.
/external/python/cpython2/Lib/
Dtarfile.py441 self.cmp = bz2.BZ2Decompressor()
666 self.bz2obj = bz2.BZ2Decompressor()
/external/python/cpython3/Doc/whatsnew/
D3.5.rst873 The :meth:`BZ2Decompressor.decompress <bz2.BZ2Decompressor.decompress>`
/external/python/cpython3/Misc/
DHISTORY10239 - Issue #13159: FileIO and BZ2Compressor/BZ2Decompressor now use a linear-time