Home | History | Annotate | Download | only in gold

Lines Matching full:compressed_data

42 // sets *COMPRESSED_DATA and *COMPRESSED_SIZE to appropriate values.
43 // It also writes a header before COMPRESSED_DATA: 4 bytes saying
50 unsigned char** compressed_data,
55 *compressed_data = new unsigned char[*compressed_size + header_size];
63 int rc = compress2(reinterpret_cast<Bytef*>(*compressed_data) + header_size,
70 memcpy(*compressed_data, "ZLIB", 4);
71 elfcpp::Swap_unaligned<64, true>::writeval(*compressed_data + 4,
78 delete[] *compressed_data;
79 *compressed_data = NULL;
84 // Decompress COMPRESSED_DATA of size COMPRESSED_SIZE, into a buffer
91 zlib_decompress(const unsigned char* compressed_data,
105 strm.next_in = const_cast<Bytef*>(compressed_data);
149 get_uncompressed_size(const unsigned char* compressed_data,
158 && strncmp(reinterpret_cast<const char*>(compressed_data),
160 return elfcpp::Swap_unaligned<64, true>::readval(compressed_data + 4);
167 decompress_input_section(const unsigned char* compressed_data,
178 && strncmp(reinterpret_cast<const char*>(compressed_data),
182 elfcpp::Swap_unaligned<64, true>::readval(compressed_data + 4);
184 return zlib_decompress(compressed_data + zlib_header_size,