/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/psdk_inc/ |
_socket_types.h | 11 typedef UINT_PTR SOCKET; 13 typedef INT_PTR SOCKET; 16 #define INVALID_SOCKET (SOCKET)(~0)
|
_fd_types.h | 24 SOCKET fd_array[FD_SETSIZE]; 31 int WINAPI __WSAFDIsSet(SOCKET,fd_set *); 60 #define FD_ISSET(fd,set) __WSAFDIsSet((SOCKET)(fd),(fd_set *)(set))
|
/system/bt/udrv/ulinux/ |
uipc_linux.h | 21 typedef int SOCKET; 22 #define INVALID_SOCKET (SOCKET)(-1) 25 /* tcp/ip socket configuration */ 36 /* Socket configuration for GLGPS interface */
|
/external/webrtc/webrtc/base/ |
physicalsocketserver.h | 23 typedef int SOCKET; 50 virtual SOCKET GetSocket() = 0; 58 // A socket server that provides the real sockets of the underlying OS. 65 Socket* CreateSocket(int type) override; 66 Socket* CreateSocket(int family, int type) override; 72 AsyncSocket* WrapSocket(SOCKET s); 121 PhysicalSocket(PhysicalSocketServer* ss, SOCKET s = INVALID_SOCKET); 124 // Creates the underlying OS socket (same as the "socket" function). 162 virtual SOCKET DoAccept(SOCKET socket, sockaddr* addr, socklen_t* addrlen) [all...] |
win32socketserver.h | 20 #include "webrtc/base/socket.h" 37 int Attach(SOCKET s); 68 void OnSocketNotify(SOCKET socket, int event, int error); 71 SOCKET socket_; 101 virtual Socket* CreateSocket(int type); 102 virtual Socket* CreateSocket(int family, int type);
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
winsock2.h | 850 typedef SOCKET (WSAAPI *LPFN_ACCEPT)(SOCKET s,struct sockaddr *addr,int *addrlen); 851 typedef int (WSAAPI *LPFN_BIND)(SOCKET s,const struct sockaddr *name,int namelen); 852 typedef int (WSAAPI *LPFN_CLOSESOCKET)(SOCKET s); 853 typedef int (WSAAPI *LPFN_CONNECT)(SOCKET s,const struct sockaddr *name,int namelen); 854 typedef int (WSAAPI *LPFN_IOCTLSOCKET)(SOCKET s,__LONG32 cmd,u_long *argp); 855 typedef int (WSAAPI *LPFN_GETPEERNAME)(SOCKET s,struct sockaddr *name,int *namelen); 856 typedef int (WSAAPI *LPFN_GETSOCKNAME)(SOCKET s,struct sockaddr *name,int *namelen); 857 typedef int (WSAAPI *LPFN_GETSOCKOPT)(SOCKET s,int level,int optname,char *optval,int *optlen); 862 typedef int (WSAAPI *LPFN_LISTEN)(SOCKET s,int backlog) [all...] |
winsock.h | 277 WINSOCK_API_LINKAGE SOCKET WSAAPI accept(SOCKET s,struct sockaddr *addr,int *addrlen); 278 WINSOCK_API_LINKAGE int WSAAPI bind(SOCKET s,const struct sockaddr *name,int namelen); 279 WINSOCK_API_LINKAGE int WSAAPI closesocket(SOCKET s); 280 WINSOCK_API_LINKAGE int WSAAPI connect(SOCKET s,const struct sockaddr *name,int namelen); 281 WINSOCK_API_LINKAGE int WSAAPI ioctlsocket(SOCKET s,__LONG32 cmd,u_long *argp); 282 WINSOCK_API_LINKAGE int WSAAPI getpeername(SOCKET s,struct sockaddr *name,int *namelen); 283 WINSOCK_API_LINKAGE int WSAAPI getsockname(SOCKET s,struct sockaddr *name,int *namelen); 284 WINSOCK_API_LINKAGE int WSAAPI getsockopt(SOCKET s,int level,int optname,char *optval,int *optlen); 291 WINSOCK_API_LINKAGE int WSAAPI listen(SOCKET s,int backlog) [all...] |
ws2spi.h | 38 typedef SOCKET (WSPAPI *LPWSPACCEPT)(SOCKET s,struct sockaddr *addr,LPINT addrlen,LPCONDITIONPROC lpfnCondition,DWORD_PTR dwCallbackData,LPINT lpErrno); 40 typedef int (WSPAPI *LPWSPASYNCSELECT)(SOCKET s,HWND hWnd,unsigned int wMsg,__LONG32 lEvent,LPINT lpErrno); 41 typedef int (WSPAPI *LPWSPBIND)(SOCKET s,const struct sockaddr *name,int namelen,LPINT lpErrno); 44 typedef int (WSPAPI *LPWSPCLOSESOCKET)(SOCKET s,LPINT lpErrno); 45 typedef int (WSPAPI *LPWSPCONNECT)(SOCKET s,const struct sockaddr *name,int namelen,LPWSABUF lpCallerData,LPWSABUF lpCalleeData,LPQOS lpSQOS,LPQOS lpGQOS,LPINT lpErrno); 46 typedef int (WSPAPI *LPWSPDUPLICATESOCKET)(SOCKET s,DWORD dwProcessId,LPWSAPROTOCOL_INFOW lpProtocolInfo,LPINT lpErrno); 47 typedef int (WSPAPI *LPWSPENUMNETWORKEVENTS)(SOCKET s,WSAEVENT hEventObject,LPWSANETWORKEVENTS lpNetworkEvents,LPINT lpErrno); 48 typedef int (WSPAPI *LPWSPEVENTSELECT)(SOCKET s,WSAEVENT hEventObject,__LONG32 lNetworkEvents,LPINT lpErrno); 49 typedef WINBOOL (WSPAPI *LPWSPGETOVERLAPPEDRESULT)(SOCKET s,LPWSAOVERLAPPED lpOverlapped,LPDWORD lpcbTransfer,WINBOOL fWait,LPDWORD lpdwFlags,LPINT lpErrno) [all...] |
mswsock.h | 55 int WINAPI WSARecvEx(SOCKET s,char *buf,int len,int *flags); 67 WINBOOL WINAPI TransmitFile(SOCKET hSocket,HANDLE hFile,DWORD nNumberOfBytesToWrite,DWORD nNumberOfBytesPerSend,LPOVERLAPPED lpOverlapped,LPTRANSMIT_FILE_BUFFERS lpTransmitBuffers,DWORD dwReserved); 68 WINBOOL WINAPI AcceptEx(SOCKET sListenSocket,SOCKET sAcceptSocket,PVOID lpOutputBuffer,DWORD dwReceiveDataLength,DWORD dwLocalAddressLength,DWORD dwRemoteAddressLength,LPDWORD lpdwBytesReceived,LPOVERLAPPED lpOverlapped); 72 typedef WINBOOL (WINAPI *LPFN_TRANSMITFILE)(SOCKET hSocket,HANDLE hFile,DWORD nNumberOfBytesToWrite,DWORD nNumberOfBytesPerSend,LPOVERLAPPED lpOverlapped,LPTRANSMIT_FILE_BUFFERS lpTransmitBuffers,DWORD dwReserved); 76 typedef WINBOOL (WINAPI *LPFN_ACCEPTEX)(SOCKET sListenSocket,SOCKET sAcceptSocket,PVOID lpOutputBuffer,DWORD dwReceiveDataLength,DWORD dwLocalAddressLength,DWORD dwRemoteAddressLength,LPDWORD lpdwBytesReceived,LPOVERLAPPED lpOverlapped); 105 typedef WINBOOL (WINAPI *LPFN_TRANSMITPACKETS) (SOCKET hSocket,LPTRANSMIT_PACKETS_ELEMENT lpPacketArray,DWORD nElementCount,DWORD nSendSize,LPOVERLAPPED lpOverlapped,DWORD dwFlags); 109 typedef WINBOOL (WINAPI *LPFN_CONNECTEX)(SOCKET s,const struct sockaddr *name,int namelen,PVOID lpSendBuffer,DWORD dwSendDataLength,LPDWORD lpdwBytesSent,LPOVERLAPPED lpOverlapped); 113 typedef WINBOOL (WINAPI *LPFN_DISCONNECTEX)(SOCKET s,LPOVERLAPPED lpOverlapped,DWORD dwFlags,DWORD dwReserved) [all...] |
ndfapi.h | 56 SOCKET sock,
|
/system/core/libcutils/ |
socket_inaddr_any_server_windows.c | 37 SOCKET socket_inaddr_any_server(int port, int type) { 42 SOCKET sock = socket(AF_INET6, type, 0); 61 // Bind the socket to our local port. 72 // Start listening for connections if this is a TCP socket.
|
socket_network_client_windows.c | 33 SOCKET socket_network_client(const char* host, int port, int type) { 53 // Now create and connect the socket. 54 SOCKET sock = socket(address->ai_family, address->ai_socktype,
|
/external/tpm2/ |
TcpServer.c | 15 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); 38 // This function creates a socket listening on PortNumber. 43 SOCKET *listenSocket 56 // create listening socket 57 *listenSocket = socket(PF_INET, SOCK_STREAM, 0); 61 printf("Cannot create server listen socket. Error is 0x%x\n" [all...] |
TpmTcpProtocol.h | 83 // start the TPM server on the indicated socket. The TPM is single-threaded and will accept connections 86 BOOL TpmServer(SOCKET ServerSocket);
|
/external/curl/lib/ |
config-win32ce.h | 90 /* Define if you have the <sys/socket.h> header file. */ 196 /* Define if you have the socket function. */ 256 #define RECV_TYPE_ARG1 SOCKET 274 #define RECVFROM_TYPE_ARG1 SOCKET 298 #define SEND_TYPE_ARG1 SOCKET
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ddk/ |
ws2san.h | 96 IN SOCKET s, 104 IN SOCKET s, 110 IN SOCKET s, 120 IN SOCKET s, 127 IN SOCKET s, 142 IN SOCKET s, 175 IN SOCKET s, 184 IN SOCKET s, 191 IN SOCKET s, 202 IN SOCKET s [all...] |
/external/libevent/ |
iocp-internal.h | 58 typedef BOOL (WINAPI *AcceptExPtr)(SOCKET, SOCKET, PVOID, DWORD, DWORD, DWORD, LPDWORD, LPOVERLAPPED); 59 typedef BOOL (WINAPI *ConnectExPtr)(SOCKET, const struct sockaddr *, int, PVOID, DWORD, LPDWORD, LPOVERLAPPED); 112 socket. The socket must be associated with an IO completion port using
|
/external/libxml2/include/libxml/ |
nanoftp.h | 23 * SOCKET: 27 #define SOCKET int 32 * the value to be used when the socket is not valid 137 XMLPUBFUN SOCKET XMLCALL 146 XMLPUBFUN SOCKET XMLCALL
|
/external/c-ares/ |
config-win32.h | 126 #define RECV_TYPE_ARG1 SOCKET 144 #define RECVFROM_TYPE_ARG1 SOCKET 168 #define SEND_TYPE_ARG1 SOCKET 187 #define SOCKET int
|
/external/webrtc/webrtc/test/channel_transport/ |
udp_socket_manager_posix.h | 77 typedef std::list<SOCKET> FdList; 83 std::map<SOCKET, UdpSocketPosix*> _socketMap;
|
udp_socket_posix.h | 16 #include <sys/socket.h> 51 // Deletes socket in addition to closing it. 55 SOCKET GetFd(); 79 SOCKET _socket;
|
udp_socket_wrapper.h | 27 typedef int SOCKET; 31 #define INVALID_SOCKET (SOCKET)(~0) 57 // Socket to local address specified by name. 68 // Set socket options. 84 // Close socket and don't return until completed. 97 // Creating the socket is done via CreateSocket(). 99 // Destroying the socket is done via CloseBlocking().
|
udp_socket_manager_posix.cc | 94 "UdpSocketManagerPosix(%d)::Start() error starting socket managers", 118 "UdpSocketManagerPosix(%d)::Stop() there are still active socket " 139 "UdpSocketManagerPosix(%d)::AddSocket() failed to add socket to\ 179 "UdpSocketManagerPosix(%d)::RemoveSocket() failed to remove socket\ 204 for (std::map<SOCKET, UdpSocketPosix*>::iterator it = 249 SOCKET maxFd = 0; 250 for (std::map<SOCKET, UdpSocketPosix*>::iterator it = _socketMap.begin(); 277 for (std::map<SOCKET, UdpSocketPosix*>::iterator it = _socketMap.begin(); 314 // If the socket is in the add list it's safe to remove and delete it. 328 // Checking the socket map is safe since all Erase and Insert calls to thi [all...] |
/external/autotest/client/tests/kvm/deps/ |
finish.cpp | 1 // Simple application that creates a server socket, listening for connections 58 SOCKET PrepareListenSocket(int port) 64 // Create socket 65 SOCKET ListenSocket = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); 67 ExitOnError("Socket creation failed", TRUE); 74 // Bind the socket 94 SOCKET ListenSocket = INVALID_SOCKET, ClientSocket = INVALID_SOCKET; 113 // Accept a client socket 120 // No longer need the server socket [all...] |
/external/dbus/dbus/ |
dbus-sockets-win.h | 2 /* dbus-sockets.h Wrappers around socket features (internal to D-BUS implementation) 44 #define DBUS_SOCKET_IS_INVALID(s) ((SOCKET)(s) == INVALID_SOCKET) 52 #include <sys/socket.h>
|