Searched refs:BZ2Compressor (Results 1 – 9 of 9) sorted by relevance
/third_party/python/Modules/clinic/ |
D | _bz2module.c.h | 20 _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()
|
/third_party/python/Lib/ |
D | bz2.py | 17 from _bz2 import BZ2Compressor, BZ2Decompressor 68 self._compressor = BZ2Compressor(compresslevel) 72 self._compressor = BZ2Compressor(compresslevel) 76 self._compressor = BZ2Compressor(compresslevel) 320 comp = BZ2Compressor(compresslevel)
|
D | zipfile.py | 689 return bz2.BZ2Compressor(compresslevel) 690 return bz2.BZ2Compressor()
|
D | tarfile.py | 386 self.cmp = bz2.BZ2Compressor()
|
/third_party/python/Modules/ |
D | _bz2module.c | 102 } BZ2Compressor; typedef 175 compress(BZ2Compressor *c, char *data, size_t len, int action) in compress() 252 _bz2_BZ2Compressor_compress_impl(BZ2Compressor *self, Py_buffer *data) in _bz2_BZ2Compressor_compress_impl() 277 _bz2_BZ2Compressor_flush_impl(BZ2Compressor *self) in _bz2_BZ2Compressor_flush_impl() 315 _bz2_BZ2Compressor___init___impl(BZ2Compressor *self, int compresslevel) in _bz2_BZ2Compressor___init___impl() 377 return_value = _bz2_BZ2Compressor___init___impl((BZ2Compressor *)self, compresslevel); in _bz2_BZ2Compressor___init__() 384 BZ2Compressor_dealloc(BZ2Compressor *self) in BZ2Compressor_dealloc() 396 BZ2Compressor_traverse(BZ2Compressor *self, visitproc visit, void *arg) in BZ2Compressor_traverse() 420 .basicsize = sizeof(BZ2Compressor),
|
/third_party/python/Lib/encodings/ |
D | bz2_codec.py | 33 self.compressobj = bz2.BZ2Compressor() 43 self.compressobj = bz2.BZ2Compressor()
|
/third_party/python/Doc/library/ |
D | bz2.rst | 23 * The :class:`BZ2Compressor` and :class:`BZ2Decompressor` classes for 150 .. class:: BZ2Compressor(compresslevel=9) 247 For incremental compression, use a :class:`BZ2Compressor` instead. 287 Using :class:`BZ2Compressor` for incremental compression: 295 >>> comp = bz2.BZ2Compressor()
|
/third_party/python/Lib/test/ |
D | test_bz2.py | 25 from bz2 import BZ2File, BZ2Compressor, BZ2Decompressor 635 bz2c = BZ2Compressor() 642 bz2c = BZ2Compressor() 648 bz2c = BZ2Compressor() 664 bz2c = BZ2Compressor() 681 pickle.dumps(BZ2Compressor(), proto)
|
/third_party/python/Misc/ |
D | HISTORY | 5498 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
|