Home
last modified time | relevance | path

Searched refs:fh (Results 1 – 15 of 15) sorted by relevance

/curl/tests/libtest/
H A Dmk-lib1521.pl182 print $fh <<HEADER
465 print $fh "$ifpresent";
471 print $fh "$ifpresent";
478 print $fh "$ifpresent";
513 print $fh "$ifpresent";
518 print $fh "$ifpresent";
530 print $fh "$ifpresent";
535 print $fh "$ifpresent";
543 print $fh <<MOO
595 print $fh <<FOOTER
[all …]
/curl/tests/
H A Dtest1276.pl34 open(my $fh, "-|", "perl $root/lib/optiontable.pl < $root/include/curl/curl.h");
35 binmode $fh;
36 my @gen=<$fh>;
37 close($fh);
39 open($fh, "<", "$root/lib/easyoptions.c");
40 binmode $fh;
41 my @file=<$fh>;
42 close($fh);
H A Dtest971.pl53 open(my $fh, "<", "$f");
54 while(<$fh>) {
74 close($fh);
80 open(my $fh, "<", "$cmddir/$f.md");
81 while(<$fh>) {
91 close($fh);
H A Dmk-bundle.pl37 open my $fh, "<", "$src_dir/Makefile.inc" or die "Cannot open '$src_dir/Makefile.inc': $!";
124 while(my $line = <$fh>) {
152 close $fh;
H A Dtest1222.pl188 if(open(my $fh, "<", "$path")) {
192 while(<$fh>) {
233 close $fh;
240 open(my $fh, "<", "$libdocdir/symbols-in-versions") ||
242 while(<$fh>) {
252 close($fh);
H A Dtest1140.pl59 open(my $fh, "<", "$f") ||
62 while(<$fh>) {
105 close($fh);
H A Dtest1275.pl46 open(my $fh, "<", "$f");
51 while(<$fh>) {
109 close($fh);
H A Dtestutil.pm229 …return encode_base64(sha256(do { local $/; open my $fh, '<:raw', $file_path or die $!; <$fh> }), "…
246 my $content = do { local $/; open my $fh, '<', $file_path or die $!; <$fh> };
H A Dtestcurl.pl198 open(my $fh, "<", $fn) or die;
199 while (<$fh>) {
201 close($fh);
205 close($fh);
H A Dservers.pm197 my ($fh, $socks) = tempfile("curl-socksd-XXXXXXXX", TMPDIR => 1);
198 close($fh);
/curl/lib/
H A Dfopen.c95 FILE **fh, char **tempname) in Curl_fopen() argument
105 *fh = fopen(filename, FOPEN_WRITETEXT); in Curl_fopen()
106 if(!*fh) in Curl_fopen()
108 if(fstat(fileno(*fh), &sb) == -1 || !S_ISREG(sb.st_mode)) { in Curl_fopen()
111 fclose(*fh); in Curl_fopen()
112 *fh = NULL; in Curl_fopen()
141 *fh = fdopen(fd, FOPEN_WRITETEXT); in Curl_fopen()
142 if(!*fh) in Curl_fopen()
H A Dfopen.h28 FILE **fh, char **tempname);
/curl/scripts/
H A Dcd2nroff205 my $fh;
217 if(!open($fh, "<:crlf", "$f")) {
224 $fh = \*STDIN;
225 binmode($fh, ":crlf");
227 while(<$fh>) {
377 while(<$fh>) {
539 if($fh != \*STDIN) {
540 close($fh);
H A Dmanagen278 my ($manpage, $fh, $f, $line) = @_;
289 while(<$fh>) {
493 my $fh;
494 open($fh, "<:crlf", "$dir/$f") ||
517 while(<$fh>) {
643 close($fh);
935 my $fh;
939 close($fh);
1121 my $fh;
1156 while(<$fh>) {
[all …]
/curl/.github/scripts/
H A Dspacecheck.pl97 open my $fh, '<', $filename or die "Cannot open '$filename': $!";
98 my $content = do { local $/; <$fh> };
99 close $fh;

Completed in 39 milliseconds