Searched refs:swapErase (Results 1 – 3 of 3) sorted by relevance
26 bool swapErase(std::vector<T>& vec, const T& value) { in swapErase() function40 void swapErase(std::vector<T>& vec, P predicate) { in swapErase() function
127 swapErase(mDisplayMirroringLayers, layer.id); in onHandlesDestroyed()153 if (swapErase(linkedLayer->mirrorIds, layer.id)) { in onHandlesDestroyed()308 swapErase(mListeners, listener); in removeLifecycleListener()381 swapErase(*linkedLayers, linkedLayer); in unlinkLayer()432 swapErase(mirrorLayer->mirrorIds, rootLayer.id); in updateDisplayMirrorLayers()
294 swapErase(mHierarchies, [hierarchy](std::unique_ptr<LayerHierarchy>& layerHierarchy) { in onLayerDestroyed()