/third_party/lz4/examples/ |
D | simple_buffer.c | 47 char* compressed_data = malloc((size_t)max_dst_size); in main() local 48 if (compressed_data == NULL) in main() 53 …const int compressed_data_size = LZ4_compress_default(src, compressed_data, src_size, max_dst_size… in main() 62 compressed_data = (char *)realloc(compressed_data, (size_t)compressed_data_size); in main() 63 if (compressed_data == NULL) in main() 82 …const int decompressed_size = LZ4_decompress_safe(compressed_data, regen_buffer, compressed_data_s… in main() 83 free(compressed_data); /* no longer useful */ in main()
|
/third_party/node/deps/zlib/google/ |
D | compression_utils_unittest.cc | 38 std::string compressed_data; in TEST() local 39 EXPECT_TRUE(GzipCompress(data, &compressed_data)); in TEST() 43 EXPECT_EQ(golden_compressed_data, compressed_data); in TEST() 47 std::string compressed_data(reinterpret_cast<const char*>(kCompressedData), in TEST() 51 EXPECT_TRUE(GzipUncompress(compressed_data, &uncompressed_data)); in TEST() 59 base::StringPiece compressed_data( in TEST() 64 EXPECT_TRUE(GzipUncompress(compressed_data, &uncompressed_data)); in TEST() 81 std::string compressed_data; in TEST() local 82 EXPECT_TRUE(GzipCompress(data, &compressed_data)); in TEST() 85 EXPECT_TRUE(GzipUncompress(compressed_data, &uncompressed_data)); in TEST()
|
D | compression_utils.cc | 47 Bytef* compressed_data; in GzipCompress() local 49 reinterpret_cast<void**>(&compressed_data))) { in GzipCompress() 53 if (zlib_internal::GzipCompressHelper(compressed_data, &compressed_data_size, in GzipCompress() 56 free(compressed_data); in GzipCompress() 61 reinterpret_cast<Bytef*>(realloc(compressed_data, compressed_data_size)); in GzipCompress() 63 free(compressed_data); in GzipCompress() 111 uint32_t GetUncompressedSize(base::StringPiece compressed_data) { in GetUncompressedSize() argument 113 bit_cast<Bytef*>(compressed_data.data()), compressed_data.length()); in GetUncompressedSize()
|
D | compression_utils_portable.cc | 37 uint32_t GetGzipUncompressedSize(const Bytef* compressed_data, size_t length) { in GetGzipUncompressedSize() argument 42 memcpy(&size, &compressed_data[length - sizeof(size)], sizeof(size)); in GetGzipUncompressedSize()
|
D | compression_utils.h | 52 uint32_t GetUncompressedSize(base::StringPiece compressed_data);
|
D | compression_utils_portable.h | 28 uint32_t GetGzipUncompressedSize(const Bytef* compressed_data, size_t length);
|
/third_party/flutter/skia/third_party/externals/zlib/google/ |
D | compression_utils_unittest.cc | 38 std::string compressed_data; in TEST() local 39 EXPECT_TRUE(GzipCompress(data, &compressed_data)); in TEST() 43 EXPECT_EQ(golden_compressed_data, compressed_data); in TEST() 47 std::string compressed_data(reinterpret_cast<const char*>(kCompressedData), in TEST() 51 EXPECT_TRUE(GzipUncompress(compressed_data, &uncompressed_data)); in TEST() 68 std::string compressed_data; in TEST() local 69 EXPECT_TRUE(GzipCompress(data, &compressed_data)); in TEST() 72 EXPECT_TRUE(GzipUncompress(compressed_data, &uncompressed_data)); in TEST()
|
D | compression_utils.cc | 134 Bytef* compressed_data; in GzipCompress() local 136 reinterpret_cast<void**>(&compressed_data))) { in GzipCompress() 140 if (GzipCompressHelper(compressed_data, &compressed_data_size, in GzipCompress() 143 free(compressed_data); in GzipCompress() 148 reinterpret_cast<Bytef*>(realloc(compressed_data, compressed_data_size)); in GzipCompress() 150 free(compressed_data); in GzipCompress() 184 uint32_t GetUncompressedSize(base::StringPiece compressed_data) { in GetUncompressedSize() argument 187 if (compressed_data.length() < sizeof(size)) in GetUncompressedSize() 190 &compressed_data.data()[compressed_data.length() - sizeof(size)], in GetUncompressedSize()
|
D | compression_utils.h | 29 uint32_t GetUncompressedSize(base::StringPiece compressed_data);
|
/third_party/skia/third_party/externals/zlib/google/ |
D | compression_utils.cc | 50 Bytef* compressed_data; in GzipCompress() local 52 reinterpret_cast<void**>(&compressed_data))) { in GzipCompress() 56 if (zlib_internal::GzipCompressHelper(compressed_data, &compressed_data_size, in GzipCompress() 59 free(compressed_data); in GzipCompress() 64 reinterpret_cast<Bytef*>(realloc(compressed_data, compressed_data_size)); in GzipCompress() 66 free(compressed_data); in GzipCompress() 124 uint32_t GetUncompressedSize(base::span<const char> compressed_data) { in GetUncompressedSize() argument 125 return GetUncompressedSize(base::as_bytes(compressed_data)); in GetUncompressedSize() 128 uint32_t GetUncompressedSize(base::span<const uint8_t> compressed_data) { in GetUncompressedSize() argument 130 bit_cast<Bytef*>(compressed_data.data()), compressed_data.size()); in GetUncompressedSize()
|
D | compression_utils_unittest.cc | 37 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() 76 std::string compressed_data; in TEST() local 77 EXPECT_TRUE(GzipCompress(data, &compressed_data)); in TEST() 80 EXPECT_TRUE(GzipUncompress(compressed_data, &uncompressed_data)); in TEST()
|
D | compression_utils.h | 63 uint32_t GetUncompressedSize(base::span<const char> compressed_data); 66 uint32_t GetUncompressedSize(base::span<const uint8_t> compressed_data);
|
D | compression_utils_portable.cc | 37 uint32_t GetGzipUncompressedSize(const Bytef* compressed_data, size_t length) { in GetGzipUncompressedSize() argument 42 memcpy(&size, &compressed_data[length - sizeof(size)], sizeof(size)); in GetGzipUncompressedSize()
|
D | compression_utils_portable.h | 32 uint32_t GetGzipUncompressedSize(const Bytef* compressed_data, size_t length);
|
/third_party/mesa3d/src/intel/genxml/ |
D | gen_zipped_file.py | 43 compressed_data = b'' 53 compressed_data += compress.compress(xml) 58 compressed_data += compress.flush() 63 for i, c in enumerate(bytearray(compressed_data), start=1):
|
/third_party/ffmpeg/libavcodec/ |
D | exrenc.c | 60 uint8_t *compressed_data; member 142 av_freep(&scanline->compressed_data); in encode_close() 231 …av_fast_padded_malloc(&scanline->compressed_data, &scanline->compressed_size, max_compressed_size); in encode_scanline_rle() 232 if (!scanline->compressed_data) in encode_scanline_rle() 258 scanline->actual_size = rle_compress(scanline->compressed_data, in encode_scanline_rle() 263 FFSWAP(uint8_t *, scanline->uncompressed_data, scanline->compressed_data); in encode_scanline_rle() 291 …av_fast_padded_malloc(&scanline->compressed_data, &scanline->compressed_size, max_compressed_size); in encode_scanline_zip() 292 if (!scanline->compressed_data) in encode_scanline_zip() 329 compress(scanline->compressed_data, &actual_size, in encode_scanline_zip() 334 FFSWAP(uint8_t *, scanline->uncompressed_data, scanline->compressed_data); in encode_scanline_zip() [all …]
|
D | qdm2.c | 168 const uint8_t *compressed_data; member 1136 init_get_bits(&gb, q->compressed_data, q->compressed_size * 8); in qdm2_decode_super_block() 1154 csum = qdm2_packet_checksum(q->compressed_data, q->checksum_size, csum); in qdm2_decode_super_block() 1787 q->compressed_data = in; in qdm2_decode()
|
/third_party/mesa3d/src/util/ |
D | disk_cache_os.c | 602 void *compressed_data = malloc(max_buf); in create_cache_item_header_and_blob() local 603 if (compressed_data == NULL) in create_cache_item_header_and_blob() 608 compressed_data, max_buf); in create_cache_item_header_and_blob() 642 cf_data.crc32 = util_hash_crc32(compressed_data, compressed_size); in create_cache_item_header_and_blob() 649 if (!blob_write_bytes(cache_blob, compressed_data, compressed_size)) in create_cache_item_header_and_blob() 652 free(compressed_data); in create_cache_item_header_and_blob() 656 free(compressed_data); in create_cache_item_header_and_blob()
|
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/mpegts/ |
D | gst-atsc-section.c | 636 g_convert ((gchar *) seg->compressed_data, in _gst_mpegts_atsc_string_segment_decode_string() 647 g_strndup ((gchar *) seg->compressed_data, seg->compressed_data_size); in _gst_mpegts_atsc_string_segment_decode_string() 686 if (seg->compressed_data) in gst_mpegts_atsc_string_segment_set_string() 687 g_free (seg->compressed_data); in gst_mpegts_atsc_string_segment_set_string() 706 seg->compressed_data = (guint8 *) g_strndup (converted, written); in gst_mpegts_atsc_string_segment_set_string() 710 seg->compressed_data = (guint8 *) g_strndup (string, len); in gst_mpegts_atsc_string_segment_set_string() 815 seg->compressed_data = data; in _parse_atsc_mult_string() 873 memcpy (*data, seg->compressed_data, seg->compressed_data_size); in _packetize_atsc_mult_string()
|
D | gst-atsc-section.h | 291 guint8 *compressed_data; member
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_cb_texture.c | 489 if (stImage->compressed_data && in st_FreeTextureImageBuffer() 490 pipe_reference(&stImage->compressed_data->reference, NULL)) { in st_FreeTextureImageBuffer() 491 free(stImage->compressed_data->ptr); in st_FreeTextureImageBuffer() 492 free(stImage->compressed_data); in st_FreeTextureImageBuffer() 493 stImage->compressed_data = NULL; in st_FreeTextureImageBuffer() 540 if (stImage->compressed_data && in compressed_tex_fallback_allocate() 541 pipe_reference(&stImage->compressed_data->reference, NULL)) { in compressed_tex_fallback_allocate() 542 free(stImage->compressed_data->ptr); in compressed_tex_fallback_allocate() 543 free(stImage->compressed_data); in compressed_tex_fallback_allocate() 551 stImage->compressed_data = ST_CALLOC_STRUCT(st_compressed_data); in compressed_tex_fallback_allocate() [all …]
|
D | st_texture.h | 128 struct st_compressed_data* compressed_data; member
|
/third_party/mesa3d/docs/relnotes/ |
D | 20.1.4.rst | 95 - st/mesa: set compressed_data to NULL when freed
|
D | 20.1.2.rst | 116 - st/mesa: make texture views inherit compressed_data storage
|
/third_party/node/ |
D | configure.py | 1660 compressed_data = '%s.bz2' % (icu_data_path) 1661 if not os.path.isfile(icu_data_path) and os.path.isfile(compressed_data): 1668 inf = bz2.BZ2File(compressed_data, 'rb')
|