Home | History | Annotate | Download | only in metrics

Lines Matching refs:compressed_data

113 // Returns the uncompressed size from GZIP-compressed |compressed_data|.
114 uint32 GetUncompressedSize(const std::string& compressed_data) {
117 if (compressed_data.length() < sizeof(size))
119 memcpy(&size, &compressed_data[compressed_data.length() - sizeof(size)],
130 std::vector<Bytef> compressed_data(kGzipZlibHeaderDifferenceBytes +
133 uLongf compressed_size = static_cast<uLongf>(compressed_data.size());
134 if (GzipCompressHelper(&compressed_data.front(),
141 compressed_data.resize(compressed_size);
142 output->assign(compressed_data.begin(), compressed_data.end());