Home
last modified time | relevance | path

Searched refs:readSize (Results 1 – 25 of 27) sorted by relevance

12

/third_party/lz4/examples/
DframeCompress.c99 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()
[all …]
/third_party/node/deps/npm/node_modules/tar/lib/
Dlist.js90 const readSize = opt.maxReadSize || 16 * 1024 * 1024 constant
91 if (stat.size < readSize) {
95 const buf = Buffer.allocUnsafe(readSize)
98 const bytesRead = fs.readSync(fd, buf, 0, readSize, pos)
116 const readSize = opt.maxReadSize || 16 * 1024 * 1024 constant
128 readSize: readSize, property
Dextract.js76 const readSize = opt.maxReadSize || 16 * 1024 * 1024 constant
78 readSize: readSize, property
86 const readSize = opt.maxReadSize || 16 * 1024 * 1024 constant
100 readSize: readSize, property
/third_party/lz4/tests/
DcheckFrame.c136 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()
DabiTest.c165 { size_t const readSize = fread(buffer, 1, fileSize, f); in loadFile() local
166 if (readSize != fileSize) { in loadFile()
DroundTripTest.c193 { size_t const readSize = fread(buffer, 1, fileSize, f); in loadFile() local
194 if (readSize != fileSize) { in loadFile()
Dfullbench.c478 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/
Dlz4io.c557 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 …LZ4F_compressFrame_usingCDict(ctx, dstBuffer, dstBufferSize, srcBuffer, readSize, ress.cdict, &pre… in LZ4IO_compressFilename_extRess()
[all …]
Dbench.c323 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/tools/
Dremote_demo.cpp88 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/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/Coverage/
DCoverageMappingReader.cpp77 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/lz4/ossfuzz/
Dround_trip_frame_uncompressed_fuzzer.c19 size_t dstCapacity, size_t readSize) { in decompress() argument
23 const void *const srcEnd = (const char *) srcPtr + readSize; in decompress()
/third_party/lzma/CPP/7zip/Common/
DFilterCoder.cpp362 size_t readSize = _bufSize - _bufPos; in Read() local
363 HRESULT res = ReadStream(_inStream, _buf + _bufPos, &readSize); in Read()
364 _bufPos += (UInt32)readSize; in Read()
DFileStreams.cpp145 UInt32 readSize = kClusterSize; in Read() local
147 readSize = (UInt32)MyMin(File.Size - PhyPos, (UInt64)kClusterSize); in Read()
155 bool result = File.Read1(Buf, readSize, BufSize); in Read()
/third_party/node/test/parallel/
Dtest-stream2-basic.js113 let readSize = 1; variable
116 while (null !== (res = r.read(readSize++))) {
/third_party/icu/icu4c/source/test/iotest/
Dfiletst.c475 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/
Dsurface_glue_android.cpp113 SkDEBUGCODE(auto readSize =) read(fPipes[0], message, sizeof(Message)); in readMessage()
114 SkASSERT(readSize == sizeof(Message)); in readMessage()
/third_party/lzma/CPP/7zip/Archive/7z/
D7zIn.cpp305 UInt32 readSize = kBufSize - kHeaderSize; in FindAndReadSignature() local
309 if (readSize > rem) in FindAndReadSignature()
310 readSize = (UInt32)rem; in FindAndReadSignature()
311 if (readSize == 0) in FindAndReadSignature()
316 RINOK(stream->Read(buf + kHeaderSize, readSize, &processed)); in FindAndReadSignature()
/third_party/node/deps/npm/node_modules/cacache/lib/content/
Dread.js39 readSize: MAX_SINGLE_READ_SIZE, property
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/Coverage/
DCoverageMappingReader.h112 Error readSize(uint64_t &Result);
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DRenderer11.cpp3604 const gl::Extents readSize(readRenderTarget->getWidth(), readRenderTarget->getHeight(), 1); in blitRenderbufferRect() local
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()
3800 ANGLE_TRY(mBlit->copyTexture(context, readSRV, readArea, readSize, srcFormatInfo.format, in blitRenderbufferRect()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationOperationMultiQueueTests.cpp225 const int readSize = static_cast<int>(read->second.queue.size()); in getQueuesPairs() local
228 for (int readNdx = 0; readNdx < readSize; ++readNdx) in getQueuesPairs()
233 writeNdx = readNdx = std::max(writeSize, readSize); //exit from the loops in getQueuesPairs()
/third_party/node/deps/npm/node_modules/fs-minipass/lib/
Dindex.js52 this[_readSize] = opt.readSize || 16 * 1024 * 1024
/third_party/node/deps/npm/node_modules/tar/node_modules/fs-minipass/
Dindex.js65 this[_readSize] = opt.readSize || 16*1024*1024
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
DFramebufferGL.cpp62 gl::Extents readSize = sourceFramebuffer->getExtents(); in GetBlitFramebufferBounds() local
65 bounds.sourceBounds = gl::Rectangle(0, 0, readSize.width, readSize.height); in GetBlitFramebufferBounds()

12