Home
last modified time | relevance | path

Searched refs:size (Results 5376 - 5400 of 13930) sorted by relevance

1...<<211212213214215216217218219220>>...558

/foundation/window/window_manager/window_scene/screen_session_manager/src/
H A Dscreen_setting_helper.cpp253 int32_t strLength = dataStr.size(); in SplitString()
261 if (currentValue.size() > 0) { in SplitString()
269 if (currentValue.size() > 0) { in SplitString()
274 if (splitValues.size() == 0) { in SplitString()
284 int32_t strLength = inputString.size(); in GetDataFromString()
291 if (dataStr.size() > 0) { in GetDataFromString()
299 if (dataStr.size() > 0) { in GetDataFromString()
304 return datas.size(); in GetDataFromString()
/foundation/window/window_manager/wmserver/src/
H A Dwindow_layout_policy_tile.cpp51 * Layout above and below nodes, it is necessary when display rotatation or size change in Launch()
134 auto num = foregroundNodes.size(); in IsTileRectSatisfiedWithSizeLimits()
147 // if size of foreground nodes is equal to or more than max tile window number in IsTileRectSatisfiedWithSizeLimits()
150 } else { // if size of foreground nodes is less than max tile window number in IsTileRectSatisfiedWithSizeLimits()
228 while (!foregroundNodes.empty() && foregroundNodes.size() >= maxTileWinNumMap_[displayId]) { in PushBackNodeInTileQueue()
256 uint32_t num = foregroundNodes.size(); in IsValidTileQueueAndPresetRects()
258 if (num > maxTileWinNumMap_[displayId] || num > presetRectsForAllLevel.size() || num == 0) { in IsValidTileQueueAndPresetRects()
260 "%{public}u", num, maxTileWinNumMap_[displayId], static_cast<uint32_t>(presetRectsForAllLevel.size())); in IsValidTileQueueAndPresetRects()
264 if (presetRect.size() != num) { in IsValidTileQueueAndPresetRects()
265 WLOGE("Invalid preset rects, foreground tileNum: %{public}u, presetRect.size() in IsValidTileQueueAndPresetRects()
[all...]
/test/ostest/wukong/test_flow/src/
H A Dspecial_test_flow.cpp101 if (swapStartPoint_.size() == NUMBER_TWO && swapEndPoint_.size() == NUMBER_TWO) { in EnvInit()
118 if (touchParam_.size() == NUMBER_TWO) { in EnvInit()
219 if (bundleList.size() == 0 || abilityList.size() == 0) { in ProtectRightAbility()
220 ERROR_LOG_STR("bundleList (%u) or abilityList (%u) is 0", bundleList.size(), abilityList.size()); in ProtectRightAbility()
410 // get the size of screen in CheckPosition()
415 if (argumentlist.size() > 0) { in CheckPosition()
/test/xts/dcts/communication/softbus_standard/socket_trans/client/func/
H A Dsocket_trans_func_test.cpp135 * @tc.name : SendByte Packet size 1B, send and receive successful
138 * @tc.size : MediumTest
149 int size = 1; in HWTEST_F() local
150 ret = SendSocket4Data(DATA_TYPE_BYTE, size); in HWTEST_F()
157 * @tc.name : SendMessage Packet size 1B, send and receive successful
160 * @tc.size : MediumTest
170 int size = 1; in HWTEST_F() local
171 ret = SendSocket4Data(DATA_TYPE_MSG, size); in HWTEST_F()
178 * @tc.name : SendFile size 8MB, send and receive successful
181 * @tc.size
291 int size = 1; HWTEST_F() local
312 int size = 1; HWTEST_F() local
[all...]
/test/xts/hats/kernel/accesstokenid/
H A Daccesstokenid_test.cpp533 size_t size = 1; in HWTEST_F() local
537 ret = setgroups(size, list); in HWTEST_F()
563 size_t size = 1; in HWTEST_F() local
567 ret = setgroups(size, list); in HWTEST_F()
593 size_t size = 2; in HWTEST_F() local
597 ret = setgroups(size, list); in HWTEST_F()
623 size_t size = 2; in HWTEST_F() local
627 ret = setgroups(size, list); in HWTEST_F()
/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/
H A Drender_backend_gles.cpp66 uint32_t size; member
397 uint64_t size { 0 };
528 // size is calculated for single layer / slice in SetupBlit()
529 const uint64_t size = static_cast<uint64_t>(iPlat.bytesperpixel) * in SetupBlit() local
541 uint64_t sizeOfData = size; in SetupBlit()
548 // size in bytes.. in SetupBlit()
568 return { iPlat, dstGpuImage.GetDesc(), bufferImageCopy, data, size, sizeOfData, compinfo.compressed }; in SetupBlit()
669 constexpr void ClampOffset(int32_t& srcOffset, int32_t& dstOffset, uint32_t& size) in ClampOffset() argument
672 size += srcOffset; in ClampOffset()
678 constexpr void ClampOffset(Offset3D& srcOffset, Offset3D& dstOffset, Size3D& size) in ClampOffset() argument
685 ClampSize(int32_t offset, uint32_t maxSize, uint32_t& size) ClampSize() argument
692 ClampSize(const Offset3D& offset, const GpuImageDesc& desc, Size3D& size) ClampSize() argument
1839 auto size = renderCmd.imageCopy.extent; RenderCommandCopyImage() local
[all...]
/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/
H A Drender_backend_vk.cpp177 presentationData_.infos.resize(backBufferConfig.swapchainData.size()); in AcquirePresentationInfo()
178 for (size_t swapIdx = 0; swapIdx < backBufferConfig.swapchainData.size(); ++swapIdx) { in AcquirePresentationInfo()
188 PLUGIN_ASSERT(semaphoreIdx < platSwapchain.swapchainImages.semaphores.size()); in AcquirePresentationInfo()
261 if (pi.swapchainImageIndex >= static_cast<uint32_t>(platSwapchain.swapchainImages.images.size())) { in AcquirePresentationInfo()
263 static_cast<uint32_t>(platSwapchain.swapchainImages.images.size())); in AcquirePresentationInfo()
279 static_cast<uint32_t>(renderCommandFrameData.renderCommandContexts.size() - 1); in AcquirePresentationInfo()
415 commandBufferSubmitter_.commandBuffers.resize(renderCommandFrameData.renderCommandContexts.size());
436 PLUGIN_ASSERT(renderCommandFrameData.renderCommandContexts.size() == commandBufferSubmitter_.commandBuffers.size());
455 for (int32_t cmdBufferIdx = (int32_t)commandBufferSubmitter_.commandBuffers.size()
[all...]
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/lwip_sack/include/lwip/
H A Dsockets.h252 #define SO_SNDBUF 0x1001 /* Unimplemented: send buffer size */
253 #define SO_RCVBUF 0x1002 /* receive buffer size */
535 * and the size of any in or out parameters in the upper
950 * by the file descriptor s. namelen specifies the size, in bytes, of the address
1050 * On return it contains the actual size, in bytes, of the name returned.
1055 * @param[in,out] namelen Specifies the size of name structure.
1073 * - For PF_PACKET socket type, name should be pointing to sockaddr_ll type or memory of size struct sockaddr_ll
1095 * @param[in,out] namelen Specifies the size of name structure.
1114 * - For PF_PACKET socket type, name should be pointing to sockaddr_ll type or memory of size struct sockaddr_ll
1130 * specified by sockfd. If the size o
[all...]
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/
H A Ddrm_mipi_dsi.c463 packet->size = sizeof(packet->header) + packet->payload_length; in mipi_dsi_create_packet()
510 * mipi_dsi_set_maximum_return_packet_size() - specify the maximum size of the
514 * @value: the maximum size of the payload
586 * @size: size of payload buffer
594 ssize_t mipi_dsi_generic_write(struct mipi_dsi_device *dsi, const void *payload, size_t size) in mipi_dsi_generic_write() argument
596 struct mipi_dsi_msg msg = {.channel = dsi->channel, .tx_buf = payload, .tx_len = size}; in mipi_dsi_generic_write()
598 switch (size) { in mipi_dsi_generic_write()
626 * @size: size o
634 mipi_dsi_generic_read(struct mipi_dsi_device *dsi, const void *params, size_t num_params, void *data, size_t size) mipi_dsi_generic_read() argument
714 size_t size; mipi_dsi_dcs_write() local
[all...]
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/
H A Dmali_kbase_gpuprops.c32 * @size: The number of bits to extract.
34 * Context: @offset + @size <= 32.
36 * Return: Bits [@offset, @offset + @size) from @value.
39 #define KBASE_UBFX32(value, offset, size) (((u32)(value) >> (u32)(offset)) & (u32)((1ULL << (u32)(size)) - 1))
336 int size; member
437 u32 size = 0; in kbase_gpuprops_populate_user_buffer() local
441 /* 4 bytes for the ID, and the size of the property */ in kbase_gpuprops_populate_user_buffer()
442 size += 4 + gpu_property_mapping[i].size; in kbase_gpuprops_populate_user_buffer()
[all...]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/
H A Dmali_kbase_gpuprops.c36 * @size: The number of bits to extract.
38 * Context: @offset + @size <= 32.
40 * Return: Bits [@offset, @offset + @size) from @value.
43 #define KBASE_UBFX32(value, offset, size) \
44 (((u32)(value) >> (u32)(offset)) & (u32)((1ULL << (u32)(size)) - 1))
340 int size; member
440 u32 size = 0; in kbase_gpuprops_populate_user_buffer() local
444 /* 4 bytes for the ID, and the size of the property */ in kbase_gpuprops_populate_user_buffer()
445 size += 4 + gpu_property_mapping[i].size; in kbase_gpuprops_populate_user_buffer()
[all...]
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
H A Dbcmsdh.c519 bcmsdh_reg_read(void *sdh, uintptr addr, uint size) in bcmsdh_reg_read() argument
538 if (size == 4) in bcmsdh_reg_read()
542 SDIOH_READ, SDIO_FUNC_1, addr, &word, size); in bcmsdh_reg_read()
550 switch (size) { in bcmsdh_reg_read()
563 /* otherwise, bad sdio access or invalid size */ in bcmsdh_reg_read()
564 BCMSDH_ERROR(("%s: error reading addr 0x%x size %d\n", in bcmsdh_reg_read()
565 __FUNCTION__, (unsigned int)addr, size)); in bcmsdh_reg_read()
570 bcmsdh_reg_write(void *sdh, uintptr addr, uint size, uint32 data) in bcmsdh_reg_write() argument
577 __FUNCTION__, (unsigned int)addr, size*8, data)); in bcmsdh_reg_write()
590 if (size in bcmsdh_reg_write()
[all...]
/foundation/ability/ability_runtime/services/appmgr/src/
H A Dapp_spawn_client.cpp172 appDacInfo.gidCount = startMsg.gids.size() + startMsg.dataGroupInfoList.size(); in SetDacInfo()
173 for (uint32_t i = 0; i < startMsg.gids.size(); i++) { in SetDacInfo()
176 for (uint32_t i = startMsg.gids.size(); i < appDacInfo.gidCount; i++) { in SetDacInfo()
177 appDacInfo.gidTable[i] = startMsg.dataGroupInfoList[i - startMsg.gids.size()].gid; in SetDacInfo()
377 if (startMsg.ownerId.size()) { in AppspawnCreateDefaultMsg()
434 if (startMsg.gids.size() > APP_MAX_GIDS) { in VerifyMsg()
439 for (uint32_t i = 0; i < startMsg.gids.size(); ++i) { in VerifyMsg()
445 if (startMsg.procName.empty() || startMsg.procName.size() >= MAX_PROC_NAME_LEN) { in VerifyMsg()
566 TAG_LOGI(AAFwkTag::APPMGR, "size in SetExtMsgFds()
[all...]
/foundation/arkui/ace_engine/test/unittest/core/pattern/relative_container/
H A Drelative_container_new_test_ng.cpp68 if (left.size() != right.size()) { in ListsEqual()
248 ASSERT_EQ(frameNode->GetChildren().size(), 5); in HWTEST_F()
268 EXPECT_EQ(resultList1Value.size(), resultList2Value.size()); in HWTEST_F()
280 ASSERT_EQ(frameNode->GetChildren().size(), 5); in HWTEST_F()
305 EXPECT_EQ(resultList1Value.size(), resultList2Value.size()); in HWTEST_F()
374 ASSERT_EQ(frameNode->GetChildren().size(), 3); in HWTEST_F()
490 ASSERT_EQ(frameNode->GetChildren().size(), in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/span/
H A Dtlv_util.cpp112 WriteInt32(buff, value.size()); in WriteFontFamily()
166 WriteInt32(buff, value.size()); in WriteTextShadows()
188 WriteInt32(buff, value.size()); in WriteFontFeature()
252 WriteInt32(buff, static_cast<int32_t>(tmpPixel.size())); in WritePixelMap()
405 if (value.size.has_value()) { in WriteImageSpanAttribute()
407 WriteImageSpanSize(buff, value.size.value()); in WriteImageSpanAttribute()
442 l.size = ReadImageSpanSize(buff, cursor); in ReadImageSpanAttribute()
475 WriteDimension(buff, value.size.Width()); in WriteLeadingMargin()
476 WriteDimension(buff, value.size.Height()); in WriteLeadingMargin()
493 l.size in ReadLeadingMargin()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/svg/parse/
H A Dsvg_graphic.cpp380 std::vector<SkScalar> intervals(lineDashState.size()); in UpdateLineDash()
381 for (size_t i = 0; i < lineDashState.size(); ++i) { in UpdateLineDash()
385 strokePaint_.setPathEffect(SkDashPathEffect::Make(intervals.data(), lineDashState.size(), phase)); in UpdateLineDash()
388 RSScalar intervals[lineDashState.size()]; in UpdateLineDash()
389 for (size_t i = 0; i < lineDashState.size(); ++i) { in UpdateLineDash()
394 RSRecordingPathEffect::CreateDashPathEffect(intervals, lineDashState.size(), phase)); in UpdateLineDash()
396 auto intervalsLen = lineDashState.size(); in UpdateLineDash()
398 if (lineDashState.size() % 2 != 0) { // 2:judging odd in UpdateLineDash()
399 intervalsLen = lineDashState.size() * 2; // 2:double size in UpdateLineDash()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/tabs/
H A Dtab_bar_pattern.h271 if (selectedModes_.size() <= position) { in SetSelectedMode()
285 if (indicatorStyles_.size() <= position) { in SetIndicatorStyle()
300 if (tabBarStyles_.size() <= position) { in SetTabBarStyle()
315 if (bottomTabBarStyles_.size() <= position) { in SetBottomTabBarStyle()
335 if (iconStyles_.size() <= position) { in SetIconStyle()
355 if (symbolArray_.size() <= position) { in SetSymbol()
435 if (position < 0 || position >= tabBarStyles_.size()) { in GetTabBarStyle()
443 if (position < 0 || position >= bottomTabBarStyles_.size()) { in GetBottomTabBarStyle()
508 if (tabBarItemIds_.size() <= position) { in AddTabBarItemId()
617 std::pair<float, float> GetOverScrollInfo(const SizeF& size);
[all...]
/foundation/graphic/graphic_3d/lume/LumeRender/src/nodecontext/
H A Drender_node_util.cpp100 output.reserve(input.size()); in SetupRenderNodeResourceHandles()
110 output.reserve(input.size()); in SetupRenderNodeResourceHandles()
156 rp.attachments.reserve(renderPass.attachments.size()); in CreateInputRenderPass()
249 dc.counts.reserve(dc.counts.size() + setRef.bindings.size()); in GetDescriptorCounts()
271 const uint32_t attachmentCount = (uint32_t)renderPass.attachments.size(); in CreateRenderPass()
277 for (size_t idx = 0; idx < renderPass.attachments.size(); ++idx) { in CreateRenderPass()
299 spDesc.inputAttachmentCount = (uint32_t)renderPass.inputAttachmentIndices.size(); in CreateRenderPass()
300 spDesc.colorAttachmentCount = (uint32_t)renderPass.colorAttachmentIndices.size(); in CreateRenderPass()
301 spDesc.resolveAttachmentCount = (uint32_t)renderPass.resolveAttachmentIndices.size(); in CreateRenderPass()
[all...]
/foundation/multimedia/audio_framework/services/audio_service/common/src/
H A Daudio_volume.cpp87 streamVolume_.size()); in GetVolume()
90 sessionId, streamVolume_.size()); in GetVolume()
102 volumeType, deviceClass.c_str(), itSV->second.volume_, itSV->second.isMuted_, systemVolume_.size()); in GetVolume()
105 " systemVolumeSize:%{public}zu", volumeType, deviceClass.c_str(), systemVolume_.size()); in GetVolume()
259 systemVolume_.size()); in SetSystemVolume()
277 volumeType, deviceClass.c_str(), volume, volumeLevel, systemVolume_.size()); in SetSystemVolume()
323 AppendFormat(dumpString, "\n - audio system volume size: %zu\n", systemVolumeList.size()); in Dump()
340 AppendFormat(dumpString, "\n - audio stream volume size: %zu, his volume size in Dump()
[all...]
/foundation/graphic/graphic_3d/lume/LumeFont/src/
H A Dfont_manager.cpp170 if (len != file->Read(bytes.data(), bytes.size())) { in CreateFontBuffer()
259 if (len != file->Read(buf.data(), buf.size())) { in GetTypeFacesByFile()
311 CORE_LOG_N("check dir '%s' with %zu entries", path.data(), files.size()); in GetTypeFacesByDir()
325 FT_Error err = FT_New_Memory_Face(fontLib_, buf.data(), (FT_Long)buf.size(), index, &face); in OpenFtFace()
376 atlasName += to_string(atlasTextures_.size()); in CreateAtlasTexture()
402 for (uint32_t i = 0; i < atlasTextures_.size(); ++i) { in UpdateAtlas()
406 for (uint32_t col = 0; col < atlas.columns.size(); ++col) { in UpdateAtlas()
422 size_t i = atlasTextures_.size(); in UpdateAtlas()
448 allColumnWidths.reserve(atlasTextures_.size()); in UploadPending()
452 columnWidths.reserve(atlas.pending.size()); in UploadPending()
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/animation/
H A Drs_render_particle.h447 return renderParticleVector_.size(); in GetParticleSize()
462 return imageVector_.size(); in GetParticleImageCount()
468 if (this->renderParticleVector_.size() != rhs.renderParticleVector_.size() || in operator ==()
469 this->imageVector_.size() != rhs.imageVector_.size()) { in operator ==()
472 if (this->renderParticleVector_.size() == 0 && this->imageVector_.size() == 0) { in operator ==()
475 for (size_t i = 0; i < this->renderParticleVector_.size(); i++) { in operator ==()
479 for (size_t i = 0; i < this->imageVector_.size(); in operator ==()
[all...]
/foundation/graphic/graphic_2d/utils/color_manager/src/
H A Dcolor_space.cpp179 for (size_t i = 0; i < a.size(); ++i) { in operator *()
180 for (size_t j = 0; j < b.size(); ++j) { in operator *()
181 for (size_t k = 0; k < b[0].size(); ++k) { in operator *()
192 for (size_t i = 0; i < x.size(); ++i) { in operator *()
193 for (size_t j = 0; j < a.size(); ++j) { in operator *()
203 for (size_t i = 0; i < a.size(); ++i) { in operator *()
204 for (size_t j = 0; j < x.size(); ++j) { in operator *()
214 for (size_t i = 0; i < a.size(); ++i) { in operator /()
322 for (size_t r = 0; r < dst.size(); ++r) { in Invert()
323 for (size_t c = 0; c < dst[0].size(); in Invert()
[all...]
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/
H A Dskia_image.cpp592 size_t size = pixmap.computeByteSize(); in Serialize() local
594 writer.writeUInt(size); in Serialize()
595 writer.writeByteArray(addr, size); in Serialize()
607 writer.writeUInt(data->size()); in Serialize()
608 writer.writeByteArray(data->data(), data->size()); in Serialize()
646 size_t size = reader.readUInt(); in Deserialize() local
647 if (size == 0) { in Deserialize()
650 SkAutoMalloc colorBuffer(size); in Deserialize()
651 if (!reader.readByteArray(colorBuffer.get(), size)) { in Deserialize()
654 colorSpace = SkColorSpace::Deserialize(colorBuffer.get(), size); in Deserialize()
[all...]
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/
H A Dmoving_photo_processor.cpp197 int64_t size = get<int64_t>( in ParseMovingPhotoData() local
206 movingPhotoData.size = size; in ParseMovingPhotoData()
218 values.PutLong(PhotoColumn::MEDIA_SIZE, movingPhotoData.size); in UpdateMovingPhotoData()
260 newData.size = -1; // set abnormal size to -1 if original size is 0 in GetUpdatedMovingPhotoData()
267 newData.size = static_cast<int64_t>(imageSize); in GetUpdatedMovingPhotoData()
273 newData.size = static_cast<int64_t>(imageSize + videoSize + extraSize); in GetUpdatedMovingPhotoData()
287 newData.size in GetUpdatedMovingPhotoData()
[all...]
/foundation/resourceschedule/ffrt/src/dfx/bbox/
H A Dbbox.cpp145 if (tmp.size() > 0) { in SaveNormalTaskStatus()
152 tmp.size(), t->gid, t->qos(), t->label.c_str()); in SaveNormalTaskStatus()
188 if (tmp.size() > 0) { in SaveQueueTaskStatus()
195 tmp.size(), t->gid, t->GetQos(), t->label.c_str()); in SaveQueueTaskStatus()
441 if (tidArr.size() == 0) { in SaveWorkerStatusInfo()
444 oss << " qos " << i << ": worker num:" << tidArr.size() << " tid:"; in SaveWorkerStatusInfo()
506 if (tmp.size() > 0) { in SaveNormalTaskStatusInfo()
514 ss << " <" << idx++ << "/" << tmp.size() << ">" << "stack: task id " << t->gid << ",qos " in SaveNormalTaskStatusInfo()
558 if (tmp.size() > 0) { in SaveQueueTaskStatusInfo()
566 ss << "<" << idx++ << "/" << tmp.size() << ">" << "i in SaveQueueTaskStatusInfo()
[all...]

Completed in 30 milliseconds

1...<<211212213214215216217218219220>>...558