/third_party/lz4/examples/ |
D | frameCompress.c | 88 size_t const compressedSize = LZ4F_compressUpdate(ctx, in compress_file_internal() local 92 if (LZ4F_isError(compressedSize)) { in compress_file_internal() 93 printf("Compression failed: error %u \n", (unsigned)compressedSize); in compress_file_internal() 97 printf("Writing %u bytes\n", (unsigned)compressedSize); in compress_file_internal() 98 safe_fwrite(outBuff, 1, compressedSize, f_out); in compress_file_internal() 99 count_out += compressedSize; in compress_file_internal() 103 { size_t const compressedSize = LZ4F_compressEnd(ctx, in compress_file_internal() local 106 if (LZ4F_isError(compressedSize)) { in compress_file_internal() 107 printf("Failed to end compression: error %u \n", (unsigned)compressedSize); in compress_file_internal() 111 printf("Writing %u bytes \n", (unsigned)compressedSize); in compress_file_internal() [all …]
|
/third_party/lz4/tests/ |
D | fuzzer.c | 383 int compressedSize, HCcompressedSize; in FUZ_test() local 488 …compressedSize = LZ4_compress_default(block, compressedBuffer, blockSize, (int)compressedBufferSiz… in FUZ_test() 489 FUZ_CHECKTEST(compressedSize<=0, "LZ4_compress_default() failed"); in FUZ_test() 494 { char* const cBuffer_exact = (char*)malloc((size_t)compressedSize); in FUZ_test() 496 assert(compressedSize <= (int)compressedBufferSize); in FUZ_test() 497 memcpy(cBuffer_exact, compressedBuffer, compressedSize); in FUZ_test() 503 …FUZ_CHECKTEST(r!=compressedSize, "LZ4_decompress_fast failed : did not fully read compressed data"… in FUZ_test() 526 … { int const r = LZ4_decompress_safe(cBuffer_exact, decodedBuffer, compressedSize, blockSize); in FUZ_test() 539 … { int const r = LZ4_decompress_safe(cBuffer_exact, decodedBuffer, compressedSize, blockSize+1); in FUZ_test() 551 … { int const r = LZ4_decompress_safe(cBuffer_exact, decodedBuffer, compressedSize, blockSize-1); in FUZ_test() [all …]
|
D | fullbench.c | 84 int compressedSize; member 537 chunkP[i].compressedSize = 0; in fullSpeedBench() 589 …chunkP[chunkNb].compressedSize = compressionFunction(chunkP[chunkNb].origBuffer, chunkP[chunkNb].c… in fullSpeedBench() 590 if (chunkP[chunkNb].compressedSize==0) { in fullSpeedBench() 601 …ze=0; for (chunkNb=0; chunkNb<nbChunks; chunkNb++) cSize += (size_t)chunkP[chunkNb].compressedSize; in fullSpeedBench() 631 chunkP[i].compressedSize = 0; in fullSpeedBench() 635 …chunkP[chunkNb].compressedSize = LZ4_compress_default(chunkP[chunkNb].origBuffer, chunkP[chunkNb].… in fullSpeedBench() 636 if (chunkP[chunkNb].compressedSize==0) { in fullSpeedBench() 673 chunkP[0].compressedSize = (int)fcsize; in fullSpeedBench() 700 … chunkP[chunkNb].compressedSize, chunkP[chunkNb].origSize); in fullSpeedBench()
|
D | frametest.c | 567 size_t compressedSize = cSizeWithDict; in basicTests() local 571 compressedBuffer, &compressedSize, in basicTests() 574 if (compressedSize != cSizeWithDict) goto _output_error; in basicTests() 624 size_t compressedSize = cSizeContiguous; in basicTests() local 628 compressedBuffer, &compressedSize, in basicTests() 631 if (compressedSize != cSizeContiguous) goto _output_error; in basicTests() 660 size_t compressedSize = cSizeIndep; in basicTests() local 664 compressedBuffer, &compressedSize, in basicTests() 667 if (compressedSize != cSizeIndep) goto _output_error; in basicTests()
|
/third_party/lz4/ossfuzz/ |
D | compress_fuzzer.c | 44 int compressedSize = size; in LLVMFuzzerTestOneInput() local 46 &compressedSize, dstCapacity); in LLVMFuzzerTestOneInput() 49 FUZZ_ASSERT_MSG(rtSize == compressedSize, "Incorrect regenerated size"); in LLVMFuzzerTestOneInput() 50 FUZZ_ASSERT_MSG(!memcmp(data, rt, compressedSize), "Corruption!"); in LLVMFuzzerTestOneInput()
|
D | compress_hc_fuzzer.c | 48 int compressedSize = size; in LLVMFuzzerTestOneInput() local 50 dst, &compressedSize, in LLVMFuzzerTestOneInput() 54 FUZZ_ASSERT_MSG(rtSize == compressedSize, "Incorrect regenerated size"); in LLVMFuzzerTestOneInput() 55 FUZZ_ASSERT_MSG(!memcmp(data, rt, compressedSize), "Corruption!"); in LLVMFuzzerTestOneInput()
|
/third_party/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/ |
D | TJCompressor.java | 340 compressedSize = compressFromYUV(srcYUVImage.getPlanes(), in compress() 349 compressedSize = compress(srcBuf, srcX, srcY, srcWidth, srcPitch, in compress() 353 compressedSize = compress(srcBuf, srcWidth, srcPitch, srcHeight, in compress() 358 compressedSize = compress(srcBufInt, srcX, srcY, srcWidth, srcStride, in compress() 362 compressedSize = compress(srcBufInt, srcWidth, srcStride, srcHeight, in compress() 453 compressedSize = 0; in encodeYUV() 574 return compressedSize; in getCompressedSize() 681 private int compressedSize = 0; field in TJCompressor
|
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/ |
D | TJCompressor.java | 340 compressedSize = compressFromYUV(srcYUVImage.getPlanes(), in compress() 349 compressedSize = compress(srcBuf, srcX, srcY, srcWidth, srcPitch, in compress() 353 compressedSize = compress(srcBuf, srcWidth, srcPitch, srcHeight, in compress() 358 compressedSize = compress(srcBufInt, srcX, srcY, srcWidth, srcStride, in compress() 362 compressedSize = compress(srcBufInt, srcWidth, srcStride, srcHeight, in compress() 446 compressedSize = 0; in encodeYUV() 567 return compressedSize; in getCompressedSize() 674 private int compressedSize = 0; field in TJCompressor
|
/third_party/lz4/lib/ |
D | lz4.h | 164 LZ4LIB_API int LZ4_decompress_safe (const char* src, char* dst, int compressedSize, int dstCapacity… 553 #define LZ4_DECOMPRESS_INPLACE_MARGIN(compressedSize) (((compressedSize) >> 8) + 32) argument 724 …t LZ4_decompress_safe_withPrefix64k (const char* src, char* dst, int compressedSize, int maxDstSiz…
|
D | lz4.c | 688 int compressedSize, int maxOutputSize, 2171 int LZ4_decompress_safe(const char* source, char* dest, int compressedSize, int maxDecompressedSize) in LZ4_decompress_safe() argument 2173 return LZ4_decompress_generic(source, dest, compressedSize, maxDecompressedSize, in LZ4_decompress_safe() 2179 int LZ4_decompress_safe_partial(const char* src, char* dst, int compressedSize, int targetOutputSiz… in LZ4_decompress_safe_partial() argument 2182 return LZ4_decompress_generic(src, dst, compressedSize, dstCapacity, in LZ4_decompress_safe_partial() 2198 int LZ4_decompress_safe_withPrefix64k(const char* source, char* dest, int compressedSize, int maxOu… in LZ4_decompress_safe_withPrefix64k() argument 2200 return LZ4_decompress_generic(source, dest, compressedSize, maxOutputSize, in LZ4_decompress_safe_withPrefix64k() 2214 static int LZ4_decompress_safe_withSmallPrefix(const char* source, char* dest, int compressedSize, … in LZ4_decompress_safe_withSmallPrefix() argument 2217 return LZ4_decompress_generic(source, dest, compressedSize, maxOutputSize, in LZ4_decompress_safe_withSmallPrefix() 2224 int compressedSize, int maxOutputSize, in LZ4_decompress_safe_forceExtDict() argument [all …]
|
/third_party/skia/third_party/externals/dng_sdk/source/ |
D | dng_preview.cpp | 416 uint32 compressedSize = fCompressedData->LogicalSize (); in SpoolAdobeThumbnail() local 422 stream.Put_uint32 (compressedSize + 28); in SpoolAdobeThumbnail() 431 stream.Put_uint32 (compressedSize); in SpoolAdobeThumbnail() 436 compressedSize); in SpoolAdobeThumbnail() 438 if (compressedSize & 1) in SpoolAdobeThumbnail()
|
D | dng_read_image.cpp | 2770 uint32 compressedSize, in dng_read_tiles_task() argument 2786 , fCompressedSize (compressedSize) in dng_read_tiles_task() 3129 uint32 compressedSize = 0; in Read() local 3141 compressedSize = maxTileByteCount; in Read() 3260 if (compressedSize && !jpegImage) in Read() 3262 compressedBuffer.Reset (host.Allocate (compressedSize)); in Read()
|
D | dng_image_writer.cpp | 4355 uint32 compressedSize, in dng_write_tiles_task() argument 4367 , fCompressedSize (compressedSize) in dng_write_tiles_task() 4634 uint32 compressedSize = CompressedBufferSize (ifd, uncompressedSize); in WriteImage() local 4666 compressedSize, in WriteImage() 4682 if (compressedSize) in WriteImage() 4684 compressedBuffer.Reset (host.Allocate (compressedSize)); in WriteImage()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
D | BlobCache.cpp | 70 const size_t compressedSize, in DecompressBlobCacheData() argument 75 zlib_internal::GetGzipUncompressedSize(compressedData, compressedSize); in DecompressBlobCacheData() 86 uncompressedData->data(), &destLen, compressedData, static_cast<uLong>(compressedSize)); in DecompressBlobCacheData()
|
D | BlobCache.h | 55 const size_t compressedSize,
|
/third_party/flutter/flutter/dev/devicelab/lib/tasks/ |
D | perf_tests.dart | 477 'libflutter_compressed_bytes': libflutter.compressedSize, 479 'libapp_compressed_bytes': libapp.compressedSize, 481 'license_compressed_bytes': license.compressedSize, 735 compressedSize: int.parse(data[2]), 742 @required this.compressedSize, 745 assert(compressedSize != null), 746 assert(compressedSize <= uncompressedSize), 750 final int compressedSize;
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/compression/ |
D | ExhaustiveTest.java | 101 int compressedSize = Math.max(512, 3 * len); in myMultipassTest() local 102 byte[] compressed = new byte[compressedSize]; in myMultipassTest()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/compression/ |
D | ExhaustiveTest.java | 98 int compressedSize = Math.max(512, 3 * len); in myMultipassTest() local 99 byte[] compressed = new byte[compressedSize]; in myMultipassTest()
|
/third_party/skia/third_party/externals/libjpeg-turbo/ |
D | turbojpeg.h | 1717 unsigned char *dstBuf, unsigned long *compressedSize,
|
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/ |
D | turbojpeg.h | 1705 unsigned char *dstBuf, unsigned long *compressedSize,
|
/third_party/libjpeg-turbo/ |
D | turbojpeg.h | 1706 unsigned char *dstBuf, unsigned long *compressedSize,
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
D | RendererVk.cpp | 892 size_t compressedSize = 0; in GetAndDecompressPipelineCacheVk() local 917 if (checkNumber != numChunks || compressedData.size() < (compressedSize + chunkSize)) in GetAndDecompressPipelineCacheVk() 923 << ", (compressedSize + chunkSize) = " << (compressedSize + chunkSize); in GetAndDecompressPipelineCacheVk() 926 memcpy(compressedData.data() + compressedSize, keyData.data() + kBlobHeaderSize, chunkSize); in GetAndDecompressPipelineCacheVk() 927 compressedSize += chunkSize; in GetAndDecompressPipelineCacheVk() 932 egl::DecompressBlobCacheData(compressedData.data(), compressedSize, uncompressedData), in GetAndDecompressPipelineCacheVk()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/capture/ |
D | FrameCapture.cpp | 832 uLong compressedSize = expectedCompressedSize; in SaveBinaryData() local 833 int zResult = zlib_internal::GzipCompressHelper(compressedData.data(), &compressedSize, in SaveBinaryData() 842 saveData.write(compressedData.data(), compressedSize); in SaveBinaryData()
|