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()
56 _bz2_BZ2Compressor_flush_impl(BZ2Compressor *self);
59 _bz2_BZ2Compressor_flush(BZ2Compressor *self, PyObject *Py_UNUSED(ignored)) in _bz2_BZ2Compressor_flush()
76 _bz2_BZ2Compressor___init___impl(BZ2Compressor *self, int compresslevel);
92 return_value = _bz2_BZ2Compressor___init___impl((BZ2Compressor *)self, compresslevel); in _bz2_BZ2Compressor___init__()
/external/python/cpython3/Lib/
Dbz2.py19 from _bz2 import BZ2Compressor, BZ2Decompressor
79 self._compressor = BZ2Compressor(compresslevel)
83 self._compressor = BZ2Compressor(compresslevel)
87 self._compressor = BZ2Compressor(compresslevel)
333 comp = BZ2Compressor(compresslevel)
Dzipfile.py689 return bz2.BZ2Compressor(compresslevel)
690 return bz2.BZ2Compressor()
Dtarfile.py392 self.cmp = bz2.BZ2Compressor()
/external/python/cpython3/Modules/
D_bz2module.c38 } BZ2Compressor; typedef
141 compress(BZ2Compressor *c, char *data, size_t len, int action) in compress()
226 _bz2_BZ2Compressor_compress_impl(BZ2Compressor *self, Py_buffer *data) in _bz2_BZ2Compressor_compress_impl()
251 _bz2_BZ2Compressor_flush_impl(BZ2Compressor *self) in _bz2_BZ2Compressor_flush_impl()
268 BZ2Compressor_getstate(BZ2Compressor *self, PyObject *noargs) in BZ2Compressor_getstate()
306 _bz2_BZ2Compressor___init___impl(BZ2Compressor *self, int compresslevel) in _bz2_BZ2Compressor___init___impl()
339 BZ2Compressor_dealloc(BZ2Compressor *self) in BZ2Compressor_dealloc()
358 sizeof(BZ2Compressor), /* tp_basicsize */
/external/python/cpython3/Lib/encodings/
Dbz2_codec.py33 self.compressobj = bz2.BZ2Compressor()
43 self.compressobj = bz2.BZ2Compressor()
/external/python/cpython2/Lib/encodings/
Dbz2_codec.py58 self.compressobj = bz2.BZ2Compressor()
68 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
141 .. class:: BZ2Compressor(compresslevel=9)
238 For incremental compression, use a :class:`BZ2Compressor` instead.
/external/python/cpython3/Lib/test/
Dtest_bz2.py21 from bz2 import BZ2File, BZ2Compressor, BZ2Decompressor
620 bz2c = BZ2Compressor()
627 bz2c = BZ2Compressor()
633 bz2c = BZ2Compressor()
648 bz2c = BZ2Compressor()
665 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