/foundation/resourceschedule/ffrt/test/ut/ |
H A D | worker_manager_test.cpp | 63 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 D | ut_worker_manager.cpp | 61 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 D | sys_socket.c | 83 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 D | check_gso_support.c | 41 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 D | ecs_object.cpp | 193 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 D | ecs_listener.h | 91 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 D | ecs_serializer.cpp | 643 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 D | entity_collection.cpp | 663 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 D | ecs_util.h | 120 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 D | ecs_serializer.h | 46 bool WriteComponent(const IEntityCollection& ec, CORE_NS::Entity entity, const CORE_NS::IComponentManager& cm,
|
H A D | ecs_animation.cpp | 1142 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 D | sys_socket.c | 66 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 D | pcb.c | 87 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 D | ecs_serializer.cpp | 63 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 D | entity_collection.cpp | 632 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 D | skia_color_filter_test.cpp | 92 ColorMatrix cm; in HWTEST_F() local 94 skiaColorFilter.InitWithColorMatrix(cm); in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/modules/frame_analyzer/src/ |
H A D | frame_painter.cpp | 155 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 D | ecs.cpp | 365 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 D | ecs_clone_util.h | 114 for (auto cm : managers) { in RewriteEntityReferences() 115 auto* data = cm->GetData(id); in RewriteEntityReferences()
|
H A D | intf_ecs_serializer.h | 78 const IComponentManager& cm, IComponentManager::ComponentId id,
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/ |
H A D | rs_material_filter.cpp | 170 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 D | intf_ecs_serializer.h | 78 const CORE_NS::IComponentManager& cm, CORE_NS::IComponentManager::ComponentId id,
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/include/ |
H A D | medialibrary_photo_operations.h | 95 static bool IsContainsData(MediaLibraryCommand &cm);
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/drawable/ |
H A D | rs_property_drawable_utils.cpp | 1261 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 D | mdns_socket_listener.cpp | 422 cmsghdr cm; in ReceiveInSock() member
|