/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()
|
/foundation/multimedia/media_foundation/engine/plugin/common/ |
H A D | plugin_buffer.cpp | 73 size_t Memory::Read(uint8_t* out, size_t readSize, size_t position) in Read() argument 81 size_t length = std::min(readSize, maxLength); in Read()
|
/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()
|
/foundation/systemabilitymgr/samgr/services/common/src/ |
H A D | parse_util.cpp | 651 int32_t readSize = 0; in ParseJsonObj() local 653 readSize++; in ParseJsonObj() 654 if (readSize < MAX_JSON_OBJECT_SIZE) { in ParseJsonObj()
|
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/ |
H A D | sqlite_statement.cpp | 130 size_t readSize = fread(buffer, sizeof(uint64_t), BUFFER_LEN, file); in ReadFile2Buffer() local 131 if (readSize != BUFFER_LEN) { in ReadFile2Buffer() 132 LOG_ERROR("read db file size: %{public}zu, errno is %{public}d", readSize, errno); in ReadFile2Buffer()
|
/kernel/liteos_m/components/dynlink/ |
H A D | los_dynlink.c | 129 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 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/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);
|
/test/xts/hats/hdf/usb/mtpTest_additional/common/ |
H A D | usbfn_mtp_test.cpp | 121 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()
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libsvgplugin/src/ |
H A D | svg_decoder.cpp | 445 uint32_t readSize = 0;
in BuildStream() local 446 if (!inputStreamPtr_->Read(length, data.get(), length, readSize)) {
in BuildStream()
|
/foundation/distributedhardware/distributed_input/common/include/ |
H A D | input_hub.h | 117 size_t ReadInputEvent(int32_t readSize, Device &device);
|
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/stream/src/player/src/ |
H A D | cast_stream_player.cpp | 813 int32_t readSize = imageSize; in GetImageResource() local 816 int32_t curReadBytes = dataSource_->ReadBuffer(currDstPos, readSize, sumReadBytes); in GetImageResource() 819 readSize -= curReadBytes; in GetImageResource()
|
/foundation/CastEngine/castengine_cast_plus_stream/src/stream/src/player/src/ |
H A D | cast_stream_player.cpp | 813 int32_t readSize = imageSize; in GetImageResource() local 816 int32_t curReadBytes = dataSource_->ReadBuffer(currDstPos, readSize, sumReadBytes); in GetImageResource() 819 readSize -= curReadBytes; in GetImageResource()
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libpngplugin/src/ |
H A D | png_decoder.cpp | 605 size_t readSize = (bufferSize < totalSize) ? bufferSize : totalSize; in ProcessData() local 606 uint32_t ret = IncrementalRead(sourceStream, readSize, streamData); in ProcessData() 608 IMAGE_LOGE("ProcessData Read from source stream fail, readSize:%{public}zu, bufferSize:%{public}zu," in ProcessData() 609 "dataSize:%{public}u, totalSize:%{public}zu.", readSize, bufferSize, streamData.dataSize, totalSize); in ProcessData()
|
/kernel/liteos_a/kernel/extended/dynload/src/ |
H A D | los_load_elf.c | 124 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 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...] |
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/common/src/ |
H A D | pixel_map.cpp | 1540 int readSize = MAX_READ_COUNT; in ReadPixels() local 1543 readSize = (int)(bufferSize - tmpSize); in ReadPixels() 1545 errno_t ret = memcpy_s(dst + tmpSize, readSize, data_ + tmpSize, readSize); in ReadPixels() 1550 tmpSize += static_cast<uint64_t>(readSize); in ReadPixels() 1852 int readSize = MAX_READ_COUNT; in WritePixels() local 1855 readSize = (int)(bufferSize - tmpSize); in WritePixels() 1857 errno_t ret = memcpy_s(data_ + tmpSize, readSize, source + tmpSize, readSize); in WritePixels() 1862 tmpSize += static_cast<uint64_t>(readSize); in WritePixels() [all...] |
/foundation/filemanagement/dfs_service/services/cloudfiledaemon/src/cloud_disk/ |
H A D | file_operations_cloud.cpp | 1267 int64_t readSize; in Read() local 1281 readSize = filePtr->readSession->PRead(offset, size, buf.get(), preadError); in Read() 1283 LOGD("read success, %lld bytes", static_cast<long long>(readSize)); in Read() 1284 fuse_reply_buf(req, buf.get(), readSize); in Read()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/multiver/ |
H A D | multi_ver_natural_store.cpp | 202 size_t readSize = fread(static_cast<void *>(&block), 1, sizeof(VersionFileBlock), versionFile); in GetVersionAndTag() local 203 if (readSize != sizeof(VersionFileBlock)) { in GetVersionAndTag()
|
/kernel/linux/linux-6.6/lib/zstd/compress/ |
H A D | huf_compress.c | 227 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 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()
|
/foundation/multimedia/av_codec/test/unittest/plugins_source_test/ |
H A D | file_fd_source_plugin_unit_test.cpp | 62 size_t ReadBuffer(void* ptr, size_t readSize, int waitTimes = 0) in ReadBuffer() argument
|
/kernel/liteos_m/components/fs/littlefs/ |
H A D | lfs_adapter.c | 155 lfsCfg->read_size = pCfg->readSize;
in LfsConfigAdapter()
|