Home
last modified time | relevance | path

Searched refs:compressed_buffer (Results 1 – 6 of 6) sorted by relevance

/external/libtextclassifier/utils/zlib/
Dzlib.cc72 const CompressedBuffer* compressed_buffer, std::string* out) { in MaybeDecompress() argument
73 if (!compressed_buffer) { in MaybeDecompress()
76 return Decompress(compressed_buffer->buffer()->Data(), in MaybeDecompress()
77 compressed_buffer->buffer()->size(), in MaybeDecompress()
78 compressed_buffer->uncompressed_size(), out); in MaybeDecompress()
82 const CompressedBufferT* compressed_buffer, std::string* out) { in MaybeDecompress() argument
83 if (!compressed_buffer) { in MaybeDecompress()
86 return Decompress(compressed_buffer->buffer.data(), in MaybeDecompress()
87 compressed_buffer->buffer.size(), in MaybeDecompress()
88 compressed_buffer->uncompressed_size, out); in MaybeDecompress()
[all …]
Dzlib.h39 bool MaybeDecompress(const CompressedBuffer* compressed_buffer,
41 bool MaybeDecompress(const CompressedBufferT* compressed_buffer,
45 const CompressedBuffer* compressed_buffer, std::string* out);
48 const CompressedBuffer* compressed_buffer, std::string* out);
/external/squashfs-tools/squashfs-tools/
Dprocess_fragments.c104 struct file_buffer *buffer, *compressed_buffer; in get_fragment() local
168 compressed_buffer = cache_lookup(fwriter_buffer, index); in get_fragment()
181 if(compressed_buffer) in get_fragment()
182 data = compressed_buffer->data; in get_fragment()
198 } else if(compressed_buffer) in get_fragment()
199 memcpy(buffer->data, compressed_buffer->data, size); in get_fragment()
210 cache_block_put(compressed_buffer); in get_fragment()
Dmksquashfs.c1457 struct file_buffer *buffer, *compressed_buffer; in get_fragment() local
1525 compressed_buffer = cache_lookup(fwriter_buffer, index); in get_fragment()
1538 if(compressed_buffer) in get_fragment()
1539 data = compressed_buffer->data; in get_fragment()
1554 } else if(compressed_buffer) in get_fragment()
1555 memcpy(buffer->data, compressed_buffer->data, size); in get_fragment()
1566 cache_block_put(compressed_buffer); in get_fragment()
/external/libtextclassifier/actions/
Dzlib-utils.cc162 const CompressedBuffer* compressed_buffer, in GetUncompressedString() argument
164 if (uncompressed_buffer == nullptr && compressed_buffer == nullptr) { in GetUncompressedString()
170 uncompressed_buffer, compressed_buffer, out); in GetUncompressedString()
Dzlib-utils.h38 const CompressedBuffer* compressed_buffer,