Lines Matching refs:host_end
46 const char *host, *host_end;
89 host_end = strchr(host + 1, ']');
90 if (host_end == NULL)
92 p = ++host_end;
95 host_end = strchr(host, ':');
96 if (host_end == NULL)
97 host_end = strchr(host, '/');
98 if (host_end == NULL)
99 host_end = strchr(host, '?');
100 if (host_end == NULL)
101 host_end = strchr(host, '#');
102 if (host_end == NULL) /* the remaining string is just the hostname */
103 host_end = host + strlen(host);
104 p = host_end;
150 || !copy_substring(phost, host, host_end)