Home
last modified time | relevance | path

Searched refs:compressed_data (Results 1 – 13 of 13) sorted by relevance

/external/chromium_org/components/metrics/
Dcompression_utils_unittest.cc37 std::string compressed_data; in TEST() local
38 EXPECT_TRUE(GzipCompress(data, &compressed_data)); in TEST()
42 EXPECT_EQ(golden_compressed_data, compressed_data); in TEST()
46 std::string compressed_data(reinterpret_cast<const char*>(kCompressedData), in TEST()
50 EXPECT_TRUE(GzipUncompress(compressed_data, &uncompressed_data)); in TEST()
67 std::string compressed_data; in TEST() local
68 EXPECT_TRUE(GzipCompress(data, &compressed_data)); in TEST()
71 EXPECT_TRUE(GzipUncompress(compressed_data, &uncompressed_data)); in TEST()
Dcompression_utils.cc114 uint32 GetUncompressedSize(const std::string& compressed_data) { in GetUncompressedSize() argument
117 if (compressed_data.length() < sizeof(size)) in GetUncompressedSize()
119 memcpy(&size, &compressed_data[compressed_data.length() - sizeof(size)], in GetUncompressedSize()
130 std::vector<Bytef> compressed_data(kGzipZlibHeaderDifferenceBytes + in GzipCompress() local
133 uLongf compressed_size = static_cast<uLongf>(compressed_data.size()); in GzipCompress()
134 if (GzipCompressHelper(&compressed_data.front(), in GzipCompress()
141 compressed_data.resize(compressed_size); in GzipCompress()
142 output->assign(compressed_data.begin(), compressed_data.end()); in GzipCompress()
/external/chromium_org/chrome/browser/android/thumbnail/
Dthumbnail_store.cc355 skia::RefPtr<SkPixelRef> compressed_data, in WriteThumbnailIfNecessary() argument
369 compressed_data, in WriteThumbnailIfNecessary()
495 skia::RefPtr<SkPixelRef> compressed_data) { in WriteToFile() argument
509 compressed_data->lockPixels(); in WriteToFile()
513 compressed_data->info().width(), in WriteToFile()
514 compressed_data->info().height()); in WriteToFile()
522 compressed_data->info().width(), in WriteToFile()
523 compressed_data->info().height()); in WriteToFile()
525 reinterpret_cast<char*>(compressed_data->pixels()), in WriteToFile()
530 compressed_data->unlockPixels(); in WriteToFile()
[all …]
Dthumbnail_store.h98 skia::RefPtr<SkPixelRef> compressed_data,
110 skia::RefPtr<SkPixelRef> compressed_data,
123 skia::RefPtr<SkPixelRef> compressed_data,
128 skia::RefPtr<SkPixelRef> compressed_data,
138 skia::RefPtr<SkPixelRef> compressed_data,
/external/chromium_org/chrome/test/chromedriver/
Dutil.cc255 if (!stream.ReadString(&zip->compressed_data, compressed_size)) { in FromBytes()
272 if (compressed_size != zip->compressed_data.length()) { in FromBytes()
282 if (!stream.ReadString(&zip->compressed_data, compressed_size)) { in FromBytes()
305 stream.WriteUInt32(compressed_data.length()); in ToZip()
311 stream.WriteString(compressed_data); in ToZip()
323 stream.WriteUInt32(compressed_data.length()); in ToZip()
362 std::string compressed_data; member
/external/chromium_org/v8/src/
Dmksnapshot.cc140 i::List<i::byte> compressed_data; in WriteData() local
144 compressed_data.AddAll(*compressor_->output()); in WriteData()
145 data_to_be_written = &compressed_data; in WriteData()
273 const char* compressed_data, in DecompressData() argument
281 const_cast<char*>(compressed_data), in DecompressData()
Dapi.cc223 StartupData* compressed_data = in Decompress() local
225 V8::GetCompressedStartupData(compressed_data); in Decompress()
228 i::NewArray<char>(compressed_data[i].raw_size); in Decompress()
229 if (compressed_data[i].compressed_size != 0) { in Decompress()
231 &compressed_data[i].raw_size, in Decompress()
232 compressed_data[i].data, in Decompress()
233 compressed_data[i].compressed_size); in Decompress()
236 DCHECK_EQ(0, compressed_data[i].raw_size); in Decompress()
238 compressed_data[i].data = decompressed; in Decompress()
240 V8::SetDecompressedStartupData(compressed_data); in Decompress()
[all …]
Dd8.cc849 const char* compressed_data, in DecompressData() argument
857 const_cast<char*>(compressed_data), in DecompressData()
/external/chromium_org/components/feedback/
Dfeedback_util.h38 const std::string& data, std::string* compressed_data);
Dfeedback_common.h24 std::string* compressed_data);
/external/qemu/hw/core/
Dloader.c514 uint8_t *compressed_data; in load_uimage() local
518 compressed_data = data; in load_uimage()
522 bytes = gunzip(data, max_bytes, compressed_data, hdr->ih_size); in load_uimage()
523 g_free(compressed_data); in load_uimage()
/external/zopfli/src/zopflipng/lodepng/
Dlodepng.cpp5073 ucvector compressed_data; in addChunk_iTXt() local
5074 ucvector_init(&compressed_data); in addChunk_iTXt()
5075 error = zlib_compress(&compressed_data.data, &compressed_data.size, in addChunk_iTXt()
5079 for(i = 0; i < compressed_data.size; i++) ucvector_push_back(&data, compressed_data.data[i]); in addChunk_iTXt()
5081 ucvector_cleanup(&compressed_data); in addChunk_iTXt()
/external/chromium_org/v8/include/
Dv8.h4884 const char* compressed_data,
4987 static void GetCompressedStartupData(StartupData* compressed_data);