/external/lz4/programs/ |
D | frametest.c | 205 size_t cSize, testSize; in basicTests() local 220 …cSize = 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() 265 …cSize = 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() 271 …cSize = LZ4F_compressFrame(compressedBuffer, LZ4F_compressFrameBound(testSize, &prefs), CNBuffer, … in basicTests() [all …]
|
D | bench.c | 352 size_t cSize=0; in BMK_benchFile() local 380 … cSize=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()
|
D | fullbench.c | 496 size_t cSize=0; in fullSpeedBench() local 583 … cSize=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/ |
D | MathFunctions.c | 98 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()
|
D | MathFunctions_fp.h | 22 _math__ModExp(UINT32 cSize, // IN: size of the result 37 UINT16 *cSize, // OUT: set to MAX(aSize, bSize)
|
D | part4.txt | 25652 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/ |
D | lz4frame.c | 459 U32 cSize; in LZ4F_compressBlock() local 460 …cSize = (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()
|