/foundation/graphic/graphic_3d/lume/LumeEcsSerializer/EcsSerializer/include/ecs_serializer/ |
H A D | ecs_property_util.h | 51 auto propertyData = PropertyData::FindProperty(handle.Owner()->MetaData(), path, offset); in ResolveContainerProperty() local 52 if (propertyData) { in ResolveContainerProperty() 54 if (IsPropertyContainer(*propertyData.property)) { in ResolveContainerProperty() 56 result = *(IPropertyHandle**)(propertyData.offset); in ResolveContainerProperty()
|
/foundation/graphic/graphic_3d/lume/LumeEngine/src/loader/ |
H A D | system_graph_loader.cpp | 105 void ReadArrayPropertyValue(const json::value& jsonData, PropertyValue& propertyData, string& error) in ReadArrayPropertyValue() argument 107 ElementType* output = &propertyData.Get<ElementType>(); in ReadArrayPropertyValue() 108 if (propertyData.info->type.isArray) { in ReadArrayPropertyValue() 110 if (auto const array = jsonData.find(propertyData.info->name); array) { in ReadArrayPropertyValue() 111 auto outputView = array_view<ElementType>(output, propertyData.info->count); in ReadArrayPropertyValue() 117 if (SafeGetJsonValue(jsonData, propertyData.info->name, error, result)) { in ReadArrayPropertyValue() 125 void ReadArrayPropertyValue<char>(const json::value& jsonData, PropertyValue& propertyData, string& error) in ReadArrayPropertyValue() argument 127 char* output = &propertyData.Get<char>(); in ReadArrayPropertyValue() 129 if (SafeGetJsonValue(jsonData, propertyData.info->name, error, result)) { in ReadArrayPropertyValue() 130 if (propertyData in ReadArrayPropertyValue() 140 ReadHandlePropertyValue(const json::value& jsonData, PropertyValue& propertyData, string& error) ReadHandlePropertyValue() argument 150 ReadVecPropertyValue(const json::value& jsonData, PropertyValue& propertyData, string& ) ReadVecPropertyValue() argument [all...] |
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/ |
H A D | ecs_util.h | 219 auto propertyData = CORE_NS::PropertyData::FindProperty(handle.Owner()->MetaData(), path, offset); in ResolveContainerProperty() local 220 if (propertyData) { in ResolveContainerProperty() 222 if (CORE_NS::isPropertyContainer(*propertyData.property)) { in ResolveContainerProperty() 224 result = *(CORE_NS::IPropertyHandle**)(propertyData.offset); in ResolveContainerProperty()
|
H A D | ecs_serializer.cpp | 78 PropertyData propertyData; in EnsureDynamicArraySize() local 79 PropertyData::PropertyOffset propertyOffset = propertyData.WLock(*propertyHandle, arrayPath); in EnsureDynamicArraySize() 90 EnsureDynamicArraySize(&propertyData, restOfThePath); in EnsureDynamicArraySize() 679 PropertyData propertyData; in WriteComponent() local 686 propertyOffset = propertyData.RLock(*containerHandle, name); in WriteComponent() 688 propertyOffset = propertyData.RLock(*propertyHandle, propertyPath); in WriteComponent() 1033 PropertyData propertyData; in ReadComponent() local 1040 propertyOffset = propertyData.WLock(*containerHandle, name); in ReadComponent() 1046 propertyOffset = propertyData.WLock(*propertyHandle, pathView); in ReadComponent()
|
H A D | ecs_animation.cpp | 690 auto propertyData = GetProperty(handle->component, handle->target, handle->property); in AddKey() local 691 if (propertyData) { in AddKey() 692 SetKeyFrameData(track->GetEntity(), time, propertyData.data); in AddKey()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_profiler/ |
H A D | rs_profiler_file.cpp | 293 std::vector<char> propertyData; in LayerWriteHeader() local 294 layerData.property.Serialize(propertyData); in LayerWriteHeader() 297 uint32_t recordSize = propertyData.size(); in LayerWriteHeader() 299 Utils::FileWrite(propertyData.data(), propertyData.size(), 1, file_); in LayerWriteHeader() 327 std::vector<char> propertyData; in LayerReadHeader() local 328 propertyData.resize(recordSize); in LayerReadHeader() 329 Utils::FileRead(propertyData.data(), recordSize, 1, file_); in LayerReadHeader() 331 layerData.property.Deserialize(propertyData); in LayerReadHeader()
|
/foundation/graphic/graphic_3d/lume/LumeEcsSerializer/EcsSerializer/src/ecs_serializer/ |
H A D | ecs_serializer.cpp | 617 PropertyData propertyData; in WriteComponent() local 624 propertyOffset = propertyData.RLock(*containerHandle, name); in WriteComponent() 626 propertyOffset = propertyData.RLock(*propertyHandle, propertyPath); in WriteComponent() 888 PropertyData propertyData; in EnsureDynamicArraySize() local 889 PropertyData::PropertyOffset propertyOffset = propertyData.WLock(*propertyHandle, arrayPath); in EnsureDynamicArraySize() 900 EnsureDynamicArraySize(&propertyData, restOfThePath); in EnsureDynamicArraySize() 935 PropertyData propertyData; in ReadComponent() local 942 propertyOffset = propertyData.WLock(*containerHandle, name); in ReadComponent() 948 propertyOffset = propertyData.WLock(*propertyHandle, pathView); in ReadComponent()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_sceneview.cpp | 133 const JSRef<JSObject>& jsValue, const std::string& propertyName, std::unordered_map<std::string, T>& propertyData) in GetModelProperty() 138 for (auto iter = propertyData.begin(); iter != propertyData.end(); ++iter) { in GetModelProperty() 132 GetModelProperty( const JSRef<JSObject>& jsValue, const std::string& propertyName, std::unordered_map<std::string, T>& propertyData) GetModelProperty() argument
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/modifier/ |
H A D | rs_render_property.cpp | 508 auto propertyData = Get(); in Dump() local 509 if (propertyData != nullptr) { in Dump() 511 propertyData->Dump(out); in Dump()
|