Searched refs:existingService (Results 1 – 2 of 2) sorted by relevance
617 Service *existingService = aExistingHost.mServices.FindMatching(service.GetInstanceName()); in CompareAndUpdateHostAndServices() local619 if (existingService != nullptr) in CompareAndUpdateHostAndServices()621 replaced |= CompareAndUpdateService(service, *existingService); in CompareAndUpdateHostAndServices()822 for (Service &existingService : aExistingHost.mServices) in CompareAndUpdateHost()824 if (!aHost.HasService(existingService.GetInstanceName())) in CompareAndUpdateHost()826 UnregisterKey(existingService); in CompareAndUpdateHost()845 for (Service &existingService : aExistingHost.mServices) in CompareAndUpdateHost()847 if (existingService.IsDeleted()) in CompareAndUpdateHost()851 existingService.mIsReplaced = true; in CompareAndUpdateHost()852 UnregisterKey(existingService); in CompareAndUpdateHost()[all …]
517 Service *existingService; in CommitSrpUpdate() local519 while ((existingService = existingHost->mServices.Pop()) != nullptr) in CommitSrpUpdate()521 if (!aHost.HasService(existingService->GetInstanceName())) in CommitSrpUpdate()523 aHost.AddService(*existingService); in CommitSrpUpdate()536 if (aHost.IsDeleted() && !existingService->IsDeleted()) in CommitSrpUpdate()538 existingService->mIsDeleted = true; in CommitSrpUpdate()539 existingService->Log(Service::kRemoveButRetainName); in CommitSrpUpdate()543 existingService->Log(Service::kKeepUnchanged); in CommitSrpUpdate()548 existingService->Free(); in CommitSrpUpdate()1356 for (const Service &existingService : existingHost->mServices) in HandleUpdate() local[all …]