Home
last modified time | relevance | path

Searched refs:fh2 (Results 1 – 25 of 814) sorted by relevance

12345678910>>...33

/dports/textproc/p5-Text-CSV-Encoded/Text-CSV-Encoded-0.25/t/tests/
H A D03_file.t28 close($fh2);
36 <$fh2>;
48 close($fh2);
58 <$fh2>;
70 close($fh2);
78 <$fh2>;
92 close($fh2);
100 <$fh2>;
113 close($fh2);
129 <$fh2>;
[all …]
/dports/sysutils/ods2/ods2-1.3_1/
H A Dheader.h144 u_byte fh2$b_idoffset;
145 u_byte fh2$b_mpoffset;
146 u_byte fh2$b_acoffset;
147 u_byte fh2$b_rsoffset;
148 u_word fh2$w_seg_num;
149 u_word fh2$w_struclev;
153 u_long fh2$l_filechar;
156 u_byte fh2$b_acc_mode;
158 u_word fh2$w_fileprot;
160 u_byte fh2$b_journal;
[all …]
H A Daccess.h130 vmsbyte fh2$b_idoffset;
131 vmsbyte fh2$b_mpoffset;
132 vmsbyte fh2$b_acoffset;
133 vmsbyte fh2$b_rsoffset;
134 vmsword fh2$w_seg_num;
135 vmsword fh2$w_struclev;
139 vmslong fh2$l_filechar;
142 vmsbyte fh2$b_acc_mode;
144 vmsword fh2$w_fileprot;
146 vmsbyte fh2$b_journal;
[all …]
H A Dupdate.c329 head->fh2$b_idoffset = 40; in update_addhead()
330 head->fh2$b_mpoffset = 100; in update_addhead()
331 head->fh2$b_acoffset = 255; in update_addhead()
332 head->fh2$b_rsoffset = 255; in update_addhead()
333 head->fh2$w_seg_num = seg_num; in update_addhead()
334 head->fh2$w_struclev = 513; in update_addhead()
337 fid_copy(&head->fh2$w_fid,fid,0); in update_addhead()
411 head->fh2$b_acoffset - head->fh2$b_mpoffset) { in update_extend()
415 sts = update_addhead(fcb->vcb,"",&head->fh2$w_fid,head->fh2$w_seg_num+1, in update_extend()
431 mp = (unsigned short *) head + head->fh2$b_mpoffset + head->fh2$b_map_inuse; in update_extend()
[all …]
H A Daccess.c82 head->fh2$w_checksum = VMSWORD(check); in deaccesshead()
123 head->fh2$w_fid.fid$b_rvn != 0)) { in accesshead()
127 if (head->fh2$b_idoffset < 38 || in accesshead()
128 head->fh2$b_idoffset > head->fh2$b_mpoffset || in accesshead()
129 head->fh2$b_mpoffset > head->fh2$b_acoffset || in accesshead()
130 head->fh2$b_acoffset > head->fh2$b_rsoffset || in accesshead()
131 head->fh2$b_map_inuse > head->fh2$b_acoffset - head->fh2$b_mpoffset || in accesshead()
200 head->fh2$w_fid.fid$b_nmx != 0 || in premap_indexf()
235 head->fh2$w_ext_fid.fid$w_num = 0; in wcb_create()
236 head->fh2$w_ext_fid.fid$b_nmx = 0; in wcb_create()
[all …]
/dports/emulators/ucon64/ucon64-2.2.2-src/src/console/
H A Dneogeo.c87 FILE *fh, *fh2; in sam2wav() local
107 fclose (fh2); in sam2wav()
122 fwrite ("RIFF", 1, 4, fh2); in sam2wav()
123 fwrite (buf, 1, 4, fh2); in sam2wav()
125 fwrite ("WAVE", 1, 4, fh2); in sam2wav()
132 fwrite (buf, 1, 4, fh2); in sam2wav()
142 fwrite (buf, 1, 4, fh2); in sam2wav()
160 fwrite (buf, 1, 4, fh2); in sam2wav()
172 fwrite (buf, 1, 2, fh2); in sam2wav()
179 fwrite (buf, 1, 4, fh2); in sam2wav()
[all …]
/dports/sysutils/hfsutils/hfsutils-3.2.6/test/
H A Dtest1.tcl69 set fh2 [$curvol open $file2]
72 $fh2 fork data
80 set data [$fh2 read [string length $block]]
82 error "$fh2 ($file2) fork data block $i differs"
89 if {[string length [$fh2 read 1]]} {
90 error "$fh2 ($file2) bad data fork length"
96 $fh2 fork rsrc
104 set data [$fh2 read [string length $block]]
113 if {[string length [$fh2 read 1]]} {
114 error "$fh2 ($file2) bad resource fork length"
[all …]
/dports/sysutils/testdisk/testdisk-7.1/src/
H A Dfatn.c101 wprintw(stdscr,"cluster_size %u %u\n", fh1->sectors_per_cluster, fh2->sectors_per_cluster); in dump_2fat_info_ncurses()
102 wprintw(stdscr,"reserved %u %u\n", le16(fh1->reserved),le16(fh2->reserved)); in dump_2fat_info_ncurses()
103 if(fat_sectors(fh1)!=0 || fat_sectors(fh2)!=0) in dump_2fat_info_ncurses()
104 wprintw(stdscr,"sectors %u %u\n", fat_sectors(fh1), fat_sectors(fh2)); in dump_2fat_info_ncurses()
105 if(le32(fh1->total_sect)!=0 || le32(fh2->total_sect)!=0) in dump_2fat_info_ncurses()
116 if(fat32_get_free_count((const unsigned char*)fh2,sector_size)==0xFFFFFFFF) in dump_2fat_info_ncurses()
119 wprintw(stdscr,"%lu\n",fat32_get_free_count((const unsigned char*)fh2,sector_size)); in dump_2fat_info_ncurses()
125 if(fat32_get_next_free((const unsigned char*)fh2,sector_size)==0xFFFFFFFF) in dump_2fat_info_ncurses()
128 wprintw(stdscr,"%lu\n",fat32_get_next_free((const unsigned char*)fh2,sector_size)); in dump_2fat_info_ncurses()
130 wprintw(stdscr,"fat_length %u %u\n", le16(fh1->fat_length), le16(fh2->fat_length)); in dump_2fat_info_ncurses()
[all …]
/dports/www/p5-HTML-GenToc/HTML-GenToc-3.20/t/
H A Dcompare.pl10 my $fh2 = undef;
12 open($fh2, $file2) || return 0;
24 my $comp2 = <$fh2>;
31 close($fh2);
42 close($fh2);
49 if (defined($comp2 = <$fh2>))
57 close($fh2);
/dports/science/nwchem/nwchem-7b21660b82ebd85ef659f6fba7e1e73433b0bd0a/src/nwpw/pspw/water_pseudopotential/
H A DBLCJ_Inter.F240 fh2(1) = fh2(1) - ((rh2(1)-rph1(1))/r21) * tmp
241 fh2(2) = fh2(2) - ((rh2(2)-rph1(2))/r21) * tmp
242 fh2(3) = fh2(3) - ((rh2(3)-rph1(3))/r21) * tmp
249 fh2(1) = fh2(1) - ((rh2(1)-rph2(1))/r22) * tmp
250 fh2(2) = fh2(2) - ((rh2(2)-rph2(2))/r22) * tmp
251 fh2(3) = fh2(3) - ((rh2(3)-rph2(3))/r22) * tmp
317 fh2(1) = fh2(1) - ((rh2(1)-rph1(1))/r21) * tmp
318 fh2(2) = fh2(2) - ((rh2(2)-rph1(2))/r21) * tmp
377 fh2(1) = fh2(1) - ((rh2(1)-rpo(1))/r2o) * tmp
378 fh2(2) = fh2(2) - ((rh2(2)-rpo(2))/r2o) * tmp
[all …]
/dports/science/nwchem-data/nwchem-7.0.2-release/src/nwpw/pspw/water_pseudopotential/
H A DBLCJ_Inter.F240 fh2(1) = fh2(1) - ((rh2(1)-rph1(1))/r21) * tmp
241 fh2(2) = fh2(2) - ((rh2(2)-rph1(2))/r21) * tmp
242 fh2(3) = fh2(3) - ((rh2(3)-rph1(3))/r21) * tmp
249 fh2(1) = fh2(1) - ((rh2(1)-rph2(1))/r22) * tmp
250 fh2(2) = fh2(2) - ((rh2(2)-rph2(2))/r22) * tmp
251 fh2(3) = fh2(3) - ((rh2(3)-rph2(3))/r22) * tmp
317 fh2(1) = fh2(1) - ((rh2(1)-rph1(1))/r21) * tmp
318 fh2(2) = fh2(2) - ((rh2(2)-rph1(2))/r21) * tmp
377 fh2(1) = fh2(1) - ((rh2(1)-rpo(1))/r2o) * tmp
378 fh2(2) = fh2(2) - ((rh2(2)-rpo(2))/r2o) * tmp
[all …]
/dports/devel/p5-Data-ParseBinary/Data-ParseBinary-0.31/t/
H A D03lib.t73 open my $fh2, "<", $mydir . $filename or die "can not open $filename";
74 binmode $fh2;
75 my $data = $parser->parse(CreateStreamReader(File => $fh2));
82 open my $fh2, "<", $mydir . $filename or die "can not open $filename";
83 binmode $fh2;
84 my $data = $bmp_parser->parse(CreateStreamReader(File => $fh2));
91 open my $fh2, "<", $mydir . $filename or die "can not open $filename";
92 binmode $fh2;
93 my $data = $netflow_v5_parser->parse(CreateStreamReader(File => $fh2));
/dports/sysutils/backuppc/BackupPC-3.3.2/lib/BackupPC/Xfer/
H A DRsyncDigest.pm174 sysopen(my $fh2, $file, O_RDWR) || return -103;
175 binmode($fh2);
176 return -104 if ( sysread($fh2, $data, 1) != 1 );
182 return -106 if ( sysseek($fh2, $eofPosn, 0) != $eofPosn );
205 return -110 if ( syswrite($fh2, $data2) != length($data2) );
212 return -111 if ( !defined(sysseek($fh2, 0, 2)) );
213 if ( sysseek($fh2, 0, 1) != $eofPosn + length($data2) ) {
214 if ( !truncate($fh2, $eofPosn + length($data2)) ) {
225 return -113 if ( !defined(sysseek($fh2, 0, 0)) );
226 return -114 if ( syswrite($fh2, chr(0xd7)) != 1 );
[all …]
/dports/math/octave/octave-6.4.0/test/nest/
H A Dnest.tst94 %! fh2 = nst1 (13);
95 %! fh3 = fh2;
98 %! assert (fh2 (), 13);
102 %! assert (fh2 (), 13);
115 %! fh2 = nst2 (13);
116 %! fh3 = fh2;
119 %! assert (fh2 (), 13);
123 %! assert (fh2 (), 42);
134 %! fh2 = nst3 (13);
135 %! fh3 = fh2;
[all …]
/dports/sysutils/shim/shim-0.9/
H A Dfallback.c89 uefi_call_wrapper(fh2->Close, 1, fh2); in read_file()
96 uefi_call_wrapper(fh2->Close, 1, fh2); in read_file()
103 uefi_call_wrapper(fh2->Close, 1, fh2); in read_file()
109 uefi_call_wrapper(fh2->Close, 1, fh2); in read_file()
624 uefi_call_wrapper(fh2->Close, 1, fh2); in find_boot_csv()
667 rc = uefi_call_wrapper(fh2->SetPosition, 2, fh2, 0); in find_boot_options()
670 uefi_call_wrapper(fh2->Close, 1, fh2); in find_boot_options()
679 rc = uefi_call_wrapper(fh2->Read, 3, fh2, &bs, NULL); in find_boot_options()
686 uefi_call_wrapper(fh2->Close, 1, fh2); in find_boot_options()
702 uefi_call_wrapper(fh2->Close, 1, fh2); in find_boot_options()
[all …]
/dports/devel/py-portalocker/portalocker-1.7.1/portalocker_tests/
H A Dtests.py166 with open(tmpfile, 'r') as fh2:
167 portalocker.lock(fh2, portalocker.LOCK_EX | portalocker.LOCK_NB)
168 fh2.read()
172 with open(tmpfile, 'w+') as fh2:
173 portalocker.lock(fh2, portalocker.LOCK_EX | portalocker.LOCK_NB)
174 fh2.write('surprise and fear')
189 with open(tmpfile, 'r') as fh2:
190 portalocker.lock(fh2, portalocker.LOCK_SH | portalocker.LOCK_NB)
191 assert fh2.read() == 'spam and eggs'
195 with open(tmpfile, 'w+') as fh2:
[all …]
/dports/science/py-obspy/obspy-1.2.2/obspy/io/reftek/tests/
H A Dtest_core.py243 fh2.seek(1024 * 6)
244 fh.write(fh2.read())
267 tmp1 = fh2.read(1024 * 2)
272 tmp6 = fh2.read()
303 fh2.seek(-(1024 * 3), 2)
304 tmp2 = fh2.read(1024)
305 tmp3 = fh2.read(1024)
306 tmp4 = fh2.read(1024)
344 tmp = fh2.read()
370 tmp = fh2.read()
[all …]
/dports/textproc/p5-MARC-Record/MARC-Record-2.0.7/t/
H A D85.fh.t117 my $fh2 = IO::File->new( $filename );
118 isa_ok( $fh2, "IO::File" );
119 my $batch = MARC::Batch->new( 'USMARC', $fh1, $fh2 );
138 my $fh2 = IO::File->new( $filename );
139 isa_ok( $fh2, "IO::File" );
140 my $batch = MARC::Batch->new( 'USMARC', $fh1, $fh2, $filename );
157 my $fh2 = IO::File->new( $filename );
158 isa_ok( $fh2, "IO::File" );
159 my $batch = MARC::Batch->new( 'MicroLIF', $fh1, $fh2, $filename );
/dports/games/bzflag-server/bzflag-2.4.22/src/bzflag/
H A DHUDuiControl.cxx220 float fh2; in renderFocus() local
237fh2 = floorf(1.5f * fontHeight) - 1.0f; // this really should not scale the image based on the fon… in renderFocus()
241 float imageYShift = -fh2 * 0.2f; in renderFocus()
242 float outputSize = fh2; in renderFocus()
263 fh2 = floorf(0.5f * fontHeight); in renderFocus()
267 glVertex2f(x - fh2 - fontHeight, y + fontHeight - 1.0f); in renderFocus()
268 glVertex2f(x - fh2 - fontHeight, y); in renderFocus()
269 glVertex2f(x - fh2 - 1.0f, y + 0.5f * (fontHeight - 1.0f)); in renderFocus()
274 glVertex2f(x - fh2 - fontHeight, y + fontHeight - 1.0f); in renderFocus()
275 glVertex2f(x - fh2 - fontHeight, y); in renderFocus()
[all …]
/dports/games/bzflag/bzflag-2.4.22/src/bzflag/
H A DHUDuiControl.cxx220 float fh2; in renderFocus() local
237fh2 = floorf(1.5f * fontHeight) - 1.0f; // this really should not scale the image based on the fon… in renderFocus()
241 float imageYShift = -fh2 * 0.2f; in renderFocus()
242 float outputSize = fh2; in renderFocus()
263 fh2 = floorf(0.5f * fontHeight); in renderFocus()
267 glVertex2f(x - fh2 - fontHeight, y + fontHeight - 1.0f); in renderFocus()
268 glVertex2f(x - fh2 - fontHeight, y); in renderFocus()
269 glVertex2f(x - fh2 - 1.0f, y + 0.5f * (fontHeight - 1.0f)); in renderFocus()
274 glVertex2f(x - fh2 - fontHeight, y + fontHeight - 1.0f); in renderFocus()
275 glVertex2f(x - fh2 - fontHeight, y); in renderFocus()
[all …]
/dports/devel/p5-FileHandle-Unget/FileHandle-Unget-0.1634/t/
H A Dmultiple_handles.t18 my $fh2 = new FileHandle::Unget($tmp->filename);
21 $line = <$fh2>;
24 $fh2->ungets("inserted 2\n");
30 $line = <$fh2>;
38 $line = <$fh2>;
43 $fh2->close;
/dports/lang/perl5.34/perl-5.34.0/cpan/Pod-Usage/t/pod/
H A Dtestcmp.pl51 my ($fh1, $fh2) = ($file1, $file2);
55 unless (ref $fh2) {
56 $fh2 = FileHandle->new($file2, "r") or die "Can't open $file2: $!";
65 defined($f2text = <$fh2>) and chomp($f2text);
76 close($fh2) unless (ref $file2);
/dports/lang/perl5.34/perl-5.34.0/cpan/Pod-Checker/t/pod/
H A Dtestcmp.pl51 my ($fh1, $fh2) = ($file1, $file2);
55 unless (ref $fh2) {
56 $fh2 = FileHandle->new($file2, "r") or die "Can't open $file2: $!";
65 defined($f2text = <$fh2>) and chomp($f2text);
76 close($fh2) unless (ref $file2);
/dports/lang/perl5.30/perl-5.30.3/cpan/Pod-Parser/t/pod/
H A Dtestcmp.pl51 my ($fh1, $fh2) = ($file1, $file2);
55 unless (ref $fh2) {
56 $fh2 = FileHandle->new($file2, "r") or die "Can't open $file2: $!";
65 defined($f2text = <$fh2>) and chomp($f2text);
76 close($fh2) unless (ref $file2);
/dports/lang/perl5.30/perl-5.30.3/cpan/Pod-Checker/t/pod/
H A Dtestcmp.pl51 my ($fh1, $fh2) = ($file1, $file2);
55 unless (ref $fh2) {
56 $fh2 = FileHandle->new($file2, "r") or die "Can't open $file2: $!";
65 defined($f2text = <$fh2>) and chomp($f2text);
76 close($fh2) unless (ref $file2);

12345678910>>...33