Searched refs:compressed_buffer (Results 1 – 6 of 6) sorted by relevance
/external/libtextclassifier/utils/zlib/ |
D | zlib.cc | 72 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 …]
|
D | zlib.h | 39 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/ |
D | process_fragments.c | 104 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()
|
D | mksquashfs.c | 1457 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/ |
D | zlib-utils.cc | 162 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()
|
D | zlib-utils.h | 38 const CompressedBuffer* compressed_buffer,
|