| /freebsd-12.1/sys/contrib/zstd/lib/legacy/ |
| H A D | zstd_legacy.h | 322 size_t readSize = input->size - input->pos; in ZSTD_decompressLegacyStream() local 325 … size_t const hintSize = ZBUFFv04_decompressContinue(dctx, dst, &decodedSize, src, &readSize); in ZSTD_decompressLegacyStream() 327 input->pos += readSize; in ZSTD_decompressLegacyStream() 336 size_t readSize = input->size - input->pos; in ZSTD_decompressLegacyStream() local 339 … size_t const hintSize = ZBUFFv05_decompressContinue(dctx, dst, &decodedSize, src, &readSize); in ZSTD_decompressLegacyStream() 341 input->pos += readSize; in ZSTD_decompressLegacyStream() 350 size_t readSize = input->size - input->pos; in ZSTD_decompressLegacyStream() local 353 … size_t const hintSize = ZBUFFv06_decompressContinue(dctx, dst, &decodedSize, src, &readSize); in ZSTD_decompressLegacyStream() 355 input->pos += readSize; in ZSTD_decompressLegacyStream() 364 size_t readSize = input->size - input->pos; in ZSTD_decompressLegacyStream() local [all …]
|
| H A D | zstd_v03.c | 2509 … const size_t readSize = ZSTD_decompressLiterals(dctx->litBuffer, &litSize, src, srcSize); in ZSTD_decodeLiteralsBlock() local 2513 return readSize; /* works if it's an error too */ in ZSTD_decodeLiteralsBlock()
|
| H A D | zstd_v02.c | 2868 … const size_t readSize = ZSTD_decompressLiterals(dctx->litBuffer, &litSize, src, srcSize); in ZSTD_decodeLiteralsBlock() local 2872 return readSize; /* works if it's an error too */ in ZSTD_decodeLiteralsBlock()
|
| H A D | zstd_v04.c | 2698 … const size_t readSize = ZSTD_decompressLiterals(dctx->litBuffer, &litSize, src, srcSize); in ZSTD_decodeLiteralsBlock() local 2702 return readSize; /* works if it's an error too */ in ZSTD_decodeLiteralsBlock()
|
| /freebsd-12.1/sys/contrib/zstd/contrib/seekable_format/examples/ |
| H A D | seekable_decompression.c | 52 size_t const readSize = fread(buffer, 1, sizeToRead, file); in fread_orDie() local 53 if (readSize == sizeToRead) return readSize; /* good */ in fread_orDie() 54 if (feof(file)) return readSize; /* good, reached end of file */ in fread_orDie()
|
| H A D | seekable_compression.c | 38 size_t const readSize = fread(buffer, 1, sizeToRead, file); in fread_orDie() local 39 if (readSize == sizeToRead) return readSize; /* good */ in fread_orDie() 40 if (feof(file)) return readSize; /* good, reached end of file */ in fread_orDie()
|
| H A D | parallel_processing.c | 65 size_t const readSize = fread(buffer, 1, sizeToRead, file); in fread_orDie() local 66 if (readSize == sizeToRead) return readSize; /* good */ in fread_orDie() 67 if (feof(file)) return readSize; /* good, reached end of file */ in fread_orDie()
|
| H A D | parallel_compression.c | 51 size_t const readSize = fread(buffer, 1, sizeToRead, file); in fread_orDie() local 52 if (readSize == sizeToRead) return readSize; /* good */ in fread_orDie() 53 if (feof(file)) return readSize; /* good, reached end of file */ in fread_orDie()
|
| /freebsd-12.1/sys/contrib/zstd/tests/fuzz/ |
| H A D | regression_driver.c | 40 size_t readSize; in main() local 57 readSize = fread(buffer, 1, fileSize, file); in main() 58 FUZZ_ASSERT_MSG(readSize == fileSize, fileName); in main()
|
| /freebsd-12.1/sys/contrib/zstd/tests/ |
| H A D | zbufftest.c | 129 size_t cSize, readSize, readSkipSize, genSize; in basicUnitTests() local 149 readSize = CNBufferSize; in basicUnitTests() 151 …nst r = ZBUFF_compressContinue(zc, ((char*)compressedBuffer)+cSize, &genSize, CNBuffer, &readSize); in basicUnitTests() 153 if (readSize != CNBufferSize) goto _output_error; /* entire input should be consumed */ in basicUnitTests() 174 readSize = cSize - readSkipSize; in basicUnitTests() 176 …decompressContinue(zd, decodedBuffer, &genSize, ((char*)compressedBuffer)+readSkipSize, &readSize); in basicUnitTests() 179 … if (readSize+readSkipSize != cSize) goto _output_error; /* should have read the entire frame */ in basicUnitTests() 203 readSize = pIn; in basicUnitTests() 208 if (readSize != cSize) goto _output_error; /* should have read the entire frame */ in basicUnitTests()
|
| H A D | roundTripCrash.c | 203 { size_t const readSize = fread(buffer, 1, fileSize, f); in loadFile() local 204 if (readSize != fileSize) { in loadFile()
|
| H A D | paramgrill.c | 702 { size_t const readSize = fread(origBuff, 1, benchedSize, inFile); in benchFiles() local 704 if(readSize != benchedSize) { in benchFiles() 764 { size_t const readSize = fread(origBuff, 1, benchedSize, inFile); in optimizeForSize() local 766 if(readSize != benchedSize) { in optimizeForSize()
|
| H A D | fullbench.c | 531 size_t readSize = fread(origBuff, 1, benchedSize, inFile); in benchFiles() local 533 if (readSize != benchedSize) { in benchFiles()
|
| /freebsd-12.1/contrib/llvm/lib/ProfileData/Coverage/ |
| H A D | CoverageMappingReader.cpp | 77 Error RawCoverageReader::readSize(uint64_t &Result) { in readSize() function in RawCoverageReader 88 if (auto Err = readSize(Length)) in readString() 97 if (auto Err = readSize(NumFilenames)) in read() 157 if (auto Err = readSize(NumRegions)) in readMappingRegionsSubArray() 256 if (auto Err = readSize(NumFileMappings)) in read() 272 if (auto Err = readSize(NumExpressions)) in read() 323 if (Error Err = readSize(NumFileMappings)) in isDummy() 333 if (Error Err = readSize(NumExpressions)) in isDummy() 338 if (Error Err = readSize(NumRegions)) in isDummy()
|
| /freebsd-12.1/sys/contrib/zstd/programs/ |
| H A D | fileio.c | 397 if (readSize!=fileSize) in FIO_createDictBuffer() 676 size_t readSize; in FIO_compressLz4Frame() local 687 inFileSize += readSize; in FIO_compressLz4Frame() 690 while (readSize>0) { in FIO_compressLz4Frame() 714 inFileSize += readSize; in FIO_compressLz4Frame() 1287 if (readSize==0) { in FIO_decompressZstdFrame() 1292 ress->srcBufferLoaded += readSize; in FIO_decompressZstdFrame() 1466 size_t readSize; in FIO_decompressLz4Frame() local 1472 readSize = fread(ress->srcBuffer, 1, nextToLoad, srcFile); in FIO_decompressLz4Frame() 1473 if (!readSize) break; /* reached end of file or stream */ in FIO_decompressLz4Frame() [all …]
|
| H A D | dibio.c | 128 { size_t const readSize = fread(buff+pos, 1, toLoad, f); in DiB_loadFiles() local 129 if (readSize != toLoad) EXM_THROW(11, "Pb reading %s", fileName); in DiB_loadFiles() 130 pos += readSize; in DiB_loadFiles()
|
| H A D | bench.c | 573 { size_t const readSize = fread(((char*)buffer)+pos, 1, (size_t)fileSize, f); in BMK_loadFiles() local 574 if (readSize != (size_t)fileSize) EXM_THROW(11, "could not read %s", fileNamesTable[n]); in BMK_loadFiles() 575 pos += readSize; } in BMK_loadFiles()
|
| /freebsd-12.1/contrib/llvm/include/llvm/ProfileData/Coverage/ |
| H A D | CoverageMappingReader.h | 113 Error readSize(uint64_t &Result);
|
| /freebsd-12.1/sys/contrib/zstd/zlibWrapper/examples/ |
| H A D | zwrapbench.c | 696 { size_t const readSize = fread(((char*)buffer)+pos, 1, (size_t)fileSize, f); in BMK_loadFiles() local 697 if (readSize != (size_t)fileSize) EXM_THROW(11, "could not read %s", fileNamesTable[n]); in BMK_loadFiles() 698 pos += readSize; } in BMK_loadFiles()
|
| /freebsd-12.1/sys/contrib/zstd/lib/compress/ |
| H A D | huf_compress.c | 179 …CHECK_V_F(readSize, HUF_readStats(huffWeight, HUF_SYMBOLVALUE_MAX+1, rankVal, &nbSymbols, &tableLo… in HUF_readCTable() 216 return readSize; in HUF_readCTable()
|