/third_party/lz4/examples/ |
H A D | frameCompress.c | 99 size_t const readSize = fread(inBuff, 1, inSize, f_unc); in compress_file_internal() local 100 if (readSize == 0) { in compress_file_internal() 104 count_in += readSize; in compress_file_internal() 107 inBuff, readSize, in compress_file_internal() 110 size_t const readSize = fread(inBuff, 1, inSize, f_in); in compress_file_internal() local 111 if (readSize == 0) break; /* nothing left to read from input file */ in compress_file_internal() 112 count_in += readSize; in compress_file_internal() 115 inBuff, readSize, in compress_file_internal() 217 size_t readSize = firstChunk ? filled : fread(src, 1, srcCapacity, f_in); firstChunk=0; in decompress_file_internal() local 219 const void* const srcEnd = (const char*)srcPtr + readSize; in decompress_file_internal() 260 { size_t const readSize = fread(src, 1, 1, f_in); decompress_file_internal() local 282 size_t const readSize = fread(src, 1, srcCapacity, f_in); decompress_file_allocDst() local [all...] |
/third_party/lz4/tests/ |
H A D | checkFrame.c | 136 size_t readSize; in frameCheck() local 143 readSize = fread(ress.srcBuffer, 1, ress.srcBufferSize, srcFile); in frameCheck() 144 if (!readSize) break; /* reached end of file or stream */ in frameCheck() 146 while (pos < readSize) { /* still to read */ in frameCheck() 151 remaining = readSize - pos; in frameCheck() 169 if (nextToLoad > (readSize - pos)) { in frameCheck() 172 remaining = readSize - pos; in frameCheck() 194 /* can be out because readSize == 0, which could be an fread() error */ in frameCheck()
|
H A D | abiTest.c | 165 { size_t const readSize = fread(buffer, 1, fileSize, f); in loadFile() local 166 if (readSize != fileSize) { in loadFile()
|
H A D | roundTripTest.c | 193 { size_t const readSize = fread(buffer, 1, fileSize, f); in loadFile() local 194 if (readSize != fileSize) { in loadFile()
|
H A D | fullbench.c | 478 size_t readSize; in fullSpeedBench() local 512 readSize = fread(orig_buff, 1, benchedSize, inFile); in fullSpeedBench() 515 if (readSize != benchedSize) { in fullSpeedBench()
|
/third_party/lz4/programs/ |
H A D | lz4io.c | 557 size_t readSize; in LZ4IO_createDict() local 579 readSize = fread(circularBuf + dictEnd, 1, circularBufSize - dictEnd, dictFile); in LZ4IO_createDict() 580 dictEnd = (dictEnd + readSize) % circularBufSize; in LZ4IO_createDict() 581 dictLen += readSize; in LZ4IO_createDict() 582 } while (readSize>0); in LZ4IO_createDict() 673 size_t readSize; in LZ4IO_compressFilename_extRess() local 700 readSize = fread(srcBuffer, (size_t)1, blockSize, srcFile); in LZ4IO_compressFilename_extRess() 702 filesize += readSize; in LZ4IO_compressFilename_extRess() 705 if (readSize < blockSize) { in LZ4IO_compressFilename_extRess() 707 size_t const cSize = LZ4F_compressFrame_usingCDict(ctx, dstBuffer, dstBufferSize, srcBuffer, readSize, res in LZ4IO_compressFilename_extRess() 1095 size_t readSize; LZ4IO_decompressLZ4F() local [all...] |
H A D | bench.c | 323 size_t readSize = (size_t)srcSize; in LZ4F_decompress_binding() local 329 src, &readSize, in LZ4F_decompress_binding() 332 && ((int)readSize==srcSize) /* consume all input */ ) in LZ4F_decompress_binding() 680 { size_t const readSize = fread(((char*)buffer)+pos, 1, (size_t)fileSize, f); in BMK_loadFiles() local 681 if (readSize != (size_t)fileSize) END_PROCESS(11, "could not read %s", fileNamesTable[n]); in BMK_loadFiles() 682 pos += readSize; } in BMK_loadFiles()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/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()
|
/third_party/skia/tools/ |
H A D | remote_demo.cpp | 88 ssize_t readSize = ::read(fd, &size, sizeof(size)); in read_SkData() local 89 if (readSize <= 0) { in read_SkData() 90 if (readSize < 0) { in read_SkData() 104 if (readSize < 0) { in read_SkData()
|
/third_party/lz4/ossfuzz/ |
H A D | round_trip_frame_uncompressed_fuzzer.c | 19 size_t dstCapacity, size_t readSize) { in decompress() 23 const void *const srcEnd = (const char *) srcPtr + readSize; in decompress() 18 decompress(LZ4F_dctx *dctx, void *src, void *dst, size_t dstCapacity, size_t readSize) decompress() argument
|
/third_party/lzma/CPP/7zip/Common/ |
H A D | FilterCoder.cpp | 496 size_t readSize = _bufSize - _bufPos;
in Read() local 497 const HRESULT res = ReadStream(_inStream, _buf + _bufPos, &readSize);
in Read() 498 _bufPos += (UInt32)readSize;
in Read()
|
H A D | FileStreams.cpp | 150 UInt32 readSize = kClusterSize;
in Read() local 152 readSize = (UInt32)MyMin(File.Size - PhyPos, (UInt64)kClusterSize);
in Read() 160 const bool result = File.Read1(Buf, readSize, BufSize);
in Read()
|
/third_party/node/test/parallel/ |
H A D | test-stream2-basic.js | 113 let readSize = 1; 116 while (null !== (res = r.read(readSize++))) {
|
/third_party/lzma/CPP/7zip/Archive/7z/ |
H A D | 7zIn.cpp | 353 UInt32 readSize =
in FindAndReadSignature() local 360 if (readSize > rem)
in FindAndReadSignature() 361 readSize = (UInt32)rem;
in FindAndReadSignature() 362 if (readSize == 0)
in FindAndReadSignature() 367 RINOK(stream->Read(buf + kHeaderSize, readSize, &processed))
in FindAndReadSignature()
|
/third_party/icu/icu4c/source/test/iotest/ |
H A D | filetst.c | 475 int32_t readSize; in TestfgetsBuffers() local 512 readSize = u_strlen(buffer); in TestfgetsBuffers() 513 if (readSize != expectedSize*repetitions) { in TestfgetsBuffers() 557 readSize = u_strlen(buffer); in TestfgetsBuffers() 558 if (readSize != expectedSize*repetitions) { in TestfgetsBuffers() 590 readSize = u_strlen(buffer); in TestfgetsBuffers() 591 if (readSize != 1) { in TestfgetsBuffers()
|
/third_party/skia/tools/sk_app/android/ |
H A D | surface_glue_android.cpp | 113 SkDEBUGCODE(auto readSize =) read(fPipes[0], message, sizeof(Message)); in readMessage() 114 SkASSERT(readSize == sizeof(Message)); in readMessage()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/Coverage/ |
H A D | CoverageMappingReader.h | 112 Error readSize(uint64_t &Result);
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/ |
H A D | vktSynchronizationOperationMultiQueueTests.cpp | 287 const int readSize = static_cast<int>(read->second.queue.size()); in getQueuesPairs() local 290 for (int readNdx = 0; readNdx < readSize; ++readNdx) in getQueuesPairs() 295 writeNdx = readNdx = std::max(writeSize, readSize); //exit from the loops in getQueuesPairs()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/synchronization/ |
H A D | vktSynchronizationOperationMultiQueueTests.cpp | 275 const int readSize = static_cast<int>(read->second.queue.size()); in getQueuesPairs() local 278 for (int readNdx = 0; readNdx < readSize; ++readNdx) in getQueuesPairs() 283 writeNdx = readNdx = std::max(writeSize, readSize); //exit from the loops in getQueuesPairs()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
H A D | Renderer11.cpp | 3604 const gl::Extents readSize(readRenderTarget->getWidth(), readRenderTarget->getHeight(), 1); in blitRenderbufferRect() 3632 gl::Rectangle readBounds(0, 0, readSize.width, readSize.height); in blitRenderbufferRect() 3701 readRect.width == readSize.width && readRect.y == 0 && in blitRenderbufferRect() 3702 readRect.height == readSize.height && drawRect.x == 0 && in blitRenderbufferRect() 3711 bool outOfBounds = readRect.x < 0 || readRect.x + readRect.width > readSize.width || in blitRenderbufferRect() 3712 readRect.y < 0 || readRect.y + readRect.height > readSize.height || in blitRenderbufferRect() 3777 readSize, drawTexture, drawSubresource, drawArea, in blitRenderbufferRect() 3784 ANGLE_TRY(mBlit->copyDepth(context, readSRV, readArea, readSize, drawDSV, drawArea, in blitRenderbufferRect() 3789 ANGLE_TRY(mBlit->copyStencil(context, readTexture, readSubresource, readArea, readSize, in blitRenderbufferRect() [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
H A D | FramebufferGL.cpp | 62 gl::Extents readSize = sourceFramebuffer->getExtents(); in GetBlitFramebufferBounds() local 65 bounds.sourceBounds = gl::Rectangle(0, 0, readSize.width, readSize.height); in GetBlitFramebufferBounds()
|
/third_party/glfw/src/ |
H A D | wl_window.c | 1324 const size_t readSize = 4096; in readDataOfferAsString() local 1325 const size_t requiredSize = length + readSize + 1; in readDataOfferAsString() 1340 const ssize_t result = read(fds[0], string + length, readSize); in readDataOfferAsString()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | validationES2.cpp | 52 const Extents &readSize = readBuffer->getSize(); in IsPartialBlit() local 55 dstY1 != writeSize.height || srcX1 != readSize.width || srcY1 != readSize.height) in IsPartialBlit()
|