Home
last modified time | relevance | path

Searched refs:cSize (Results 1 – 7 of 7) sorted by relevance

/external/lz4/programs/
Dframetest.c205 size_t cSize, testSize; in basicTests() local
220cSize = LZ4F_compressFrame(compressedBuffer, LZ4F_compressFrameBound(testSize, NULL), CNBuffer, te… in basicTests()
221 if (LZ4F_isError(cSize)) goto _output_error; in basicTests()
222 DISPLAYLEVEL(3, "Compressed %i bytes into a %i bytes frame \n", (int)testSize, (int)cSize); in basicTests()
227 size_t compressedBufferSize = cSize; in basicTests()
231 BYTE* const iend = (BYTE*)compressedBuffer + cSize; in basicTests()
265cSize = LZ4F_compressFrame(compressedBuffer, LZ4F_compressFrameBound(testSize, &prefs), CNBuffer, … in basicTests()
266 if (LZ4F_isError(cSize)) goto _output_error; in basicTests()
267 DISPLAYLEVEL(3, "Compressed %i bytes into a %i bytes frame \n", (int)testSize, (int)cSize); in basicTests()
271cSize = LZ4F_compressFrame(compressedBuffer, LZ4F_compressFrameBound(testSize, &prefs), CNBuffer, … in basicTests()
[all …]
Dbench.c352 size_t cSize=0; in BMK_benchFile() local
380cSize=0; for (chunkNb=0; chunkNb<nbChunks; chunkNb++) cSize += chunkP[chunkNb].compressedSize; in BMK_benchFile()
381 ratio = (double)cSize/(double)benchedSize*100.; in BMK_benchFile()
383 …> %9i (%5.2f%%),%7.1f MB/s\r", loopNb, inFileName, (int)benchedSize, (int)cSize, ratio, (double)be… in BMK_benchFile()
401 …%%),%7.1f MB/s ,%7.1f MB/s\r", loopNb, inFileName, (int)benchedSize, (int)cSize, ratio, (double)be… in BMK_benchFile()
411 …i (%5.2f%%),%7.1f MB/s ,%7.1f MB/s\n", inFileName, (int)benchedSize, (int)cSize, ratio, (double)be… in BMK_benchFile()
413 … (%5.1f%%),%7.1f MB/s ,%7.1f MB/s \n", inFileName, (int)benchedSize, (int)cSize, ratio, (double)be… in BMK_benchFile()
416 totalz += cSize; in BMK_benchFile()
Dfullbench.c496 size_t cSize=0; in fullSpeedBench() local
583cSize=0; for (chunkNb=0; chunkNb<nbChunks; chunkNb++) cSize += chunkP[chunkNb].compressedSize; in fullSpeedBench()
584 ratio = (double)cSize/(double)benchedSize*100.; in fullSpeedBench()
585 …i (%5.2f%%),%7.1f MB/s\r", loopNb, compressorName, (int)benchedSize, (int)cSize, ratio, (double)be… in fullSpeedBench()
589 …i (%5.2f%%),%7.1f MB/s\n", cAlgNb, compressorName, (int)benchedSize, (int)cSize, ratio, (double)be… in fullSpeedBench()
591 …i (%5.1f%%),%7.1f MB/s\n", cAlgNb, compressorName, (int)benchedSize, (int)cSize, ratio, (double)be… in fullSpeedBench()
594 totalCSize[cAlgNb] += cSize; in fullSpeedBench()
/external/tpm2/
DMathFunctions.c98 UINT16 *cSize, // OUT: set to MAX(aSize, bSize) in _math__sub() argument
107 *cSize = (UINT16)((aSize > bSize) ? aSize : bSize); in _math__sub()
110 i2 = *cSize - i; in _math__sub()
113 c = &c[*cSize - 1]; in _math__sub()
437 UINT32 cSize, // IN: size of the result in _math__ModExp() argument
482 if((unsigned)BN_num_bytes(bnC) > cSize) in _math__ModExp()
487 i = cSize - BN_num_bytes(bnC); in _math__ModExp()
DMathFunctions_fp.h22 _math__ModExp(UINT32 cSize, // IN: size of the result
37 UINT16 *cSize, // OUT: set to MAX(aSize, bSize)
Dpart4.txt25652 54 UINT16 *cSize, // OUT: set to MAX(aSize, bSize)
25667 64 *cSize = (UINT16)((aSize > bSize) ? aSize : bSize);
25670 67 i2 = *cSize - i;
25673 70 c = &c[*cSize - 1];
26039 325 UINT32 cSize, // IN: size of the result
26094 375 if((unsigned)BN_num_bytes(bnC) > cSize)
26099 380 i = cSize - BN_num_bytes(bnC);
/external/lz4/lib/
Dlz4frame.c459 U32 cSize; in LZ4F_compressBlock() local
460cSize = (U32)compress(lz4ctx, (const char*)src, (char*)(cSizePtr+4), (int)(srcSize), (int)(srcSize… in LZ4F_compressBlock()
461 LZ4F_writeLE32(cSizePtr, cSize); in LZ4F_compressBlock()
462 if (cSize == 0) /* compression failed */ in LZ4F_compressBlock()
464 cSize = (U32)srcSize; in LZ4F_compressBlock()
465 LZ4F_writeLE32(cSizePtr, cSize + LZ4F_BLOCKUNCOMPRESSED_FLAG); in LZ4F_compressBlock()
468 return cSize + 4; in LZ4F_compressBlock()