Home
last modified time | relevance | path

Searched refs:f (Results 1 – 25 of 227) sorted by relevance

12345678910

/curl/tests/
H A Dtestcurl.pl270 close($f);
317 close($f);
479 close($f);
513 close($f);
590 close($f);
596 while (<$f>) {
599 close($f);
656 close($f);
675 close($f);
700 close($f);
[all …]
H A Dtest1140.pl39 my @f = @ARGV;
58 my ($f) = @_;
59 open(my $fh, "<", "$f") ||
60 die "test1140.pl could not open $f";
68 print "error: $f:$line: double-highlight\n";
72 print "error: $f:$line: missing \\fP after $str\n";
79 print "error: $f:$line: referring to non-existing manpage $man\n";
83 print "error: $f:$line: use \\fI before $str\n";
89 print "error: $f:$line: non-referencing $1\n";
108 foreach my $f (@f) {
[all …]
H A Ddirectories.pm263 my %f = %$_;
264 if ($f{'name'} eq $file) {
265 if($f{'content'}) {
266 return length $f{'content'};
268 elsif ($f{'type'} ne "d"){
286 my %f = %$_;
287 if ($f{'name'} eq $file) {
288 if($f{'content'}) {
289 return (length $f{'content'}, $f{'content'});
291 elsif (!exists($f{'type'}) or $f{'type'} ne "d"){
H A Dtest1175.pl38 open(my $f, "<", "$root/docs/libcurl/libcurl-errors.md");
39 while(<$f>) {
50 close($f);
54 open(my $f, "<", "$root/docs/libcurl/symbols-in-versions");
55 while(<$f>) {
66 close($f);
H A Dtest1275.pl41 my ($f) = @_;
42 chomp $f;
43 if($f !~ /\.md\z/) {
46 open(my $fh, "<", "$f");
77 "$f:$l:$c:error: lowercase $word after period\n";
99 "$f:$l:$c:error: lowercase $word after period\n";
113 for my $f (@m) {
114 checkfile($f);
H A Dtest1486.pl39 open(my $f, "<", "$root/../src/tool_writeout.c");
41 while(<$f>) {
56 close($f);
60 open(my $f, "<", "$root/../docs/cmdline-opts/write-out.md");
61 while(<$f>) {
66 close($f);
/curl/scripts/
H A Dcd2nroff202 my ($f)=@_;
216 if(defined($f)) {
223 $f = "STDIN";
297 print STDERR "$f:$line:1:ERROR: no 'Title:' in $f\n";
301 print STDERR "$f:$line:1:ERROR: no 'Section:' in $f\n";
305 print STDERR "$f:$line:1:ERROR: no 'Source:' in $f\n";
309 print STDERR "$f:$line:1:ERROR: no 'Added-in:' in $f\n";
373 $f =~ s/^(.*[\\\/])//;
545 $title = $f;
566 for my $f (@ARGV) {
[all …]
H A Dmanagen141 my ($lvl, $f) = @_;
142 $f =~ s/\n/ /g;
857 print "$f\n";
866 my ($dir, $f)=@_;
867 $f =~ s/^.*\///;
1001 my $long = $f;
1157 my $f = $_;
1158 chomp $f;
1159 if($f =~ /^#/) {
1179 my ($f) = @_;
[all …]
H A Dcd2cd80 my ($f)=@_;
87 open(F, "<:crlf", "$f") ||
115 print STDERR "$f:$line:1:ERROR: bad See-Also, needs list\n";
137 print STDERR "ERROR: no 'Title:' in $f\n";
141 print STDERR "ERROR: no 'Section:' in $f\n";
145 print STDERR "$f:$line:1:ERROR: no 'See-also:' present\n";
149 print STDERR "$f:$line:1:ERROR: no 'C:' field present\n";
160 print STDERR "WARN: unrecognized line in $f, ignoring:\n:'$_';"
165 print STDERR "$f:$line:1:ERROR: no header present\n";
200 print STDERR "$f:$line:1:WARN: excessive line length\n";
[all …]
/curl/tests/http/
H A Dtest_17_ssl_use.py95 with open(dfile) as f:
96 djson = json.load(f)
109 domain = f'{env.domain1}.'
112 assert r.exit_code == 0, f'{r}'
113 assert r.json, f'{r}'
124 domain = f'{env.domain1}..'
154 assert r.json, f'{r}'
169 assert r.json, f'{r}'
207 f'SSLProtocol {tls_proto}'
331 '-n', f'{count}',
[all …]
H A Dtest_12_reuse.py52 urln = f'https://{env.authority_for(env.domain1, proto)}/data.json?[0-{count-1}]'
91 log.info(f'altscv: {open(asfile).readlines()}')
93 urln = f'https://{env.authority_for(env.domain1, "h2")}/data.json?[0-{count-1}]'
95 '--alt-svc', f'{asfile}',
101 assert s['http_version'] == '3', f'{s}'
113 log.info(f'altscv: {open(asfile).readlines()}')
117 '--alt-svc', f'{asfile}',
123 assert s['http_version'] == '2', f'{s}'
135 log.info(f'altscv: {open(asfile).readlines()}')
139 '--alt-svc', f'{asfile}',
[all …]
H A Dscorecard.py79 self.info(f'{ipv}...')
88 f'--{ipv}', f'https://{authority}/'
118 fname = f'score{label}.data'
169 url = f'{url}?[0-{count - 1}]'
199 url = f'{url}?[0-{count - 1}]'
257 for f in fails:
416 self.info(f' {url}: ')
499 return f'{val:0.000f}B'
540 print(f' {"Errors":^20}')
583 print(f' {"Errors":^20}')
[all …]
H A Dtest_01_basic.py47 url = f'http://{env.domain1}:{env.http_port}/data.json'
56 url = f'https://{env.domain1}:{env.https_port}/data.json'
65 url = f'https://{env.domain1}:{env.https_port}/data.json'
74 url = f'https://{env.domain2}:{env.https_port}/data.json'
83 url = f'https://{env.domain1}:{env.h3_port}/data.json'
100 assert r.stats[0]['time_connect'] > 0, f'{r.stats[0]}'
123 url = f'http://{env.domain1}:{env.http_port}/data.json'
126 assert len(r.responses) == 2, f'{r.responses}'
135 url = f'http://{env.domain1}:{env.http_port}/data.json'
138 assert len(r.responses) == 1, f'{r.responses}'
[all …]
H A Dtest_07_upload.py190 '-n', f'{count}', '-S', f'{upload_size}', '-V', proto, url
206 '-n', f'{count}', '-S', f'{upload_size}', '-R', '-V', proto, url
222 '-n', f'{count}', '-M', 'POST', '-S', f'{upload_size}', '-R', '-V', proto, url
353 assert r.exit_code == 0, f'{r}'
392 '--data-binary', f'@{fdata}',
621 '--limit-rate', f'{speed_limit}'
624 assert r.responses[0]['header']['received-length'] == f'{up_len}', f'{r.responses[0]}'
653 f'&read_delay={read_delay}s'
666 f'&read_delay={read_delay}s'
699 '-n', f'{count}',
[all …]
H A Dtest_05_errors.py57 urln = f'https://{env.authority_for(env.domain1, proto)}' \
58 f'/curltest/tweak?id=[0-{count - 1}]'\
68 assert len(invalid_stats) == 0, f'failed: {invalid_stats}'
80 urln = f'https://{env.authority_for(env.domain1, proto)}' \
81 f'/curltest/tweak?id=[0-{count - 1}]'\
87 assert len(r.stats) == count, f'did not get all stats: {r}'
92 assert len(invalid_stats) == 0, f'failed: {invalid_stats}'
98 urln = f'https://{env.authority_for(env.domain1, proto)}/curltest/1_1'
103 urln = f'https://{env.authority_for(env.domain1, proto)}/curltest/1_1'
125 url = f'https://{env.authority_for(env.domain1, proto)}'\
[all …]
H A Dtest_02_download.py340 '-n', f'{count}', '-P', f'{pause_offset}', '-V', proto, url
360 '-n', f'{count}', '-m', f'{max_parallel}',
388 '-n', f'{count}', '-m', f'{max_parallel}', '-a',
417 '-n', f'{count}', '-m', f'{max_parallel}', '-a',
446 '-n', f'{count}', '-m', f'{max_parallel}', '-a',
447 '-F', f'{fail_offset}', '-V', proto, url
465 '--limit-rate', f'{speed_limit}'
470 f'not {r.duration}'
557 '-n', f'{count}', '-P', f'{pause_offset}', '-V', proto, url
607 '-n', f'{count}',
[all …]
/curl/tests/http/testenv/
H A Dhttpd.py162 log.fatal(f'stopping httpd failed: {r}')
231 'server': f'{domain1}',
236 'server': f'{domain2}',
258 f'ErrorLog {self._error_log}',
264 f'Listen {self.env.http_port}',
265 f'Listen {self.env.https_port}',
266 f'Listen {self.env.proxy_port}',
275 f' ServerName {domain1}',
288 f' ServerName {domain1}',
323 f' ServerName {domain2}',
[all …]
H A Dnghttpx.py207 f'--frontend=*,{self.env.h3_port};quic',
210 f'--backend=127.0.0.1,{self.env.http_port}',
212 f'--pid-file={self._pid_file}',
213 f'--errorlog-file={self._error_log}',
214 f'--conf={self._conf_file}',
215 f'--cacert={self.env.ca.cert_file}',
246 f'--frontend=*,{self.env.h2proxys_port}',
249 f'--pid-file={self._pid_file}',
250 f'--errorlog-file={self._error_log}',
251 f'--conf={self._conf_file}',
[all …]
/curl/packages/vms/
H A Dbuild_libcurl_pc.com38 $ base = f$element(1, "-", kit_name)
39 $ product = f$element(2, "-", kit_name)
47 $ kit_type = f$edit(f$extract(0, 1, majorver), "upcase")
51 $ if f$search(pc_file_in) .eqs. ""
54 $ if f$search(pc_file_in) .eqs. ""
65 $ if (f$getsyi("HW_MODEL") .lt. 1024)
70 $ arch_name = arch_name + f$edit(f$getsyi("ARCH_NAME"), "UPCASE")
80 $ key = f$element(0, " ", line_in)
82 $ name = f$element(1, " ", line_in)
107 $ key = f$extract(0, 1, line_in)
[all …]
H A Dbuild_gnv_curl_pcsi_desc.com73 $ base = f$element(1, "-", kit_name)
74 $ product = f$element(2, "-", kit_name)
76 $ majorver = f$extract(0, 3, mmversion)
82 $ kit_type = f$edit(f$extract(0, 1, majorver), "upcase")
116 $ arch_type = f$getsyi("ARCH_NAME")
118 $ vernum = f$extract(1, f$length(node_swvers), node_swvers)
119 $ majver = f$element(0, ".", vernum)
125 $ code = f$extract(0, 1, arch_type)
353 $ if f$locate("$", pathname) .lt. f$length(pathname) then goto inst_file_loop
415 $ filetype = f$edit(f$parse(filename,,,"TYPE"), "upcase")
[all …]
H A Dbuild_gnv_curl_pcsi_text.com53 $ producer = f$element(0, "-", kit_name)
54 $ base = f$element(1, "-", kit_name)
55 $ product = f$element(2, "-", kit_name)
57 $ majorver = f$extract(0, 3, mmversion)
58 $ minorver = f$extract(3, 2, mmversion)
76 $ if f$search("[--]readme.") .nes. ""
89 $ if f$search("[--]copying.") .nes. ""
166 $ arch_type = f$getsyi("ARCH_NAME")
168 $ vernum = f$extract(1, f$length(node_swvers), node_swvers)
169 $ majver = f$element(0, ".", vernum)
[all …]
H A Dpcsi_product_gnv_curl.com25 $ default_dir = f$environment("DEFAULT")
32 $ producer = f$trnlnm("GNV_PCSI_PRODUCER")
65 $ arch_name = f$edit(f$getsyi("arch_name"),"UPCASE")
70 $ if f$search(libfile) .nes. ""
76 $ if f$search(libfile) .nes. ""
95 $ arch_type = f$getsyi("ARCH_NAME")
96 $ arch_code = f$extract(0, 1, arch_type)
116 $ producer = f$element(0, "-", kit_name)
117 $ base = f$element(1, "-", kit_name)
120 $ majorver = f$extract(0, 3, mmversion)
[all …]
/curl/docs/examples/
H A Dadddocsref.pl30 for $f (@ARGV) {
31 open(NEW, ">$f.new");
32 open(F, "<$f");
56 system("mv $f $f.org");
57 system("mv $f.new $f");
H A Dsftpuploadresume.c36 FILE *f = (FILE *)stream; in readfunc() local
39 if(ferror(f)) in readfunc()
42 n = fread(ptr, size, nmemb, f) * size; in readfunc()
82 FILE *f = NULL; in sftpResumeUpload() local
91 f = fopen(localpath, "rb"); in sftpResumeUpload()
92 if(!f) { in sftpResumeUpload()
100 curl_easy_setopt(curlhandle, CURLOPT_READDATA, f); in sftpResumeUpload()
103 _fseeki64(f, remoteFileSizeByte, SEEK_SET); in sftpResumeUpload()
105 fseek(f, (long)remoteFileSizeByte, SEEK_SET); in sftpResumeUpload()
110 fclose(f); in sftpResumeUpload()
/curl/tests/certs/
H A DServer-localhost-sv.crt22 5e:6f:6f:db:f4:c9:4b:7e:6c:2a:cf:34:7b:2a:ba:
23 1a:71:ad:7f:78:6c:f7:1e:ca:07:d0:29:03:49:e4:
24 63:86:4c:f6:67:3f:bd:32:69:cb:b8:15:e7:0e:cf:
25 28:3d:9e:96:91:8e:4f:73:a9:27:77:4c:26:61:cd:
37 c2:00:cb:ef:7f:d7:9f:89:c9:ff:c0:b9:72:59:4c:
60 67:ef:ad:8f:fa:ee:f1:fd:33:67:62:06:5f:09:55:7c:cf:82:
62 b2:18:d7:63:34:63:f4:1f:50:c7:0e:13:d9:bc:3b:73:3d:41:
68 0d:eb:01:95:fc:ac:0f:b5:34:a4:5f:35:5c:68:63:50:5a:69:
70 9e:6f:f8:3c:6f:cd:af:7f:de:0d:87:55:ae:39:b3:b2:f5:4f:
71 47:79:1f:32:ee:ae:8f:32:dc:88:30:cd:38:6c:4b:28:55:c3:
[all …]

Completed in 48 milliseconds

12345678910