/dports/sysutils/vector/vector-0.10.0/cargo-crates/listenfd-0.3.3/src/ |
H A D | unix.rs | 10 pub type FdType = RawFd; typedef 12 fn is_sock(fd: FdType) -> bool { in is_sock() 21 fd: FdType, in validate_socket() argument 25 ) -> io::Result<FdType> { in validate_socket() argument 61 pub fn make_tcp_listener(fd: FdType) -> io::Result<TcpListener> { in make_tcp_listener() 66 pub fn make_unix_listener(fd: FdType) -> io::Result<UnixListener> { in make_unix_listener() 71 pub fn make_udp_socket(fd: FdType) -> io::Result<UdpSocket> { in make_udp_socket() 76 pub fn get_fds() -> Option<Vec<FdType>> { in get_fds() 88 return Some((0..count).map(|offset| 3 + offset as FdType).collect()); in get_fds()
|
H A D | windows.rs | 14 pub use self::RawSocket as FdType; 16 pub fn make_tcp_listener(fd: FdType) -> io::Result<TcpListener> { in make_tcp_listener() 20 pub fn make_udp_socket(fd: FdType) -> io::Result<UdpSocket> { in make_udp_socket() 54 unsafe fn detach_from_iocp(sock: FdType) { in detach_from_iocp() argument 68 pub fn get_fds() -> Option<Vec<FdType>> { in get_fds() 105 ) as FdType; in get_fds()
|
H A D | manager.rs | 15 fds: Vec<Option<imp::FdType>>, 47 fn with_fd<R, F: FnOnce(imp::FdType) -> io::Result<R>>( in with_fd() 98 pub fn take_raw_fd(&mut self, idx: usize) -> io::Result<Option<imp::FdType>> { in take_raw_fd() argument
|
/dports/devel/folly/folly-2021.12.27.00/folly/io/async/test/ |
H A D | NotificationQueueTest.cpp | 503 QueueTest qt(0, IntQueue::FdType::EVENTFD); in TEST() 508 QueueTest qt(0, IntQueue::FdType::EVENTFD); in TEST() 513 QueueTest qt(0, IntQueue::FdType::EVENTFD); in TEST() 518 QueueTest qt(5, IntQueue::FdType::EVENTFD); in TEST() 523 QueueTest qt(0, IntQueue::FdType::EVENTFD); in TEST() 533 QueueTest qt(0, IntQueue::FdType::PIPE); in TEST() 538 QueueTest qt(0, IntQueue::FdType::PIPE); in TEST() 543 QueueTest qt(0, IntQueue::FdType::PIPE); in TEST() 548 QueueTest qt(5, IntQueue::FdType::PIPE); in TEST() 553 QueueTest qt(0, IntQueue::FdType::PIPE); in TEST() [all …]
|
/dports/devel/folly/folly-2021.12.27.00/folly/io/async/ |
H A D | NotificationQueue.h | 237 enum class FdType { enum 258 uint32_t maxSize = 0, FdType fdType = FdType::EVENTFD) 264 if (fdType == FdType::EVENTFD) { 265 fdType = FdType::PIPE; 270 if (fdType == FdType::EVENTFD) { 278 fdType = FdType::PIPE; 290 if (fdType == FdType::PIPE) {
|
/dports/devel/pecl-swoole/swoole-4.8.5/include/ |
H A D | swoole_reactor.h | 290 inline ReactorHandler get_handler(EventType event_type, FdType fd_type) { in get_handler() 305 inline ReactorHandler get_error_handler(FdType fd_type) { in get_error_handler() 360 static FdType get_fd_type(int flags) { in get_fd_type() 361 …return (FdType)(flags & (~SW_EVENT_READ) & (~SW_EVENT_WRITE) & (~SW_EVENT_ERROR) & (~SW_EVENT_ONCE… in get_fd_type()
|
H A D | swoole_socket.h | 160 FdType fd_type; 591 network::Socket *make_socket(int fd, FdType fd_type); 592 network::Socket *make_socket(SocketType socket_type, FdType fd_type, int flags);
|
H A D | swoole.h | 579 typedef enum swFdType FdType; typedef 586 FdType type;
|
H A D | swoole_client.h | 38 FdType fd_type;
|
H A D | swoole_coroutine_socket.h | 163 inline FdType get_fd_type() { in get_fd_type()
|
/dports/devel/pecl-swoole/swoole-4.8.5/ext-src/ |
H A D | swoole_curl.cc | 74 socket->fd_type = (FdType) PHP_SWOOLE_FD_CO_CURL; in create_socket()
|
/dports/deskutils/spice-gtk/spice-gtk-0.37/subprojects/spice-common/python_modules/ |
H A D | ptypes.py | 1121 class FdType(IntegerType): class 1137 unix_fd = FdType()
|
/dports/devel/libspice-server/spice-0.15.0/subprojects/spice-common/python_modules/ |
H A D | ptypes.py | 1175 class FdType(IntegerType): class 1191 unix_fd = FdType()
|
/dports/devel/pecl-swoole/swoole-4.8.5/src/network/ |
H A D | socket.cc | 1450 Socket *make_socket(SocketType type, FdType fd_type, int flags) { 1512 Socket *make_socket(int fd, FdType fd_type) {
|