Searched refs:contentSize (Results 1 – 6 of 6) sorted by relevance
/third_party/cef/tests/ceftests/ |
D | stream_unittest.cc | 12 int contentSize = static_cast<int>(contents.size()); in VerifyStreamReadBehavior() local 21 ASSERT_EQ(contentSize, stream->Tell()); in VerifyStreamReadBehavior() 24 ASSERT_EQ(0, stream->Seek(-contentSize, SEEK_CUR)); in VerifyStreamReadBehavior() 31 read = std::min(static_cast<int>(sizeof(buff)), contentSize - offset); in VerifyStreamReadBehavior() 36 } while (offset < contentSize); in VerifyStreamReadBehavior() 45 int contentSize = static_cast<int>(contents.size()); in VerifyStreamWriteBehavior() local 51 write = std::min(10, contentSize - offset); in VerifyStreamWriteBehavior() 56 } while (offset < contentSize); in VerifyStreamWriteBehavior() 59 ASSERT_EQ(0, stream->Seek(-contentSize, SEEK_CUR)); in VerifyStreamWriteBehavior() 64 ASSERT_EQ(contentSize, stream->Tell()); in VerifyStreamWriteBehavior()
|
/third_party/lz4/lib/ |
D | lz4frame.c | 436 if (prefs.frameInfo.contentSize != 0) in LZ4F_compressFrame_usingCDict() 437 … prefs.frameInfo.contentSize = (U64)srcSize; /* auto-correct content size if selected (!=0) */ in LZ4F_compressFrame_usingCDict() 762 + ((unsigned)(cctxPtr->prefs.frameInfo.contentSize > 0) << 3) in LZ4F_compressBegin_usingCDict() 768 if (cctxPtr->prefs.frameInfo.contentSize) { in LZ4F_compressBegin_usingCDict() 769 LZ4F_writeLE64(dstPtr, cctxPtr->prefs.frameInfo.contentSize); in LZ4F_compressBegin_usingCDict() 1181 if (cctxPtr->prefs.frameInfo.contentSize) { in LZ4F_compressEnd() 1182 if (cctxPtr->prefs.frameInfo.contentSize != cctxPtr->totalInSize) in LZ4F_compressEnd() 1373 dctx->frameRemainingSize = dctx->frameInfo.contentSize = LZ4F_readLE64(srcPtr+6); in LZ4F_decodeHeader() 1719 if (dctx->frameInfo.contentSize) in LZ4F_decompress() 1851 if (dctx->frameInfo.contentSize) in LZ4F_decompress() [all …]
|
D | lz4frame.h | 180 unsigned long long contentSize; /* Size of uncompressed content ; 0 == unknown */ member
|
/third_party/lz4/programs/ |
D | lz4io.c | 694 prefs.frameInfo.contentSize = fileSize; /* == 0 if input == stdin */ in LZ4IO_compressFilename_extRess() 1627 if (frameInfo.lz4FrameInfo.contentSize) { in LZ4IO_getCompressedFileInfo() 1628 … double const ratio = (double)(totalBlocksSize + hSize) / frameInfo.lz4FrameInfo.contentSize * 100; in LZ4IO_getCompressedFileInfo() 1631 frameInfo.lz4FrameInfo.contentSize, in LZ4IO_getCompressedFileInfo() 1635 … frameInfo.lz4FrameInfo.contentSize += cfinfo->frameSummary.lz4FrameInfo.contentSize; in LZ4IO_getCompressedFileInfo() 1740 …tentSize ? LZ4IO_toHuman((long double)cfinfo.frameSummary.lz4FrameInfo.contentSize, buffers[2]) : … in LZ4IO_displayCompressedFilesInfo() 1742 … double const ratio = (double)cfinfo.fileSize / cfinfo.frameSummary.lz4FrameInfo.contentSize * 100; in LZ4IO_displayCompressedFilesInfo()
|
/third_party/lz4/tests/ |
D | Makefile | 247 test-lz4-contentSize: FPREFIX = tmp-lzc 248 test-lz4-contentSize: lz4 datagen 523 test-lz4-contentSize test-lz4-dict
|
D | frametest.c | 539 prefs.frameInfo.contentSize = testSize; in basicTests() 549 prefs.frameInfo.contentSize = testSize+1; in basicTests() 1042 prefs.frameInfo.contentSize = ((FUZ_rand(&randState) & 0xF) == 1) ? srcSize : 0; in fuzzerTests()
|