/dports/multimedia/v4l_compat/v4l-utils-4l-utils-1.20.0/utils/qv4l2/ |
H A D | general-tab.h | 197 v4l_fd *g_v4l_fd() { return m_fd->g_v4l_fd(); } in g_v4l_fd() 199 uint32_t g_type() const { return m_fd->g_type(); } in g_type() 200 void s_type(uint32_t type) { m_fd->s_type(type); } in s_type() 202 uint32_t g_caps() const { return m_fd->g_caps(); } in g_caps() 216 bool has_vbi() const { return m_fd->has_vbi(); } in has_vbi() 223 bool has_rw() const { return m_fd->has_rw(); } in has_rw() 227 bool g_direct() const { return m_fd->g_direct(); } in g_direct() 279 return m_fd->g_pixel_aspect(width, height, type); 281 bool has_crop() { return m_fd->has_crop(); } in has_crop() 282 bool has_compose() { return m_fd->has_compose(); } in has_compose() [all …]
|
/dports/multimedia/libv4l/v4l-utils-4l-utils-1.20.0/utils/qv4l2/ |
H A D | general-tab.h | 197 v4l_fd *g_v4l_fd() { return m_fd->g_v4l_fd(); } in g_v4l_fd() 199 uint32_t g_type() const { return m_fd->g_type(); } in g_type() 200 void s_type(uint32_t type) { m_fd->s_type(type); } in s_type() 202 uint32_t g_caps() const { return m_fd->g_caps(); } in g_caps() 216 bool has_vbi() const { return m_fd->has_vbi(); } in has_vbi() 223 bool has_rw() const { return m_fd->has_rw(); } in has_rw() 227 bool g_direct() const { return m_fd->g_direct(); } in g_direct() 279 return m_fd->g_pixel_aspect(width, height, type); 281 bool has_crop() { return m_fd->has_crop(); } in has_crop() 282 bool has_compose() { return m_fd->has_compose(); } in has_compose() [all …]
|
/dports/multimedia/v4l-utils/v4l-utils-4l-utils-1.20.0/utils/qv4l2/ |
H A D | general-tab.h | 197 v4l_fd *g_v4l_fd() { return m_fd->g_v4l_fd(); } in g_v4l_fd() 199 uint32_t g_type() const { return m_fd->g_type(); } in g_type() 200 void s_type(uint32_t type) { m_fd->s_type(type); } in s_type() 202 uint32_t g_caps() const { return m_fd->g_caps(); } in g_caps() 216 bool has_vbi() const { return m_fd->has_vbi(); } in has_vbi() 223 bool has_rw() const { return m_fd->has_rw(); } in has_rw() 227 bool g_direct() const { return m_fd->g_direct(); } in g_direct() 279 return m_fd->g_pixel_aspect(width, height, type); 281 bool has_crop() { return m_fd->has_crop(); } in has_crop() 282 bool has_compose() { return m_fd->has_compose(); } in has_compose() [all …]
|
/dports/biology/fasta3/fasta-36.3.8/src/ |
H A D | mmgetaa.c | 248 max_cnt,m_fd->tot_len,m_fd->max_len); in load_mmap() 340 max_cnt,m_fd->tot_len,m_fd->max_len); in load_mmap() 522 desc_len = m_fd->s_pos_arr[lpos] - m_fd->d_pos_arr[lpos]-m_fd->acc_off; in agetlibm() 529 desc = m_fd->mmap_base+m_fd->d_pos_arr[lpos]+m_fd->acc_off; in agetlibm() 553 m_fd->mmap_addr = m_fd->mmap_base+m_fd->s_pos_arr[lpos]; in agetlibm() 739 mp = m_fd->mmap_base+m_fd->d_pos_arr[lpos]; in vranlibm() 761 munmap(m_fd->mmap_base,m_fd->st_size); in close_mmap() 808 m_fd->mmap_addr = m_fd->mmap_base+m_fd->s_pos_arr[lpos]; in gcg_getlibm() 946 m_fd->mmap_addr = m_fd->mmap_base+m_fd->s_pos_arr[lpos]; in lgetlibm() 1076 i,m_fd->d_pos_arr[i],m_fd->s_pos_arr[i], in check_mmap() [all …]
|
H A D | ncbl2_mlib.c | 1008 if (!m_fd->mm_flg) fseek(m_fd->libf,m_fd->s_pos_arr[tpos],0); in ncbl2_getliba_o() 1010 m_fd->bl_lib_pos = m_fd->s_pos_arr[tpos]; in ncbl2_getliba_o() 1050 if (m_fd->mm_flg) m_fd->mmap_addr = m_fd->mmap_base+m_fd->s_pos_arr[lib_cnt]; in ncbl2_getliba() 1173 m_fd->bl_lib_pos = m_fd->s_pos_arr[tpos]; in ncbl2_get_mmap_chain_o() 1286 if (!m_fd->mm_flg) fseek(m_fd->libf,m_fd->s_pos_arr[tpos],0); in ncbl2_getlibn_o() 1288 m_fd->bl_lib_pos = m_fd->s_pos_arr[tpos]; in ncbl2_getlibn_o() 1369 m_fd->bl_lib_pos = m_fd->s_pos_arr[lib_cnt]; in ncbl2_getlibn() 1371 else m_fd->mmap_addr = m_fd->mmap_base + m_fd->s_pos_arr[lib_cnt]; in ncbl2_getlibn() 1697 fseek(m_fd->hfile,m_fd->d_pos_arr[libpos],0); in ncbl2_ranlib() 1764 if (!m_fd->mm_flg) fseek(m_fd->libf,m_fd->s_pos_arr[libpos],0); in ncbl2_ranlib() [all …]
|
/dports/devel/gdb/gdb-11.1/gdbsupport/ |
H A D | scoped_fd.h | 34 : m_fd (other.m_fd) in scoped_fd() 41 if (m_fd >= 0) in ~scoped_fd() 47 if (m_fd != other.m_fd) 49 if (m_fd >= 0) 50 close (m_fd); 51 m_fd = other.m_fd; 52 other.m_fd = -1; 62 m_fd = -1; in release() 74 m_fd = -1; in to_file() 80 return m_fd; in get() [all …]
|
/dports/net-p2p/libktorrent/libktorrent-21.12.3/src/net/ |
H A D | socket.cpp | 49 , m_fd(fd) in Socket() 69 , m_fd(-1) in Socket() 81 m_fd = fd; in Socket() 93 if (m_fd >= 0) { in ~Socket() 98 ::close(m_fd); in ~Socket() 109 m_fd = fd; in reset() 122 if (m_fd >= 0) { in close() 127 ::close(m_fd); in close() 129 m_fd = -1; in close() 393 int ret = m_fd; in take() [all …]
|
/dports/net-p2p/rtorrent/rtorrent-0.9.8/src/utils/ |
H A D | socket_fd.cc | 66 return fcntl(m_fd, F_SETFL, O_NONBLOCK) == 0; in set_nonblock() 138 if (m_fd == -1) { in open_stream() 151 m_fd = socket(rak::socket_address::pf_inet6, SOCK_DGRAM, 0); in open_datagram() 152 if (m_fd == -1) { in open_datagram() 169 if (::close(m_fd) && errno == EBADF) in close() 182 return !::bind(m_fd, sa.c_sockaddr(), sa.length()); in bind() 194 return !::bind(m_fd, sa.c_sockaddr(), length); in bind() 214 if (::getsockname(m_fd, sa->c_sockaddr(), &len)) { in getsockname() 229 return !::listen(m_fd, size); in listen() 238 return SocketFd(::accept(m_fd, NULL, &len)); in accept() [all …]
|
/dports/misc/tellico/tellico-3.4.2/src/barcode/ |
H A D | barcode_v4l.cpp | 98 m_fd = -1; in barcode_v4l() 107 if (m_fd >= 0) in ~barcode_v4l() 108 v4l1_close(m_fd); in ~barcode_v4l() 117 return (m_fd >= 0); in isOpen() 178 if (m_fd < 0) { in grab_init() 186 m_fd = -1; in grab_init() 193 m_fd = -1; in grab_init() 200 m_fd = -1; in grab_init() 210 m_fd = -1; in grab_init() 219 m_fd = -1; in grab_init() [all …]
|
/dports/multimedia/kodi/xbmc-19.3-Matrix/xbmc/platform/posix/filesystem/ |
H A D | PosixFile.cpp | 35 if (m_fd >= 0) in ~CPosixFile() 36 close(m_fd); in ~CPosixFile() 52 if (m_fd >= 0) in Open() 67 if (m_fd >= 0) in OpenForWrite() 75 if (m_fd < 0) in OpenForWrite() 86 if (m_fd >= 0) in Close() 88 close(m_fd); in Close() 89 m_fd = -1; in Close() 99 if (m_fd < 0) in Read() 141 if (m_fd < 0) in Write() [all …]
|
/dports/devel/libassa/libassa-3.5.1/assa/ |
H A D | IPv4Socket.cpp | 48 m_fd = ::socket(domain_, SOCK_STREAM, 0); in open() 50 if (!is_valid_handler (m_fd)) { in open() 53 disable_handler (m_fd); in open() 70 if (is_valid_handler (m_fd)) { in close() 71 DL((SOCK,"Closed FD: %d\n",m_fd)); in close() 75 close_handler(m_fd); in close() 101 int ret = ::connect (m_fd, in connect() 239 if (!is_valid_handler (m_fd) < 0) { in read() 300 if (!is_valid_handler (m_fd)) { in write() 322 m_fd, ret, size_)); in write() [all …]
|
H A D | PidFileLock.cpp | 33 m_fd (-1), in PidFileLock() 48 if (m_fd != -1) { in ~PidFileLock() 55 close (m_fd); in ~PidFileLock() 83 if (ftruncate (m_fd, 0) < 0) { in lock() 112 ::close (m_fd); in lock() 113 m_fd = -1; in lock() 200 m_fd, in lock_region() 256 m_fd, ret)); in unlock_region() 313 m_fd, in get_lock_status() 395 if (m_fd == -1) return; in dump() [all …]
|
/dports/databases/mariadb105-client/mariadb-10.5.15/storage/columnstore/columnstore/utils/idbdatafile/ |
H A D | UnbufferedFile.cpp | 66 if ( m_fd == -1 ) in UnbufferedFile() 68 m_fd = INVALID_HANDLE_VALUE; in UnbufferedFile() 85 if (m_fd == INVALID_HANDLE_VALUE) in pread() 129 ret = ::read(m_fd, ptr, count); in read() 198 ret = SetEndOfFile(m_fd); in truncate() 201 ret = ftruncate(m_fd, length); in truncate() 245 ret = lseek(m_fd, 0, SEEK_CUR); in tell() 256 ret = FlushFileBuffers(m_fd); in flush() 265 ret = fsync( m_fd ); in flush() 311 ret = CloseHandle(m_fd); in close() [all …]
|
/dports/databases/mariadb105-server/mariadb-10.5.15/storage/columnstore/columnstore/utils/idbdatafile/ |
H A D | UnbufferedFile.cpp | 66 if ( m_fd == -1 ) in UnbufferedFile() 68 m_fd = INVALID_HANDLE_VALUE; in UnbufferedFile() 85 if (m_fd == INVALID_HANDLE_VALUE) in pread() 129 ret = ::read(m_fd, ptr, count); in read() 198 ret = SetEndOfFile(m_fd); in truncate() 201 ret = ftruncate(m_fd, length); in truncate() 245 ret = lseek(m_fd, 0, SEEK_CUR); in tell() 256 ret = FlushFileBuffers(m_fd); in flush() 265 ret = fsync( m_fd ); in flush() 311 ret = CloseHandle(m_fd); in close() [all …]
|
/dports/net-p2p/libtorrent/libtorrent-0.13.8/src/net/ |
H A D | socket_fd.cc | 65 return fcntl(m_fd, F_SETFL, O_NONBLOCK) == 0; in set_nonblock() 121 if (getsockopt(m_fd, SOL_SOCKET, SO_ERROR, &err, &length) == -1) in get_error() 159 if (::close(m_fd) && errno == EBADF) in close() 169 return !::bind(m_fd, sa_mapped.c_sockaddr(), sizeof(sa_mapped)); in bind() 172 return !::bind(m_fd, sa.c_sockaddr(), sa.length()); in bind() 181 return !::bind(m_fd, sa_mapped.c_sockaddr(), sizeof(sa_mapped)); in bind() 184 return !::bind(m_fd, sa.c_sockaddr(), length); in bind() 204 if (::getsockname(m_fd, sa->c_sockaddr(), &len)) { in getsockname() 219 return !::listen(m_fd, size); in listen() 228 return SocketFd(::accept(m_fd, NULL, &len), m_ipv6_socket); in accept() [all …]
|
/dports/devel/libpo6/libpo6-0.8.0/po6/io/ |
H A D | fd.h | 78 int m_fd; 83 : m_fd(-1) in fd() 89 : m_fd(f) in fd() 111 return m_fd; in get() 117 if (m_fd >= 0) in close() 122 ::close(m_fd); in close() 126 m_fd = -1; in close() 225 int tmp = this->m_fd; in swap() 226 this->m_fd = other->m_fd; in swap() 227 other->m_fd = tmp; in swap() [all …]
|
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/lldb/tools/debugserver/source/ |
H A D | RNBSocket.cpp | 154 m_fd = -1; in Listen() 193 if (m_fd == -1) in Connect() 219 m_fd = fd; in useFD() 231 m_fd = -1; in ConnectToService() 235 if (m_fd == -1) { in ConnectToService() 247 if (m_fd == -1) { in OpenFile() 273 m_fd = -1; in Disconnect() 288 if (m_fd == -1) in Read() 307 m_fd = -1; in Read() 310 m_fd = -1; in Read() [all …]
|
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/lldb/tools/debugserver/source/ |
H A D | RNBSocket.cpp | 154 m_fd = -1; in Listen() 193 if (m_fd == -1) in Connect() 219 m_fd = fd; in useFD() 231 m_fd = -1; in ConnectToService() 235 if (m_fd == -1) { in ConnectToService() 247 if (m_fd == -1) { in OpenFile() 273 m_fd = -1; in Disconnect() 288 if (m_fd == -1) in Read() 307 m_fd = -1; in Read() 310 m_fd = -1; in Read() [all …]
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/lldb/tools/debugserver/source/ |
H A D | RNBSocket.cpp | 154 m_fd = -1; in Listen() 193 if (m_fd == -1) in Connect() 219 m_fd = fd; in useFD() 231 m_fd = -1; in ConnectToService() 235 if (m_fd == -1) { in ConnectToService() 247 if (m_fd == -1) { in OpenFile() 273 m_fd = -1; in Disconnect() 288 if (m_fd == -1) in Read() 307 m_fd = -1; in Read() 310 m_fd = -1; in Read() [all …]
|
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/lldb/tools/debugserver/source/ |
H A D | RNBSocket.cpp | 154 m_fd = -1; in Listen() 193 if (m_fd == -1) in Connect() 219 m_fd = fd; in useFD() 231 m_fd = -1; in ConnectToService() 235 if (m_fd == -1) { in ConnectToService() 247 if (m_fd == -1) { in OpenFile() 273 m_fd = -1; in Disconnect() 288 if (m_fd == -1) in Read() 307 m_fd = -1; in Read() 310 m_fd = -1; in Read() [all …]
|
/dports/devel/llvm13/llvm-project-13.0.1.src/lldb/tools/debugserver/source/ |
H A D | RNBSocket.cpp | 154 m_fd = -1; in Listen() 193 if (m_fd == -1) in Connect() 219 m_fd = fd; in useFD() 231 m_fd = -1; in ConnectToService() 235 if (m_fd == -1) { in ConnectToService() 247 if (m_fd == -1) { in OpenFile() 273 m_fd = -1; in Disconnect() 288 if (m_fd == -1) in Read() 307 m_fd = -1; in Read() 310 m_fd = -1; in Read() [all …]
|
/dports/devel/pire/pire-release-0.0.6/tools/common/ |
H A D | filemap.h | 38 : m_fd(0) in FileMmap() 46 m_fd = fd; in FileMmap() 71 if (m_fd) in Close() 73 m_fd = 0; in Close() 78 int m_fd; variable 89 : m_fd(0) in FileMmap() 105 m_fd = fd; in FileMmap() 111 m_fd, in FileMmap() 148 if (m_fd) in Close() 150 m_fd = 0; in Close() [all …]
|
/dports/multimedia/libcec/libcec-libcec-6.0.2/src/libcec/adapter/Linux/ |
H A D | LinuxCECAdapterCommunication.cpp | 59 m_fd = INVALID_SOCKET_VALUE; in CLinuxCECAdapterCommunication() 93 if (ioctl(m_fd, CEC_S_MODE, &mode)) in Open() 158 close(m_fd); in Close() 159 m_fd = INVALID_SOCKET_VALUE; in Close() 164 return m_fd != INVALID_SOCKET_VALUE; in IsOpen() 185 if (ioctl(m_fd, CEC_TRANSMIT, &msg)) in Write() 311 if (m_fd != INVALID_SOCKET_VALUE) in GetLogicalAddresses() 370 FD_SET(m_fd, &rd_fds); in Process() 371 FD_SET(m_fd, &ex_fds); in Process() 379 if (FD_ISSET(m_fd, &ex_fds)) in Process() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/lldb/tools/debugserver/source/ |
H A D | RNBSocket.cpp | 186 m_fd = -1; in Listen() 225 if (m_fd == -1) in Connect() 251 m_fd = fd; in useFD() 263 m_fd = -1; in ConnectToService() 267 if (m_fd == -1) { in ConnectToService() 279 if (m_fd == -1) { in OpenFile() 305 m_fd = -1; in Disconnect() 320 if (m_fd == -1) in Read() 339 m_fd = -1; in Read() 342 m_fd = -1; in Read() [all …]
|
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/lldb/tools/debugserver/source/ |
H A D | RNBSocket.cpp | 186 m_fd = -1; in Listen() 225 if (m_fd == -1) in Connect() 251 m_fd = fd; in useFD() 263 m_fd = -1; in ConnectToService() 267 if (m_fd == -1) { in ConnectToService() 279 if (m_fd == -1) { in OpenFile() 305 m_fd = -1; in Disconnect() 320 if (m_fd == -1) in Read() 339 m_fd = -1; in Read() 342 m_fd = -1; in Read() [all …]
|