/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/refresh/ |
H A D | refresh_layout_algorithm.cpp | 108 auto size = layoutWrapper->GetGeometryNode()->GetFrameSize(); in PerformLayout() local 110 MinusPaddingToSize(padding, size); in PerformLayout() 148 Alignment::GetAlignPosition(size, child->GetGeometryNode()->GetMarginFrameSize(), Alignment::TOP_CENTER) + in PerformLayout()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/ |
H A D | selection_info.h | 93 if (symbolColor.size() > 0) { in SymbolSpanStyle() 94 symbolColor = symbolColor.substr(0, symbolColor.size() - 1); in SymbolSpanStyle() 145 double size[2] = { 0.0, 0.0 }; member
|
/foundation/barrierfree/accessibility/common/interface/test/unittest/mock/ |
H A D | mock_accessibility_element_operator_callback_proxy.cpp | 23 constexpr int32_t IPC_MEMORY_SIZE = 500 * 1024; // default size is 200 * 1024B, batch query need more memory 78 HILOG_DEBUG("infos size %{public}zu, resquestId %{public}d", infos.size(), requestId); in SetSearchElementInfoByAccessibilityIdResult() 79 int32_t leftSize = static_cast<int32_t>(infos.size()); in SetSearchElementInfoByAccessibilityIdResult() 92 // when infos size is a multi of 800, do not send the last empty reply in SetSearchElementInfoByAccessibilityIdResult() 149 if (!data.WriteInt32(infos.size())) { in SetSearchElementInfoByTextResult() 150 HILOG_ERROR("write infos's size failed"); in SetSearchElementInfoByTextResult()
|
/foundation/barrierfree/accessibility/services/test/moduletest/aamstest/aams_accessibility_keyevent_filter_test/ |
H A D | aams_accessibility_keyevent_filter_test.cpp | 158 EXPECT_EQ(connectionMaps.size(), 1); in HWTEST_F() 195 EXPECT_EQ(connectionMaps.size(), 1); in HWTEST_F() 235 EXPECT_EQ(connectionMaps.size(), 1); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | animated_image.h | 54 const RefPtr<SkiaImageData>& data, const ResizeParam& size, const std::string& url); 57 const RefPtr<DrawingImageData>& data, const ResizeParam& size, const std::string& url); 181 AnimatedPixmap(const std::unique_ptr<SkCodec>& codec, const RefPtr<ImageSource>& src, const ResizeParam& size,
|
/foundation/arkui/ace_engine/interfaces/native/node/ |
H A D | node_utils.cpp | 27 int32_t OH_ArkUI_NodeUtils_GetLayoutSize(ArkUI_NodeHandle node, ArkUI_IntSize* size) in OH_ArkUI_NodeUtils_GetLayoutSize() argument 35 size->width = tempSize[0]; in OH_ArkUI_NodeUtils_GetLayoutSize() 36 size->height = tempSize[1]; in OH_ArkUI_NodeUtils_GetLayoutSize()
|
/foundation/barrierfree/accessibility/common/interface/src/ |
H A D | accessibility_element_operator_callback_proxy.cpp | 23 constexpr int32_t IPC_MEMORY_SIZE = 500 * 1024; // default size is 200 * 1024B, batch query need more memory 78 HILOG_DEBUG("infos size %{public}zu, resquestId %{public}d", infos.size(), requestId); in SetSearchElementInfoByAccessibilityIdResult() 79 int32_t leftSize = static_cast<int32_t>(infos.size()); in SetSearchElementInfoByAccessibilityIdResult() 92 // when infos size is a multi of 800, do not send the last empty reply in SetSearchElementInfoByAccessibilityIdResult() 149 if (!data.WriteInt32(infos.size())) { in SetSearchElementInfoByTextResult() 150 HILOG_ERROR("write infos's size failed"); in SetSearchElementInfoByTextResult()
|
/foundation/barrierfree/accessibility/services/test/mock/ |
H A D | mock_aams_accessibility_keyevent_filter.cpp | 158 EXPECT_EQ(connectionMaps.size(), 1); in HWTEST_F() 195 EXPECT_EQ(connectionMaps.size(), 1); in HWTEST_F() 235 EXPECT_EQ(connectionMaps.size(), 1); in HWTEST_F()
|
/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/bms_stream_installer_host_test/ |
H A D | bms_stream_installer_host_test.cpp | 89 auto size = static_cast<int32_t>(streamInstallerHost_->funcMap_.size()); in HWTEST_F() local 90 EXPECT_EQ(size, FUNCTION_SIZE_OF_STREAM_INSTALL_HOST); in HWTEST_F()
|
/foundation/multimedia/av_codec/frameworks/native/capi/avmuxer/ |
H A D | native_avmuxer.cpp | 105 CHECK_AND_RETURN_RET_LOG(sample->memory_ != nullptr && info.offset >= 0 && info.size >= 0 && in OH_AVMuxer_WriteSample() 106 sample->memory_->GetSize() >= (info.offset + info.size), AV_ERR_INVALID_VAL, "invalid memory"); in OH_AVMuxer_WriteSample() 112 sample->memory_->GetSize(), info.size); in OH_AVMuxer_WriteSample()
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/loader/ |
H A D | pipeline_layout_loader.cpp | 82 SafeGetJsonValue(*pcIter, "size", result.error, pl.pushConstant.byteSize); in Load() 88 PLUGIN_LOG_W("RENDER_VALIDATION: Invalid push constant size clamped (name:%s). push constant size %u <= %u", in Load() 100 const uint32_t inputDescriptorSetCount = static_cast<uint32_t>(descriptorSetLayouts.size()); in Load() 107 if (descRef.bindings.size() > PipelineLayoutConstants::MAX_DESCRIPTOR_SET_BINDING_COUNT) { in Load() 110 uri.data(), static_cast<uint32_t>(descRef.bindings.size()), in Load()
|
H A D | shader_data_loader.cpp | 44 if (ssr.res.success && (ssr.states.states.size() == 1u)) { in LoadState() 95 if (ver.size() == VERSION_SIZE) { in LoadFunc() 98 std::from_chars(ver.data() + delim + 1, ver.data() + ver.size(), verMinor); in LoadFunc()
|
/foundation/multimedia/audio_framework/services/audio_service/server/src/ |
H A D | pro_audio_stream_manager.cpp | 149 AUDIO_INFO_LOG("rendererStreamMap_.size() : %{public}zu", rendererStreamMap_.size()); in ReleaseRender() 150 if (rendererStreamMap_.size() == 0) { in ReleaseRender() 167 return rendererStreamMap_.size();
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/node/ |
H A D | render_node_default_acceleration_structure_staging.cpp | 82 (startIndex + count <= static_cast<uint32_t>(triangles.size()))) { in ExecuteFrame() 90 (startIndex + count <= static_cast<uint32_t>(aabbs.size()))) { in ExecuteFrame() 96 (startIndex + count <= static_cast<uint32_t>(instances.size()))) { in ExecuteFrame()
|
/foundation/graphic/graphic_3d/lume/metaobject/src/container/ |
H A D | container.cpp | 56 index = children_.size(); in Add() 96 index = BASE_NS::Math::min(index, children_.size()); in Insert() 176 toIndex = children_.size(); in Replace()
|
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/ |
H A D | ecs_listener.h | 94 SCENE_PLUGIN_VERBOSE_LOG("%s: multiple, count %zu", __func__, vec.size()); in AddEntity() 149 for (int ii = 0; ii < keepAlive.size(); ii++) { 182 for (int ii = 0; ii < keepAlive.size(); ii++) {
|
H A D | component_dll.cpp | 122 void SetRenderHandle(RENDER_NS::RenderHandleReference handle, const BASE_NS::Math::UVec2 size) override 125 if (size != cs) { 126 META_ACCESS_PROPERTY(Size)->SetValue(size); variable
|
/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/diagram/vertexprimitive/ |
H A D | geometry_range_adapter.h | 124 int32_t jIndex = arr.size() - 1; in InvertContainer() 197 if (arrData.size() == 0) { in BinarySearchPos() 202 uint32_t arrayEnd = arrData.size() - 1; in BinarySearchPos()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/ |
H A D | rs_interpolator.cpp | 210 if (times_.size() <= 0) { in InterpolateImpl() 216 if (input > times_[times_.size() - 1] - EPSILON) { in InterpolateImpl() 217 return times_[times_.size() - 1]; in InterpolateImpl()
|
/foundation/graphic/graphic_3d/lume/LumeDotfield/src/systems/ |
H A D | dotfield_system.cpp | 215 prim.size = { static_cast<uint32_t>(dfc.size.x), static_cast<uint32_t>(dfc.size.y) }; in OnComponentEvent()
|
/foundation/graphic/graphic_2d/graphic_test/graphic_test/rs_display_effect/property_display/ |
H A D | test_RSBackground_Color.cpp | 48 for (int i = 0; i < colorList.size(); i++) { in GRAPHIC_TEST() 153 for (int i = 0; i < brightnessFractList.size(); i++) { in GRAPHIC_TEST() 184 for (int i = 0; i < shaderEffectList.size(); i++) { in GRAPHIC_TEST()
|
/foundation/graphic/graphic_3d/lume/LumeEngine/src/log/ |
H A D | logger.cpp | 112 // use vsnprintf to calculate the required size (not supported by the _s variant) in VLog() 117 if (sizeNeeded > 0 && static_cast<size_t>(sizeNeeded) > buffer_.size()) { in VLog() 121 int ret = vsnprintf_s(buffer_.data(), buffer_.size(), buffer_.size() - 1, format.data(), tmp); in VLog()
|
/foundation/graphic/graphic_3d/lume/LumeEngine/src/io/ |
H A D | std_filesystem.cpp | 77 if ((path.length() < 4) || (path[2] != ':') || (path[3] != '/')) { // 4: size limit; 2 3: index of ':' '/' in ValidatePath() 181 basePath_.resize(basePath_.size() - 1); in StdFilesystem() 215 return { IDirectory::Entry::DIRECTORY, string { asString.data(), asString.size() }, in GetEntry() 219 return { IDirectory::Entry::FILE, string { asString.data(), asString.size() }, in GetEntry()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/systemtest/ |
H A D | rs_interfaces_system_test.cpp | 144 opts.size.width = 3;
in HWTEST_F() 145 opts.size.height = 2;
in HWTEST_F() 148 int32_t stride = opts.size.width;
in HWTEST_F()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/ |
H A D | image_color_space_test.cpp | 88 EXPECT_NE(grColorSpace.GetWhitePoint().size(), 0UL); in HWTEST_F() 89 EXPECT_NE(grColorSpace.GetXYZToRGB().size(), 0UL); in HWTEST_F() 90 EXPECT_NE(grColorSpace.GetRGBToXYZ().size(), 0UL); in HWTEST_F()
|