/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() 91 int ret = uv_fs_close(nullptr, close_req.get(), entity_->fd.get()->GetFD(), nullptr); in CloseSync() 95 entity_ = nullptr; in CloseSync() 100 int64_t newOffset = CalculateOffset(offset, entity_->filePointer); in WriteSync() 101 int writeCode = DoWriteRAF(buf, len, entity_ in WriteSync() [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_; member in OHOS::CJSystemapi::ReadIteratorImpl
|
H A D | randomAccessFile_impl.h | 42 std::shared_ptr<OHOS::FileManagement::ModuleFileIO::RandomAccessFileEntity> entity_; member in OHOS::CJSystemapi::RandomAccessFileImpl
|
/foundation/graphic/graphic_3d/lume/LumeEngine/api/core/ecs/ |
H A D | entity_reference.h | 68 : entity_(entity), counter_(counter) in counter_() 72 EntityReference(const EntityReference& other) noexcept : entity_(other.entity_), counter_(other.counter_) {} in counter_() 76 : entity_(BASE_NS::exchange(other.entity_, Entity {})), counter_(BASE_NS::exchange(other.counter_, nullptr)) in exchange() 83 entity_ = other.entity_; 94 entity_ = BASE_NS::exchange(other.entity_, Entity {}); 103 return entity_; 126 Entity entity_; global() member in EntityReference [all...] |
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/ |
H A D | ecs_object.cpp | 65 return entity_; 70 BindObject(nullptr, entity_); 81 commonListener->RemoveEntity(entity_, GetSelf<SCENE_NS::IEcsProxyObject>(), *componentManager->manager); 92 entity_ = ecsInstance->GetEntityManager().GetReferenceCounted(entity); 118 entity_ = {}; 126 BindObject(nullptr, entity_); 143 BindObject(nullptr, entity_); 152 if (entity!=entity_) { 153 CORE_LOG_F("Invalid event for %s entity %" PRIx64 " handler object entity %" PRIx64,BASE_NS::string(componentManager.GetName()).c_str(),entity.id,CORE_NS::Entity(entity_).id); 165 //CORE_LOG_F("[%p] Modified event for %s entity %llx handler object entity %llx",this, BASE_NS::string(componentManager.GetName()).c_str(),entity.id,CORE_NS::Entity(entity_) 287 CORE_NS::EntityReference entity_; global() member in EcsObject [all...] |
H A D | submeshhandler.cpp | 39 entity_ = entity; 48 *self->componentManager_, self->entity_); 61 listener_->RemoveEntity(entity_, GetSelf<SCENE_NS::IEcsProxyObject>(), 71 listener_->RemoveEntity(entity_, GetSelf<SCENE_NS::IEcsProxyObject>(), 76 listener_->AddEntity(entity_, GetSelf<SCENE_NS::IEcsProxyObject>(), 114 if (entity != entity_) { 170 if (auto handle = componentManager_->Write(entity_)) { 228 if (auto handle = componentManager_->Write(entity_)) { 261 if (auto handle = componentManager_->Write(entity_)) { 294 if (auto handle = componentManager_->Write(entity_)) { [all...] |
H A D | ecs_animation.cpp | 271 entity_ = ecs_->GetEntityManager().GetReferenceCounted(entity); in SetEntity() 292 ecsListener->AddEntity(entity_, po, *nameManager_); in SetEntity() 293 ecsListener->AddEntity(entity_, po, *animationStateManager_); in SetEntity() 294 ecsListener->AddEntity(entity_, po, *animationManager_); in SetEntity() 295 ecsListener->AddEntity(entity_, po, *animationTrackManager_); in SetEntity() 296 ecsListener->AddEntity(entity_, po, *animationInputManager_); in SetEntity() 391 // For animation and animation state, we are interested about changes concerning entity_. in DoComponentEvent() 417 auto stateHandle = animationStateManager_->GetData(entity_); in OnAnimationStateChanged() 461 auto handle = animationManager_->Read(entity_); in OnAnimationChanged() 533 auto handle = animationManager_->Read(entity_); in IsAnimationTrackArrayModified() [all...] |
H A D | ecs_animation.h | 91 entity_ = entity; 127 return entity_; 162 ecsListener->RemoveEntity(entity_, GetSelf<SCENE_NS::IEcsProxyObject>(), *animationTrackManager); 166 ecsListener->RemoveEntity(entity_, GetSelf<SCENE_NS::IEcsProxyObject>(), *animationInputManager); 172 CORE_NS::Entity entity_; member in final 360 CORE_NS::EntityReference entity_ {};
|
/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(obj_)) in BJsonCachedEntity() 152 ReloadFromString(entity_.GetJSonSource(sv, option)); in BJsonCachedEntity() 158 T entity_; member in OHOS::FileManagement::Backup::BJsonCachedEntity
|
/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/components/ |
H A D | post_process_configuration_component_manager.cpp | 227 Entity entity_; member in final::ComponentHandle 308 if (auto id = GetComponentId(handle->entity_); id != IComponentManager::INVALID_COMPONENT_ID) { in Release() 351 return components_[index].entity_; in GetEntity() 402 components_[it->second].entity_ = {}; // invalid entity. (marks it as ready for re-use) in Destroy() 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 data_() 666 : manager_(other.manager_), entity_(exchang [all...] |
H A D | material_component_manager.cpp | 431 Entity entity_; member in MaterialComponentManager::ComponentHandle 530 if (auto id = GetComponentId(handle->entity_); id != IComponentManager::INVALID_COMPONENT_ID) { in Release() 573 return components_[index].entity_; in GetEntity() 626 components_[it->second].entity_ = {}; // invalid entity. (marks it as ready for re-use) in Destroy() 647 if (!CORE_NS::EntityUtil::IsValid(it->entity_)) { in Gc() 652 if (CORE_NS::EntityUtil::IsValid(rit->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 data_() 883 : manager_(other.manager_), entity_(exchang [all...] |
H A D | render_handle_component_manager.cpp | 119 return pos->entity_;
|
/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/systems/ |
H A D | node_system.cpp | 189 SceneNode(Entity entity, NodeAccess& nodeAccess) : entity_(entity), nodeAccess_(nodeAccess) {} in SceneNode() 195 return nodeAccess_.GetName(entity_); 200 nodeAccess_.SetName(entity_, name); 205 nodeAccess_.SetEnabled(entity_, isEnabled); 210 return nodeAccess_.GetEnabled(entity_); 215 return nodeAccess_.GetEffectivelyEnabled(entity_); 220 if (!EntityUtil::IsValid(entity_)) { 226 return nodeAccess_.GetParent(entity_); 236 nodeAccess_.SetParent(entity_, node); 270 return entity_; 489 const Entity entity_; global() member in NodeSystem::SceneNode [all...] |
/foundation/graphic/graphic_3d/lume/LumeEngine/ecshelper/ComponentTools/ |
H A D | base_manager.h | 130 Entity entity_; member in BaseManager::BaseComponentHandle
|