Lines Matching refs:fullName
44 std::string fullName = aName; in SplitFullDnsName() local
46 if (!NameEndsWithDot(fullName)) in SplitFullDnsName()
48 fullName += '.'; in SplitFullDnsName()
51 transportPos = fullName.rfind("._udp."); in SplitFullDnsName()
55 transportPos = fullName.rfind("._tcp."); in SplitFullDnsName()
61 size_t dotPos = fullName.find_first_of('.'); in SplitFullDnsName()
66 nameInfo.mHostName = fullName.substr(0, dotPos); in SplitFullDnsName()
67 nameInfo.mDomain = fullName.substr(dotPos + 1, fullName.length() - dotPos - 1); in SplitFullDnsName()
72 …size_t dotPos = transportPos > 0 ? fullName.find_last_of('.', transportPos - 1) : std::string::npo… in SplitFullDnsName()
74 … nameInfo.mDomain = fullName.substr(transportPos + 6); // 6 is the length of "._tcp." or "._udp." in SplitFullDnsName()
79 nameInfo.mServiceName = fullName.substr(0, transportPos + 5); in SplitFullDnsName()
84 nameInfo.mInstanceName = fullName.substr(0, dotPos); in SplitFullDnsName()
85 nameInfo.mServiceName = fullName.substr(dotPos + 1, transportPos + 4 - dotPos); in SplitFullDnsName()