/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/ |
D | ares.h | 222 typedef SOCKET ares_socket_t; typedef 225 typedef int ares_socket_t; 232 ares_socket_t socket_fd, 301 typedef int (*ares_sock_create_callback)(ares_socket_t socket_fd, 305 typedef int (*ares_sock_config_callback)(ares_socket_t socket_fd, 382 ares_socket_t(*asocket)(int, int, int, void *); 383 int(*aclose)(ares_socket_t, void *); 384 int(*aconnect)(ares_socket_t, const struct sockaddr *, ares_socklen_t, void *); 385 …ares_ssize_t(*arecvfrom)(ares_socket_t, void *, size_t, int, struct sockaddr *, ares_socklen_t *, … 386 ares_ssize_t(*asendv)(ares_socket_t, const struct iovec *, int, void *); [all …]
|
D | ares_process.c | 66 ares_socket_t write_fd, struct timeval *now); 68 ares_socket_t read_fd, struct timeval *now); 70 ares_socket_t read_fd, struct timeval *now); 124 fd_set *read_fds, ares_socket_t read_fd, in processfds() 125 fd_set *write_fds, ares_socket_t write_fd) in processfds() 148 ares_socket_t read_fd, /* use ARES_SOCKET_BAD or valid in ares_process_fd() 150 ares_socket_t write_fd) in ares_process_fd() 182 static ares_ssize_t socket_writev(ares_channel channel, ares_socket_t s, const struct iovec * vec, … in socket_writev() 190 static ares_ssize_t socket_write(ares_channel channel, ares_socket_t s, const void * data, size_t l… in socket_write() 207 ares_socket_t write_fd, in write_tcp_data() [all …]
|
D | ares_private.h | 158 ares_socket_t udp_socket; 159 ares_socket_t tcp_socket; 362 void ares__socket_close(ares_channel, ares_socket_t);
|
D | ares_writev.h | 32 extern ares_ssize_t ares_writev(ares_socket_t s, const struct iovec *iov, int iovcnt);
|
D | ares_fds.c | 26 ares_socket_t nfds; in ares_fds()
|
D | ares_getsock.c | 21 ares_socket_t *socks, in ares_getsock()
|
D | ares_writev.c | 28 ares_ssize_t ares_writev(ares_socket_t s, const struct iovec *iov, int iovcnt) in ares_writev()
|
D | CHANGES.0 | 764 for this very reason. It also made me export the ares_socket_t type in the 1063 - Switched to 'ares_socket_t' type for sockets in ares, since Windows don't
|
/external/grpc-grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/ |
D | grpc_ares_ev_driver_posix.cc | 43 GrpcPolledFdPosix(ares_socket_t as, grpc_pollset_set* driver_pollset_set) in GrpcPolledFdPosix() 79 ares_socket_t GetWrappedAresSocketLocked() override { return as_; } in GetWrappedAresSocketLocked() 84 ares_socket_t as_; 91 GrpcPolledFd* NewGrpcPolledFdLocked(ares_socket_t as, in NewGrpcPolledFdLocked()
|
D | grpc_ares_ev_driver_windows.cc | 71 GrpcPolledFdWindows(ares_socket_t as, grpc_combiner* combiner) in GrpcPolledFdWindows() 166 ares_socket_t GetWrappedAresSocketLocked() override { in GetWrappedAresSocketLocked() 172 ares_ssize_t RecvFrom(void* data, ares_socket_t data_len, int flags, in RecvFrom() 443 static ares_socket_t Socket(int af, int type, int protocol, void* user_data) { in Socket() 456 static int Connect(ares_socket_t as, const struct sockaddr* target, in Connect() 463 static ares_ssize_t SendV(ares_socket_t as, const struct iovec* iov, in SendV() 470 static ares_ssize_t RecvFrom(ares_socket_t as, void* data, size_t data_len, in RecvFrom() 511 GrpcPolledFd* NewGrpcPolledFdLocked(ares_socket_t as, in NewGrpcPolledFdLocked()
|
D | grpc_ares_ev_driver.h | 77 virtual ares_socket_t GetWrappedAresSocketLocked() GRPC_ABSTRACT; 93 ares_socket_t as, grpc_pollset_set* driver_pollset_set,
|
D | grpc_ares_ev_driver.cc | 172 static fd_node* pop_fd_node_locked(fd_node** head, ares_socket_t as) { in pop_fd_node_locked() 191 const ares_socket_t as = fdn->grpc_polled_fd->GetWrappedAresSocketLocked(); in on_readable_locked() 214 const ares_socket_t as = fdn->grpc_polled_fd->GetWrappedAresSocketLocked(); in on_writable_locked() 242 ares_socket_t socks[ARES_GETSOCK_MAXNUM]; in grpc_ares_notify_on_event_locked()
|
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/ |
D | grpc_ares_ev_driver_posix.cc | 45 GrpcPolledFdPosix(ares_socket_t as, grpc_pollset_set* driver_pollset_set) in GrpcPolledFdPosix() 79 ares_socket_t GetWrappedAresSocketLocked() override { return as_; } in GetWrappedAresSocketLocked() 85 ares_socket_t as_; 93 ares_socket_t as, grpc_pollset_set* driver_pollset_set, in NewGrpcPolledFdLocked()
|
D | grpc_ares_ev_driver_libuv.cc | 46 GrpcPolledFdLibuv(ares_socket_t as, in GrpcPolledFdLibuv() 100 ares_socket_t GetWrappedAresSocketLocked() override { return as_; } in GetWrappedAresSocketLocked() 106 ares_socket_t as_; 164 ares_socket_t as, grpc_pollset_set* driver_pollset_set, in NewGrpcPolledFdLocked()
|
D | grpc_ares_ev_driver.h | 47 virtual ares_socket_t GetWrappedAresSocketLocked() = 0; 61 ares_socket_t as, grpc_pollset_set* driver_pollset_set,
|
D | grpc_ares_ev_driver_windows.cc | 102 GrpcPolledFdWindows(ares_socket_t as, in GrpcPolledFdWindows() 260 ares_socket_t GetWrappedAresSocketLocked() { in GetWrappedAresSocketLocked() 267 ares_socket_t data_len, int flags, in RecvFrom() 749 static ares_socket_t Socket(int af, int type, int protocol, void* user_data) { in Socket() 773 static int Connect(ares_socket_t as, const struct sockaddr* target, in Connect() 781 static ares_ssize_t SendV(ares_socket_t as, const struct iovec* iov, in SendV() 789 static ares_ssize_t RecvFrom(ares_socket_t as, void* data, size_t data_len, in RecvFrom() 858 ares_socket_t GetWrappedAresSocketLocked() override { in GetWrappedAresSocketLocked() 875 ares_socket_t as, grpc_pollset_set* driver_pollset_set, in NewGrpcPolledFdLocked()
|
D | grpc_ares_wrapper.cc | 240 static fd_node* pop_fd_node_locked(fd_node** head, ares_socket_t as) { in pop_fd_node_locked() 329 ares_socket_t as = fdn->grpc_polled_fd->GetWrappedAresSocketLocked(); in on_ares_backup_poll_alarm_locked() 358 const ares_socket_t as = fdn->grpc_polled_fd->GetWrappedAresSocketLocked(); in on_readable_locked() 390 const ares_socket_t as = fdn->grpc_polled_fd->GetWrappedAresSocketLocked(); in on_writable_locked() 422 ares_socket_t socks[ARES_GETSOCK_MAXNUM]; in grpc_ares_notify_on_event_locked()
|
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/test/ |
D | ares-test-internal.cc | 418 static int configure_socket(ares_socket_t s) { in configure_socket() 455 [](int af, int type, int protocol, void *) -> ares_socket_t { in __anon711387560102() 462 return ares_socket_t(-1); in __anon711387560102() 466 [](ares_socket_t s, void * p) { in __anon711387560202() 469 [](ares_socket_t s, const struct sockaddr * addr, socklen_t len, void *) { in __anon711387560302() 472 …[](ares_socket_t s, void * dst, size_t len, int flags, struct sockaddr * addr, socklen_t * alen, v… in __anon711387560402() 479 [](ares_socket_t s, const struct iovec * vec, int len, void *) { in __anon711387560502()
|
D | ares-test-live.cc | 548 ares_socket_t socks[3] = {ARES_SOCKET_BAD, ARES_SOCKET_BAD, ARES_SOCKET_BAD}; in VIRT_NONVIRT_TEST_F() 574 ares_socket_t socks[3] = {ARES_SOCKET_BAD, ARES_SOCKET_BAD, ARES_SOCKET_BAD}; in TEST_F()
|
D | ares-test-mock.cc | 111 static int SocketConnectCallback(ares_socket_t fd, int type, void *data) { in SocketConnectCallback() 156 static int SocketConfigureCallback(ares_socket_t fd, int type, void *data) { in SocketConfigureCallback()
|
/external/curl/lib/ |
D | asyn-ares.c | 152 static void sock_state_cb(void *data, ares_socket_t socket_fd, in sock_state_cb() 277 (ares_socket_t *)socks, MAX_SOCKSPEREASYHANDLE); in Curl_resolver_getsock() 306 ares_socket_t socks[ARES_GETSOCK_MAXNUM]; in waitperform()
|