OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:comp_buffer_
(Results
1 - 6
of
6
) sorted by null
/external/bsdiff/
compressor_buffer.cc
26
if (data_size >
comp_buffer_
.size()) {
28
<< " is larger than buffer size: " <<
comp_buffer_
.size();
31
comp_chunks_.emplace_back(
comp_buffer_
.data(),
32
comp_buffer_
.data() + data_size);
compressor_buffer.h
25
comp_buffer_
.resize(buffer_size);
28
size_t buffer_size() { return
comp_buffer_
.size(); }
29
uint8_t* buffer_data() { return
comp_buffer_
.data(); }
35
// Add the data in |
comp_buffer_
| to the end of |comp_chunks_|.
48
std::vector<uint8_t>
comp_buffer_
;
member in class:bsdiff::CompressorBuffer
brotli_compressor.cc
17
BrotliCompressor::BrotliCompressor(int quality) :
comp_buffer_
(kBufferSize) {
52
uint8_t* next_out =
comp_buffer_
.buffer_data();
61
uint64_t output_bytes =
comp_buffer_
.buffer_size() - avail_out;
63
comp_buffer_
.AddDataToChunks(output_bytes);
77
uint8_t* next_out =
comp_buffer_
.buffer_data();
85
uint64_t output_bytes =
comp_buffer_
.buffer_size() - avail_out;
87
comp_buffer_
.AddDataToChunks(output_bytes);
94
return
comp_buffer_
.GetCompressedData();
bz2_compressor.cc
21
BZ2Compressor::BZ2Compressor() :
comp_buffer_
(1024 * 1024) {
51
bz_strm_.next_out = reinterpret_cast<char*>(
comp_buffer_
.buffer_data());
52
bz_strm_.avail_out =
comp_buffer_
.buffer_size();
59
uint64_t output_bytes =
comp_buffer_
.buffer_size() - bz_strm_.avail_out;
61
comp_buffer_
.AddDataToChunks(output_bytes);
75
bz_strm_.next_out = reinterpret_cast<char*>(
comp_buffer_
.buffer_data());
76
bz_strm_.avail_out =
comp_buffer_
.buffer_size();
79
uint64_t output_bytes =
comp_buffer_
.buffer_size() - bz_strm_.avail_out;
81
comp_buffer_
.AddDataToChunks(output_bytes);
98
return
comp_buffer_
.GetCompressedData()
[
all
...]
brotli_compressor.h
38
CompressorBuffer
comp_buffer_
;
member in class:bsdiff::BrotliCompressor
bz2_compressor.h
41
CompressorBuffer
comp_buffer_
;
member in class:bsdiff::BZ2Compressor
Completed in 958 milliseconds