Searched refs:existingHost (Results 1 – 2 of 2) sorted by relevance
351 const Host *existingHost = mHosts.FindMatching(aHost.GetFullName()); in HasNameConflictsWith() local353 if ((existingHost != nullptr) && (aHost.mKey != existingHost->mKey)) in HasNameConflictsWith()447 Host *existingHost = nullptr; in CommitSrpUpdate() local467 existingHost = mHosts.RemoveMatching(aHost.GetFullName()); in CommitSrpUpdate()469 …LogInfo("Committing update for %s host %s", (existingHost != nullptr) ? "existing" : "new", aHost.… in CommitSrpUpdate()479 VerifyOrExit(existingHost != nullptr); in CommitSrpUpdate()502 … else if ((existingHost != nullptr) && existingHost->HasService(service.GetInstanceName())) in CommitSrpUpdate()512 if (existingHost != nullptr) in CommitSrpUpdate()519 while ((existingService = existingHost->mServices.Pop()) != nullptr) in CommitSrpUpdate()582 if (existingHost != nullptr) in CommitSrpUpdate()[all …]
367 Host *existingHost; in Advertise() local407 existingHost = Get<Server>().mHosts.FindMatching(aHost.GetFullName()); in Advertise()409 if (existingHost != nullptr) in Advertise()411 CompareAndUpdateHostAndServices(aHost, *existingHost); in Advertise()