Home
last modified time | relevance | path

Searched refs:uncompressed_size (Results 1 – 25 of 32) sorted by relevance

12

/external/zlib/google/
Dcompression_utils.cc78 uLongf uncompressed_size = static_cast<uLongf>(GetUncompressedSize(input)); in GzipUncompress() local
79 if (uncompressed_size > uncompressed_output.max_size()) in GzipUncompress()
82 uncompressed_output.resize(uncompressed_size); in GzipUncompress()
84 bit_cast<Bytef*>(uncompressed_output.data()), &uncompressed_size, in GzipUncompress()
100 uLongf uncompressed_size = GetUncompressedSize(input); in GzipUncompress() local
101 if (uncompressed_size > output.size()) in GzipUncompress()
104 bit_cast<Bytef*>(output.data()), &uncompressed_size, in GzipUncompress()
116 uLongf uncompressed_size = GetUncompressedSize(input); in GzipUncompress() local
117 output->resize(uncompressed_size); in GzipUncompress()
119 bit_cast<Bytef*>(output->data()), &uncompressed_size, in GzipUncompress()
/external/angle/third_party/zlib/google/
Dcompression_utils.cc78 uLongf uncompressed_size = static_cast<uLongf>(GetUncompressedSize(input)); in GzipUncompress() local
79 if (uncompressed_size > uncompressed_output.max_size()) in GzipUncompress()
82 uncompressed_output.resize(uncompressed_size); in GzipUncompress()
84 bit_cast<Bytef*>(uncompressed_output.data()), &uncompressed_size, in GzipUncompress()
100 uLongf uncompressed_size = GetUncompressedSize(input); in GzipUncompress() local
101 if (uncompressed_size > output.size()) in GzipUncompress()
104 bit_cast<Bytef*>(output.data()), &uncompressed_size, in GzipUncompress()
116 uLongf uncompressed_size = GetUncompressedSize(input); in GzipUncompress() local
117 output->resize(uncompressed_size); in GzipUncompress()
119 bit_cast<Bytef*>(output->data()), &uncompressed_size, in GzipUncompress()
/external/libtextclassifier/native/utils/zlib/
Dzlib.cc51 const int uncompressed_size, in Decompress() argument
56 out->resize(uncompressed_size); in Decompress()
61 stream_.avail_out = uncompressed_size; in Decompress()
72 compressed_buffer->uncompressed_size(), out); in MaybeDecompress()
82 compressed_buffer->uncompressed_size, out); in MaybeDecompress()
133 out->uncompressed_size = uncompressed_content.size(); in Compress()
Dzlib.h36 const int uncompressed_size, std::string* out);
Dbuffer.fbs20 uncompressed_size:int;
/external/squashfs-tools/squashfs-tools/
Dlzma_xz_wrapper.c103 int uncompressed_size = 0, res; in lzma_uncompress() local
113 uncompressed_size = lzma_header[LZMA_PROPS_SIZE] | in lzma_uncompress()
118 if(uncompressed_size > outsize) { in lzma_uncompress()
144 strm.total_out >= uncompressed_size && strm.avail_in == 0)) in lzma_uncompress()
145 return uncompressed_size; in lzma_uncompress()
/external/tensorflow/tensorflow/core/data/
Dcompression_utils.cc114 size_t uncompressed_size; in UncompressElement() local
116 compressed_data.data(), compressed_data.size(), &uncompressed_size)) { in UncompressElement()
121 if (uncompressed_size != static_cast<size_t>(total_size)) { in UncompressElement()
123 "Uncompressed size mismatch. Snappy expects ", uncompressed_size, in UncompressElement()
/external/zstd/contrib/seekable_format/tests/
Dseekable_tests.c34 const size_t uncompressed_size = 32; in main() local
46 status = ZSTD_seekable_decompress(stream, uncompressed_data, uncompressed_size, offset); in main()
/external/rust/crates/zip/src/
Dwrite.rs85 uncompressed_size: u64, field
236 uncompressed_size: 0, in start_entry()
252 uncompressed_size: raw_values.uncompressed_size, in start_entry()
293 file.uncompressed_size = self.stats.bytes_written; in finish_file()
379 uncompressed_size: file.size(), in raw_copy_file_rename()
642 writer.write_u32::<LittleEndian>(file.uncompressed_size as u32)?; in write_local_file_header()
664 writer.write_u32::<LittleEndian>(file.uncompressed_size as u32)?; in update_local_file_header()
694 writer.write_u32::<LittleEndian>(file.uncompressed_size as u32)?; in write_central_directory_header()
Dread.rs538 let uncompressed_size = reader.read_u32::<LittleEndian>()?; in central_header_to_zip_file() localVariable
574 uncompressed_size: uncompressed_size as u64, in central_header_to_zip_file()
604 if file.uncompressed_size == 0xFFFFFFFF { in parse_extra_field()
605 file.uncompressed_size = reader.read_u64::<LittleEndian>()?; in parse_extra_field()
749 self.data.uncompressed_size in size()
892 let uncompressed_size = reader.read_u32::<LittleEndian>()?; in read_zipfile_from_stream() localVariable
914 uncompressed_size: uncompressed_size as u64, in read_zipfile_from_stream()
Dtypes.rs228 pub uncompressed_size: u64, field
310 uncompressed_size: 0, in sanitize()
/external/rust/crates/libz-sys/src/zlib/contrib/minizip/
Dzip.h320 uLong uncompressed_size,
324 ZPOS64_T uncompressed_size,
Dunzip.h120 ZPOS64_T uncompressed_size; /* uncompressed size 8 bytes */ member
141 uLong uncompressed_size; /* uncompressed size 4 bytes */ member
Dzip.c1509 extern int ZEXPORT zipCloseFileInZipRaw (zipFile file, uLong uncompressed_size, uLong crc32) in zipCloseFileInZipRaw() argument
1511 return zipCloseFileInZipRaw64 (file, uncompressed_size, crc32); in zipCloseFileInZipRaw()
1514 extern int ZEXPORT zipCloseFileInZipRaw64 (zipFile file, ZPOS64_T uncompressed_size, uLong crc32) in zipCloseFileInZipRaw64() argument
1603 uncompressed_size = zi->ci.totalUncompressedData; in zipCloseFileInZipRaw64()
1612 …if(compressed_size >= 0xffffffff || uncompressed_size >= 0xffffffff || zi->ci.pos_local_header >= … in zipCloseFileInZipRaw64()
1633 if(uncompressed_size >= 0xffffffff) in zipCloseFileInZipRaw64()
1636 zip64local_putValue_inmemory(zi->ci.central_header+24, uncompressed_size,4); /*uncompr size*/ in zipCloseFileInZipRaw64()
1639 if(uncompressed_size >= 0xffffffff) in zipCloseFileInZipRaw64()
1668 if(uncompressed_size >= 0xffffffff) in zipCloseFileInZipRaw64()
1670 zip64local_putValue_inmemory(p, uncompressed_size, 8); in zipCloseFileInZipRaw64()
[all …]
Dminiunz.c259 if (file_info.uncompressed_size>0)
260 ratio = (uLong)((file_info.compressed_size*100)/file_info.uncompressed_size);
287 Display64BitsSize(file_info.uncompressed_size,7);
/external/zlib/contrib/minizip/
Dzip.h320 uLong uncompressed_size,
324 ZPOS64_T uncompressed_size,
Dunzip.h120 ZPOS64_T uncompressed_size; /* uncompressed size 8 bytes */ member
141 uLong uncompressed_size; /* uncompressed size 4 bytes */ member
Dzip.c1509 extern int ZEXPORT zipCloseFileInZipRaw (zipFile file, uLong uncompressed_size, uLong crc32) in zipCloseFileInZipRaw() argument
1511 return zipCloseFileInZipRaw64 (file, uncompressed_size, crc32); in zipCloseFileInZipRaw()
1514 extern int ZEXPORT zipCloseFileInZipRaw64 (zipFile file, ZPOS64_T uncompressed_size, uLong crc32) in zipCloseFileInZipRaw64() argument
1603 uncompressed_size = zi->ci.totalUncompressedData; in zipCloseFileInZipRaw64()
1612 …if(compressed_size >= 0xffffffff || uncompressed_size >= 0xffffffff || zi->ci.pos_local_header >= … in zipCloseFileInZipRaw64()
1633 if(uncompressed_size >= 0xffffffff) in zipCloseFileInZipRaw64()
1636 zip64local_putValue_inmemory(zi->ci.central_header+24, uncompressed_size,4); /*uncompr size*/ in zipCloseFileInZipRaw64()
1639 if(uncompressed_size >= 0xffffffff) in zipCloseFileInZipRaw64()
1668 if(uncompressed_size >= 0xffffffff) in zipCloseFileInZipRaw64()
1670 zip64local_putValue_inmemory(p, uncompressed_size, 8); in zipCloseFileInZipRaw64()
[all …]
Dminiunz.c259 if (file_info.uncompressed_size>0)
260 ratio = (uLong)((file_info.compressed_size*100)/file_info.uncompressed_size);
287 Display64BitsSize(file_info.uncompressed_size,7);
/external/libxml2/
Dxzlib.c305 uint64_t uncompressed_size; in is_format_lzma() local
341 uncompressed_size = 0; in is_format_lzma()
343 uncompressed_size |= (uint64_t) (state->in[5 + i]) << (i * 8); in is_format_lzma()
345 if (uncompressed_size != UINT64_MAX in is_format_lzma()
346 && uncompressed_size > (UINT64_C(1) << 38)) in is_format_lzma()
/external/perfetto/src/perfetto_cmd/
Dpacket_writer_unittest.cc188 size_t uncompressed_size = 0; in TEST() local
203 uncompressed_size += packet.size(); in TEST()
213 EXPECT_LT(fseek(*f, 0, SEEK_END), static_cast<int>(uncompressed_size)); in TEST()
/external/mesa3d/src/util/
Ddisk_cache_os.h94 uint32_t uncompressed_size; member
Ddisk_cache_os.c599 uncompressed_data = malloc(cf_data.uncompressed_size); in disk_cache_load_item()
601 cf_data.uncompressed_size)) in disk_cache_load_item()
606 cf_data.uncompressed_size)) in disk_cache_load_item()
615 *size = cf_data.uncompressed_size; in disk_cache_load_item()
/external/freetype/src/sfnt/
Dsfwoff2.c323 FT_Offset uncompressed_size = (FT_Offset)dst_size; in woff2_decompress() local
329 &uncompressed_size, in woff2_decompress()
333 uncompressed_size != dst_size ) in woff2_decompress()
1946 woff2.uncompressed_size = last_table->src_offset + in woff2_open_font()
1948 if ( woff2.uncompressed_size < last_table->src_offset ) in woff2_open_font()
2212 if ( woff2.uncompressed_size < 1 ) in woff2_open_font()
2218 if ( woff2.uncompressed_size > sfnt_size ) in woff2_open_font()
2226 if ( FT_ALLOC( uncompressed_buf, woff2.uncompressed_size ) || in woff2_open_font()
2232 woff2.uncompressed_size, in woff2_open_font()
2242 woff2.uncompressed_size, in woff2_open_font()
/external/freetype/include/freetype/internal/
Dwofftypes.h167 FT_ULong uncompressed_size; /* uncompressed brotli stream size */ member

12