Home
last modified time | relevance | path

Searched refs:entity_ (Results 1 - 15 of 15) sorted by relevance

/foundation/filemanagement/file_api/interfaces/kits/cj/src/
H A DrandomAccessFile_impl.cpp59 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 DreaderIterator_impl.cpp24 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 DreaderIterator_impl.h36 std::shared_ptr<OHOS::FileManagement::ModuleFileIO::ReaderIteratorEntity> entity_; member in OHOS::CJSystemapi::ReadIteratorImpl
H A DrandomAccessFile_impl.h42 std::shared_ptr<OHOS::FileManagement::ModuleFileIO::RandomAccessFileEntity> entity_; member in OHOS::CJSystemapi::RandomAccessFileImpl
/foundation/graphic/graphic_3d/lume/LumeEngine/api/core/ecs/
H A Dentity_reference.h68 : 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 Decs_object.cpp65 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 Dsubmeshhandler.cpp39 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 Decs_animation.cpp271 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 Decs_animation.h91 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 Db_json_cached_entity.h131 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 Dpost_process_configuration_component_manager.cpp227 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 Dmaterial_component_manager.cpp431 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 Drender_handle_component_manager.cpp119 return pos->entity_;
/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/systems/
H A Dnode_system.cpp189 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 Dbase_manager.h130 Entity entity_; member in BaseManager::BaseComponentHandle

Completed in 15 milliseconds