Home
last modified time | relevance | path

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

12345678910>>...358

/dports/graphics/bmeps/dktools-4.31.1/scripts/
H A Dtransform-config19 my $fh = undef;
26 while(<$fh>) {
54 close($fh);
63 my $fh = undef;
98 close($fh);
106 my $fh = undef;
236 close($fh);
240 $fh = undef;
331 close($fh);
339 my $fh = undef;
[all …]
/dports/textproc/confetti/confetti-0.0.20120801/
H A Dc_dump.c666 fputt(fh, level); fputs("}\n",fh); in strdupValue()
677 fputt(fh, level); fputs("}\n",fh); in strdupValue()
688 fputt(fh, level); fputs("}\n",fh); in strdupValue()
699 fputt(fh, level); fputs("}\n",fh); in strdupValue()
710 fputt(fh, level); fputs("}\n",fh); in strdupValue()
728 fputt(fh, level); fputs("}\n",fh); in strdupValue()
736 fputt(fh, level); fputs("}\n",fh); in strdupValue()
1482 fh in cDump()
1503 fh in cDump()
1587 fh in cDump()
[all …]
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/
H A Dswitch_core_file.c343 fh->mm.channels = fh->channels; in switch_core_perform_file_open()
352 fh->mm.channels = fh->channels; in switch_core_perform_file_open()
355 file_path = fh->spool_path ? fh->spool_path : fh->file_path; in switch_core_perform_file_open()
553 if (!fh->dbuf || fh->dbuflen < fh->resampler->to_len * 2 * fh->channels) { in switch_core_file_read()
555 fh->dbuflen = fh->resampler->to_len * 2 * fh->channels; in switch_core_file_read()
561 memcpy((int16_t *) fh->dbuf, fh->resampler->to, fh->resampler->to_len * 2 * fh->channels); in switch_core_file_read()
562 switch_buffer_write(fh->buffer, fh->dbuf, fh->resampler->to_len * 2 * fh->channels); in switch_core_file_read()
606 int need = *len * 2 * (fh->real_channels > fh->channels ? fh->real_channels : fh->channels); in switch_core_file_write()
637 if (!fh->dbuf || (fh->dbuflen < fh->resampler->to_len * 2 * fh->channels)) { in switch_core_file_write()
639 fh->dbuflen = fh->resampler->to_len * 2 * fh->channels; in switch_core_file_write()
[all …]
/dports/converters/p5-Convert-Binary-C/Convert-Binary-C-0.84/tests/include/pdclib/functions/_PDCLIB/
H A D_PDCLIB_load_lc_ctype.c27 FILE * fh; in _PDCLIB_load_lc_ctype() local
33 if ( ( fh = fopen( file, "rb" ) ) != NULL ) in _PDCLIB_load_lc_ctype()
52 fclose( fh ); in _PDCLIB_load_lc_ctype()
69 fclose( fh ); in _PDCLIB_load_lc_ctype()
89 FILE * fh = fopen( "test_ctype.dat", "wb" ); in main() local
90 TESTCASE( fh != NULL ); in main()
95 TESTCASE( fprintf( fh, "%x %x\n", 0x00, 0x09 ) ); in main()
107 TESTCASE( fprintf( fh, "%x %x %x\n", 0x00, 0x0A, 0x0A ) ); in main()
108 TESTCASE( fprintf( fh, "%x %x %x\n", 0x00, 0x0B, 0x0B ) ); in main()
109 TESTCASE( fprintf( fh, "%x %x %x\n", 0x00, 0x0C, 0x0C ) ); in main()
[all …]
/dports/net/rclone/rclone-1.57.0/vfs/
H A Dread_write.go54 if !fh.readOnly() && (fh.flags&os.O_TRUNC != 0 || (fh.flags&os.O_CREATE != 0 && !exists)) {
64 fh.file.addWriter(fh)
123 fh.mu.Lock()
133 if fh.readOnly() || !fh.opened {
159 err = fh.item.Close(fh.file.setObject)
167 fh.file.delWriter(fh)
175 fh.mu.Lock()
286 n, err = fh._readAt(b, fh.offset, false)
308 fh.offset = fh._size()
370 n, err = fh._writeAt(b, fh.offset, false)
[all …]
H A Dwrite.go46 fh.cond = sync.NewCond(&fh.mu)
47 fh.file.addWriter(fh)
53 return fh.truncated || fh.flags&os.O_TRUNC != 0 || !fh.file.exists()
77 fh.o = o
133 waitSequential("write", fh.remote, fh.cond, fh.file.VFS().Opt.WriteWait, &fh.offset, off)
145 fh.file.setSize(fh.offset)
166 return fh.writeAt(p, fh.offset)
192 fh.file.delWriter(fh)
195 if !fh.opened && !fh.safeToTruncate() {
204 fh.file.setObject(fh.o)
[all …]
H A Dread.go65 fh.cond = sync.NewCond(&fh.mu)
66 return fh, nil
72 if fh.opened {
93 fh.mu.Lock()
103 fh.mu.Lock()
117 fh.hash = nil
168 fh.mu.Lock()
269 waitSequential("read", fh.remote, fh.cond, fh.file.VFS().Opt.ReadWait, &fh.offset, off)
348 if fh.hash == nil || !fh.readCalled || fh.offset < fh.size {
397 if fh.roffset >= fh.size && !fh.sizeUnknown {
[all …]
/dports/devel/p5-IO-Multiplex/IO-Multiplex-1.16/lib/IO/
H A DMultiplex.pm333 $fh;
364 $self->{_fhs}{"$fh"}{fileno} = fileno($fh);
365 $self->{_handles}{"$fh"} = $fh;
366 tie *$fh, "IO::Multiplex::Handle", $self, $fh;
420 return if $fh && !exists($self->{_fhs}{"$fh"});
440 return unless $fh && exists($self->{_fhs}{"$fh"});
459 return unless $fh && exists($self->{_fhs}{"$fh"});
482 return unless $fh && exists($self->{_fhs}{"$fh"});
512 return unless $fh && exists($self->{_fhs}{"$fh"});
844 return unless $fh && exists($self->{_fhs}{"$fh"});
[all …]
/dports/games/gnubg/gnubg-1.06.002/
H A Dfile.c124 return fh; in OpenFileHelper()
144 if (fh->dataPos < fh->dataRead) in fhDataGetChar()
149 fh->data = realloc(fh->data, fh->dataRead + BLOCK_SIZE); in fhDataGetChar()
153 numRead = fread(fh->data + fh->dataRead, 1, BLOCK_SIZE, fh->fp); in fhDataGetChar()
155 (fh->data + fh->dataRead)[numRead] = '\0'; in fhDataGetChar()
165 return fh->data[fh->dataPos]; in fhPeekNextChar()
172 return fh->data[fh->dataPos++]; in fhReadNextChar()
276 fhReset(fh); in IsSGFFile()
360 if (fhReadNumber(fh) && fhReadNextChar(fh) == ';') { in IsTXTFile()
362 if (fhReadNumber(fh) && fhReadNextChar(fh) == ';') in IsTXTFile()
[all …]
/dports/devel/p5-IO-Handle-Util/IO-Handle-Util-0.02/t/
H A Dbasic.t22 return wantarray ? ( $fh, \$string ) : $fh;
62 is( io_to_glob($fh), $fh, 'io_to_glob isa passthrough' );
89 [ <$fh> ],
124 io_to_array($fh),
160 if ( blessed($fh) ) {
163 ok( ref($fh) eq 'GLOB' && *{$fh}{IO}, "unblessed GLOB with IO" );
166 return $fh;
207 [ <$fh> ],
292 $fh->print("foo");
297 $fh->print("baz");
[all …]
/dports/multimedia/tivodecode/tivodecode-0.2pre4/
H A Dhappyfile.c34 fh->fh = fopen (filename, mode); in hopen()
35 if (!fh->fh) in hopen()
49 hfh->fh = fh; in hattach()
58 int x = fclose (fh->fh); in hclose()
78 memcpy (ptr, fh->buffer + (fh->pos - fh->buffer_start), size); in hread()
82 else if (fh->pos < fh->buffer_start + fh->buffer_fill) in hread()
84 …memcpy (ptr, fh->buffer + (fh->pos - fh->buffer_start), (size_t)(fh->buffer_fill - (fh->pos - fh->… in hread()
91 fh->buffer_fill = (hoff_t)fread (fh->buffer, 1, BUFFERSIZE, fh->fh); in hread()
124 fh->buffer_start = fh->pos; in hseek()
180 fh->pos = hftell(fh->fh); in hseek()
[all …]
/dports/science/hdf5/hdf5-1.10.6/bin/
H A Dmake_vers44 my $fh = shift;
64 my $fh = shift;
74 my ($fh, $file) = @_;
95 print $fh "#if (";
99 print $fh " || ";
108 print $fh "#endif /* (";
112 print $fh " || ";
128 print $fh " *\n";
131 print $fh " */\n";
186 print $fh " */\n";
[all …]
/dports/science/hdf5-18/hdf5-1.8.21/bin/
H A Dmake_vers37 my $fh = shift;
57 my $fh = shift;
67 my ($fh, $file) = @_;
81 my $fh = shift;
100 print $fh " *\n";
103 print $fh " */\n";
158 print $fh " */\n";
162 print $fh "/* Functions */\n";
211 print $fh "/* Typedefs */\n";
212 print $fh "/************/\n";
[all …]
/dports/x11-toolkits/p5-Tk/Tk-804.035/IO/
H A DIO.pm26 return $fh;
31 my $fh = shift;
32 return ${*$fh};
72 my $count = sysread($fh,${*$fh},1,length(${*$fh}));
82 $fh->close;
100 $fh->close;
106 my $fh = shift;
123 ${*$fh} = '' unless (defined ${*$fh});
130 $w->fileevent($fh,'readable',[$fh,'readable']);
150 my $fh = shift;
[all …]
/dports/net/openmpi/openmpi-4.1.1/ompi/mca/common/ompio/
H A Dcommon_ompio_file_view.c100 free (fh->f_datarep); in mca_common_ompio_set_view()
151 fh->f_iov_count = 0; in mca_common_ompio_set_view()
154 fh->f_total_bytes = 0; in mca_common_ompio_set_view()
176 if ( (fh->f_view_size % fh->f_etype_size) ) { in mca_common_ompio_set_view()
183 if ( 0 < fh->f_iov_count && 0 > (off_t)fh->f_decoded_iov[0].iov_base ) { in mca_common_ompio_set_view()
192 fh->f_cc_size = get_contiguous_chunk_size (fh, 1); in mca_common_ompio_set_view()
195 fh->f_cc_size = get_contiguous_chunk_size (fh, 0); in mca_common_ompio_set_view()
200 fh->f_view_extent == (ptrdiff_t)fh->f_view_size ) { in mca_common_ompio_set_view()
359 ret = fh->f_sharedfp->sharedfp_seek( fh, 0, MPI_SEEK_SET); in mca_common_ompio_set_view()
384 fh->f_avg_view_size = fh->f_view_size; in get_contiguous_chunk_size()
[all …]
/dports/www/faup/faup-1.5-48-g88dbbe2/src/lib/
H A Dfaup.c27 faup_handler_t *fh; in faup_init() local
30 fh = malloc(sizeof(faup_handler_t)); in faup_init()
31 fh->faup.decoded = false; in faup_init()
33 memset(&fh->faup.features, 0, sizeof(fh->faup.features)); in faup_init()
36 fh->options = options; in faup_init()
41 retval = faup_modules_new(fh); in faup_init()
44 return fh; in faup_init()
52 void faup_terminate(faup_handler_t *fh) in faup_terminate() argument
57 free(fh); in faup_terminate()
112 return faup_get_pos(fh, host); in faup_get_host_pos()
[all …]
/dports/security/p5-Filter-Crypto/Filter-Crypto-2.09/t/
H A D02_function.t98 close $fh;
108 close $fh;
122 close $fh;
137 close $fh;
152 close $fh;
167 close $fh;
187 close $fh;
202 close $fh;
214 close $fh;
233 close $fh;
[all …]
/dports/net-mgmt/sysmon/sysmon-0.93/src/
H A Dtextfile.c53 fh = fopen(newfname, "w"); in dump_to_file()
55 if (fh == NULL) in dump_to_file()
73 fprintf(fh, "body {\n"); in dump_to_file()
76 fprintf(fh, "}\n"); in dump_to_file()
77 fprintf(fh, ".up {\n"); in dump_to_file()
80 fprintf(fh, "}\n"); in dump_to_file()
84 fprintf(fh, "}\n"); in dump_to_file()
88 fprintf(fh, "}\n"); in dump_to_file()
99 fprintf(fh, "<TR>\n"); in dump_to_file()
116 fprintf(fh, "</TR>\n"); in dump_to_file()
[all …]
/dports/audio/praat/praat-6.2.03/external/glpk/
H A Dglpenv07.c133 fp->fh = fh; in xfopen()
432 if (ferror(fh) || feof(fh)) in c_fgetc()
489 else if (fh == stdout || fh == stderr) in c_fclose()
514 { xassert(fh != fh); in z_fgetc()
520 xassert(fh != fh); in z_fputc()
525 { xassert(fh != fh); in z_ferror()
530 { xassert(fh != fh); in z_feof()
535 { xassert(fh != fh); in z_fflush()
540 { xassert(fh != fh); in z_fclose()
578 fh->err = fh->eof = 0; in z_fopen()
[all …]
/dports/devel/tcllib/tcllib-1.20/modules/png/
H A Dpng.tcl20 return $fh
35 close $fh
59 close $fh
80 close $fh
97 close $fh
128 close $fh
153 close $fh
169 close $fh
173 close $fh
209 close $fh
[all …]
/dports/devel/tcllibc/tcllib-1.20/modules/png/
H A Dpng.tcl20 return $fh
35 close $fh
59 close $fh
80 close $fh
97 close $fh
128 close $fh
153 close $fh
169 close $fh
173 close $fh
209 close $fh
[all …]
/dports/databases/pg_tileserv/pg_tileserv-1.0.8/vendor/github.com/spf13/afero/
H A Dcomposite_test.go59 fh.Close()
78 fh.Close()
85 fh.Close()
93 fh.Close()
109 fh.Close()
113 fh.Close()
135 fh.Close()
140 fh.Close()
144 fh.Close()
175 fh.Close()
[all …]
/dports/security/vault/vault-1.8.2/vendor/github.com/joyent/triton-go/vendor/github.com/spf13/afero/
H A Dcomposite_test.go60 fh.Close()
79 fh.Close()
86 fh.Close()
94 fh.Close()
110 fh.Close()
114 fh.Close()
136 fh.Close()
141 fh.Close()
145 fh.Close()
176 fh.Close()
[all …]
/dports/deskutils/ultralist/ultralist-1.7.0/vendor/github.com/spf13/afero/afero-1.1.2/
H A Dcomposite_test.go59 fh.Close()
78 fh.Close()
85 fh.Close()
93 fh.Close()
109 fh.Close()
113 fh.Close()
135 fh.Close()
140 fh.Close()
144 fh.Close()
175 fh.Close()
[all …]
/dports/www/gohugo/hugo-0.91.2/vendor/github.com/envoyproxy/protoc-gen-validate/vendor/github.com/spf13/afero/
H A Dcomposite_test.go59 fh.Close()
78 fh.Close()
85 fh.Close()
93 fh.Close()
109 fh.Close()
113 fh.Close()
135 fh.Close()
140 fh.Close()
144 fh.Close()
175 fh.Close()
[all …]

12345678910>>...358