Home
last modified time | relevance | path

Searched refs:BZ2Compressor (Results 1 – 19 of 19) sorted by relevance

/external/bsdiff/
Dbz2_compressor.cc21 BZ2Compressor::BZ2Compressor() : comp_buffer_(1024 * 1024) { in BZ2Compressor() function in bsdiff::BZ2Compressor
32 BZ2Compressor::~BZ2Compressor() { in ~BZ2Compressor()
41 bool BZ2Compressor::Write(const uint8_t* buf, size_t size) { in Write()
67 bool BZ2Compressor::Finish() { in Finish()
97 const std::vector<uint8_t>& BZ2Compressor::GetCompressedData() { in GetCompressedData()
Dbz2_compressor.h23 class BZ2Compressor : public CompressorInterface {
25 BZ2Compressor();
26 ~BZ2Compressor() override;
Dpatch_reader_unittest.cc144 ctrl_stream_.reset(new BZ2Compressor()); in TEST_F()
145 diff_stream_.reset(new BZ2Compressor()); in TEST_F()
146 extra_stream_.reset(new BZ2Compressor()); in TEST_F()
160 ctrl_stream_.reset(new BZ2Compressor()); in TEST_F()
217 ctrl_stream_.reset(new BZ2Compressor()); in TEST_F()
Dendsley_patch_writer.cc52 compressor_.reset(new BZ2Compressor()); in Init()
Dpatch_writer.cc57 compressor_list->emplace_back(new BZ2Compressor()); in InitializeCompressorList()
/external/python/cpython3/Modules/clinic/
D_bz2module.c.h20 _bz2_BZ2Compressor_compress_impl(BZ2Compressor *self, Py_buffer *data);
23 _bz2_BZ2Compressor_compress(BZ2Compressor *self, PyObject *arg) in _bz2_BZ2Compressor_compress()
60 _bz2_BZ2Compressor_flush_impl(BZ2Compressor *self);
63 _bz2_BZ2Compressor_flush(BZ2Compressor *self, PyObject *Py_UNUSED(ignored)) in _bz2_BZ2Compressor_flush()
80 _bz2_BZ2Compressor___init___impl(BZ2Compressor *self, int compresslevel);
108 return_value = _bz2_BZ2Compressor___init___impl((BZ2Compressor *)self, compresslevel); in _bz2_BZ2Compressor___init__()
/external/python/cpython3/Lib/
Dbz2.py18 from _bz2 import BZ2Compressor, BZ2Decompressor
72 self._compressor = BZ2Compressor(compresslevel)
76 self._compressor = BZ2Compressor(compresslevel)
80 self._compressor = BZ2Compressor(compresslevel)
326 comp = BZ2Compressor(compresslevel)
Dzipfile.py688 return bz2.BZ2Compressor(compresslevel)
689 return bz2.BZ2Compressor()
Dtarfile.py385 self.cmp = bz2.BZ2Compressor()
/external/python/cpython3/Modules/
D_bz2module.c36 } BZ2Compressor; typedef
139 compress(BZ2Compressor *c, char *data, size_t len, int action) in compress()
224 _bz2_BZ2Compressor_compress_impl(BZ2Compressor *self, Py_buffer *data) in _bz2_BZ2Compressor_compress_impl()
249 _bz2_BZ2Compressor_flush_impl(BZ2Compressor *self) in _bz2_BZ2Compressor_flush_impl()
296 _bz2_BZ2Compressor___init___impl(BZ2Compressor *self, int compresslevel) in _bz2_BZ2Compressor___init___impl()
329 BZ2Compressor_dealloc(BZ2Compressor *self) in BZ2Compressor_dealloc()
347 sizeof(BZ2Compressor), /* tp_basicsize */
/external/python/cpython2/Lib/encodings/
Dbz2_codec.py58 self.compressobj = bz2.BZ2Compressor()
68 self.compressobj = bz2.BZ2Compressor()
/external/python/cpython3/Lib/encodings/
Dbz2_codec.py33 self.compressobj = bz2.BZ2Compressor()
43 self.compressobj = bz2.BZ2Compressor()
/external/python/cpython2/Lib/test/
Dtest_bz2.py16 from bz2 import BZ2File, BZ2Compressor, BZ2Decompressor
343 bz2c = BZ2Compressor()
351 bz2c = BZ2Compressor()
358 bz2c = BZ2Compressor()
373 bz2c = bz2.BZ2Compressor()
/external/python/cpython2/Doc/library/
Dbz2.rst30 * Sequential (de)compression supported by :class:`BZ2Compressor` and
156 :class:`BZ2Compressor` and :class:`BZ2Decompressor`.
159 .. class:: BZ2Compressor([compresslevel])
207 an instance of :class:`BZ2Compressor` instead. The *compresslevel* parameter,
/external/python/cpython3/Doc/library/
Dbz2.rst23 * The :class:`BZ2Compressor` and :class:`BZ2Decompressor` classes for
147 .. class:: BZ2Compressor(compresslevel=9)
244 For incremental compression, use a :class:`BZ2Compressor` instead.
284 Using :class:`BZ2Compressor` for incremental compression:
292 >>> comp = bz2.BZ2Compressor()
/external/python/cpython3/Lib/test/
Dtest_bz2.py22 from bz2 import BZ2File, BZ2Compressor, BZ2Decompressor
624 bz2c = BZ2Compressor()
631 bz2c = BZ2Compressor()
637 bz2c = BZ2Compressor()
653 bz2c = BZ2Compressor()
670 pickle.dumps(BZ2Compressor(), proto)
/external/python/cpython2/Lib/
Dtarfile.py443 self.cmp = bz2.BZ2Compressor()
670 self.bz2obj = bz2.BZ2Compressor()
/external/python/cpython3/Misc/
DHISTORY5498 bz2.BZ2Compressor.compress(b''). Initial patch by Martin Packman.
10239 - Issue #13159: FileIO and BZ2Compressor/BZ2Decompressor now use a linear-time
20727 - Fixed #853061: allow BZ2Compressor.compress() to receive an empty string
/external/python/cpython2/Misc/
DHISTORY3343 - Fixed #853061: allow BZ2Compressor.compress() to receive an empty string