Searched defs:hostname (Results 1 - 6 of 6) sorted by relevance
/solaris-x11-s11/open-src/lib/libXext/sun-src/src/ |
H A D | XGrabWin.c | 72 char hostname[64]; local 74 gethostname(hostname,64); 77 strncmp(hostname,dpy->display_name,strlen(hostname))) {
|
/solaris-x11-s11/open-src/lib/DPS/sun-src/libdps/ |
H A D | csopendi.c | 167 char hostname[MAXHOSTNAMELEN]; local 187 (void) N_XGetHostname(hostname, MAXHOSTNAMELEN); 248 (void) sprintf(display_name, "%s%s%d", hostname, 428 if (agentHost && strcmp(hostname, agentHost)) 447 strcpy(trueDisplayName, hostname);
|
H A D | csfindNX.c | 336 char hostname[MAXHOSTNAMELEN]; local 337 (void) N_XGetHostname(hostname, MAXHOSTNAMELEN); 338 if (strcmp(hostname, *host) == 0) 358 char **hostname, /* RETURN */ 370 * Step 1, find the hostname. This is delimited by a required colon. 392 if (namebuf[0] == '\0') { /* no transport/hostname specified... */ 395 else { /* no hostname, so must be UNIX */ 396 *hostname = NULL; 409 if ((*hostname = (char *) Xmalloc(strlen(p))) == NULL) 410 return(!Success); /* can't alloc space for hostname */ 356 ParseAgentString( char *string, char **hostname, int *transport, int *port) argument [all...] |
/solaris-x11-s11/open-src/app/gfx-utils/sun-src/fbconf_xorg/xf86/ |
H A D | scan.c | 627 * %H hostname 687 static char *hostname = NULL; local 737 if (!hostname) { 738 if ((hostname = xf86confmalloc(MAXHOSTNAMELEN + 1))) { 739 if (gethostname(hostname, MAXHOSTNAMELEN) == 0) { 740 hostname[MAXHOSTNAMELEN] = '\0'; 742 xf86conffree(hostname); 743 hostname = NULL; 747 if (hostname) 748 APPEND_STR(hostname); [all...] |
/solaris-x11-s11/open-src/lib/libdga/sun-src/ |
H A D | dga_Xrequests.c | 206 char hostname[256]; local 250 hostlen = _XGetHostname(hostname, sizeof(hostname)); 253 if (getaddrinfo(hostname, NULL, NULL, &localhostaddr) != 0) 309 if (strncmp(hostname, phost->h_name, MIN(phostlen, hostlen)))
|
/solaris-x11-s11/open-src/app/xlock/sun-src/ |
H A D | resource.c | 604 char hostname[MAXHOSTNAMELEN]; local 609 if (gethostname(hostname, MAXHOSTNAMELEN)) 610 error("Can't get local hostname.\n"); 613 if (getaddrinfo(hostname, NULL, NULL, &localhostaddr) != 0) 614 error("Can't get address information for %s.\n", hostname); 662 if (!(host = gethostbyname(hostname))) 666 error("Unknown address type for %s.\n", hostname); 682 * will have only the hostname/ip_address form.
|
Completed in 22 milliseconds