Searched refs:existingHost (Results 1 – 1 of 1) sorted by relevance
268 const Host *existingHost = mHosts.FindMatching(aHost.GetFullName()); in HasNameConflictsWith() local270 if (existingHost != nullptr && *aHost.GetKey() != *existingHost->GetKey()) in HasNameConflictsWith()329 Host * existingHost; in CommitSrpUpdate() local352 existingHost = mHosts.FindMatching(aHost.GetFullName()); in CommitSrpUpdate()359 RemoveHost(existingHost, /* aRetainName */ false, /* aNotifyServiceHandler */ false); in CommitSrpUpdate()361 else if (existingHost != nullptr) in CommitSrpUpdate()363 existingHost->SetKeyLease(aHost.GetKeyLease()); in CommitSrpUpdate()364 RemoveHost(existingHost, /* aRetainName */ true, /* aNotifyServiceHandler */ false); in CommitSrpUpdate()366 for (Service &service : existingHost->mServices) in CommitSrpUpdate()368 … existingHost->RemoveService(&service, /* aRetainName */ true, /* aNotifyServiceHandler */ false); in CommitSrpUpdate()[all …]