Home
last modified time | relevance | path

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

/third_party/node/deps/zlib/google/
Dcompression_utils_unittest.cc38 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()
Dcompression_utils.cc47 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()
Dcompression_utils_portable.cc37 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()
Dcompression_utils.h52 uint32_t GetUncompressedSize(base::StringPiece compressed_data);
Dcompression_utils_portable.h28 uint32_t GetGzipUncompressedSize(const Bytef* compressed_data, size_t length);
/third_party/flutter/skia/third_party/externals/zlib/google/
Dcompression_utils_unittest.cc38 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()
Dcompression_utils.cc134 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()
Dcompression_utils.h29 uint32_t GetUncompressedSize(base::StringPiece compressed_data);
/third_party/skia/third_party/externals/zlib/google/
Dcompression_utils.cc50 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()
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()
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()
Dcompression_utils.h63 uint32_t GetUncompressedSize(base::span<const char> compressed_data);
66 uint32_t GetUncompressedSize(base::span<const uint8_t> compressed_data);
Dcompression_utils_portable.cc37 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()
Dcompression_utils_portable.h32 uint32_t GetGzipUncompressedSize(const Bytef* compressed_data, size_t length);
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/mpegts/
Dgst-atsc-section.h233 guint8 *compressed_data; member
Dgst-atsc-section.c445 g_convert ((gchar *) seg->compressed_data, in _gst_mpegts_atsc_string_segment_decode_string()
456 g_strndup ((gchar *) seg->compressed_data, seg->compressed_data_size); in _gst_mpegts_atsc_string_segment_decode_string()
564 seg->compressed_data = data; in _parse_atsc_mult_string()
/third_party/mingw-w64/mingw-w64-headers/direct-x/include/
Dd3dx9anim.h274 ID3DXBuffer **compressed_data) PURE; in DECLARE_INTERFACE_()
300 STDMETHOD(GetCompressedData)(THIS_ ID3DXBuffer **compressed_data) PURE; in DECLARE_INTERFACE_()
401 D3DXPLAYBACK_TYPE playback_type, ID3DXBuffer *compressed_data, UINT callback_key_count,
/third_party/ffmpeg/libavcodec/
Dqdm2.c166 const uint8_t *compressed_data; member
1134 init_get_bits(&gb, q->compressed_data, q->compressed_size * 8); in qdm2_decode_super_block()
1152 csum = qdm2_packet_checksum(q->compressed_data, q->checksum_size, csum); in qdm2_decode_super_block()
1792 q->compressed_data = in; in qdm2_decode()
/third_party/node/
Dconfigure.py1652 compressed_data = '%s.bz2' % (icu_data_path)
1653 if not os.path.isfile(icu_data_path) and os.path.isfile(compressed_data):
1660 inf = bz2.BZ2File(compressed_data, 'rb')
/third_party/flutter/skia/third_party/externals/imgui/misc/fonts/
DREADME.txt204 …ImFont* font = io.Fonts->AddFontFromMemoryCompressedTTF(compressed_data, compressed_data_size, siz…
/third_party/skia/third_party/externals/imgui/docs/
DFONTS.md301 ImFont* font = io.Fonts->AddFontFromMemoryCompressedTTF(compressed_data, compressed_data_size, size…
/third_party/minimp3/player/
Dnuklear.h12219 void *compressed_data, nk_size compressed_size, float height,
12232 NK_ASSERT(compressed_data);
12234 if (!atlas || !compressed_data || !atlas->temporary.alloc || !atlas->temporary.free ||
12238 decompressed_size = nk_decompress_length((unsigned char*)compressed_data);
12242 nk_decompress((unsigned char*)decompressed_data, (unsigned char*)compressed_data,
12258 void *compressed_data;
12273 compressed_data = atlas->temporary.alloc(atlas->temporary.userdata,0, (nk_size)compressed_size);
12274 NK_ASSERT(compressed_data);
12275 if (!compressed_data) return 0;
12276 nk_decode_85((unsigned char*)compressed_data, (const unsigned char*)data_base85);
[all …]