Lines Matching refs:data
154 PyErr_SetString(state->error, "Corrupt input data");
547 compress(Compressor *c, uint8_t *data, size_t len, lzma_action action)
557 c->lzs.next_in = data;
596 data: Py_buffer
599 Provide data to the compressor object.
601 Returns a chunk of compressed data if possible, or b'' otherwise.
603 When you have finished providing data to the compressor, call the
608 _lzma_LZMACompressor_compress_impl(Compressor *self, Py_buffer *data)
618 result = compress(self, data->buf, data->len, LZMA_RUN);
629 Returns the compressed data left in internal buffers.
757 Create a compressor object for compressing data incrementally.
877 "Create a compressor object for compressing data incrementally.\n"
925 /* Decompress data of length d->lzs.avail_in in d->lzs.next_in. The output
988 decompress(Decompressor *d, uint8_t *data, size_t len, Py_ssize_t max_length)
1029 memcpy((void*)(lzs->next_in + lzs->avail_in), data, len);
1034 lzs->next_in = data;
1113 data: Py_buffer
1116 Decompress *data*, returning uncompressed data as bytes.
1119 decompressed data. If this limit is reached and further output can be
1121 call to *decompress()* may provide *data* as b'' to obtain more of the output.
1123 If all of the input data was decompressed and returned (either because this
1127 Attempting to decompress data after the end of stream is reached raises an
1128 EOFError. Any data found after the end of the stream is ignored and saved in
1133 _lzma_LZMADecompressor_decompress_impl(Decompressor *self, Py_buffer *data,
1143 result = decompress(self, data->buf, data->len, max_length);
1187 Create a decompressor object for decompressing data incrementally.
1328 "True if more input is needed before more decompressed data can be produced.");