Searched refs:fh (Results 51 - 75 of 122) sorted by relevance

12345

/osnet-11/usr/src/tools/onbld/Checks/
H A DCmtBlk.py53 def cmtblkchk(fh, blk_name, blk_text, filename=None,
71 filename = fh.name
73 for line in fh:
H A DHdrChk.py73 def __init__(self, fh, filename=None, lenient=False):
74 self.file = fh
83 self.filename = fh.name
155 def hdrchk(fh, filename=None, lenient=False, output=sys.stderr):
160 hdr = HeaderFile(fh, filename=filename, lenient=lenient)
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/File/
H A Dstat.pm51 my $fh;
56 $fh = \*{ Symbol::qualify( $arg, caller() )};
57 return unless defined fileno $fh;
59 return populate(CORE::stat $fh);
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Tie/File/t/
H A D06_fixrec.t26 local *FH = $o->{fh};
H A D18_rs_fixrec.t26 local *FH = $o->{fh};
H A D13_size_rs.t68 local *FH = $o->{fh};
H A D05_size.t99 local *FH = $o->{fh};
H A D25_gen_nocache.t92 local *FH = $o->{fh};
H A D33_defer_vs.t98 local *FH = $o->{fh};
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/ExtUtils/
H A Dinstmodsh62 if (my $fh = IO::File->new($tmp, "w"))
64 $fh->print(join("\n", $Inst->files($module)));
65 $fh->close();
H A DEmbed.pm49 my($fh,@mods,%seen);
65 $fh = \*STDOUT;
68 $fh = new FileHandle "> $file";
74 print $fh &xsi_header();
75 print $fh "EXTERN_C void xs_init ($xsinit_proto);\n\n";
76 print $fh &xsi_protos(@mods);
78 print $fh "\nEXTERN_C void\nxs_init($xsinit_proto)\n{\n";
79 print $fh &xsi_body(@mods);
80 print $fh "}\n";
/osnet-11/usr/src/tools/onbld/hgext/
H A Dcdm.py414 fh = open(f, 'r')
415 ret |= Cddl.cddlchk(fh, lenient=lenient, output=ui)
416 fh.close()
460 fh = open(f, 'r')
461 ret |= Mapfile.mapfilechk(fh, output=ui)
462 fh.close()
494 fh = open(f, 'r')
495 ret |= Copyright.copyright(fh, output=ui)
496 fh.close()
528 fh
[all...]
/osnet-11/usr/src/tools/onbld/Scm/
H A DWorkSpace.py359 fh = self.ws.repo.opener('localtags')
360 tags.extend(colliding_tags(fh, nodes, True))
361 fh.close()
705 fh = None
707 fh = self.repo.opener('localtags')
708 tags = active.prune_tags(fh)
709 fh.close()
711 fh = self.repo.opener('localtags', 'w', atomictemp=True)
713 fh.write(l)
716 fh
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/io/
H A Dfs.t81 open(fh,'>x') || die "Can't create x";
82 close(fh);
83 open(fh,'>a') || die "Can't create a";
84 close(fh);
299 ok(truncate(FH, 200), "fh resize to 200");
311 is(-s "Iofs.tmp", 200, "fh resize to 200 working (filename check)");
313 ok(truncate(FH, 0), "fh resize to zero");
319 ok(-z "Iofs.tmp", "fh resize to zero working (filename check)");
333 ok(truncate(*FH{IO}, 100), "fh resize by IO slot");
340 is(-s "Iofs.tmp", 100, "fh resiz
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Test/
H A DBuilder.pm908 my $fh = $self->todo ? $self->todo_output : $self->failure_output;
910 print $fh @msgs;
935 my $fh = $self->output;
945 print $fh @msgs;
951 $Test->output($fh);
960 $Test->failure_output($fh);
969 $Test->todo_output($fh);
980 my($self, $fh) = @_;
982 if( defined $fh ) {
983 $Out_FH = _new_fh($fh);
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/Unicode/Normalize/
H A Dmkheader80 my($f, $fh);
83 last if open($fh, $f);
85 last if open($fh, $f);
91 while (<$fh>) {
96 close $fh;
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/
H A DPerlIO.pm38 open($fh,"<:crlf", "my.txt"); # portably open a text file for reading
40 open($fh,"<","his.jpg"); # portably open a binary file for reading
41 binmode($fh);
153 C<binmode($fh)> - the stream is made suitable for passing binary data
175 open($fh,":raw:utf8",...)
187 open($fh,...)
189 binmode($fh,":encoding(...)"); # next chunk is encoded
191 binmode($fh,":pop"); # back to un-encocded
232 open($fh,"whatever")
233 binmode($fh);
[all...]
H A DFileCache.pm20 $fh = cacheout $mode, $path;
22 $fh = cacheout $path;
23 print $fh @data;
/osnet-11/usr/src/cmd/perl/contrib/Sun/Solaris/Project/
H A DProject.xs218 fgetprojent(fh)
219 FILE *fh
225 if (projp = fgetprojent(fh, &proj, buf, sizeof (buf))) {
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/ExtUtils/t/
H A DEmbed.t15 open(my $fh,">embed_test.c") || die "Cannot open embed_test.c:$!";
16 print $fh <DATA>;
17 close($fh);
/osnet-11/usr/src/lib/libfuse/common/
H A Dfuse_common.h73 uint64_t fh; member in struct:fuse_file_info
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/op/
H A Dwrite.t12 open my $fh, $file or die "can't open '$file': $!";
13 my $data = <$fh>;
14 close $fh;
650 my $fh = select $null;
653 select $fh;
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/B/B/
H A DAssembler.pm238 my ($fh, $out) = @_;
241 while ($line = <$fh>) {
317 assemble_fh($fh, \&printsub); # assemble everything in $fh
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Pod/t/
H A DFunctions.t57 unless open my $fh, qq[$^X "-I../lib" $pod_functions |];
58 my $fake_out = do { local $/; <$fh> };
60 unless close $fh;
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Tie/
H A DFile.pm86 my $fh;
97 $fh = $file; # setting binmode is the user's problem
101 # $fh = \do { local *FH }; # XXX this is buggy
105 $fh = Symbol::gensym();
107 sysopen $fh, $file, $opts{mode}, 0666 or return;
108 binmode $fh;
111 { my $ofh = select $fh; $| = 1; select $ofh } # autoflush on write
114 eval 'binmode($fh, $opts{discipline})';
118 $opts{fh} = $fh;
[all...]

Completed in 31 milliseconds

12345