/ohos5.0/base/security/security_component_manager/services/security_component_service/sa/test/unittest/src/ |
H A D | sec_comp_entity_test.cpp | 46 if (entity_ != nullptr) { in SetUp() 54 ASSERT_NE(nullptr, entity_); in SetUp() 61 entity_ = nullptr; in TearDown() 72 entity_->isGrant_ = false; 73 entity_->componentInfo_->type_ = UNKNOWN_SC_TYPE; 75 ASSERT_TRUE(entity_->isGrant_); 77 entity_->isGrant_ = false; 80 ASSERT_TRUE(entity_->isGrant_); 82 entity_->isGrant_ = false; 85 ASSERT_TRUE(entity_->isGrant_); [all …]
|
H A D | sec_comp_entity_test.h | 37 std::shared_ptr<SecCompEntity> entity_ = nullptr; variable
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/api/core/ecs/ |
H A D | entity_reference.h | 68 : entity_(entity), counter_(counter) in EntityReference() 72 …EntityReference(const EntityReference& other) noexcept : entity_(other.entity_), counter_(other.co… in EntityReference() 76 …: entity_(BASE_NS::exchange(other.entity_, Entity {})), counter_(BASE_NS::exchange(other.counter_,… in EntityReference() 83 entity_ = other.entity_; 94 entity_ = BASE_NS::exchange(other.entity_, Entity {}); 103 return entity_; in Entity() 111 return EntityUtil::IsValid(entity_) && (counter_); 126 Entity entity_;
|
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/cj/src/ |
H A D | randomAccessFile_impl.cpp | 59 entity_ = entity; in RandomAccessFileImpl() 64 if (entity_ == nullptr) { in GetFd() 68 if (entity_->fd.get() == nullptr) { in GetFd() 72 return entity_->fd.get()->GetFD(); in GetFd() 76 return entity_->filePointer; in GetFPointer() 80 entity_->filePointer = fp; in SetFilePointerSync() 95 entity_ = nullptr; in CloseSync() 100 int64_t newOffset = CalculateOffset(offset, entity_->filePointer); in WriteSync() 106 entity_->filePointer = newOffset + writeCode; in WriteSync() 111 int64_t newOffset = CalculateOffset(offset, entity_->filePointer); in ReadSync() [all …]
|
H A D | readerIterator_impl.cpp | 24 entity_ = entity; in ReadIteratorImpl() 28 Str *str = NextLine(entity_->iterator); in Next() 30 if (entity_->offset != 0) { in Next() 32 return {GetErrorCode(errno), entity_->offset == 0, nullptr}; in Next() 34 entity_ = nullptr; in Next() 37 bool done = entity_->offset == 0; in Next() 48 entity_->offset -= static_cast<int64_t>(str->len); in Next()
|
H A D | readerIterator_impl.h | 36 std::shared_ptr<OHOS::FileManagement::ModuleFileIO::ReaderIteratorEntity> entity_;
|
H A D | randomAccessFile_impl.h | 42 std::shared_ptr<OHOS::FileManagement::ModuleFileIO::RandomAccessFileEntity> entity_;
|
/ohos5.0/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/ |
H A D | ecs_object.cpp | 65 return entity_; in GetEntity() 70 BindObject(nullptr, entity_); in SetEntity() 92 entity_ = ecsInstance->GetEntityManager().GetReferenceCounted(entity); in BindObject() 118 entity_ = {}; in BindObject() 126 BindObject(nullptr, entity_); in ~EcsObject() 143 BindObject(nullptr, entity_); in DoEntityEvent() 152 if (entity!=entity_) { in DoComponentEvent() 191 ecsInstance_->GetComponents(entity_, managers); in UpdateMetaCache() 194 auto handle = cm->GetData(entity_); in UpdateMetaCache() 243 auto* papi = cm.GetData(entity_)->Owner(); in UpdateProperties() [all …]
|
H A D | submeshhandler.cpp | 39 entity_ = entity; in Initialize() 61 listener_->RemoveEntity(entity_, GetSelf<SCENE_NS::IEcsProxyObject>(), in Destroy() 71 listener_->RemoveEntity(entity_, GetSelf<SCENE_NS::IEcsProxyObject>(), in SetCommonListener() 76 listener_->AddEntity(entity_, GetSelf<SCENE_NS::IEcsProxyObject>(), in SetCommonListener() 114 if (entity != entity_) { in DoComponentEvent() 170 if (auto handle = componentManager_->Write(entity_)) { in SetRenderSortLayerOrder() 228 if (auto handle = componentManager_->Write(entity_)) { in SetAABBMin() 261 if (auto handle = componentManager_->Write(entity_)) { in SetAABBMax() 294 if (auto handle = componentManager_->Write(entity_)) { in RemoveSubmesh() 330 return entity_; in GetEntity() [all …]
|
H A D | ecs_animation.cpp | 292 ecsListener->AddEntity(entity_, po, *nameManager_); in SetEntity() 294 ecsListener->AddEntity(entity_, po, *animationManager_); in SetEntity() 417 auto stateHandle = animationStateManager_->GetData(entity_); in OnAnimationStateChanged() 461 auto handle = animationManager_->Read(entity_); in OnAnimationChanged() 533 auto handle = animationManager_->Read(entity_); in IsAnimationTrackArrayModified() 564 auto handle = animationManager_->Read(entity_); in GatherAnimationTracks() 985 if (ecs_ && entity_) { in Destroy() 997 entity_ = {}; in Destroy() 1007 auto handle = animationManager_->Write(entity_); in OnDurationPropertyChanged() 1019 auto handle = nameManager_->Write(entity_); in OnNamePropertyChanged() [all …]
|
H A D | ecs_animation.h | 91 entity_ = entity; in SCENE_BEGIN_NAMESPACE() 127 return entity_; in SCENE_BEGIN_NAMESPACE() 162 … ecsListener->RemoveEntity(entity_, GetSelf<SCENE_NS::IEcsProxyObject>(), *animationTrackManager); in SCENE_BEGIN_NAMESPACE() 166 … ecsListener->RemoveEntity(entity_, GetSelf<SCENE_NS::IEcsProxyObject>(), *animationInputManager); in SCENE_BEGIN_NAMESPACE() 172 CORE_NS::Entity entity_; in SCENE_BEGIN_NAMESPACE() 360 CORE_NS::EntityReference entity_ {};
|
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/components/ |
H A D | post_process_configuration_component_manager.cpp | 227 Entity entity_; member in PostProcessConfigurationComponentManager::ComponentHandle 351 return components_[index].entity_; in GetEntity() 423 if (!CORE_NS::EntityUtil::IsValid(it->entity_)) { in Gc() 428 if (CORE_NS::EntityUtil::IsValid(rit->entity_)) { in Gc() 430 entityComponent_[rit->entity_] = id; in Gc() 472 updated.push_back(handle.entity_); in GetUpdatedComponents() 662 : manager_(owner), entity_(entity), data_(data) in ComponentHandle() 666 …: manager_(other.manager_), entity_(exchange(other.entity_, {})), generation_(exchange(other.gener… in ComponentHandle() 676 entity_ = exchange(other.entity_, {}); in operator =() 729 if (CORE_NS::EntityUtil::IsValid(entity_)) { in WUnlock() [all …]
|
H A D | material_component_manager.cpp | 431 Entity entity_; member in MaterialComponentManager::ComponentHandle 573 return components_[index].entity_; in GetEntity() 647 if (!CORE_NS::EntityUtil::IsValid(it->entity_)) { in Gc() 654 entityComponent_[rit->entity_] = id; in Gc() 696 updated.push_back(handle.entity_); in GetUpdatedComponents() 879 : manager_(owner), entity_(entity), data_(data) in ComponentHandle() 883 …: manager_(other.manager_), entity_(exchange(other.entity_, {})), cachedShader_(exchange(other.cac… in ComponentHandle() 894 entity_ = exchange(other.entity_, {}); in operator =() 948 if (CORE_NS::EntityUtil::IsValid(entity_)) { in WUnlock() 951 manager_->Updated(entity_); in WUnlock() [all …]
|
H A D | render_handle_component_manager.cpp | 119 return pos->entity_; in GetEntityWithReference()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/systems/ |
H A D | node_system.cpp | 195 return nodeAccess_.GetName(entity_); in GetName() 200 nodeAccess_.SetName(entity_, name); in SetName() 210 return nodeAccess_.GetEnabled(entity_); in GetEnabled() 220 if (!EntityUtil::IsValid(entity_)) { in GetParent() 226 return nodeAccess_.GetParent(entity_); in GetParent() 236 nodeAccess_.SetParent(entity_, node); in SetParent() 270 return entity_; in GetEntity() 328 if (EntityUtil::IsValid(entity_)) { in RemoveChild() 448 return nodeAccess_.GetPosition(entity_); in GetPosition() 458 return nodeAccess_.GetScale(entity_); in GetScale() [all …]
|
/ohos5.0/foundation/filemanagement/app_file_service/utils/include/b_json/ |
H A D | b_json_cached_entity.h | 131 explicit BJsonCachedEntity(UniqueFd fd) : srcFile_(std::move(fd)), entity_(std::ref(obj_)) in BJsonCachedEntity() 150 …explicit BJsonCachedEntity(std::string_view sv, std::any option = std::any()) : entity_(std::ref(o… 152 ReloadFromString(entity_.GetJSonSource(sv, option)); 158 T entity_; variable
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/ecshelper/ComponentTools/ |
H A D | base_manager.inl | 91 return components_[index].entity_; 167 if (!EntityUtil::IsValid(it->entity_)) { 172 if (EntityUtil::IsValid(rit->entity_)) { 174 entityComponent_[rit->entity_] = id; 220 updated.push_back(handle.entity_); 440 : manager_(owner), entity_(entity) 446 : manager_(owner), entity_(entity), data_(data) 453 entity_(BASE_NS::exchange(other.entity_, {})), data_(BASE_NS::exchange(other.data_, {})) 468 entity_ = BASE_NS::exchange(other.entity_, {}); 520 if (EntityUtil::IsValid(entity_)) { [all …]
|
H A D | base_manager.h | 130 Entity entity_; variable
|