Home
last modified time | relevance | path

Searched refs:_fd (Results 1 – 25 of 2068) sorted by last modified time

12345678910>>...83

/dports/www/firefox-legacy/firefox-52.8.0esr/toolkit/components/osfile/modules/
H A Dosfile_unix_front.jsm63 if (this._fd) {
64 let fd = this._fd;
65 this._fd = null;
/dports/www/firefox-legacy/firefox-52.8.0esr/media/webrtc/trunk/webrtc/modules/video_capture/linux/
H A Ddevice_info_linux.cc99 FD_SET(_fd, &rfds); in EventCheck()
101 return select(_fd+1, &rfds, NULL, NULL, &timeout); in EventCheck()
108 ssize_t r = read(_fd, buffer, BUF_LEN); in HandleEvents()
156 _fd = inotify_init(); in InotifyProcess()
157 if (_fd >= 0) { in InotifyProcess()
158 _wd_v4l = inotify_add_watch(_fd, "/dev/v4l/by-path/", IN_CREATE | IN_DELETE); in InotifyProcess()
159 _wd_snd = inotify_add_watch(_fd, "/dev/snd/by-path/", IN_CREATE | IN_DELETE); in InotifyProcess()
163 inotify_rm_watch(_fd, _wd_v4l); in InotifyProcess()
167 inotify_rm_watch(_fd, _wd_snd); in InotifyProcess()
170 close(_fd); in InotifyProcess()
/dports/www/trafficserver/trafficserver-9.1.1/iocore/net/
H A DSSLUtils.cc610 _fd = -1;
613 _fd = fd;
621 if (_fd != -1) {
622 tcsetattr(_fd, 0, &_initialAttr);
629 return (_fd != -1);
633 int _fd; member
/dports/textproc/sphinxsearch/sphinx-2.2.11-release/src/
H A Dsearchd.cpp2346 #define SPH_FDSET_OVERFLOW(_fd) ( (_fd)<0 || (_fd)>=(int)FD_SETSIZE ) argument
/dports/sysutils/apcupsd/apcupsd-3.14.14/src/drivers/usb/bsd/
H A Dbsd-usb.c48 _fd(-1), in BsdUsbUpsDriver()
131 _fd = fd; in init_device()
149 close(_fd); in init_device()
150 _fd = -1; in init_device()
293 if (_fd >= 0) { in usb_link_check()
294 close(_fd); in usb_link_check()
295 _fd = -1; in usb_link_check()
421 str = hidu_get_string(_fd, info->value); in populate_uval()
523 len = hidu_get_report(_fd, &info->item, data, info->report_len); in pusb_get_value()
730 if (hidu_get_report(_fd, &info->item, rpt, info->report_len) < 1) { in write_int_to_ups()
[all …]
/dports/sysutils/ansible/ansible-4.7.0/ansible_collections/kubernetes/core/plugins/module_utils/
H A Dhelm.py116 _fd, file_name = tempfile.mkstemp()
117 with os.fdopen(_fd, 'w') as fp:
/dports/sysutils/ansible/ansible-4.7.0/ansible_collections/community/kubernetes/plugins/module_utils/
H A Dhelm.py116 _fd, file_name = tempfile.mkstemp()
117 with os.fdopen(_fd, 'w') as fp:
/dports/archivers/sharutils/sharutils-4.15.2/src/
H A Duudecode.c80 #define UU_CHMOD(_n, _fd, _m) fchmod ((_fd), UU_MODE_BITS(_m)) argument
82 #define UU_CHMOD(_n, _fd, _m) chmod ((_n), UU_MODE_BITS(_m)) argument
/dports/security/nss/nss-3.76.1/nss/lib/ssl/
H A Dsslexp.h263 (PRFileDesc * _fd, const PRUint8 *_appToken, \
375 (PRFileDesc * _fd, PRBool _requestUpdate), \
400 (PRFileDesc * _fd), \
503 (PRFileDesc * _fd, PRUint32 _size), \
556 (PRFileDesc * _fd, \
563 (PRFileDesc * _fd), \
590 (PRFileDesc * _fd, \
703 (PRFileDesc * _fd, PRUint16 _epoch, \
716 (PRFileDesc * _fd, PRUint16 * _readEpoch, \
942 (PRFileDesc * _fd, PRUint16 * _cipherOrder, \
[all …]
/dports/security/openvpn-auth-ldap/openvpn-auth-ldap-auth-ldap-2.0.4/src/
H A DTRLocalPacketFilter.m72 _fd = -1;
83 if ((_fd = open(PF_DEV_PATH, O_RDWR)) == -1)
95 if (_fd != -1) {
96 close(_fd);
97 _fd = -1;
360 assert(_fd >= 0);
361 return ioctl(_fd, request, argp);
/dports/news/inn/inn-2.6.4/lib/
H A Dqio.c30 qp->_fd = fd; in QIOfdopen()
64 close(qp->_fd); in QIOclose()
80 if (lseek(qp->_fd, 0, SEEK_SET) < 0) in QIOrewind()
82 nread = read(qp->_fd, qp->_buffer, qp->_size); in QIOrewind()
150 nread = read(qp->_fd, qp->_end, qp->_size - nleft); in QIOread()
/dports/news/inn-current/inn-2.7-20211226/lib/
H A Dqio.c29 qp->_fd = fd; in QIOfdopen()
63 close(qp->_fd); in QIOclose()
79 if (lseek(qp->_fd, 0, SEEK_SET) < 0) in QIOrewind()
81 nread = read(qp->_fd, qp->_buffer, qp->_size); in QIOrewind()
149 nread = read(qp->_fd, qp->_end, qp->_size - nleft); in QIOread()
/dports/net-mgmt/nfsen/nfsen-1.3.8/bin/
H A Dnfsen779 my $_fd = select($nfsend_socket);
781 select($_fd);
782 $_fd = select(STDOUT);
784 select($_fd);
/dports/net/mosh/mosh-1.3.2/src/network/
H A Dnetwork.cc153 : _fd( socket( family, SOCK_DGRAM, 0 ) ) in Socket()
155 if ( _fd < 0 ) { in Socket()
162 if ( setsockopt( _fd, IPPROTO_IP, IP_MTU_DISCOVER, &flag, sizeof flag ) < 0 ) { in Socket()
169 if ( setsockopt( _fd, IPPROTO_IP, IP_TOS, &dscp, sizeof dscp ) < 0 ) { in Socket()
176 if ( setsockopt( _fd, IPPROTO_IP, IP_RECVTOS, &tosflag, sizeof tosflag ) < 0 ) { in Socket()
650 fatal_assert ( close( _fd ) == 0 ); in ~Socket()
654 : _fd( dup( other._fd ) ) in Socket()
656 if ( _fd < 0 ) { in Socket()
663 if ( dup2( other._fd, _fd ) < 0 ) { in operator =()
/dports/net/latd/latd-1.31/
H A Dlatcpcircuit.cc39 LATCPCircuit::LATCPCircuit(int _fd): in LATCPCircuit() argument
40 Circuit(_fd), in LATCPCircuit()
H A Dllogincircuit.cc41 LLOGINCircuit::LLOGINCircuit(int _fd): in LLOGINCircuit() argument
42 Circuit(_fd) in LLOGINCircuit()
H A Dserver.h132 fdinfo(int _fd, LocalPort *_port, fd_type _type): in fdinfo() argument
133 fd(_fd), in fdinfo()
155 bool operator==(int _fd) const
157 return (type != INACTIVE && fd == _fd);
170 bool operator!=(int _fd) const
172 return (type == INACTIVE || fd != _fd);
/dports/net/freerdp/freerdp-2.5.0/libfreerdp/core/
H A Dtcp.c78 #define close(_fd) closesocket(_fd) argument
/dports/net/zerotier/ZeroTierOne-1.8.3/osdep/
H A DBSDEthernetTap.cpp76 _fd(0), in BSDEthernetTap()
136 if (_fd > 0) in BSDEthernetTap()
151 if (_fd > 0) { in BSDEthernetTap()
158 if (_fd <= 0) in BSDEthernetTap()
161 if (fcntl(_fd,F_SETFL,fcntl(_fd,F_GETFL) & ~O_NONBLOCK) == -1) { in BSDEthernetTap()
162 ::close(_fd); in BSDEthernetTap()
181 ::close(_fd); in BSDEthernetTap()
187 fcntl(_fd,F_SETFD,fcntl(_fd,F_GETFD) | FD_CLOEXEC); in BSDEthernetTap()
198 ::close(_fd); in ~BSDEthernetTap()
335 ::write(_fd,putBuf,len); in put()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/include/uapi/asm-generic/
H A Dsiginfo.h102 int _fd; member
162 #define si_fd _sifields._sigpoll._fd
/dports/multimedia/libv4l/v4l-utils-4l-utils-1.20.0/utils/common/
H A Dcv4l-helpers.h27 cv4l_fd &operator= (const cv4l_fd &_fd)
29 memcpy(this, &_fd, sizeof(_fd));
30 if (_fd.fd >= 0)
31 fd = dup(_fd.fd);
/dports/multimedia/libv4l/v4l-utils-4l-utils-1.20.0/utils/v4l2-ctl/
H A Dv4l2-ctl-vidcap.cpp176 int vidcap_get_and_update_fmt(cv4l_fd &_fd, struct v4l2_format &vfmt) in vidcap_get_and_update_fmt() argument
178 int fd = _fd.g_fd(); in vidcap_get_and_update_fmt()
267 void vidcap_set(cv4l_fd &_fd) in vidcap_set() argument
270 int fd = _fd.g_fd(); in vidcap_set()
274 if (vidcap_get_and_update_fmt(_fd, vfmt) == 0) { in vidcap_set()
H A Dv4l2-ctl-common.cpp641 static void find_controls(cv4l_fd &_fd) in find_controls() argument
645 int fd = _fd.g_fd(); in find_controls()
900 void common_set(cv4l_fd &_fd) in common_set() argument
902 int fd = _fd.g_fd(); in common_set()
1093 void common_get(cv4l_fd &_fd) in common_get() argument
1095 int fd = _fd.g_fd(); in common_get()
H A Dv4l2-ctl-edid.cpp1189 void edid_set(cv4l_fd &_fd) in edid_set() argument
1191 int fd = _fd.g_fd(); in edid_set()
1319 void edid_get(cv4l_fd &_fd) in edid_get() argument
1321 int fd = _fd.g_fd(); in edid_get()
H A Dv4l2-ctl-sdr.cpp67 void sdr_set(cv4l_fd &_fd) in sdr_set() argument
69 int fd = _fd.g_fd(); in sdr_set()

12345678910>>...83