Home
last modified time | relevance | path

Searched refs:removed (Results 1 - 18 of 18) sorted by relevance

/foundation/graphic/graphic_3d/lume/metaobject/src/container/
H A Dflat_container.cpp108 IObject::Ptr removed; in Replace() local
121 removed = children_[index]; in Replace()
122 if (removed == replaceWith) { in Replace()
123 return removed != nullptr; in Replace()
137 ChildChangedInfo removedInfo { removed, index, parent_ }; in Replace()
139 if (removed) { in Replace()
152 if (removed) { in Replace()
153 SetObjectParent(removed, nullptr); in Replace()
160 return added || removed; in Replace()
H A Dcontainer.cpp120 IObject::Ptr removed; in Replace() local
138 removed = *it; in Replace()
146 if (removed && moved) { in Replace()
150 if (removed && removed == moved) { in Replace()
154 if (removed) { in Replace()
185 ChildChangedInfo removedInfo { removed, toIndex, parent_ }; in Replace()
188 if (removed) { in Replace()
201 SetObjectParent(removed, nullptr); in Replace()
203 if (removed) { in Replace()
[all...]
/foundation/graphic/graphic_3d/lume/metaobject/src/animation/
H A Danimation_controller.cpp108 bool removed = false; in RemoveAnimation() local
114 removed = true; in RemoveAnimation()
119 if (removed) { in RemoveAnimation()
123 return removed; in RemoveAnimation()
/foundation/communication/netmanager_base/services/common/src/
H A Droute_utils.cpp81 std::list<Route> removed; in UpdateRoutes() local
89 removed.push_back(*itero); in UpdateRoutes()
117 for (itern = removed.begin(); itern != removed.end(); ++itern) { in UpdateRoutes()
121 return (!added.empty() || !updated.empty() || !removed.empty()) ? 1 : 0; in UpdateRoutes()
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/utils/
H A Dobject_mgr.cpp54 bool removed = false; in RemoveObject() local
59 removed = true; in RemoveObject()
63 return removed; in RemoveObject()
/foundation/graphic/graphic_3d/lume/metaobject/test/src/interface/
H A DIntfObjectHierarchyObserverTest.cpp433 BASE_NS::vector<IObject::Ptr> removed; in HWTEST_F() local
437 obs.OnHierarchyChanged([&removed, &callCount](const HierarchyChangedInfo& info) { in HWTEST_F()
440 removed.push_back(info.object); in HWTEST_F()
458 EXPECT_THAT(removed, ElementsAre(childContainerObject)); in HWTEST_F()
469 BASE_NS::vector<IObject::Ptr> removed; in HWTEST_F() local
501 removed.push_back(info.object); in HWTEST_F()
511 EXPECT_THAT(removed, UnorderedElementsAre(childContainerObject, childObject4, childObject2)); in HWTEST_F()
522 BASE_NS::vector<IObject::Ptr> removed; in HWTEST_F() local
526 obs.OnHierarchyChanged([&removed, &callCount](const HierarchyChangedInfo& info) { in HWTEST_F()
529 removed in HWTEST_F()
[all...]
H A DIntfContainerTest.cpp253 BASE_NS::vector<ChildChangedInfo> removed; in HWTEST_P() local
260 removed.push_back({ child, index, container_ }); in HWTEST_P()
273 EXPECT_THAT(removedCalls_, ElementsAreArray(removed)); in HWTEST_P()
288 BASE_NS::vector<ChildChangedInfo> removed; in HWTEST_P() local
295 removed.push_back({ child, index, container_ }); in HWTEST_P()
308 EXPECT_THAT(removedCalls_, ElementsAreArray(removed)); in HWTEST_P()
372 const auto removed = ChildChangedInfo { replace, index, container_ }; in HWTEST_P() local
375 EXPECT_THAT(removedCalls_, ElementsAre(removed)); in HWTEST_P()
863 const auto removed = ChildChangedInfo { replace, indexReplace, container_ }; in HWTEST_F() local
864 EXPECT_THAT(removedCalls_, ElementsAre(removed)); in HWTEST_F()
890 const auto removed = ChildChangedInfo { replace, indexReplace, container_ }; HWTEST_F() local
[all...]
/foundation/graphic/graphic_3d/lume/LumeEngine/src/ecs/
H A Decs.cpp400 [](const Entity& entity, const Entity& removed) { return entity.id < removed.id; }); in ProcessComponentEvents()
443 // Remove components for removed entities. in ProcessEvents()
444 const vector<Entity> removed = entityManager_.GetRemovedEntities(); in ProcessEvents() local
445 deadEntities = !removed.empty(); in ProcessEvents()
447 allRemovedEntities.append(removed.cbegin(), removed.cend()); in ProcessEvents()
452 m->Destroy(removed); in ProcessEvents()
470 // Clean-up removed listeners. in ProcessEvents()
627 if (const vector<Entity> removed in OnTypeInfoEvent()
[all...]
/foundation/graphic/graphic_3d/lume/LumeEngine/src/io/
H A Dfilesystem_api.cpp62 void ScanModifications(vector<string>& added, vector<string>& removed, vector<string>& modified) override;
253 void FileMonitorImpl::ScanModifications(vector<string>& added, vector<string>& removed, vector<string>& modified) in ScanModifications() argument
256 removed.clear(); in ScanModifications()
259 fileMonitor_->ScanModifications(added, removed, modified); in ScanModifications()
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/btm/
H A Dbtm_wl.c163 bool removed = false; in BtmRemoveDeviceFromWhiteList() local
174 removed = true; in BtmRemoveDeviceFromWhiteList()
179 removed = true; in BtmRemoveDeviceFromWhiteList()
188 if (removed) { in BtmRemoveDeviceFromWhiteList()
/foundation/arkui/ace_engine/frameworks/core/pipeline/base/
H A Delement_register.cpp143 auto removed = itemMap_.erase(elementId); in RemoveItem() local
144 if (removed) { in RemoveItem()
147 return removed; in RemoveItem()
156 auto removed = itemMap_.erase(elementId); in RemoveItemSilently() local
157 return removed; in RemoveItemSilently()
/foundation/arkui/ace_engine/test/mock/core/pipeline/
H A Dmock_element_register.cpp123 auto removed = itemMap_.erase(elementId); in RemoveItem() local
124 if (removed) { in RemoveItem()
127 return removed; in RemoveItem()
/foundation/distributeddatamgr/kv_store/interfaces/innerkits/distributeddata/include/
H A Dpriority_queue.h33 bool removed = false; member
120 it->second.removed = true; in Remove()
150 if (!it->second.removed) { in Finish()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/window_scene/scene/
H A Dwindow_node.cpp49 bool removed = ElementRegister::GetInstance()->RemoveItemSilently(nodeId); in GetOrCreateWindowNode() local
50 if (!removed) { in GetOrCreateWindowNode()
/foundation/graphic/graphic_3d/lume/LumeEngine/src/io/dev/
H A Dfile_monitor.h42 * @return True if the watch is successfully removed, otherwise false.
48 * @param removed List of files that were removed.
51 void ScanModifications(BASE_NS::vector<BASE_NS::string>& added, BASE_NS::vector<BASE_NS::string>& removed,
62 // removed is a file left over from last scan. which means it should be removed.
H A Dfile_monitor.cpp168 void FileMonitor::ScanModifications(vector<string>& added, vector<string>& removed, vector<string>& modified) in ScanModifications() argument
177 // See which of the files are removed. in ScanModifications()
180 removed.push_back(it->first); in ScanModifications()
187 // default state is removed. in ScanModifications()
/foundation/graphic/graphic_3d/lume/LumeEngine/api/core/io/
H A Dintf_file_monitor.h50 virtual void ScanModifications(BASE_NS::vector<BASE_NS::string>& added, BASE_NS::vector<BASE_NS::string>& removed,
/foundation/graphic/graphic_3d/lume/metaobject/src/model/
H A Dcomposite_object_provider.cpp183 auto removed = provider->OnDataRemoved()->AddHandler( in OnProviderAdded() local

Completed in 11 milliseconds