Lines Matching refs:tmp_display
588 * tmp_display contains the $DISPLAY - [:0.0 or :0]
603 char *tmp_display = malloc(n + 1);
606 strncpy(tmp_display, display, n);
607 tmp_display[n] = '\0';
616 if (getaddrinfo(tmp_display, NULL, NULL, &otherhostaddr) != 0)
618 tmp_display);
654 if (!(host_display = gethostbyname(tmp_display)))
655 error("Can't get hostbyname %s.\n", tmp_display);
660 error("Unknown address type for %s.\n", tmp_display);
679 if (!strncmp(tmp_display, *hp, n)) {
680 /* display has been replaced tmp_display because
681 * display will be in :0.0 format and tmp_display
695 free(tmp_display);