Home
last modified time | relevance | path

Searched refs:SOCKET (Results 1 – 25 of 133) sorted by relevance

123456

/external/ms-tpm-20-ref/TPMCmd/Simulator/include/prototypes/
DSimulator_fp.h53 SOCKET s
95 SOCKET s,
105 SOCKET s,
114 SOCKET s,
122 SOCKET s,
131 SOCKET s,
142 SOCKET s,
152 SOCKET s
/external/tpm2-tss/src/util/
Dio.h22 #define SOCKET int macro
57 SOCKET fd,
68 SOCKET fd,
75 SOCKET *socket);
78 SOCKET *socket);
81 SOCKET sock,
86 SOCKET sock,
Dio.c39 SOCKET fd, in read_all()
79 SOCKET fd, in write_all()
118 SOCKET sock, in socket_recv_buf()
127 SOCKET sock, in socket_xmit_buf()
148 SOCKET *socket) in socket_close()
183 SOCKET *sock) in socket_connect()
/external/libpcap/
Dsockutils.h135 int sock_recv(SOCKET sock, SSL *, void *buffer, size_t size, int receiveall,
137 int sock_recv_dgram(SOCKET sock, SSL *, void *buffer, size_t size,
139 SOCKET sock_open(struct addrinfo *addrinfo, int server, int nconn, char *errbuf, int errbuflen);
140 int sock_close(SOCKET sock, char *errbuf, int errbuflen);
142 int sock_send(SOCKET sock, SSL *, const char *buffer, size_t size,
145 int sock_discard(SOCKET sock, SSL *, int size, char *errbuf, int errbuflen);
149 int sock_getmyinfo(SOCKET sock, char *address, int addrlen, char *port, int portlen, int flags, cha…
Dpcap-rpcap.c93 SOCKET sockctrl;
108 static SOCKET sockmain;
122 SOCKET rmt_sockctrl; /* socket ID of the socket used for the control connection */
123 SOCKET rmt_sockdata; /* socket ID of the socket used for the data connection */
170 static int rpcap_recv_msg_header(SOCKET sock, SSL *, struct rpcap_header *header, char *errbuf);
171 static int rpcap_check_msg_ver(SOCKET sock, SSL *, uint8 expected_ver, struct rpcap_header *header,…
172 static int rpcap_check_msg_type(SOCKET sock, SSL *, uint8 request_type, struct rpcap_header *header…
173 static int rpcap_process_msg_header(SOCKET sock, SSL *, uint8 ver, uint8 request_type, struct rpcap…
174 static int rpcap_recv(SOCKET sock, SSL *, void *buffer, size_t toread, uint32 *plen, char *errbuf);
175 static void rpcap_msg_err(SOCKET sockctrl, SSL *, uint32 plen, char *remote_errbuf);
[all …]
/external/webrtc/rtc_base/
Dphysical_socket_server.h31 typedef int SOCKET; typedef
55 virtual SOCKET GetSocket() = 0;
74 virtual AsyncSocket* WrapSocket(SOCKET s);
123 PhysicalSocket(PhysicalSocketServer* ss, SOCKET s = INVALID_SOCKET);
165 virtual SOCKET DoAccept(SOCKET socket, sockaddr* addr, socklen_t* addrlen);
168 virtual int DoSend(SOCKET socket, const char* buf, int len, int flags);
171 virtual int DoSendTo(SOCKET socket,
191 SOCKET s_;
210 SocketDispatcher(SOCKET s, PhysicalSocketServer* ss);
220 SOCKET GetSocket() override;
Dphysical_socket_server_unittest.cc48 FakeSocketDispatcher(SOCKET s, PhysicalSocketServer* ss) in FakeSocketDispatcher()
52 SOCKET DoAccept(SOCKET socket, sockaddr* addr, socklen_t* addrlen) override;
53 int DoSend(SOCKET socket, const char* buf, int len, int flags) override;
54 int DoSendTo(SOCKET socket,
75 AsyncSocket* WrapSocket(SOCKET s) override { in WrapSocket()
132 SOCKET FakeSocketDispatcher::DoAccept(SOCKET socket, in DoAccept()
144 int FakeSocketDispatcher::DoSend(SOCKET socket, in DoSend()
157 int FakeSocketDispatcher::DoSendTo(SOCKET socket, in DoSendTo()
/external/ms-tpm-20-ref/TPMCmd/Simulator/src/
DTcpServer.c66 typedef int SOCKET; typedef
106 SOCKET *listenSocket in CreateSocket()
155 SOCKET s in PlatformServer()
251 SOCKET listenSocket, serverSocket; in PlatformSvcRoutine()
337 SOCKET listenSocket; in RegularCommandService()
338 SOCKET serverSocket; in RegularCommandService()
515 SOCKET s, in ReadBytes()
545 SOCKET s, in WriteBytes()
577 SOCKET s, in WriteUINT32()
590 SOCKET s, in ReadUINT32()
[all …]
/external/tpm2-tss/test/unit/
Dio.c120 SOCKET sock; in socket_connect_test()
133 SOCKET sock; in socket_connect_socket_fail_test()
144 SOCKET sock; in socket_connect_connect_fail_test()
159 SOCKET sock; in socket_ipv6_connect_test()
172 SOCKET sock; in socket_ipv6_connect_socket_fail_test()
183 SOCKET sock; in socket_ipv6_connect_connect_fail_test()
197 SOCKET sock; in socket_connect_null_test()
/external/grpc-grpc/src/core/lib/iomgr/
Dendpoint_pair_windows.cc36 static void create_sockets(SOCKET sv[2]) { in create_sockets()
37 SOCKET svr_sock = INVALID_SOCKET; in create_sockets()
38 SOCKET lst_sock = INVALID_SOCKET; in create_sockets()
39 SOCKET cli_sock = INVALID_SOCKET; in create_sockets()
75 SOCKET sv[2]; in grpc_iomgr_create_endpoint_pair()
Dsocket_windows.h72 SOCKET socket;
93 grpc_winsocket* grpc_winsocket_create(SOCKET socket, const char* name);
95 SOCKET grpc_winsocket_wrapped_socket(grpc_winsocket* socket);
/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/
Dendpoint_pair_windows.cc36 static void create_sockets(SOCKET sv[2]) { in create_sockets()
37 SOCKET svr_sock = INVALID_SOCKET; in create_sockets()
38 SOCKET lst_sock = INVALID_SOCKET; in create_sockets()
39 SOCKET cli_sock = INVALID_SOCKET; in create_sockets()
75 SOCKET sv[2]; in grpc_iomgr_create_endpoint_pair()
Dsocket_windows.h76 SOCKET socket;
97 grpc_winsocket* grpc_winsocket_create(SOCKET socket, const char* name);
99 SOCKET grpc_winsocket_wrapped_socket(grpc_winsocket* socket);
/external/swiftshader/src/System/
DSocket.hpp22 typedef int SOCKET; typedef
30 Socket(SOCKET socket);
45 SOCKET socket;
/external/swiftshader/src/Common/
DSocket.hpp22 typedef int SOCKET; typedef
30 Socket(SOCKET socket);
45 SOCKET socket;
/external/llvm-project/lldb/tools/lldb-vscode/
DIOStream.h21 typedef int SOCKET; typedef
41 static StreamDescriptor from_socket(SOCKET s, bool close);
48 SOCKET m_socket;
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/
Dconfig-win32.h126 #define RECV_TYPE_ARG1 SOCKET
144 #define RECVFROM_TYPE_ARG1 SOCKET
168 #define SEND_TYPE_ARG1 SOCKET
187 #define SOCKET int macro
/external/rust/crates/mio/src/sys/windows/
Dnet.rs11 use winapi::um::winsock2::{ioctlsocket, socket, FIONBIO, INVALID_SOCKET, SOCKET};
25 pub(crate) fn new_ip_socket(addr: SocketAddr, socket_type: c_int) -> io::Result<SOCKET> { in new_ip_socket() argument
36 pub(crate) fn new_socket(domain: c_int, socket_type: c_int) -> io::Result<SOCKET> { in new_socket() argument
43 syscall!(ioctlsocket(socket, FIONBIO, &mut 1), PartialEq::ne, 0).map(|_| socket as SOCKET) in new_socket()
/external/rust/crates/grpcio-sys/grpc/third_party/cares/config_windows/
Dares_config.h350 #define RECVFROM_TYPE_ARG1 SOCKET
380 #define RECV_TYPE_ARG1 SOCKET
401 #define SEND_TYPE_ARG1 SOCKET
/external/grpc-grpc/third_party/cares/config_windows/
Dares_config.h347 #define RECVFROM_TYPE_ARG1 SOCKET
377 #define RECV_TYPE_ARG1 SOCKET
398 #define SEND_TYPE_ARG1 SOCKET
/external/rust/crates/libc/src/windows/
Dmod.rs51 pub type SOCKET = ::uintptr_t; typedef
481 pub fn listen(s: SOCKET, backlog: ::c_int) -> ::c_int; in listen() argument
482 pub fn accept(s: SOCKET, addr: *mut ::sockaddr, addrlen: *mut ::c_int) -> SOCKET; in accept() argument
483 pub fn bind(s: SOCKET, name: *const ::sockaddr, namelen: ::c_int) -> ::c_int; in bind() argument
484 pub fn connect(s: SOCKET, name: *const ::sockaddr, namelen: ::c_int) -> ::c_int; in connect() argument
485 pub fn getpeername(s: SOCKET, name: *mut ::sockaddr, nameln: *mut ::c_int) -> ::c_int; in getpeername() argument
486 pub fn getsockname(s: SOCKET, name: *mut ::sockaddr, nameln: *mut ::c_int) -> ::c_int; in getsockname() argument
488 s: SOCKET, in getsockopt() argument
495 s: SOCKET, in recvfrom() argument
503 s: SOCKET, in sendto() argument
[all …]
/external/curl/lib/
Dconfig-win32ce.h253 #define RECV_TYPE_ARG1 SOCKET
271 #define RECVFROM_TYPE_ARG1 SOCKET
295 #define SEND_TYPE_ARG1 SOCKET
/external/libxml2/include/libxml/
Dnanoftp.h27 #define SOCKET int macro
137 XMLPUBFUN SOCKET XMLCALL
146 XMLPUBFUN SOCKET XMLCALL
/external/libpcap/pcap/
Dsocket.h69 #ifndef SOCKET
70 #define SOCKET int macro
/external/usrsctp/programs/
Dekr_server.c66 SOCKET *fdp; in handle_packets()
75 fdp = (SOCKET *)arg; in handle_packets()
104 SOCKET *fdp;
110 fdp = (SOCKET *)addr;
162 SOCKET fd;

123456