Home
last modified time | relevance | path

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

12

/third_party/lz4/examples/
DframeCompress.c84 size_t const readSize = fread(inBuff, 1, IN_CHUNK_SIZE, f_in); in compress_file_internal() local
85 if (readSize == 0) break; /* nothing left to read from input file */ in compress_file_internal()
86 count_in += readSize; in compress_file_internal()
90 inBuff, readSize, in compress_file_internal()
187 size_t readSize = firstChunk ? filled : fread(src, 1, srcCapacity, f_in); firstChunk=0; in decompress_file_internal() local
189 const void* const srcEnd = (const char*)srcPtr + readSize; in decompress_file_internal()
190 if (readSize == 0 || ferror(f_in)) { in decompress_file_internal()
230 { size_t const readSize = fread(src, 1, 1, f_in); in decompress_file_internal() local
231 if (readSize != 0 || !feof(f_in)) { in decompress_file_internal()
252 size_t const readSize = fread(src, 1, srcCapacity, f_in); in decompress_file_allocDst() local
[all …]
/third_party/node/deps/npm/node_modules/tar/lib/
Dlist.js85 const readSize = opt.maxReadSize || 16*1024*1024 constant
86 if (stat.size < readSize) {
90 const buf = Buffer.allocUnsafe(readSize)
93 let bytesRead = fs.readSync(fd, buf, 0, readSize, pos)
108 const readSize = opt.maxReadSize || 16*1024*1024 constant
120 readSize: readSize, property
Dextract.js72 const readSize = opt.maxReadSize || 16*1024*1024 constant
74 readSize: readSize, property
82 const readSize = opt.maxReadSize || 16*1024*1024 constant
96 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()
DroundTripTest.c193 { size_t const readSize = fread(buffer, 1, fileSize, f); in loadFile() local
194 if (readSize != fileSize) { in loadFile()
Dfullbench.c452 size_t readSize; in fullSpeedBench() local
486 readSize = fread(orig_buff, 1, benchedSize, inFile); in fullSpeedBench()
489 if (readSize != benchedSize) { in fullSpeedBench()
/third_party/mindspore/tests/ut/cpp/debug/
Dmemory_dumper_test.cc48 int readSize = read(fd, readBack, npylen * sizeof(int)); in TEST_F() local
50 ASSERT_EQ(readSize, npylen * sizeof(int)); in TEST_F()
93 int readSize = read(fd, readBack, len * sizeof(int)); in TEST_F() local
95 ASSERT_EQ(readSize, len * sizeof(int)); in TEST_F()
/third_party/flutter/engine/flutter/shell/platform/android/io/flutter/plugin/common/
DStandardMessageCodec.java301 protected static final int readSize(ByteBuffer buffer) { in readSize() method in StandardMessageCodec
319 final int length = readSize(buffer); in readBytes()
389 final int length = readSize(buffer); in readValueOfType()
398 final int length = readSize(buffer); in readValueOfType()
407 final int length = readSize(buffer); in readValueOfType()
416 final int size = readSize(buffer); in readValueOfType()
425 final int size = readSize(buffer); in readValueOfType()
/third_party/lz4/programs/
Dlz4io.c545 size_t readSize; in LZ4IO_createDict() local
567 readSize = fread(circularBuf + dictEnd, 1, circularBufSize - dictEnd, dictFile); in LZ4IO_createDict()
568 dictEnd = (dictEnd + readSize) % circularBufSize; in LZ4IO_createDict()
569 dictLen += readSize; in LZ4IO_createDict()
570 } while (readSize>0); in LZ4IO_createDict()
661 size_t readSize; in LZ4IO_compressFilename_extRess() local
688 readSize = fread(srcBuffer, (size_t)1, blockSize, srcFile); in LZ4IO_compressFilename_extRess()
690 filesize += readSize; in LZ4IO_compressFilename_extRess()
693 if (readSize < blockSize) { in LZ4IO_compressFilename_extRess()
695 …LZ4F_compressFrame_usingCDict(ctx, dstBuffer, dstBufferSize, srcBuffer, readSize, ress.cdict, &pre… in LZ4IO_compressFilename_extRess()
[all …]
Dbench.c603 { size_t const readSize = fread(((char*)buffer)+pos, 1, (size_t)fileSize, f); in BMK_loadFiles() local
604 if (readSize != (size_t)fileSize) EXM_THROW(11, "could not read %s", fileNamesTable[n]); in BMK_loadFiles()
605 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/flutter/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/flutter/engine/flutter/lib/web_ui/lib/src/engine/services/
Dmessage_codecs.dart393 final int length = readSize(buffer);
401 final int length = readSize(buffer);
405 final int length = readSize(buffer);
409 final int length = readSize(buffer);
413 final int length = readSize(buffer);
417 final int length = readSize(buffer);
421 final int length = readSize(buffer);
428 final int length = readSize(buffer);
462 int readSize(ReadBuffer buffer) {
/third_party/flutter/engine/flutter/shell/platform/darwin/common/framework/Source/
DFlutterStandardCodec.mm369 - (UInt32)readSize { method
392 NSData* bytes = [self readData:[self readSize]];
404 UInt32 elementCount = [self readSize];
449 UInt32 length = [self readSize];
458 UInt32 size = [self readSize];
/third_party/flutter/flutter/packages/flutter/lib/src/services/
Dmessage_codecs.dart428 final int length = readSize(buffer);
431 final int length = readSize(buffer);
434 final int length = readSize(buffer);
437 final int length = readSize(buffer);
440 final int length = readSize(buffer);
443 final int length = readSize(buffer);
449 final int length = readSize(buffer);
480 int readSize(ReadBuffer buffer) {
/third_party/node/test/parallel/
Dtest-stream2-basic.js114 let readSize = 1; variable
117 while (null !== (res = r.read(readSize++))) {
/third_party/icu/icu4c/source/test/iotest/
Dfiletst.c474 int32_t readSize; in TestfgetsBuffers() local
511 readSize = u_strlen(buffer); in TestfgetsBuffers()
512 if (readSize != expectedSize*repetitions) { in TestfgetsBuffers()
556 readSize = u_strlen(buffer); in TestfgetsBuffers()
557 if (readSize != expectedSize*repetitions) { in TestfgetsBuffers()
589 readSize = u_strlen(buffer); in TestfgetsBuffers()
590 if (readSize != 1) { in TestfgetsBuffers()
/third_party/flutter/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/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/flutter/engine/flutter/shell/platform/darwin/common/framework/Headers/
DFlutterCodecs.h116 - (UInt32)readSize;
/third_party/node/deps/npm/node_modules/fs-minipass/
DREADME.md48 - `readSize` The size of reads to do, defaults to 16MB
/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/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DRenderer11.cpp3273 const gl::Extents readSize(readRenderTarget->getWidth(), readRenderTarget->getHeight(), 1); in blitRenderbufferRect() local
3301 gl::Rectangle readBounds(0, 0, readSize.width, readSize.height); in blitRenderbufferRect()
3370 readRect.width == readSize.width && readRect.y == 0 && in blitRenderbufferRect()
3371 readRect.height == readSize.height && drawRect.x == 0 && in blitRenderbufferRect()
3380 bool outOfBounds = readRect.x < 0 || readRect.x + readRect.width > readSize.width || in blitRenderbufferRect()
3381 readRect.y < 0 || readRect.y + readRect.height > readSize.height || in blitRenderbufferRect()
3445 readSize, drawTexture, drawSubresource, drawArea, in blitRenderbufferRect()
3452 ANGLE_TRY(mBlit->copyDepth(context, readSRV, readArea, readSize, drawDSV, drawArea, in blitRenderbufferRect()
3457 ANGLE_TRY(mBlit->copyStencil(context, readTexture, readSubresource, readArea, readSize, in blitRenderbufferRect()
3468 ANGLE_TRY(mBlit->copyTexture(context, readSRV, readArea, readSize, srcFormatInfo.format, in blitRenderbufferRect()
/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()

12