Home
last modified time | relevance | path

Searched refs:cm (Results 1 - 25 of 28) sorted by relevance

12

/foundation/resourceschedule/ffrt/test/ut/
H A Dworker_manager_test.cpp63 CPUWorkerManager* cm = new SCPUWorkerManager(); in HWTEST_F() local
65 cm->JoinRtg(*qos); in HWTEST_F()
75 CPUWorkerManager* cm = new SCPUWorkerManager(); in HWTEST_F() local
77 ThreadGroup* tg = cm->JoinTG(*qos); in HWTEST_F()
81 ThreadGroup* tg1 = cm->JoinTG(*qos1); in HWTEST_F()
92 CPUWorkerManager* cm = new SCPUWorkerManager(); in HWTEST_F() local
94 cm->LeaveTG(*qos); in HWTEST_F()
/foundation/resourceschedule/ffrt/test/ut/testcase/
H A Dut_worker_manager.cpp61 CPUWorkerManager* cm = new SCPUWorkerManager(); in HWTEST_F() local
63 cm->IncWorker(*qos); in HWTEST_F()
64 cm->JoinRtg(*qos); in HWTEST_F()
67 delete cm; in HWTEST_F()
72 CPUWorkerManager* cm = new SCPUWorkerManager(); in HWTEST_F() local
74 cm->IncWorker(*qos); in HWTEST_F()
77 delete cm; in HWTEST_F()
82 CPUWorkerManager* cm = new SCPUWorkerManager(); in HWTEST_F() local
84 cm->GetWorkerCount(*qos); in HWTEST_F()
87 delete cm; in HWTEST_F()
92 CPUWorkerManager* cm = new SCPUWorkerManager(); HWTEST_F() local
104 CPUWorkerManager* cm = new SCPUWorkerManager(); HWTEST_F() local
[all...]
/foundation/communication/dsoftbus/components/nstackx/nstackx_util/platform/liteos/
H A Dsys_socket.c83 static inline void SetupCmsg(struct cmsghdr *cm, uint16_t mss) in SetupCmsg() argument
85 cm->cmsg_level = SOL_UDP; in SetupCmsg()
86 cm->cmsg_type = UDP_SEGMENT; in SetupCmsg()
87 cm->cmsg_len = CMSG_LEN(sizeof(mss)); in SetupCmsg()
88 *(uint16_t *)(void *)CMSG_DATA(cm) = mss; in SetupCmsg()
/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/src/
H A Dcheck_gso_support.c41 struct cmsghdr *cm = FILLP_NULL_PTR; in SendUdpSegment() local
68 cm = CMSG_FIRSTHDR(&mh); in SendUdpSegment()
69 cm->cmsg_level = SOL_UDP; in SendUdpSegment()
70 cm->cmsg_type = UDP_SEGMENT; in SendUdpSegment()
71 cm->cmsg_len = CMSG_LEN(sizeof(FILLP_UINT16)); in SendUdpSegment()
72 valp = (FILLP_UINT16 *)(void *)CMSG_DATA(cm); in SendUdpSegment()
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/
H A Decs_object.cpp193 for (auto cm : managers) { in UpdateMetaCache()
194 auto handle = cm->GetData(entity_); in UpdateMetaCache()
201 if(v->manager == cm) { in UpdateMetaCache()
207 m = ComponentManager::Create(*cm); in UpdateMetaCache()
212 if (cm->GetName() == "NameComponent") { in UpdateMetaCache()
227 BASE_NS::string name { cm->GetName() }; in UpdateMetaCache()
241 void UpdateProperties(const CORE_NS::IComponentManager& cm) in UpdateProperties() argument
243 auto* papi = cm.GetData(entity_)->Owner(); in UpdateProperties()
249 if (active_mgr->manager == &cm) { in UpdateProperties()
H A Decs_listener.h91 if (object.Compare(oldEntity->entity) && &manager == oldEntity->cm) { in AddEntity()
121 if (obj->entity.Compare(object) && obj->cm == &manager) { in RemoveEntity()
205 CORE_NS::IComponentManager& cm, IEcsProxyObject::WeakPtr entity) in Create()
207 return BASE_NS::shared_ptr<ComponentProxy> { new ComponentProxy { &cm, entity, 1 } }; in Create()
209 CORE_NS::IComponentManager* cm; member
H A Decs_serializer.cpp643 for (auto cm : cms) { in WriteComponents()
644 const auto componentId = cm->GetComponentId(entity); in WriteComponents()
646 auto uidString = to_string(cm->GetUid()); in WriteComponents()
653 const auto* cm = ec.GetEcs().GetComponentManager(StringToUid(uidString)); in WriteComponents() local
654 const auto componentId = cm->GetComponentId(entity); in WriteComponents()
657 if (WriteComponent(ec, entity, *cm, componentId, componentJson)) { in WriteComponents()
665 bool EcsSerializer::WriteComponent(const IEntityCollection& ec, Entity entity, const IComponentManager& cm, in WriteComponent() argument
670 const auto* props = ec.GetSerializedProperties(entity, cm.GetUid()); in WriteComponent()
672 const auto* propertyHandle = cm.GetData(id); in WriteComponent()
706 jsonOut["name"] = string(cm in WriteComponent()
975 auto* cm = ecs.GetComponentManager(componentUid); ReadComponents() local
[all...]
H A Dentity_collection.cpp663 for (auto& cm : srcCollection.GetEcs().GetComponentManagers()) {
664 auto* properties = srcSerializationCollection.GetSerializedProperties(srcEntity, cm->GetUid());
666 dstSerializationCollection.MarkComponentSerialized(dstEntity, cm->GetUid(), true);
668 dstSerializationCollection.MarkPropertySerialized(dstEntity, cm->GetUid(), property, true);
831 auto cm = GetEcs().GetComponentManager(component);
832 if (!cm) {
844 const auto& propertyApi = cm->GetPropertyApi();
862 auto* cm = GetEcs().GetComponentManager(component);
863 if (cm) {
H A Decs_util.h120 for (auto cm : managers) { in RewriteEntityReferences()
121 if (auto id = cm->GetComponentId(entity); id != CORE_NS::IComponentManager::INVALID_COMPONENT_ID) { in RewriteEntityReferences()
122 auto* data = cm->GetData(id); in RewriteEntityReferences()
H A Decs_serializer.h46 bool WriteComponent(const IEntityCollection& ec, CORE_NS::Entity entity, const CORE_NS::IComponentManager& cm,
H A Decs_animation.cpp1142 auto cm = ecs_->GetComponentManager(componentUid); in GetProperty() local
1143 if (IPropertyHandle* targetHandle = cm->GetData(entity); targetHandle) { in GetProperty()
/foundation/communication/dsoftbus/components/nstackx/nstackx_util/platform/unix/
H A Dsys_socket.c66 static inline void SetupCmsg(struct cmsghdr *cm, uint16_t mss) in SetupCmsg() argument
68 cm->cmsg_level = SOL_UDP; in SetupCmsg()
69 cm->cmsg_type = UDP_SEGMENT; in SetupCmsg()
70 cm->cmsg_len = CMSG_LEN(sizeof(mss)); in SetupCmsg()
71 *(uint16_t *)(void *)CMSG_DATA(cm) = mss; in SetupCmsg()
/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/
H A Dpcb.c87 void SendUdpSegmentCmsg(struct cmsghdr *cm) in SendUdpSegmentCmsg() argument
90 cm->cmsg_level = SOL_UDP; in SendUdpSegmentCmsg()
91 cm->cmsg_type = UDP_SEGMENT; in SendUdpSegmentCmsg()
92 cm->cmsg_len = CMSG_LEN(sizeof(FILLP_UINT16)); in SendUdpSegmentCmsg()
93 valp = (FILLP_UINT16 *)(void *)CMSG_DATA(cm); in SendUdpSegmentCmsg()
/foundation/graphic/graphic_3d/lume/LumeEcsSerializer/EcsSerializer/src/ecs_serializer/
H A Decs_serializer.cpp63 bool WriteComponent(const IEntityCollection& ec, CORE_NS::Entity entity, const CORE_NS::IComponentManager& cm,
581 for (auto cm : cms) { in WriteComponents()
582 const auto componentId = cm->GetComponentId(entity); in WriteComponents()
584 auto uidString = to_string(cm->GetUid()); in WriteComponents()
591 const auto* cm = ec.GetEcs().GetComponentManager(StringToUid(uidString)); in WriteComponents() local
592 const auto componentId = cm->GetComponentId(entity); in WriteComponents()
595 if (WriteComponent(ec, entity, *cm, componentId, componentJson)) { in WriteComponents()
603 bool EcsSerializer::WriteComponent(const IEntityCollection& ec, Entity entity, const IComponentManager& cm, in WriteComponent() argument
608 const auto* props = ec.GetSerializedProperties(entity, cm.GetUid()); in WriteComponent()
610 const auto* propertyHandle = cm in WriteComponent()
850 auto* cm = ecs.GetComponentManager(componentUid); ReadComponents() local
[all...]
H A Dentity_collection.cpp632 auto* properties = srcCollection.GetSerializedProperties(srcEntity, cm->GetUid());
634 dstCollection.MarkComponentSerialized(entityOut, cm->GetUid(), true);
636 dstCollection.MarkPropertySerialized(entityOut, cm->GetUid(), property, true);
798 auto cm = GetEcs().GetComponentManager(component);
799 if (!cm) {
811 const auto& propertyApi = cm->GetPropertyApi();
829 auto* cm = GetEcs().GetComponentManager(component);
830 if (cm) {
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/skia_adapter/
H A Dskia_color_filter_test.cpp92 ColorMatrix cm; in HWTEST_F() local
94 skiaColorFilter.InitWithColorMatrix(cm); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/modules/frame_analyzer/src/
H A Dframe_painter.cpp155 const auto &cm = frameEventColorMap; in SumTimesInMs() local
156 if (cm.find(static_cast<FrameEventType>(i)) == cm.end()) { in SumTimesInMs()
/foundation/graphic/graphic_3d/lume/LumeEngine/src/ecs/
H A Decs.cpp365 for (auto& cm : managerOrder_) { in CloneEntity()
366 const auto id = cm->GetComponentId(entity); in CloneEntity()
368 cm->Create(clonedEntity); in CloneEntity()
369 cm->SetData(clonedEntity, *cm->GetData(id)); in CloneEntity()
/foundation/graphic/graphic_3d/lume/LumeEcsSerializer/EcsSerializer/include/ecs_serializer/
H A Decs_clone_util.h114 for (auto cm : managers) { in RewriteEntityReferences()
115 auto* data = cm->GetData(id); in RewriteEntityReferences()
H A Dintf_ecs_serializer.h78 const IComponentManager& cm, IComponentManager::ComponentId id,
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/
H A Drs_material_filter.cpp170 Drawing::ColorMatrix cm; in GetColorFilter() local
171 cm.SetSaturation(sat); in GetColorFilter()
173 cm.GetArray(cmArray); in GetColorFilter()
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/include/scene_plugin/interface/
H A Dintf_ecs_serializer.h78 const CORE_NS::IComponentManager& cm, CORE_NS::IComponentManager::ComponentId id,
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/include/
H A Dmedialibrary_photo_operations.h95 static bool IsContainsData(MediaLibraryCommand &cm);
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/drawable/
H A Drs_property_drawable_utils.cpp1261 Drawing::ColorMatrix cm; in DrawFilterWithDRM() local
1262 cm.SetSaturation(sat); in DrawFilterWithDRM()
1264 cm.GetArray(cmArray); in DrawFilterWithDRM()
/foundation/communication/netmanager_ext/services/mdnsmanager/src/
H A Dmdns_socket_listener.cpp422 cmsghdr cm; in ReceiveInSock() member

Completed in 21 milliseconds

12