Home
last modified time | relevance | path

Searched refs:fileno (Results 1 – 25 of 7432) sorted by relevance

12345678910>>...298

/dports/devel/gnulib/gnulib-20140202-stable/tests/
H A Dtest-dprintf-posix.c51 my_dprintf (fileno (stdout), "%a %d\n", 0.0, 33, 44, 55); in test_function()
65 my_dprintf (fileno (stdout), "%f %d\n", 12.75, 33, 44, 55); in test_function()
71 my_dprintf (fileno (stdout), "%f %d\n", -0.03125, 33, 44, 55); in test_function()
74 my_dprintf (fileno (stdout), "%f %d\n", 0.0, 33, 44, 55); in test_function()
80 my_dprintf (fileno (stdout), "%.f %d\n", 1234.0, 33, 44, 55); in test_function()
89 my_dprintf (fileno (stdout), "%Lf %d\n", 12.75L, 33, 44, 55); in test_function()
98 my_dprintf (fileno (stdout), "%Lf %d\n", 0.0L, 33, 44, 55); in test_function()
115 my_dprintf (fileno (stdout), "%F %d\n", 12.75, 33, 44, 55); in test_function()
124 my_dprintf (fileno (stdout), "%F %d\n", 0.0, 33, 44, 55); in test_function()
148 my_dprintf (fileno (stdout), "%LF %d\n", 0.0L, 33, 44, 55); in test_function()
[all …]
H A Dtest-freopen-safer.c50 ASSERT (STDERR_FILENO < fileno (tmp)); in main()
52 ASSERT (fileno (tmp) < fileno (fp)); in main()
58 ASSERT (STDERR_FILENO < fileno (fp)); in main()
61 ASSERT (STDIN_FILENO == fileno (stdin)); in main()
64 ASSERT (STDOUT_FILENO == fileno (stdout)); in main()
67 ASSERT (STDERR_FILENO == fileno (stderr)); in main()
73 ASSERT (STDOUT_FILENO == fileno (stdout)); in main()
76 ASSERT (STDERR_FILENO == fileno (stderr)); in main()
79 ASSERT (STDERR_FILENO < fileno (fp)); in main()
88 ASSERT (STDERR_FILENO < fileno (fp)); in main()
[all …]
/dports/security/pkcs11-tools/pkcs11-tools-2.5.0/.gnulib/tests/
H A Dtest-dprintf-posix.c51 my_dprintf (fileno (stdout), "%a %d\n", 0.0, 33, 44, 55); in test_function()
65 my_dprintf (fileno (stdout), "%f %d\n", 12.75, 33, 44, 55); in test_function()
71 my_dprintf (fileno (stdout), "%f %d\n", -0.03125, 33, 44, 55); in test_function()
74 my_dprintf (fileno (stdout), "%f %d\n", 0.0, 33, 44, 55); in test_function()
80 my_dprintf (fileno (stdout), "%.f %d\n", 1234.0, 33, 44, 55); in test_function()
89 my_dprintf (fileno (stdout), "%Lf %d\n", 12.75L, 33, 44, 55); in test_function()
98 my_dprintf (fileno (stdout), "%Lf %d\n", 0.0L, 33, 44, 55); in test_function()
115 my_dprintf (fileno (stdout), "%F %d\n", 12.75, 33, 44, 55); in test_function()
124 my_dprintf (fileno (stdout), "%F %d\n", 0.0, 33, 44, 55); in test_function()
148 my_dprintf (fileno (stdout), "%LF %d\n", 0.0L, 33, 44, 55); in test_function()
[all …]
/dports/net-mgmt/p5-POE-Component-SNMP/POE-Component-SNMP-1.1006/lib/POE/Component/SNMP/
H A DDispatcher.pm253 $fileno, $this->_pending_pdu_count($fileno) - 1);
291 DEBUG_INFO('[%d] refcount %d, select', $fileno, $this->{_refcount}{$fileno});
296 DEBUG_INFO('[%d] refcount %d, resume', $fileno, $this->{_refcount}{$fileno});
313 DEBUG_INFO('[%d] refcount %d, unselect', $fileno, $this->{_refcount}{$fileno});
319 … $fileno, $this->{_refcount}{$fileno}, ('(deferred)') x defined $this->_current_pdu($fileno) );
349 my ($this, $fileno) = @_;
366 my ($this, $fileno) = @_;
373 my ($this, $fileno) = @_;
382 my ($this, $fileno) = @_;
476 $fileno, $this->_pending_pdu_count($fileno));
[all …]
/dports/devel/py-gevent/gevent-21.8.0/src/gevent/tests/
H A Dtest__makefile_ref.py78 assert fileno > 0, fileno
99 fileno = sock.fileno()
147 fileno = s.fileno()
154 fileno = s.fileno()
173 fileno = s.fileno()
286 fileno = s.fileno()
288 fileno = s.fileno()
298 fileno = s.fileno()
311 fileno = s.fileno()
314 fileno = s.fileno()
[all …]
/dports/net/py-eventlet/eventlet-0.33.0/eventlet/hubs/
H A Dpoll.py24 self.register(fileno, new=True)
29 self.register(listener.fileno)
31 def register(self, fileno, new=False): argument
58 def remove_descriptor(self, fileno): argument
61 self.poll.unregister(fileno)
97 for fileno, event in presult:
99 callbacks.add((readers.get(fileno, noop), fileno))
101 callbacks.add((writers.get(fileno, noop), fileno))
106 callbacks.add((readers.get(fileno, noop), fileno))
107 callbacks.add((writers.get(fileno, noop), fileno))
[all …]
H A Dhub.py38 def closed_callback(fileno): argument
63 self.fileno = fileno
98 self.fileno,
174 if fileno in bucket:
185 evtype, fileno, evtype, cb, bucket[fileno]))
192 def _obsolete(self, fileno): argument
199 if fileno in bucket:
204 del bucket[fileno]
209 if fileno in bucket:
230 fileno = listener.fileno
[all …]
/dports/www/squid/squid-4.15/src/ipc/
H A DMemMap.cc49 fileno = idx; in openForWriting()
59 Slot &s = shared->slots[fileno]; in openForWritingAt()
95 assert(valid(fileno)); in closeForWriting()
96 Slot &s = shared->slots[fileno]; in closeForWriting()
106 assert(valid(fileno)); in switchWritingToReading()
118 assert(valid(fileno)); in abortWriting()
127 assert(valid(fileno)); in peekAtReader()
143 assert(valid(fileno)); in free()
160 fileno = idx; in openForReading()
178 assert(valid(fileno)); in openForReadingAt()
[all …]
H A DStoreMap.cc105 fileno = idx; in openForWriting()
115 Anchor &s = anchorAt(fileno); in openForWritingAt()
151 Anchor &s = anchorAt(fileno); in startAppending()
160 Anchor &s = anchorAt(fileno); in closeForWriting()
172 Anchor &s = anchorAt(fileno); in switchWritingToReading()
212 Anchor &s = anchorAt(fileno); in abortWriting()
259 return anchorAt(fileno); in peekAtEntry()
267 Anchor &s = anchorAt(fileno); in freeEntry()
397 fileno = idx; in openForReading()
410 Anchor &s = anchorAt(fileno); in openForReadingAt()
[all …]
/dports/devel/arm-none-eabi-newlib/newlib-2.4.0/newlib/libc/sys/mmixware/
H A Dopen.c39 long fileno; in _open() local
46 for (fileno = 0; in _open()
49 fileno++) in _open()
122 TRAP2f (SYS_Fseek, fileno, 0); in _open()
144 TRAP1f (SYS_Fclose, fileno); in _open()
159 TRAP1f (SYS_Fclose, fileno); in _open()
183 TRAP1f (SYS_Fclose, fileno); in _open()
211 TRAP1f (SYS_Fclose, fileno); in _open()
225 TRAP1f (SYS_Fclose, fileno); in _open()
234 _MMIX_allocated_filehandle[fileno] = 1; in _open()
[all …]
/dports/devel/zpu-binutils/zpu-toolchain-1.0/toolchain/gcc/newlib/libc/sys/mmixware/
H A Dopen.c39 long fileno; in _open() local
46 for (fileno = 0; in _open()
49 fileno++) in _open()
122 TRAP2f (SYS_Fseek, fileno, 0); in _open()
144 TRAP1f (SYS_Fclose, fileno); in _open()
159 TRAP1f (SYS_Fclose, fileno); in _open()
183 TRAP1f (SYS_Fclose, fileno); in _open()
211 TRAP1f (SYS_Fclose, fileno); in _open()
225 TRAP1f (SYS_Fclose, fileno); in _open()
234 _MMIX_allocated_filehandle[fileno] = 1; in _open()
[all …]
/dports/devel/zpu-gcc/zpu-toolchain-1.0/toolchain/gcc/newlib/libc/sys/mmixware/
H A Dopen.c39 long fileno; in _open() local
46 for (fileno = 0; in _open()
49 fileno++) in _open()
122 TRAP2f (SYS_Fseek, fileno, 0); in _open()
144 TRAP1f (SYS_Fclose, fileno); in _open()
159 TRAP1f (SYS_Fclose, fileno); in _open()
183 TRAP1f (SYS_Fclose, fileno); in _open()
211 TRAP1f (SYS_Fclose, fileno); in _open()
225 TRAP1f (SYS_Fclose, fileno); in _open()
234 _MMIX_allocated_filehandle[fileno] = 1; in _open()
[all …]
/dports/sysutils/py-iowait/iowait-0.2/
H A Diowait.py201 fileno = fileobj.fileno()
232 fileno = fileobj.fileno()
234 fileno = fileobj
253 for fileno in rlist:
264 for fileno in wlist:
310 fileno = fileobj.fileno()
312 fileno = fileobj
325 fileno = fileobj.fileno()
327 fileno = fileobj
431 fileno = fileobj.fileno()
[all …]
/dports/lang/python-legacy/Python-2.7.18/Lib/hotshot/
H A Dlog.py50 def fileno(self): member in LogReader
52 return self._reader.fileno()
68 def get_filename(self, fileno): argument
70 return self._filemap[fileno]
81 return fileno
84 def get_funcname(self, fileno, lineno): argument
120 self._filemap[fileno] = filename
141 def _decode_location(self, fileno, lineno): argument
150 if self._loadfile(fileno):
160 def _loadfile(self, fileno): argument
[all …]
/dports/lang/python27/Python-2.7.18/Lib/hotshot/
H A Dlog.py50 def fileno(self): member in LogReader
52 return self._reader.fileno()
68 def get_filename(self, fileno): argument
70 return self._filemap[fileno]
81 return fileno
84 def get_funcname(self, fileno, lineno): argument
120 self._filemap[fileno] = filename
141 def _decode_location(self, fileno, lineno): argument
150 if self._loadfile(fileno):
160 def _loadfile(self, fileno): argument
[all …]
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/AppPkg/Applications/Python/Python-2.7.2/Lib/hotshot/
H A Dlog.py50 def fileno(self): member in LogReader
52 return self._reader.fileno()
68 def get_filename(self, fileno): argument
70 return self._filemap[fileno]
81 return fileno
84 def get_funcname(self, fileno, lineno): argument
120 self._filemap[fileno] = filename
141 def _decode_location(self, fileno, lineno): argument
150 if self._loadfile(fileno):
160 def _loadfile(self, fileno): argument
[all …]
/dports/devel/p5-POE-Loop-Glib/POE-Loop-Glib-0.038/lib/POE/Loop/
H A DGlib.pm76 my $fileno = fileno($handle);
89 $fileno_watcher[$fileno]->[$mode] =
90 Glib::IO->add_watch( $fileno,
109 my $fileno = fileno($handle);
124 my $fileno = fileno($handle);
131 undef $fileno_watcher[$fileno]->[$mode];
136 my $fileno = fileno($handle);
145 $fileno_watcher[$fileno]->[$mode] =
146 Glib::IO->add_watch( $fileno,
201 my ($fileno, $tag) = @_;
[all …]
/dports/net/p5-Net-Pcap/Net-Pcap-0.18/t/
H A D10-fileno.t14 my($dev,$pcap,$filehandle,$fileno,$err) = ('','','','','');
70 $fileno = undef;
71 eval { $fileno = Net::Pcap::fileno($pcap) };
73 like( $fileno, '/^\d+$/', " - fileno must be an integer: $fileno" );
77 $fileno = undef;
78 eval { $fileno = Net::Pcap::get_selectable_fd($pcap) };
80 like( $fileno, '/^\d+$/', " - fileno must be an integer: $fileno" );
99 eval { $fileno = Net::Pcap::fileno($pcap) };
105 like( $fileno, '/^(?:\d+|-1)$/', " - fileno must be an integer: $fileno" );
111 $fileno = undef;
[all …]
/dports/devel/p5-FileHandle-Fmode/FileHandle-Fmode-0.14/
H A DFmode.pm25 my $fileno = eval{fileno($_[0])};
27 if(defined($fileno)) {
28 if($fileno == -1) {
38 my $fileno = fileno($_[0]);
40 if( $fileno == -1) {
55 my $fileno = fileno($_[0]);
57 if( $fileno == -1) {
82 my $fileno = fileno($_[0]);
84 if( $fileno == -1) {
99 my $fileno = fileno($_[0]);
[all …]
/dports/devel/p5-IO-Lambda/IO-Lambda-1.23/lib/IO/Lambda/Loop/
H A DSelect.pm63 warn "select: fileno $fileno\n" if $DEBUG;
64 $max = $fileno if $max < $fileno;
65 $min = $fileno if !defined($min) or $min > $fileno;
148 push @kill, $fileno unless @$bucket;
161 my $fileno = fileno $rec->[WATCH_IO_HANDLE];
162 die "Invalid filehandle" unless defined $fileno;
169 push @{$self-> {items}-> {$fileno}}, $rec;
190 push @kill, $fileno;
207 push @kill, $fileno;
224 vec($$r, $fileno, 1) = 1 if $flags & IO_READ;
[all …]
/dports/net/file2pcap/file2pcap-1.29/
H A Dhttp2.c91 write(fileno(ho->outFile), &ph, sizeof(struct pcap_packet_header)); in http2ClientMagic()
94 write(fileno(ho->outFile), ho->fromEther, sizeof(ho->fromEther)-1); in http2ClientMagic()
96 write(fileno(ho->outFile), ho->toEther, sizeof(ho->toEther)-1); in http2ClientMagic()
105 write(fileno(ho->outFile), &ph, sizeof(struct pcap_packet_header)); in http2ClientMagic()
108 write(fileno(ho->outFile), ho->toEther, sizeof(ho->toEther)-1); in http2ClientMagic()
159 write(fileno(ho->outFile), ho->toEther, sizeof(ho->toEther)-1); in http2ClientSettings()
171 write(fileno(ho->outFile), ho->toEther, sizeof(ho->toEther)-1); in http2ClientSettings()
246 write(fileno(ho->outFile), ho->toEther, sizeof(ho->toEther)-1); in http2ClientGetRequest()
258 write(fileno(ho->outFile), ho->toEther, sizeof(ho->toEther)-1); in http2ClientGetRequest()
349 write(fileno(ho->outFile), ho->toEther, sizeof(ho->toEther)-1); in http2MagicGetRequest()
[all …]
/dports/devel/p5-IO-Async/IO-Async-0.800/lib/IO/Async/Loop/
H A DSelect.pm188 my $fileno = $watch->[0]->fileno;
190 if( vec( $readvec, $fileno, 1 ) or
191 … FAKE_ISREG_READY and vec( $self->{avec}, $fileno, 1 ) and vec( $self->{rvec}, $fileno, 1 ) ) {
195 if( vec( $writevec, $fileno, 1 ) or
196 SELECT_CONNECT_EVEC and vec( $exceptvec, $fileno, 1 ) or
197 … FAKE_ISREG_READY and vec( $self->{avec}, $fileno, 1 ) and vec( $self->{wvec}, $fileno, 1 ) ) {
261 my $fileno = $params{handle}->fileno;
263 vec( $self->{rvec}, $fileno, 1 ) = 1 if $params{on_read_ready};
264 vec( $self->{wvec}, $fileno, 1 ) = 1 if $params{on_write_ready};
280 my $fileno = $params{handle}->fileno;
[all …]
/dports/science/hdf5/hdf5-1.10.6/java/src/hdf/hdf5lib/
H A DHDF5GroupInfo.java37 long[] fileno; field in HDF5GroupInfo
45 fileno = new long[2]; in HDF5GroupInfo()
71 fileno = fn; in setGroupInfo()
81 fileno[0] = 0; in reset()
82 fileno[1] = 0; in reset()
93 return fileno; in getFileno()
127 if ((fileno[0] == target.fileno[0]) && (fileno[1] == target.fileno[1]) in equals()
156 if (fileno != null) { in toString()
157 fileStr = "fileno[0]=" + fileno[0] + ",fileno[1]=" + fileno[1]; in toString()
/dports/misc/libsolv/libsolv-0.7.19/examples/solv/
H A Dchecksig.c88 posfp = lseek(fileno(fp), 0, SEEK_CUR); in checksig()
89 lseek(fileno(fp), 0, SEEK_SET); in checksig()
90 possigfp = lseek(fileno(sigfp), 0, SEEK_CUR); in checksig()
91 lseek(fileno(sigfp), 0, SEEK_SET); in checksig()
95 fcntl(fileno(fp), F_SETFD, 0); /* clear CLOEXEC */ in checksig()
98 lseek(fileno(sigfp), possigfp, SEEK_SET); in checksig()
99 lseek(fileno(fp), posfp, SEEK_SET); in checksig()
100 fcntl(fileno(fp), F_SETFD, FD_CLOEXEC); in checksig()
101 fcntl(fileno(sigfp), F_SETFD, FD_CLOEXEC); in checksig()
118 fcntl(fileno(fp), F_SETFD, FD_CLOEXEC); in checksig()
[all …]
/dports/mail/py-python-slimta/python-slimta-4.2.1/slimta/logging/
H A Dsocket.py65 self.log(socket.fileno(), 'send', data=data)
75 self.log(socket.fileno(), 'recv', data=data)
87 self.log(server.fileno(), 'accept',
88 clientfd=client.fileno(),
100 self.log(socket.fileno(), 'connect', peer=peer)
113 self.log(socket.fileno(), 'encrypt', **stats)
138 self.log(socket.fileno(), 'close')
150 fileno = 'none'
152 fileno = socket.fileno()
155 self.log_error(fileno, 'error', **kwargs)
[all …]

12345678910>>...298