Home
last modified time | relevance | path

Searched refs:readSize (Results 26 - 45 of 45) sorted by relevance

12

/third_party/node/test/parallel/
H A Dtest-stream2-basic.js113 let readSize = 1;
116 while (null !== (res = r.read(readSize++))) {
/test/xts/hats/hdf/usb/mtpTest/common/
H A Dusbfn_mtp_test.cpp129 int64_t readSize = count > GEN_FILE_BUF_SIZE ? GEN_FILE_BUF_SIZE : count; in WriteRandomDataToFile() local
130 ssize_t readActual = read(random, static_cast<void *>(buffer), static_cast<size_t>(readSize)); in WriteRandomDataToFile()
131 if (readActual != static_cast<ssize_t>(readSize)) { in WriteRandomDataToFile()
135 size_t writeActual = std::fwrite(static_cast<void *>(buffer), 1, static_cast<size_t>(readSize), opFile); in WriteRandomDataToFile()
136 if (writeActual != static_cast<size_t>(readSize)) { in WriteRandomDataToFile()
140 count -= readSize; in WriteRandomDataToFile()
/third_party/lzma/CPP/7zip/Common/
H A DFileStreams.cpp150 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/lzma/CPP/7zip/Archive/7z/
H A D7zIn.cpp353 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 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/
H A Dsurface_glue_android.cpp113 SkDEBUGCODE(auto readSize =) read(fPipes[0], message, sizeof(Message)); in readMessage()
114 SkASSERT(readSize == sizeof(Message)); in readMessage()
/kernel/liteos_m/components/dynlink/
H A Dlos_dynlink.c129 STATIC INT32 OsReadELFInfo(INT32 fd, UINT8 *buffer, size_t readSize, off_t offset) in OsReadELFInfo() argument
134 if (readSize > 0) { in OsReadELFInfo()
141 byteNum = read(fd, buffer, readSize); in OsReadELFInfo()
/third_party/lz4/tests/
H A Dfullbench.c478 size_t readSize; in fullSpeedBench() local
512 readSize = fread(orig_buff, 1, benchedSize, inFile); in fullSpeedBench()
515 if (readSize != benchedSize) { in fullSpeedBench()
/test/xts/hats/hdf/usb/mtpTest_additional/common/
H A Dusbfn_mtp_test.cpp121 int64_t readSize = count > GEN_FILE_BUF_SIZE ? GEN_FILE_BUF_SIZE : count; in WriteRandomDataToFile() local
122 ssize_t readActual = read(random, static_cast<void *>(buffer), static_cast<size_t>(readSize)); in WriteRandomDataToFile()
123 if (readActual != static_cast<ssize_t>(readSize)) { in WriteRandomDataToFile()
127 size_t writeActual = std::fwrite(static_cast<void *>(buffer), 1, static_cast<size_t>(readSize), opFile); in WriteRandomDataToFile()
128 if (writeActual != static_cast<size_t>(readSize)) { in WriteRandomDataToFile()
132 count -= readSize; in WriteRandomDataToFile()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/Coverage/
H A DCoverageMappingReader.h112 Error readSize(uint64_t &Result);
/kernel/liteos_a/kernel/extended/dynload/src/
H A Dlos_load_elf.c124 STATIC INT32 OsReadELFInfo(INT32 procfd, UINT8 *buffer, size_t readSize, off_t offset) in OsReadELFInfo() argument
134 if (readSize > 0) { in OsReadELFInfo()
141 byteNum = read(fd, buffer, readSize); in OsReadELFInfo()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/
H A DvktSynchronizationOperationMultiQueueTests.cpp287 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 DvktSynchronizationOperationMultiQueueTests.cpp275 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 DRenderer11.cpp3604 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...]
/kernel/linux/linux-6.6/lib/zstd/compress/
H A Dhuf_compress.c227 CHECK_V_F(readSize, HUF_readStats(huffWeight, HUF_SYMBOLVALUE_MAX+1, rankVal, &nbSymbols, &tableLog, src, srcSize)); in HUF_readCTable()
267 return readSize; in HUF_readCTable()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
H A DFramebufferGL.cpp62 gl::Extents readSize = sourceFramebuffer->getExtents(); in GetBlitFramebufferBounds() local
65 bounds.sourceBounds = gl::Rectangle(0, 0, readSize.width, readSize.height); in GetBlitFramebufferBounds()
/kernel/liteos_m/components/fs/littlefs/
H A Dlfs_adapter.c155 lfsCfg->read_size = pCfg->readSize; in LfsConfigAdapter()
/kernel/uniproton/src/fs/littlefs/
H A Dlfs_adapter.c133 lfsCfg->read_size = pCfg->readSize; in OsLfsConfigAdapter()
/third_party/glfw/src/
H A Dwl_window.c1324 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 DvalidationES2.cpp52 const Extents &readSize = readBuffer->getSize(); in IsPartialBlit() local
55 dstY1 != writeSize.height || srcX1 != readSize.width || srcY1 != readSize.height) in IsPartialBlit()

Completed in 44 milliseconds

12