Lines Matching defs:url
30 /* Determine if "url" matches the hostname, scheme and port and path
34 const apr_uri_t *url)
52 if (url->scheme || url->hostname) {
58 if (!url->scheme || strcasecmp(filter->scheme, url->scheme)) {
71 const size_t uhostlen = url->hostname ? strlen(url->hostname) : 0;
74 || (url->hostname
76 url->hostname + uhostlen - fhostlen))) {
82 const size_t uhostlen = url->hostname ? strlen(url->hostname) : 0;
85 || (url->hostname
87 url->hostname + uhostlen - fhostlen))) {
91 else if (!url->hostname || strcasecmp(filter->hostname, url->hostname)) {
104 const unsigned uport = (url->port_str && url->port_str[0])
105 ? url->port : apr_uri_port_of_scheme(url->scheme);
116 if (!url->path) {
128 return !strncmp(filter->path, url->path, pathlen);
186 if (uri_meets_conditions(&ent[i].url, ent[i].pathlen, &uri)) {
203 if (uri_meets_conditions(&ent[i].url, ent[i].pathlen, &uri)) {