Searched refs:MAX_DOMAIN_LABEL (Results 1 - 14 of 14) sorted by relevance
/macosx-10.10.1/KerberosHelper-151/Source/ |
H A D | DeconstructServiceName.c | 32 #define MAX_DOMAIN_LABEL 63 macro 47 while (src < limit && *src <= MAX_DOMAIN_LABEL) { 89 if (ptr - lengthbyte - 1 > MAX_DOMAIN_LABEL) // If illegal label, abort 104 if (len > MAX_DOMAIN_LABEL) return(NULL); // If illegal label, abort 181 if (len > MAX_DOMAIN_LABEL) { /*fprintf(stderr, "DeconstructServiceName: Instance name too long");*/ return(false); } 187 if (len > MAX_DOMAIN_LABEL) { /*fprintf(stderr, "DeconstructServiceName: Application protocol name too long");*/ return(false); } 200 if (len > MAX_DOMAIN_LABEL) { /*fprintf(stderr, "DeconstructServiceName: Label in service domain too long");*/ return(false); } 251 char namestr [MAX_DOMAIN_LABEL+1];
|
/macosx-10.10.1/mDNSResponder-561.1.1/mDNSMacOSX/ |
H A D | helper-stubs.c | 103 char oldname[MAX_DOMAIN_LABEL+1]; 104 char newname[MAX_DOMAIN_LABEL+1]; 107 mDNSPlatformMemZero(names.oldname, MAX_DOMAIN_LABEL + 1); 108 mDNSPlatformMemZero(names.newname, MAX_DOMAIN_LABEL + 1); 264 mDNSPlatformMemZero(name.fqdnStr, MAX_DOMAIN_LABEL + 10);
|
H A D | helper.c | 355 char usercompname[MAX_DOMAIN_LABEL+1] = {0}; // the last computer name the user saw 356 char userhostname[MAX_DOMAIN_LABEL+1] = {0}; // the last local host name the user saw 357 char lastcompname[MAX_DOMAIN_LABEL+1] = {0}; // the last computer name saved to preferences 358 char lasthostname[MAX_DOMAIN_LABEL+1] = {0}; // the last local host name saved to preferences 592 if (0 == strncmp(old, new, MAX_DOMAIN_LABEL+1)) 596 if (last[0] && 0 != strncmp(last, new, MAX_DOMAIN_LABEL+1)) 610 if (strncmp(last, new, MAX_DOMAIN_LABEL+1)) 612 strncpy(last, new, MAX_DOMAIN_LABEL); 622 strncpy(user, old, MAX_DOMAIN_LABEL);
|
H A D | daemon.c | 2237 char cname[MAX_DOMAIN_LABEL+1]; // Unescaped name: up to 63 bytes plus C-string terminating NULL.
|
H A D | mDNSMacOSX.c | 6561 char username[MAX_DOMAIN_LABEL + 1];
|
/macosx-10.10.1/mDNSResponder-561.1.1/mDNSPosix/ |
H A D | Client.c | 47 char nameC [MAX_DOMAIN_LABEL+1]; // Unescaped name: up to 63 bytes plus C-string terminating NULL.
|
H A D | mDNSPosix.c | 480 gethostname((char *)(&namelabel->c[1]), MAX_DOMAIN_LABEL); 481 while (len < MAX_DOMAIN_LABEL && namelabel->c[len+1] && namelabel->c[len+1] != '.') len++;
|
/macosx-10.10.1/mDNSResponder-561.1.1/mDNSMacOS9/ |
H A D | Mac OS Test Searcher.c | 71 char c_name[MAX_DOMAIN_LABEL+1], c_type[MAX_ESCAPED_DOMAIN_NAME], c_dom[MAX_ESCAPED_DOMAIN_NAME], c_ip[20];
|
H A D | mDNSMacOS9.c | 502 ConvertStringHandleToUTF8(machineName, namelabel->c, MAX_DOMAIN_LABEL);
|
/macosx-10.10.1/mDNSResponder-561.1.1/mDNSCore/ |
H A D | DNSCommon.c | 624 if (len > MAX_DOMAIN_LABEL) 711 while (src < limit && *src <= MAX_DOMAIN_LABEL) 734 if (*src > MAX_DOMAIN_LABEL) return(MAX_DOMAIN_NAME+1); 771 const mDNSu8 *const lim2 = ptr + 1 + MAX_DOMAIN_LABEL; 816 if (ptr - lengthbyte - 1 > MAX_DOMAIN_LABEL) // If illegal label, abort 837 if (label->c[0] > MAX_DOMAIN_LABEL) return(mDNSNULL); 872 const mDNSu8 *const limit = label->c + 1 + MAX_DOMAIN_LABEL; // The maximum we can put 896 if (len > MAX_DOMAIN_LABEL) return(mDNSNULL); // If illegal label, abort 949 const mDNSu8 *const lim = &hostlabel->c[1] + MAX_DOMAIN_LABEL; 1313 name->c[0] = (mDNSu8) TruncateUTF8ToLength(name->c+1, name->c[0], MAX_DOMAIN_LABEL [all...] |
H A D | mDNSEmbeddedAPI.h | 390 #define MAX_DOMAIN_LABEL 63 macro 883 #define NSEC3_MAX_B32_LEN MAX_DOMAIN_LABEL
|
/macosx-10.10.1/mDNSResponder-561.1.1/mDNSShared/ |
H A D | dnssd_clientshim.c | 175 char namestr[MAX_DOMAIN_LABEL+1]; // Unescaped name: up to 63 bytes plus C-string terminating NULL. 359 char cname[MAX_DOMAIN_LABEL+1]; // Unescaped name: up to 63 bytes plus C-string terminating NULL.
|
H A D | uds_daemon.c | 571 char namestr[MAX_DOMAIN_LABEL+1]; 610 char namestr[MAX_DOMAIN_LABEL+1]; 2059 int newlen = TruncateUTF8ToLength((mDNSu8*)name, mDNSPlatformStrLen(name), MAX_DOMAIN_LABEL);
|
/macosx-10.10.1/mDNSResponder-561.1.1/mDNSWindows/ |
H A D | mDNSWin32.c | 2347 inMDNS->nicelabel.c[ 0 ] = (mDNSu8) (strlen( utf8 ) < MAX_DOMAIN_LABEL ? strlen( utf8 ) : MAX_DOMAIN_LABEL); 2417 tempLabel.c[ 0 ] = (mDNSu8) (strlen( tempString ) < MAX_DOMAIN_LABEL ? strlen( tempString ) : MAX_DOMAIN_LABEL );
|
Completed in 491 milliseconds