Searched refs:CountLabels (Results 1 - 7 of 7) sorted by relevance

/external/mdnsresponder/mDNSCore/
H A DDNSCommon.h112 extern int CountLabels(const domainname *d);
H A DuDNS.c1423 const int srvcount = CountLabels(rr->resrec.name);
1430 int x, hostcount = CountLabels(&hi->fqdn);
3800 c1 = CountLabels(newRR->resrec.name);
3801 c2 = CountLabels(&zoneData->ZoneName);
4132 if (CountLabels(qname) < 4) { debugf("WABQuestion: question %##s, not enough labels", qname->c); return mDNSfalse; }
4145 // CountLabels already verified the number of labels
4885 int labels = CountLabels(&p->domain);
H A DmDNS.c1799 int skip = CountLabels(name) - 6;
1818 int skip = CountLabels(name) - 34;
1842 int skip = CountLabels(name) - 2;
7130 int qcount = CountLabels(&q.qname);
7131 int scount = CountLabels(m->rec.r.resrec.name);
7810 int bestmatchlen = -1, namecount = CountLabels(&question->qname);
7815 currcount = CountLabels(&curr->domain);
7834 int bestmatchlen = -1, namecount = CountLabels(&question->qname);
7859 currcount = CountLabels(&curr->domain);
7895 int bestmatchlen = -1, namecount = name ? CountLabels(nam
[all...]
H A DmDNSEmbeddedAPI.h1299 #define ApplySearchDomainsFirst(q) ((q)->AppendSearchDomains && (CountLabels(&((q)->qname))) == 1)
H A DDNSCommon.c456 // CountLabels() returns number of labels in name, excluding final root label
457 // (e.g. for "apple.com." CountLabels returns 2.)
458 mDNSexport int CountLabels(const domainname *d) function
/external/chromium_org/net/dns/
H A Ddns_transaction.cc48 int CountLabels(const std::string& name) { function in namespace:net::__anon9202
632 int ndots = CountLabels(labeled_hostname) - 1;
/external/mdnsresponder/mDNSShared/
H A Duds_daemon.c583 dLabels = CountLabels(d);
588 int delemLabels = CountLabels(&delem->name);
2531 int labels = CountLabels(&q->qname);
3017 (AlwaysAppendSearchDomains || CountLabels(&q->qname) == 1))
3464 if (hostname[strlen(hostname) - 1] != '.' && (AlwaysAppendSearchDomains || CountLabels(&d) == 1))
3492 if (hostname[strlen(hostname) - 1] != '.' && (AlwaysAppendSearchDomains || CountLabels(&d) == 1))

Completed in 209 milliseconds