/external/lz4/examples/ |
simple_buffer.c | 45 char *compressed_data = malloc(max_dst_size); local 46 if (compressed_data == NULL) 47 run_screaming("Failed to allocate memory for *compressed_data.", 1); 48 // That's all the information and preparation LZ4 needs to compress *src into *compressed_data. Invoke LZ4_compress_default now 51 return_value = LZ4_compress_default(src, compressed_data, src_size, max_dst_size); 62 compressed_data = (char *)realloc(compressed_data, compressed_data_size); 63 if (compressed_data == NULL) 64 run_screaming("Failed to re-alloc memory for compressed_data. Sad :(", 1); 67 // Now that we've successfully compressed the information from *src to *compressed_data, let's do the opposite! We'll create [all...] |
/toolchain/binutils/binutils-2.25/gold/ |
compressed_output.cc | 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 buffe [all...] |
/system/update_engine/payload_consumer/ |
bzip_extent_writer_unittest.cc | 95 brillo::Blob compressed_data(std::begin(kCompressedData), 115 brillo::Blob original_compressed_data = compressed_data; 116 for (brillo::Blob::size_type i = 0; i < compressed_data.size(); 118 size_t this_chunk_size = min(kChunkSize, compressed_data.size() - i); 119 EXPECT_TRUE(bzip_writer.Write(&compressed_data[i], this_chunk_size)); 124 test_utils::ExpectVectorsEq(original_compressed_data, compressed_data);
|
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
pvamrwbdecoder.h | 140 int16 compressed_data[],
|
/system/extras/simpleperf/ |
utils.cpp | 204 bool XzDecompress(const std::string& compressed_data, std::string* decompressed_data) { 214 std::string dst(compressed_data.size(), ' '); 219 size_t src_remaining = compressed_data.size() - src_offset; 222 reinterpret_cast<const Byte*>(&compressed_data[src_offset]),
|
utils.h | 150 bool XzDecompress(const std::string& compressed_data, std::string* decompressed_data);
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
d3dx9anim.h | 274 ID3DXBuffer **compressed_data) PURE; 300 STDMETHOD(GetCompressedData)(THIS_ ID3DXBuffer **compressed_data) PURE; 401 D3DXPLAYBACK_TYPE playback_type, ID3DXBuffer *compressed_data, UINT callback_key_count,
|
/art/compiler/ |
image_writer.cc | 227 std::unique_ptr<char[]> compressed_data; local 241 compressed_data.reset(new char[compressed_max_size]); 244 &compressed_data[0], 255 compressed_data.reset(new char[compressed_max_size]); 258 &compressed_data[0], 274 if (compressed_data != nullptr) { 275 image_data_to_write = &compressed_data[0]; 281 reinterpret_cast<char*>(&compressed_data[0]), 291 const bool is_compressed = compressed_data != nullptr; [all...] |
/external/squashfs-tools/squashfs-tools/ |
mksquashfs.c | 6329 compressed_data, inode_dir_inode_number, local [all...] |
/art/runtime/openjdkjvmti/ |
ti_heap.cc | 83 uint8_t* compressed_data = str->GetValueCompressed(); local 85 data[i] = compressed_data[i]; [all...] |
/external/zopfli/src/zopflipng/lodepng/ |
lodepng.cpp | 5073 ucvector compressed_data; local [all...] |