Home | History | Annotate | Download | only in gold

Lines Matching full:compressed_data

36 // sets *COMPRESSED_DATA and *COMPRESSED_SIZE to appropriate values.
37 // It also writes a header before COMPRESSED_DATA: 4 bytes saying
45 unsigned char** compressed_data,
49 *compressed_data = new unsigned char[*compressed_size + header_size];
57 int rc = compress2(reinterpret_cast<Bytef*>(*compressed_data) + header_size,
69 delete[] *compressed_data;
70 *compressed_data = NULL;
75 // Decompress COMPRESSED_DATA of size COMPRESSED_SIZE, into a buffer
82 zlib_decompress(const unsigned char* compressed_data,
96 strm.next_in = const_cast<Bytef*>(compressed_data);
122 get_uncompressed_size(const unsigned char* compressed_data,
131 && strncmp(reinterpret_cast<const char*>(compressed_data),
133 return elfcpp::Swap_unaligned<64, true>::readval(compressed_data + 4);
140 decompress_input_section(const unsigned char* compressed_data,
156 elfcpp::Chdr<32, true> chdr(compressed_data);
162 elfcpp::Chdr<32, false> chdr(compressed_data);
172 elfcpp::Chdr<64, true> chdr(compressed_data);
178 elfcpp::Chdr<64, false> chdr(compressed_data);
186 return zlib_decompress(compressed_data + compression_header_size,
198 && strncmp(reinterpret_cast<const char*>(compressed_data),
202 elfcpp::Swap_unaligned<64, true>::readval(compressed_data + 4);
204 return zlib_decompress(compressed_data + zlib_header_size,