Home
last modified time | relevance | path

Searched refs:url (Results 1 – 25 of 81) sorted by relevance

1234

/mirbsd/src/gnu/usr.bin/perl/Porting/
DcheckURL.pl22 my $url = $&;
23 $url =~ s/\.$//;
24 $urls {$url} ||= { };
25 $urls {$url} {$file} = 1;
75 foreach my $url (@{$list[$i]}) {
76 my $code = getstore $url, "/dev/null";
78 my $f = join ", " => keys %{$urls {$url}};
79 printf "%03d %s: %s\n" => $code, $url, $f;
Dcorecpan.pl27 my $url = 'http://www.cpan.org/modules/02packages.details.txt.gz';
29 system("wget $url && gunzip $packagefile.gz") == 0
/mirbsd/src/gnu/usr.bin/perl/lib/Pod/
DHtml.pm1323 my $url ;
1333 $url = relativize_url( "$old_url.html", $Htmlfileurl );
1335 $url = "$3.html" ;
1337 "$1$url" ;
1441 my $url = page_sect( $word, '' );
1442 if( defined $url ){
1443 $word = "<a href=\"$url\">the $word manpage</a>";
1587 my( $url, $ltext, $fid );
1592 ( $url, $fid ) = coderef( $page, $ident );
1593 if( $url ){
[all …]
/mirbsd/src/gnu/usr.bin/perl/lib/CGI/t/
Dfunction.t69 test(14,url() eq 'http://the.good.ship.lollypop.com:8080/cgi-bin/foo.cgi',"CGI::url()");
73 test(16,url(-absolute=>1) eq '/cgi-bin/foo.cgi','CGI::url(-absolute=>1)');
74 test(17,url(-relative=>1) eq 'foo.cgi','CGI::url(-relative=>1)');
75 test(18,url(-relative=>1,-path=>1) eq 'foo.cgi/somewhere/else','CGI::url(-relative=>1,-path=>1)');
76 test(19,url(-relative=>1,-path=>1,-query=>1) eq
Drequest.t49 test(15,$q->url eq 'http://the.good.ship.lollypop.com:8080/cgi-bin/foo.cgi',"CGI::url()");
53 test(17,$q->url(-absolute=>1) eq '/cgi-bin/foo.cgi','CGI::url(-absolute=>1)');
54 test(18,$q->url(-relative=>1) eq 'foo.cgi','CGI::url(-relative=>1)');
55 test(19,$q->url(-relative=>1,-path=>1) eq 'foo.cgi/somewhere/else','CGI::url(-relative=>1,-path=>1)…
56 test(20,$q->url(-relative=>1,-path=>1,-query=>1) eq
/mirbsd/src/usr.sbin/httpd/src/modules/proxy/
Dmod_proxy.c223 char *url, *p; in proxy_fixup() local
229 url = &r->filename[6]; in proxy_fixup()
235 &rc, r, url) && rc != DECLINED) in proxy_fixup()
238 if (strncasecmp(url, "http:", 5) == 0) in proxy_fixup()
239 return ap_proxy_http_canon(r, url + 5, "http", DEFAULT_HTTP_PORT); in proxy_fixup()
240 else if (strncasecmp(url, "ftp:", 4) == 0) in proxy_fixup()
241 return ap_proxy_ftp_canon(r, url + 4); in proxy_fixup()
243 p = strchr(url, ':'); in proxy_fixup()
244 if (p == NULL || p == url) in proxy_fixup()
294 static int proxy_needsdomain(request_rec *r, const char *url, const char *domain) in proxy_needsdomain() argument
[all …]
Dmod_proxy.h220 char *url; /* the URL requested */ member
271 int ap_proxy_cache_check(request_rec *r, char *url, struct cache_conf *conf,
279 int ap_proxy_connect_handler(request_rec *r, cache_req *c, char *url,
284 int ap_proxy_ftp_canon(request_rec *r, char *url);
285 int ap_proxy_ftp_handler(request_rec *r, cache_req *c, char *url);
289 int ap_proxy_http_canon(request_rec *r, char *url, const char *scheme,
291 int ap_proxy_http_handler(request_rec *r, cache_req *c, char *url,
Dproxy_http.c77 int ap_proxy_http_canon(request_rec *r, char *url, const char *scheme, int def_port) in ap_proxy_http_canon() argument
87 err = ap_proxy_canon_netloc(r->pool, &url, NULL, NULL, &host, &port); in ap_proxy_http_canon()
98 search = strchr(url, '?'); in ap_proxy_http_canon()
106 path = ap_proxy_canonenc(r->pool, url, strlen(url), enc_path, in ap_proxy_http_canon()
122 static const char *proxy_location_reverse_map(request_rec *r, const char *url) in proxy_location_reverse_map() argument
132 l1 = strlen(url); in proxy_location_reverse_map()
136 if (l1 >= l2 && strncmp(ent[i].real, url, l2) == 0) { in proxy_location_reverse_map()
137 u = ap_pstrcat(r->pool, ent[i].fake, &url[l2], NULL); in proxy_location_reverse_map()
141 return url; in proxy_location_reverse_map()
153 int ap_proxy_http_handler(request_rec *r, cache_req *c, char *url, in ap_proxy_http_handler() argument
[all …]
Dproxy_util.c212 char *strp, *host, *url = *urlp; in ap_proxy_canon_netloc() local
216 if (url[0] != '/' || url[1] != '/') in ap_proxy_canon_netloc()
218 host = url + 2; in ap_proxy_canon_netloc()
219 url = strchr(host, '/'); in ap_proxy_canon_netloc()
220 if (url == NULL) in ap_proxy_canon_netloc()
221 url = ""; in ap_proxy_canon_netloc()
223 *(url++) = '\0'; /* skip seperating '/' */ in ap_proxy_canon_netloc()
309 *urlp = url; in ap_proxy_canon_netloc()
607 "proxy: error reading from %s", c->url); in ap_proxy_send_fb()
957 char *url, *user = NULL, *password = NULL, *err, *host; in proxy_get_host_of_request() local
[all …]
Dproxy_connect.c110 int ap_proxy_connect_handler(request_rec *r, cache_req *c, char *url, in ap_proxy_connect_handler() argument
137 hoststr = url; in ap_proxy_connect_handler()
138 p = strchr(url, ':'); in ap_proxy_connect_handler()
/mirbsd/src/gnu/usr.bin/texinfo/makeinfo/
Dxref.c491 char *url = get_xref_token (1); /* expands all macros in uref */ in cm_uref() local
498 text_expansion (url)); in cm_uref()
504 execute_string ("%s", url); in cm_uref()
511 execute_string ("%s", url); in cm_uref()
532 execute_string ("\"%s\"", url); in cm_uref()
536 : (*desc ? desc : url)); in cm_uref()
545 execute_string ("(%s)", url); in cm_uref()
553 url, in cm_uref()
557 if (url) in cm_uref()
558 free (url); in cm_uref()
/mirbsd/src/gnu/usr.bin/perl/lib/I18N/LangTags/
DList.pm1748 my $url = 'http://lcweb.loc.gov/standards/iso639-2/bibcodes.html';
1749 $root->parse(get($url) || die "Can't get $url");
1775 print "[ based on $url\n at ", scalar(localtime), "]\n",
/mirbsd/src/gnu/usr.bin/lynx/WWW/Library/Implementation/
DHTTP.c546 const char *url = arg; /* The URL which get_physical() returned */ in HTLoadHTTP() local
613 if (!url) { in HTLoadHTTP()
618 if (!*url) { in HTLoadHTTP()
624 if (using_proxy && !StrNCmp(url, "http://", 7)) { in HTLoadHTTP()
627 if ((connect_url = strstr((url + 7), "https://"))) { in HTLoadHTTP()
636 } else if ((connect_url = strstr((url + 7), "snews://"))) { in HTLoadHTTP()
671 if (!StrNCmp(url, "https", 5)) in HTLoadHTTP()
672 status = HTDoConnect(url, "HTTPS", HTTPS_PORT, &s); in HTLoadHTTP()
674 status = HTDoConnect(url, "HTTP", HTTP_PORT, &s); in HTLoadHTTP()
676 if (!StrNCmp(url, "https", 5)) { in HTLoadHTTP()
[all …]
DHTMIME.c208 static void dequote(char *url) in dequote() argument
212 len = strlen(url); in dequote()
213 if (*url == '\'' && len > 1 && url[len - 1] == url[0]) { in dequote()
214 url[len - 1] = '\0'; in dequote()
215 while ((url[0] = url[1]) != '\0') { in dequote()
216 ++url; in dequote()
559 char *url = NULL; in pumpData() local
564 LYParseRefreshURL(me->refresh_url, &num, &url); in pumpData()
565 if (url != NULL && me->format == WWW_HTML) { in pumpData()
570 dequote(url); in pumpData()
[all …]
DSGML.h245 extern BOOLEAN LYCheckForCSI(HTParentAnchor *anchor, char **url);
246 extern void LYDoCSI(char *url, const char *comment, char **csi);
/mirbsd/src/usr.sbin/httpd/src/modules/standard/
Dmod_alias.c179 char *url = arg3; in add_redirect_internal() local
193 url = arg2; in add_redirect_internal()
203 if (!url) in add_redirect_internal()
205 if (!use_regex && !ap_is_url(url)) in add_redirect_internal()
209 if (url) in add_redirect_internal()
219 new->real = url; in add_redirect_internal()
Dmod_speling.c231 char *good, *bad, *postgood, *url; in check_speling() local
290 url = ap_pstrndup(r->pool, r->uri, (urlen - pglen)); in check_speling()
412 nuri = ap_escape_uri(r->pool, ap_pstrcat(r->pool, url, in check_speling()
472 vuri = ap_pstrcat(sub_pool, url, variant[i].name, r->path_info, in check_speling()
/mirbsd/src/usr.bin/ftp/
Dfetch.c748 char *cp, *url, *host, *dir, *file, *portnum; in auto_fetch() local
774 for (rval = 0; (rval == 0) && (argpos < argc); free(url), argpos++) { in auto_fetch()
782 url = strdup(argv[argpos]); in auto_fetch()
783 if (url == NULL) in auto_fetch()
789 if (strncasecmp(url, HTTP_URL, sizeof(HTTP_URL) - 1) == 0 || in auto_fetch()
792 strncasecmp(url, HTTPS_URL, sizeof(HTTPS_URL) -1) == 0 || in auto_fetch()
794 strncasecmp(url, FILE_URL, sizeof(FILE_URL) - 1) == 0) { in auto_fetch()
796 if (url_get(url, httpproxy, outfile) == -1) in auto_fetch()
806 host = url; in auto_fetch()
807 if (strncasecmp(url, FTP_URL, sizeof(FTP_URL) - 1) == 0) { in auto_fetch()
[all …]
/mirbsd/src/libexec/spamd-setup/
Dspamd-setup.c278 fileget(char *url) in fileget() argument
286 argv[4] = url; in fileget()
290 fprintf(stderr, "Getting %s\n", url); in fileget()
298 char *url; in open_file() local
306 asprintf(&url, "%s://%s", method, file); in open_file()
307 if (url == NULL) in open_file()
309 i = fileget(url); in open_file()
310 free(url); in open_file()
/mirbsd/src/usr.sbin/httpd/src/main/
Dutil.c1580 API_EXPORT(int) ap_unescape_url(char *url) in ap_unescape_url() argument
1586 for (x = 0, y = 0; url[y]; ++x, ++y) { in ap_unescape_url()
1587 if (url[y] != '%') in ap_unescape_url()
1588 url[x] = url[y]; in ap_unescape_url()
1590 if (!ap_isxdigit(url[y + 1]) || !ap_isxdigit(url[y + 2])) { in ap_unescape_url()
1592 url[x] = '%'; in ap_unescape_url()
1595 url[x] = x2c(&url[y + 1]); in ap_unescape_url()
1597 if (url[x] == '/' || url[x] == '\0') in ap_unescape_url()
1602 url[x] = '\0'; in ap_unescape_url()
/mirbsd/src/gnu/usr.bin/perl/
Dinstallhtml257 my $url = "$pod/$1.html" ;
258 $url = Pod::Html::relativize_url( $url, "$file.html" )
260 "href=\"$url\">" ;
340 my $url= "$pod/$file" ;
342 $url = Pod::Html::relativize_url( "$pod/$file", $html ) ;
346 print HTML qq(<DT><A HREF="$url">);
/mirbsd/src/gnu/usr.bin/lynx/scripts/
Dcfg2html.pl253 my $url = $c;
254 $url =~ s/^\.url\s+//;
255 printf FP "<blockquote><a href=\"%s\">%s</a></blockquote>\n", $url, $url;
/mirbsd/src/gnu/usr.bin/perl/lib/
DCPAN.pm2231 my($self,$url,$aslocal) = @_;
2232 my $result = $self->SUPER::mirror($url,$aslocal);
2236 $result = $self->SUPER::mirror($url,$aslocal);
2459 my $url = $CPAN::Config->{urllist}[$i] || $CPAN::Defaultsite;
2460 $url .= "/" unless substr($url,-1) eq "/";
2461 $url .= $file;
2462 $self->debug("localizing perlish[$url]") if $CPAN::DEBUG;
2463 if ($url =~ /^file:/) {
2466 my $u = URI::URL->new($url);
2474 ($l = $url) =~ s|^file://[^/]*/|/|; # discard the host part
[all …]
/mirbsd/src/gnu/usr.bin/lynx/src/
DLYUtils.h179 extern void LYDoCSI(char *url, const char *comment, char **csi);
252 extern BOOL LYIsUIPage3(const char *url, UIP_t type, int flagparam);
254 #define LYIsUIPage(url,type) LYIsUIPage3(url, type, UIP_P_FRAG) argument
255 extern void LYRegisterUIPage(const char *url, UIP_t type);
DLYUtils.c5048 void LYDoCSI(char *url, in LYDoCSI() argument
5063 StrAllocCat(*csi, url); in LYDoCSI()
6514 char *url; member
6557 BOOL LYIsUIPage3(const char *url, in LYIsUIPage3() argument
6564 if (!url) in LYIsUIPage3()
6568 if (!ly_uip[i].url) { in LYIsUIPage3()
6571 (!StrNCmp(ly_uip[i].url, url, (l = strlen(ly_uip[i].url))) in LYIsUIPage3()
6572 && (url[l] == '\0' || url[l] == '#')) : in LYIsUIPage3()
6573 !strcmp(ly_uip[i].url, url)) { in LYIsUIPage3()
6581 (!StrNCmp(p, url, (l = strlen(p))) in LYIsUIPage3()
[all …]

1234