Home
last modified time | relevance | path

Searched refs:dataHandle (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/components/
H A Dpost_process_configuration_component_manager.cpp161 void SetData(Entity entity, const IPropertyHandle& dataHandle) override;
164 void SetData(ComponentId index, const IPropertyHandle& dataHandle) override;
494 …PostProcessConfigurationComponentManager::SetData(Entity entity, const IPropertyHandle& dataHandle) in SetData() argument
496 if (!IsMatchingHandle(dataHandle)) { in SetData()
499 if (const auto src = ScopedHandle<const PostProcessConfigurationComponent>(&dataHandle); src) { in SetData()
532 …ProcessConfigurationComponentManager::SetData(ComponentId index, const IPropertyHandle& dataHandle) in SetData() argument
534 if (!IsMatchingHandle(dataHandle)) { in SetData()
540 … if (const auto src = ScopedHandle<const PostProcessConfigurationComponent>(&dataHandle); src) { in SetData()
642 bool PostProcessConfigurationComponentManager::IsMatchingHandle(const IPropertyHandle& dataHandle) in IsMatchingHandle() argument
644 if (dataHandle.Owner() == this) { in IsMatchingHandle()
[all …]
H A Dmaterial_component_manager.cpp331 void SetData(Entity entity, const IPropertyHandle& dataHandle) override;
334 void SetData(ComponentId index, const IPropertyHandle& dataHandle) override;
720 if (!IsMatchingHandle(dataHandle)) { in SetData()
723 if (const auto src = ScopedHandle<const MaterialComponent>(&dataHandle); src) { in SetData()
725 components_[it->second] = static_cast<const ComponentHandle&>(dataHandle); in SetData()
756 if (!IsMatchingHandle(dataHandle)) { in SetData()
762 if (const auto src = ScopedHandle<const MaterialComponent>(&dataHandle); src) { in SetData()
763 components_[index] = static_cast<const ComponentHandle&>(dataHandle); in SetData()
861 bool MaterialComponentManager::IsMatchingHandle(const IPropertyHandle& dataHandle) in IsMatchingHandle() argument
863 if (dataHandle.Owner() == this) { in IsMatchingHandle()
[all …]
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/ecshelper/ComponentTools/
H A Dbase_manager.inl246 …nager<ComponentType, BaseClass>::SetData(CORE_NS::Entity entity, const IPropertyHandle& dataHandle) argument
248 if (!IsMatchingHandle(dataHandle)) {
251 if (const auto src = ScopedHandle<const ComponentType>(&dataHandle); src) {
287 …aseManager<ComponentType, BaseClass>::SetData(ComponentId index, const IPropertyHandle& dataHandle) argument
289 if (!IsMatchingHandle(dataHandle)) {
295 if (const auto src = ScopedHandle<const ComponentType>(&dataHandle); src) {
425 bool BaseManager<ComponentType, BaseClass>::IsMatchingHandle(const IPropertyHandle& dataHandle) argument
427 if (dataHandle.Owner() == this) {
430 if (dataHandle.Owner() && (dataHandle.Owner()->Type() == typeHash_)) {
H A Dbase_manager.h74 void SetData(Entity entity, const IPropertyHandle& dataHandle) override;
77 void SetData(ComponentId index, const IPropertyHandle& dataHandle) override;
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/socket/socket_exec/src/
H A Dlocal_socket_exec.cpp191 void *dataHandle = nullptr; in MakeLocalSocketMessage() local
192 napi_value msgBuffer = NapiUtils::CreateArrayBuffer(env, msg->len, &dataHandle); in MakeLocalSocketMessage()
193 if (dataHandle == nullptr || !NapiUtils::ValueIsArrayBuffer(env, msgBuffer)) { in MakeLocalSocketMessage()
196 int result = memcpy_s(dataHandle, msg->len, msg->data, msg->len); in MakeLocalSocketMessage()
H A Dsocket_exec.cpp302 void *dataHandle = nullptr; in MakeMessage() local
303 napi_value msgBuffer = NapiUtils::CreateArrayBuffer(env, messageData->len, &dataHandle); in MakeMessage()
304 if (dataHandle == nullptr || !NapiUtils::ValueIsArrayBuffer(env, msgBuffer)) { in MakeMessage()
308 int result = memcpy_s(dataHandle, messageData->len, messageData->data, messageData->len); in MakeMessage()