Home
last modified time | relevance | path

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

1234

/external/tpm2/
DTcpServer.c15 BOOL ReadBytes(SOCKET s, char* buffer, int NumBytes);
16 BOOL ReadVarBytes(SOCKET s, char* buffer, UINT32* BytesReceived, int MaxLen);
17 BOOL WriteVarBytes(SOCKET s, char *buffer, int BytesToSend);
18 BOOL WriteBytes(SOCKET s, char* buffer, int NumBytes);
19 BOOL WriteUINT32(SOCKET s, UINT32 val);
43 SOCKET *listenSocket in CreateSocket()
92 SOCKET s in PlatformServer()
174 SOCKET listenSocket, serverSocket; in PlatformSvcRoutine()
247 SOCKET listenSocket; in RegularCommandService()
248 SOCKET serverSocket; in RegularCommandService()
[all …]
/external/libpcap/
Dsockutils.h74 #ifndef SOCKET
75 #define SOCKET int macro
213 int sock_recv(SOCKET socket, void *buffer, size_t size, int receiveall,
215 SOCKET sock_open(struct addrinfo *addrinfo, int server, int nconn, char *errbuf, int errbuflen);
216 int sock_close(SOCKET sock, char *errbuf, int errbuflen);
218 int sock_send(SOCKET socket, const char *buffer, int size, char *errbuf, int errbuflen);
220 int sock_discard(SOCKET socket, int size, char *errbuf, int errbuflen);
224 int sock_getmyinfo(SOCKET sock, char *address, int addrlen, char *port, int portlen, int flags, cha…
Dpcap-rpcap.h137 SOCKET sockctrl;
382 SOCKET rmt_sockctrl; //!< socket ID of the socket used for the control connection
383 SOCKET rmt_sockdata; //!< socket ID of the socket used for the data connection
458 int rpcap_checkmsg(char *errbuf, SOCKET sock, struct rpcap_header *header, uint8 first, ...);
459 int rpcap_senderror(SOCKET sock, char *error, unsigned short errcode, char *errbuf);
460 int rpcap_sendauth(SOCKET sock, struct pcap_rmtauth *auth, char *errbuf);
462 SOCKET rpcap_remoteact_getsock(const char *host, int *isactive, char *errbuf);
Dsockutils.c283 SOCKET sock_open(struct addrinfo *addrinfo, int server, int nconn, char *errbuf, int errbuflen) in sock_open()
285 SOCKET sock; in sock_open()
419 int sock_close(SOCKET sock, char *errbuf, int errbuflen) in sock_close()
558 int sock_send(SOCKET socket, const char *buffer, int size, char *errbuf, int errbuflen) in sock_send()
710 int sock_recv(SOCKET sock, void *buffer, size_t size, int receiveall, in sock_recv()
804 int sock_discard(SOCKET sock, int size, char *errbuf, int errbuflen) in sock_discard()
1041 int sock_getmyinfo(SOCKET sock, char *address, int addrlen, char *port, int portlen, int flags, cha… in sock_getmyinfo()
Dremote-ext.h442 #define SOCKET int macro
454 PCAP_API SOCKET pcap_remoteact_accept(const char *address, const char *port, const char *hostlist, …
/external/webrtc/webrtc/base/
Dphysicalsocketserver.h23 typedef int SOCKET; typedef
50 virtual SOCKET GetSocket() = 0;
72 AsyncSocket* WrapSocket(SOCKET s);
121 PhysicalSocket(PhysicalSocketServer* ss, SOCKET s = INVALID_SOCKET);
162 virtual SOCKET DoAccept(SOCKET socket, sockaddr* addr, socklen_t* addrlen);
172 SOCKET s_;
188 SocketDispatcher(SOCKET s, PhysicalSocketServer *ss);
198 SOCKET GetSocket() override;
Dwin32socketserver.h37 int Attach(SOCKET s);
68 void OnSocketNotify(SOCKET socket, int event, int error);
71 SOCKET socket_;
Dphysicalsocketserver.cc99 PhysicalSocket::PhysicalSocket(PhysicalSocketServer* ss, SOCKET s) in PhysicalSocket()
380 SOCKET s = DoAccept(s_, addr, &addr_len); in Accept()
469 SOCKET PhysicalSocket::DoAccept(SOCKET socket, in DoAccept()
558 SocketDispatcher::SocketDispatcher(SOCKET s, PhysicalSocketServer *ss) in SocketDispatcher()
608 SOCKET SocketDispatcher::GetSocket() { in GetSocket()
1102 virtual SOCKET GetSocket() { in GetSocket()
1182 AsyncSocket* PhysicalSocketServer::WrapSocket(SOCKET s) { in WrapSocket()
1466 SOCKET s = disp->GetSocket(); in Wait()
1521 SOCKET s = disp->GetSocket(); in Wait()
Dphysicalsocketserver_unittest.cc33 SOCKET DoAccept(SOCKET socket, sockaddr* addr, socklen_t* addrlen) override;
88 SOCKET FakeSocketDispatcher::DoAccept(SOCKET socket, in DoAccept()
/external/swiftshader/src/Common/
DSocket.hpp22 typedef int SOCKET; typedef
30 Socket(SOCKET socket);
45 SOCKET socket;
/external/webrtc/webrtc/test/channel_transport/
Dudp_socket_manager_posix.cc204 for (std::map<SOCKET, UdpSocketPosix*>::iterator it = in ~UdpSocketManagerPosixImpl()
249 SOCKET maxFd = 0; in Process()
250 for (std::map<SOCKET, UdpSocketPosix*>::iterator it = _socketMap.begin(); in Process()
277 for (std::map<SOCKET, UdpSocketPosix*>::iterator it = _socketMap.begin(); in Process()
347 SOCKET removeFD = *iter; in UpdateSocketMap()
354 SOCKET addFD = addSocket->GetFd(); in UpdateSocketMap()
364 std::map<SOCKET, UdpSocketPosix*>::iterator it = in UpdateSocketMap()
Dudp_socket_manager_posix.h77 typedef std::list<SOCKET> FdList;
83 std::map<SOCKET, UdpSocketPosix*> _socketMap;
Dudp_socket_posix.h55 SOCKET GetFd();
79 SOCKET _socket;
Dudp_socket_wrapper.h27 typedef int SOCKET; typedef
31 #define INVALID_SOCKET (SOCKET)(~0)
Dudp_socket2_win.h65 SOCKET GetFd() { return _socket;} in GetFd()
132 SOCKET _socket;
/external/libxml2/include/libxml/
Dnanoftp.h27 #define SOCKET int macro
137 XMLPUBFUN SOCKET XMLCALL
146 XMLPUBFUN SOCKET XMLCALL
/external/curl/lib/
Dconfig-win32ce.h253 #define RECV_TYPE_ARG1 SOCKET
271 #define RECVFROM_TYPE_ARG1 SOCKET
295 #define SEND_TYPE_ARG1 SOCKET
Dconfig-win32.h300 #define RECV_TYPE_ARG1 SOCKET
318 #define RECVFROM_TYPE_ARG1 SOCKET
342 #define SEND_TYPE_ARG1 SOCKET
464 #define SOCKET int macro
/external/libevent/
Diocp-internal.h58 typedef BOOL (WINAPI *AcceptExPtr)(SOCKET, SOCKET, PVOID, DWORD, DWORD, DWORD, LPDWORD, LPOVERLAPPE…
59 typedef BOOL (WINAPI *ConnectExPtr)(SOCKET, const struct sockaddr *, int, PVOID, DWORD, LPDWORD, LP…
Dwin32select.c61 SOCKET fd_array[1];
101 #define FD_SET_ALLOC_SIZE(n) ((sizeof(struct win_fd_set) + ((n)-1)*sizeof(SOCKET)))
164 SOCKET s2; in do_fd_clear()
265 memcpy(out->fd_array, in->fd_array, in->fd_count * (sizeof(SOCKET))); in fd_set_copy()
286 SOCKET s; in win32_dispatch()
353 SOCKET s; in win32_dispatch()
/external/python/cpython2/Modules/_multiprocessing/
Dsocket_connection.c16 # define WRITE(h, buffer, length) send((SOCKET)h, buffer, length, 0)
17 # define READ(h, buffer, length) recv((SOCKET)h, buffer, length, 0)
18 # define CLOSE(h) closesocket((SOCKET)h)
241 FD_SET((SOCKET)conn->handle, &rfds); in conn_poll()
/external/python/cpython3/Modules/_multiprocessing/
Dmultiprocessing.c63 ret = closesocket((SOCKET) handle); in multiprocessing_closesocket()
86 nread = recv((SOCKET) handle, PyBytes_AS_STRING(buf), size, 0); in multiprocessing_recv()
110 ret = send((SOCKET) handle, buf.buf, length, 0); in multiprocessing_send()
/external/libvncserver/rfb/
Drfb.h56 #undef SOCKET
267 SOCKET listenSock;
277 SOCKET inetdSock;
281 SOCKET udpSock;
293 SOCKET httpListenSock;
294 SOCKET httpSock;
389 SOCKET listen6Sock;
391 SOCKET httpListen6Sock;
461 SOCKET sock;
/external/libmicrohttpd/src/platform/
Dw32functions.c555 int MHD_W32_pair_of_sockets_(SOCKET sockets_pair[2]) in MHD_W32_pair_of_sockets_()
568 SOCKET listen_s; in MHD_W32_pair_of_sockets_()
585 SOCKET client_s = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); in MHD_W32_pair_of_sockets_()
594 SOCKET server_s = accept(listen_s, in MHD_W32_pair_of_sockets_()
/external/mdnsresponder/mDNSWindows/
DmDNSWin32.h55 SOCKET fd;
78 SOCKET fd;

1234