Home
last modified time | relevance | path

Searched refs:compressed_size (Results 1 – 22 of 22) sorted by relevance

/external/u-boot/test/
Dcompression.c303 ulong compressed_size; member
321 buf->compressed_buf, buf->compressed_size, in run_test_internal()
322 &buf->compressed_size) == 0); in run_test_internal()
323 printf("\tcompressed_size:%lu\n", buf->compressed_size); in run_test_internal()
324 errcheck(buf->compressed_size > 0); in run_test_internal()
325 errcheck(buf->compressed_size < buf->orig_size); in run_test_internal()
326 errcheck(((char *)buf->compressed_buf)[buf->compressed_size - 1] != in run_test_internal()
328 errcheck(((char *)buf->compressed_buf)[buf->compressed_size] == 'A'); in run_test_internal()
331 errcheck(uncompress(uts, buf->compressed_buf, buf->compressed_size, in run_test_internal()
341 errcheck(uncompress(uts, buf->compressed_buf, buf->compressed_size, in run_test_internal()
[all …]
/external/puffin/src/
Dutils.cc77 uint64_t* compressed_size) { in LocateDeflatesInDeflateStream() argument
87 if (compressed_size) { in LocateDeflatesInDeflateStream()
88 *compressed_size = bit_reader.Offset(); in LocateDeflatesInDeflateStream()
227 uint64_t compressed_size = 0; in LocateDeflatesInGzip() local
230 &compressed_size)); in LocateDeflatesInGzip()
231 offset += compressed_size; in LocateDeflatesInGzip()
274 auto compressed_size = get_unaligned<uint32_t>(data.data() + pos + 18); in LocateDeflatesInZipArchive() local
280 if (static_cast<uint64_t>(header_size) + compressed_size > data.size() || in LocateDeflatesInZipArchive()
281 pos > data.size() - header_size - compressed_size) { in LocateDeflatesInZipArchive()
299 if (compressed_size > 0 && compressed_size != calculated_compressed_size) { in LocateDeflatesInZipArchive()
[all …]
/external/vboot_reference/utility/
Dbmpblk_util.c106 isize = img->compressed_size; in do_efi_decompress()
155 isize = img->compressed_size; in do_lzma_decompress()
287 if (img->compressed_size) { in dump_bmpblock()
293 img->compressed_size, img->original_size, in dump_bmpblock()
299 img->compressed_size, img->original_size, in dump_bmpblock()
305 img->compressed_size, img->original_size, in dump_bmpblock()
375 offset += img->compressed_size; in dump_bmpblock()
399 iptr->compressed_size, iptr->original_size); in dump_bmpblock()
405 iptr->compressed_size, iptr->original_size); in dump_bmpblock()
412 iptr->compressed_size, iptr->original_size); in dump_bmpblock()
Dbmpblk_utility.cc410 it->second.data.compressed_size = content.size(); in load_all_image_files()
424 it->second.data.compressed_size = tmpsize; in load_all_image_files()
455 it->second.data.compressed_size = tmpsize - stream.avail_out; in load_all_image_files()
530 it->second.data.compressed_size; in pack_bmpblock()
Dbmpblk_font.c199 entry.info.compressed_size = filesize; in main()
/external/vboot_reference/firmware/lib/
Dregion-kernel.c135 data_size = image_info->compressed_size; in VbGbbReadImage()
139 data = VbExMalloc(image_info->compressed_size); in VbGbbReadImage()
141 image_info->compressed_size, data); in VbGbbReadImage()
151 image_info->compressed_size, in VbGbbReadImage()
Dvboot_display.c84 ptr += sizeof(FontArrayEntryHeader)+entry->info.compressed_size; in VbFindFontGlyph()
/external/bsdiff/
Dpatch_reader_unittest.cc114 size_t compressed_size) { in InvalidHeaderTestHelper() argument
122 patch_data.resize(patch_data.size() + compressed_size); in InvalidHeaderTestHelper()
127 << " new_size=" << new_size << " compressed_size=" << compressed_size; in InvalidHeaderTestHelper()
/external/vboot_reference/tests/
Dvboot_region_tests.c88 image_info->compressed_size = ORIGINAL_SIZE; in ResetMocks()
100 image_info->compressed_size = COMPRESSED_SIZE; in ResetMocks()
/external/zlib/src/contrib/minizip/
Dunzip.h119 ZPOS64_T compressed_size; /* compressed size 8 bytes */ member
140 uLong compressed_size; /* compressed size 4 bytes */ member
Dzip.c1517 ZPOS64_T compressed_size; in zipCloseFileInZipRaw64() local
1605 compressed_size = zi->ci.totalCompressedData; in zipCloseFileInZipRaw64()
1608 compressed_size += zi->ci.crypt_header_size; in zipCloseFileInZipRaw64()
1612 …if(compressed_size >= 0xffffffff || uncompressed_size >= 0xffffffff || zi->ci.pos_local_header >= … in zipCloseFileInZipRaw64()
1624 if(compressed_size >= 0xffffffff) in zipCloseFileInZipRaw64()
1627 zip64local_putValue_inmemory(zi->ci.central_header+20, compressed_size,4); /*compr size*/ in zipCloseFileInZipRaw64()
1643 if(compressed_size >= 0xffffffff) in zipCloseFileInZipRaw64()
1674 if(compressed_size >= 0xffffffff) in zipCloseFileInZipRaw64()
1676 zip64local_putValue_inmemory(p, compressed_size, 8); in zipCloseFileInZipRaw64()
1714 if(uncompressed_size >= 0xffffffff || compressed_size >= 0xffffffff ) in zipCloseFileInZipRaw64()
[all …]
Dminiunz.c260 ratio = (uLong)((file_info.compressed_size*100)/file_info.uncompressed_size);
289 Display64BitsSize(file_info.compressed_size,7);
Dunzip.c938 file_info.compressed_size = uL; in unz64local_GetCurrentFileInfoInternal()
1049 … if(file_info.compressed_size == MAXU32) in unz64local_GetCurrentFileInfoInternal()
1051 … if (unz64local_getLong64(&s->z_filefunc, s->filestream,&file_info.compressed_size) != UNZ_OK) in unz64local_GetCurrentFileInfoInternal()
1168 pfile_info->compressed_size = (uLong)file_info64.compressed_size; in unzGetCurrentFileInfo()
1442 …else if (uData != 0xFFFFFFFF && (err==UNZ_OK) && (uData!=s->cur_file_info.compressed_size) && ((uF… in unz64local_CheckCurrentFileCoherencyHeader()
1601 s->cur_file_info.compressed_size ; in unzOpenCurrentFile3()
/external/vboot_reference/firmware/include/
Dbmpblk_header.h112 uint32_t compressed_size; member
/external/puffin/src/include/puffin/
Dutils.h40 uint64_t* compressed_size);
/external/webp/src/dec/
Dwebpi_dec.h64 size_t compressed_size; // VP8/VP8L compressed data size member
Dwebp_dec.c354 &hdrs.compressed_size, &hdrs.is_lossless); in ParseHeadersInternal()
358 if (hdrs.compressed_size > MAX_CHUNK_PAYLOAD) { in ParseHeadersInternal()
372 if (!VP8GetInfo(data, data_size, (uint32_t)hdrs.compressed_size, in ParseHeadersInternal()
Didec_dec.c320 idec->chunk_size_ = headers.compressed_size; in DecodeWebPHeaders()
/external/zopfli/src/zopfli/
Ddeflate.c540 size_t compressed_size; in AddLZ77Block() local
578 compressed_size = *outsize - detect_block_size; in AddLZ77Block()
581 (int)compressed_size, (int)(compressed_size / 1024), in AddLZ77Block()
/external/pdfium/core/fxge/win32/
Dcfx_psrenderer.cpp486 uint32_t compressed_size; in DrawDIBits() local
488 &compressed_size, &filter); in DrawDIBits()
493 output_size = compressed_size; in DrawDIBits()
/external/mesa3d/src/util/
Ddisk_cache.c735 size_t compressed_size = 0; in deflate_and_write_to_disk() local
753 compressed_size += have; in deflate_and_write_to_disk()
772 return compressed_size; in deflate_and_write_to_disk()
/external/squashfs-tools/squashfs-tools/
Dmksquashfs.c1758 int compressed_size, i, list_size = meta_blocks * sizeof(long long); in generic_write_table() local
1779 compressed_size = SQUASHFS_COMPRESSED_SIZE(c_byte) + in generic_write_table()
1782 compressed_size); in generic_write_table()
1783 write_destination(fd, bytes, compressed_size, cbuffer); in generic_write_table()
1784 bytes += compressed_size; in generic_write_table()
2561 int c_byte, compressed_size; in frag_deflator() local
2568 compressed_size = SQUASHFS_COMPRESSED_SIZE_BLOCK(c_byte); in frag_deflator()
2569 write_buffer->size = compressed_size; in frag_deflator()
2575 bytes += compressed_size; in frag_deflator()
2581 file_buffer->size, compressed_size); in frag_deflator()