/external/lz4/tests/ |
D | frametest.c | 182 size_t cSize, testSize; in basicTests() local 207 …CHECK_V(cSize, LZ4F_compressFrame(compressedBuffer, LZ4F_compressFrameBound(testSize, NULL), CNBuf… in basicTests() 208 DISPLAYLEVEL(3, "null content encoded into a %u bytes frame \n", (unsigned)cSize); in basicTests() 214 { size_t avail_in = cSize; in basicTests() 230 …CHECK_V(cSize, LZ4F_compressFrame(compressedBuffer, LZ4F_compressFrameBound(testSize, NULL), CNBuf… in basicTests() 231 DISPLAYLEVEL(3, "Compressed %u bytes into a %u bytes frame \n", (U32)testSize, (U32)cSize); in basicTests() 235 …CHECK_V(cSize, LZ4F_compressFrame(compressedBuffer, LZ4F_compressFrameBound(testSize, NULL), CNBuf… in basicTests() 236 DISPLAYLEVEL(3, "Compressed %u bytes into a %u bytes frame \n", (U32)testSize, (U32)cSize); in basicTests() 240 size_t compressedBufferSize = cSize; in basicTests() 317 assert(cSize > 48); in basicTests() [all …]
|
D | roundTripTest.c | 109 …int const cSize = compress((const char*)srcBuff, (char*)compressedBuff, (int)srcSize, (int)compres… in roundTripTest() local 110 CONTROL_MSG(cSize == 0, "Compression error !"); in roundTripTest() 112 …{ int const dSize = LZ4_decompress_safe((const char*)compressedBuff, (char*)resultBuff, cSize, (… in roundTripTest()
|
D | fullbench.c | 419 size_t cSize=0; in fullSpeedBench() local 509 … cSize=0; for (chunkNb=0; chunkNb<nbChunks; chunkNb++) cSize += chunkP[chunkNb].compressedSize; in fullSpeedBench() 510 ratio = (double)cSize/(double)benchedSize*100.; in fullSpeedBench() 511 …i (%5.2f%%),%7.1f MB/s\r", loopNb, compressorName, (int)benchedSize, (int)cSize, ratio, (double)be… in fullSpeedBench() 515 …i (%5.2f%%),%7.1f MB/s\n", cAlgNb, compressorName, (int)benchedSize, (int)cSize, ratio, (double)be… in fullSpeedBench() 517 …i (%5.1f%%),%7.1f MB/s\n", cAlgNb, compressorName, (int)benchedSize, (int)cSize, ratio, (double)be… in fullSpeedBench()
|
/external/lz4/programs/ |
D | bench.c | 150 size_t cSize; member 234 size_t cSize = 0; in BMK_benchMem() local 262 blockTable[blockNb].cSize = rSize; in BMK_benchMem() 278 cSize = 0; in BMK_benchMem() 279 … { U32 blockNb; for (blockNb=0; blockNb<nbBlocks; blockNb++) cSize += blockTable[blockNb].cSize; } in BMK_benchMem() 280 cSize += !cSize; /* avoid div by 0 */ in BMK_benchMem() 281 ratio = (double)srcSize / (double)cSize; in BMK_benchMem() 284 marks[markNb], displayName, (U32)srcSize, (U32)cSize, ratio, in BMK_benchMem() 301 …Table[blockNb].cPtr, blockTable[blockNb].resPtr, (int)blockTable[blockNb].cSize, (int)blockTable[b… in BMK_benchMem() 324 marks[markNb], displayName, (U32)srcSize, (U32)cSize, ratio, in BMK_benchMem() [all …]
|
D | lz4io.c | 574 …size_t cSize = LZ4F_compressFrame_usingCDict(ctx, dstBuffer, dstBufferSize, srcBuffer, readSize, r… in LZ4IO_compressFilename_extRess() local 575 if (LZ4F_isError(cSize)) EXM_THROW(31, "Compression failed : %s", LZ4F_getErrorName(cSize)); in LZ4IO_compressFilename_extRess() 576 compressedfilesize = cSize; in LZ4IO_compressFilename_extRess() 581 { size_t const sizeCheck = fwrite(dstBuffer, 1, cSize, dstFile); in LZ4IO_compressFilename_extRess() 582 if (sizeCheck!=cSize) EXM_THROW(32, "Write error : cannot write compressed block"); in LZ4IO_compressFilename_extRess()
|
/external/lz4/lib/ |
D | lz4frame.c | 391 …{ size_t const cSize = LZ4F_compressUpdate(cctx, dstPtr, dstEnd-dstPtr, srcBuffer, srcSize, &optio… in LZ4F_compressFrame_usingCDict() local 392 if (LZ4F_isError(cSize)) return cSize; in LZ4F_compressFrame_usingCDict() 393 dstPtr += cSize; } in LZ4F_compressFrame_usingCDict() 722 U32 cSize = (U32)compress(lz4ctx, (const char*)src, (char*)(cSizePtr+4), in LZ4F_makeBlock() local 725 LZ4F_writeLE32(cSizePtr, cSize); in LZ4F_makeBlock() 726 if (cSize == 0) { /* compression failed */ in LZ4F_makeBlock() 727 cSize = (U32)srcSize; in LZ4F_makeBlock() 728 LZ4F_writeLE32(cSizePtr, cSize | LZ4F_BLOCKUNCOMPRESSED_FLAG); in LZ4F_makeBlock() 732 U32 const crc32 = XXH32(cSizePtr+4, cSize, 0); /* checksum of compressed data */ in LZ4F_makeBlock() 733 LZ4F_writeLE32(cSizePtr+4+cSize, crc32); in LZ4F_makeBlock() [all …]
|
D | lz4hc.c | 849 …int const cSize = LZ4_compress_HC_extStateHC(statePtr, src, dst, srcSize, dstCapacity, compression… in LZ4_compress_HC() local 853 return cSize; in LZ4_compress_HC()
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/zip/ |
D | ZipArchiveInputStream.java | 285 ZipLong size = null, cSize = null; in getNextZipEntry() local 290 cSize = new ZipLong(lfhBuf, off); in getNextZipEntry() 321 processZip64Extra(size, cSize); in getNextZipEntry() 389 private void processZip64Extra(final ZipLong size, final ZipLong cSize) { in processZip64Extra() argument 396 && (cSize.equals(ZipLong.ZIP64_MAGIC) || size.equals(ZipLong.ZIP64_MAGIC)) ) { in processZip64Extra() 400 current.entry.setCompressedSize(cSize.getValue()); in processZip64Extra()
|
/external/python/cpython2/Mac/Modules/list/ |
D | _Listmodule.c | 297 Point cSize; in ListObj_LCellSize() local 299 PyMac_GetPoint, &cSize)) in ListObj_LCellSize() 301 LCellSize(cSize, in ListObj_LCellSize() 860 Point cSize; in List_LNew() local 870 PyMac_GetPoint, &cSize, in List_LNew() 880 cSize, in List_LNew()
|
/external/libaom/libaom/tools/txfm_analyzer/ |
D | txfm_graph.h | 49 int get_idx(int ri, int ci, int cSize);
|
D | txfm_graph.cc | 180 int get_idx(int ri, int ci, int cSize) { return ri * cSize + ci; } in get_idx() argument
|