Lines Matching defs:labels
207 unsigned char labels;
517 int labels = 0, depth = 0, i, initial = 0;
540 // 2. Count the labels
541 while (replyDomain && *replyDomain && labels < MAX_LABELS)
543 label[labels++] = replyDomain;
547 // 3. Decide if we're going to clump the last two or three labels (e.g. "apple.com", or "nicta.com.au")
548 if (labels >= 3 && replyDomain - label[labels-1] <= 3 && label[labels-1] - label[labels-2] <= 4) initial = 3;
549 else if (labels >= 2 && replyDomain - label[labels-1] <= 4) initial = 2;
551 labels -= initial;
556 GetNextLabel(label[labels+i], text);
563 for (depth=0; depth<labels; depth++)
567 GetNextLabel(label[labels-1-depth], text);
575 static int CopyLabels(char *dst, const char *lim, const char **srcp, int labels)
578 while (*src != '.' || --labels > 0)
612 if (CopyLabels(t, t + kDNSServiceMaxDomainName, &p, 2)) return; // Fetch next two labels (service type)
954 DNSTypeName(swap16(rrsig->typeCovered)), rrsig->alg, rrsig->labels, swap32(rrsig->origTTL),