Home
last modified time | relevance | path

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

12345

/third_party/skia/third_party/externals/tint/tools/src/cmd/remote-compile/
Dsocket.cc40 using SOCKET = int; typedef
45 constexpr SOCKET InvalidSocket = static_cast<SOCKET>(-1);
63 bool setBlocking(SOCKET s, bool blocking) { in setBlocking()
77 bool errored(SOCKET s) { in errored()
120 explicit Impl(SOCKET socket) : info(nullptr), s(socket) {} in Impl()
121 Impl(addrinfo* info, SOCKET socket) : info(info), s(socket) {} in Impl()
219 lock([&](SOCKET socket, const addrinfo*) { in Accept()
231 SOCKET s = InvalidSocket;
242 impl->lock([&](SOCKET socket, const addrinfo* info) { in Listen()
265 impl->lock([&](SOCKET socket, const addrinfo* info) { in Connect()
/third_party/libuv/include/uv/
Dwin.h37 SOCKET fd;
137 (SOCKET sListenSocket,
138 SOCKET sAcceptSocket,
147 (SOCKET s,
166 (SOCKET hSocket,
172 (SOCKET hSocket,
185 (SOCKET socket,
194 (SOCKET socket,
239 typedef SOCKET uv_os_sock_t;
350 SOCKET poll_peer_sockets[UV_MSAFD_PROVIDER_COUNT]; \
[all …]
/third_party/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);
Dtcp_windows.h47 grpc_error* grpc_tcp_prepare_socket(SOCKET sock);
49 grpc_error* grpc_tcp_set_non_block(SOCKET sock);
Dsocket_windows.cc45 grpc_winsocket* grpc_winsocket_create(SOCKET socket, const char* name) { in grpc_winsocket_create()
56 SOCKET grpc_winsocket_wrapped_socket(grpc_winsocket* socket) { in grpc_winsocket_wrapped_socket()
161 SOCKET s = socket(AF_INET6, SOCK_STREAM, 0); in probe_ipv6_once()
193 SOCKET sock = WSASocket(AF_INET6, SOCK_STREAM, IPPROTO_TCP, NULL, 0, in grpc_wsa_socket_flags_init()
Dtcp_server_windows.cc60 SOCKET new_socket;
194 static grpc_error* prepare_socket(SOCKET sock, in prepare_socket()
253 SOCKET sock = INVALID_SOCKET; in start_accept_locked()
304 SOCKET sock = sp->new_socket; in on_accept()
391 static grpc_error* add_socket_to_server(grpc_tcp_server* s, SOCKET sock, in add_socket_to_server()
453 SOCKET sock; in tcp_server_add_port()
/third_party/boost/boost/asio/detail/
Dwin_fd_set_adapter.hpp43 sizeof(win_fd_set) - sizeof(SOCKET) in win_fd_set_adapter()
44 + sizeof(SOCKET) * (capacity_))); in win_fd_set_adapter()
112 SOCKET fd_array[1];
126 sizeof(win_fd_set) - sizeof(SOCKET) in reserve()
127 + sizeof(SOCKET) * (new_capacity))); in reserve()
/third_party/boost/libs/asio/include/boost/asio/detail/
Dwin_fd_set_adapter.hpp43 sizeof(win_fd_set) - sizeof(SOCKET) in win_fd_set_adapter()
44 + sizeof(SOCKET) * (capacity_))); in win_fd_set_adapter()
112 SOCKET fd_array[1];
126 sizeof(win_fd_set) - sizeof(SOCKET) in reserve()
127 + sizeof(SOCKET) * (new_capacity))); in reserve()
/third_party/pulseaudio/src/pulsecore/
Dpoll-win32.c104 WSAEnumNetworkEvents ((SOCKET) h, NULL, &ev); in IsSocketHandle()
255 windows_compute_revents_socket (SOCKET h, int sought, long lNetworkEvents) in windows_compute_revents_socket()
509 FD_SET ((SOCKET) h, &rfds); in pa_poll()
514 FD_SET ((SOCKET) h, &wfds); in pa_poll()
519 FD_SET ((SOCKET) h, &xfds); in pa_poll()
523 WSAEventSelect ((SOCKET) h, hEvent, requested); in pa_poll()
605 WSAEnumNetworkEvents ((SOCKET) h, NULL, &ev); in pa_poll()
606 WSAEventSelect ((SOCKET) h, 0, 0); in pa_poll()
613 if (FD_ISSET ((SOCKET) h, &rfds) in pa_poll()
616 if (FD_ISSET ((SOCKET) h, &wfds)) in pa_poll()
[all …]
/third_party/skia/third_party/externals/swiftshader/src/System/
DSocket.hpp22 typedef int SOCKET; typedef
30 Socket(SOCKET socket);
45 SOCKET socket;
/third_party/skia/third_party/externals/swiftshader/src/Common/
DSocket.hpp22 typedef int SOCKET; typedef
30 Socket(SOCKET socket);
45 SOCKET socket;
/third_party/node/deps/cares/src/lib/
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
/third_party/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
/third_party/curl/lib/
Dconfig-win32ce.h211 #define RECV_TYPE_ARG1 SOCKET
229 #define RECVFROM_TYPE_ARG1 SOCKET
253 #define SEND_TYPE_ARG1 SOCKET
Dconfig-win32.h269 #define RECV_TYPE_ARG1 SOCKET
287 #define RECVFROM_TYPE_ARG1 SOCKET
311 #define SEND_TYPE_ARG1 SOCKET
428 #define SOCKET int macro
/third_party/libuv/src/win/
Dwinsock.c41 static BOOL uv__get_extension_function(SOCKET socket, GUID guid, in uv__get_extension_function()
65 BOOL uv__get_acceptex_function(SOCKET socket, LPFN_ACCEPTEX* target) { in uv__get_acceptex_function()
71 BOOL uv__get_connectex_function(SOCKET socket, LPFN_CONNECTEX* target) { in uv__get_connectex_function()
81 SOCKET dummy; in uv__winsock_init()
270 int WSAAPI uv__wsarecv_workaround(SOCKET socket, WSABUF* buffers, in uv__wsarecv_workaround()
364 int WSAAPI uv__wsarecvfrom_workaround(SOCKET socket, WSABUF* buffers, in uv__wsarecvfrom_workaround()
461 int WSAAPI uv__msafd_poll(SOCKET socket, AFD_POLL_INFO* info_in, in uv__msafd_poll()
Dinternal.h269 typedef int (WINAPI *uv__peersockfunc)(SOCKET, struct sockaddr*, int*);
306 BOOL uv__get_acceptex_function(SOCKET socket, LPFN_ACCEPTEX* target);
307 BOOL uv__get_connectex_function(SOCKET socket, LPFN_CONNECTEX* target);
309 int WSAAPI uv__wsarecv_workaround(SOCKET socket, WSABUF* buffers,
312 int WSAAPI uv__wsarecvfrom_workaround(SOCKET socket, WSABUF* buffers,
317 int WSAAPI uv__msafd_poll(SOCKET socket, AFD_POLL_INFO* info_in,
Dpoll.c44 SOCKET fd_array[1];
127 result = uv__msafd_poll((SOCKET) handle->peer_socket, in uv__fast_poll_submit_poll_req()
205 static SOCKET uv__fast_poll_create_peer_socket(HANDLE iocp, in uv__fast_poll_create_peer_socket()
207 SOCKET sock = 0; in uv__fast_poll_create_peer_socket()
238 static SOCKET uv__fast_poll_get_peer_socket(uv_loop_t* loop, in uv__fast_poll_get_peer_socket()
241 SOCKET peer_socket; in uv__fast_poll_get_peer_socket()
411 return uv_poll_init_socket(loop, handle, (SOCKET) uv__get_osfhandle(fd)); in uv_poll_init()
419 SOCKET peer_socket, base_socket; in uv_poll_init_socket()
/third_party/gettext/gnulib-local/lib/libxml/
Dnanoftp.in.h56 #define SOCKET int macro
166 XMLPUBFUN SOCKET XMLCALL
175 XMLPUBFUN SOCKET XMLCALL
/third_party/libxml2/include/libxml/
Dnanoftp.h27 #define SOCKET int macro
137 XMLPUBFUN SOCKET XMLCALL
146 XMLPUBFUN SOCKET XMLCALL
/third_party/python/Modules/_multiprocessing/
Dmultiprocessing.c82 ret = closesocket((SOCKET) handle); in _multiprocessing_closesocket_impl()
111 nread = recv((SOCKET) handle, PyBytes_AS_STRING(buf), size, 0); in _multiprocessing_recv_impl()
140 ret = send((SOCKET) handle, buf->buf, length, 0); in _multiprocessing_send_impl()
/third_party/glib/glib/tests/
Dgpoll.c39 prepare_fds (SOCKET sockets[], in prepare_fds()
76 check_fds (SOCKET sockets[], in check_fds()
115 prepare_sockets (SOCKET sockets[], in prepare_sockets()
116 SOCKET opp_sockets[], in prepare_sockets()
121 SOCKET server; in prepare_sockets()
159 cleanup_sockets (SOCKET sockets[], in cleanup_sockets()
160 SOCKET opp_sockets[], in cleanup_sockets()
242 SOCKET sockets[NUM_POLLEES]; in test_gpoll()
244 SOCKET opp_sockets[NUM_POLLEES]; in test_gpoll()
/third_party/grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/
Dgrpc_ares_ev_driver_windows.cc493 SOCKET s = grpc_winsocket_wrapped_socket(winsocket_); in ConnectUDP()
513 SOCKET s = grpc_winsocket_wrapped_socket(winsocket_); in ConnectTCP()
690 SockToPolledFdEntry(SOCKET s, GrpcPolledFdWindows* fd) in SockToPolledFdEntry()
692 SOCKET socket;
709 void AddNewSocket(SOCKET s, GrpcPolledFdWindows* polled_fd) { in AddNewSocket()
715 GrpcPolledFdWindows* LookupPolledFd(SOCKET s) { in LookupPolledFd()
726 void RemoveEntry(SOCKET s) { in RemoveEntry()
753 SOCKET s = WSASocket(af, type, protocol, nullptr, 0, in Socket()
797 static int CloseSocket(SOCKET s, void* user_data) { in CloseSocket()
/third_party/python/Modules/
Doverlapped.c163 SOCKET s; in initialize_function_pointers()
527 ret = bind((SOCKET)Socket, (SOCKADDR*)&addr, sizeof(addr)) in _overlapped_BindLocal_impl()
535 ret = bind((SOCKET)Socket, (SOCKADDR*)&addr, sizeof(addr)) in _overlapped_BindLocal_impl()
1043 ret = WSARecv((SOCKET)handle, &wsabuf, 1, &nread, &flags, in do_WSARecv()
1237 ret = WSASend((SOCKET)handle, &wsabuf, 1, &written, flags, in _overlapped_Overlapped_WSASend_impl()
1289 ret = Py_AcceptEx((SOCKET)ListenSocket, (SOCKET)AcceptSocket, in _overlapped_Overlapped_AcceptEx_impl()
1417 ret = Py_ConnectEx((SOCKET)ConnectSocket, Address, Length, in _overlapped_Overlapped_ConnectEx_impl()
1458 ret = Py_DisconnectEx((SOCKET)Socket, &self->overlapped, flags, 0); in _overlapped_Overlapped_DisconnectEx_impl()
1509 ret = Py_TransmitFile((SOCKET)Socket, File, count_to_write, in _overlapped_Overlapped_TransmitFile_impl()
1666 err = WSAConnect((SOCKET)ConnectSocket, Address, Length, in _overlapped_WSAConnect_impl()
[all …]

12345