Home
last modified time | relevance | path

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

1234

/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/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/Common/
DSocket.hpp22 typedef int SOCKET; typedef
30 Socket(SOCKET socket);
45 SOCKET socket;
/third_party/skia/third_party/externals/swiftshader/src/System/
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/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()
Dtcp.c48 static int uv__tcp_nodelay(uv_tcp_t* handle, SOCKET socket, int enable) { in uv__tcp_nodelay()
60 static int uv__tcp_keepalive(uv_tcp_t* handle, SOCKET socket, int enable, unsigned int delay) { in uv__tcp_keepalive()
83 SOCKET socket, in uv__tcp_set_socket()
180 SOCKET sock; in uv_tcp_init_ex()
297 SOCKET sock; in uv__tcp_try_bind()
392 SOCKET accept_socket; in uv__tcp_queue_accept()
1299 SOCKET socket; in uv__tcp_xfer_import()
1408 SOCKET socket; in uv__tcp_try_cancel_reqs()
1590 SOCKET server = INVALID_SOCKET; in uv_socketpair()
1591 SOCKET client0 = INVALID_SOCKET; in uv_socketpair()
[all …]
/third_party/rust/crates/libc/src/windows/
Dmod.rs53 pub type SOCKET = ::uintptr_t; typedef
527 pub fn listen(s: SOCKET, backlog: ::c_int) -> ::c_int; in listen() argument
528 pub fn accept(s: SOCKET, addr: *mut ::sockaddr, addrlen: *mut ::c_int) -> SOCKET; in accept() argument
529 pub fn bind(s: SOCKET, name: *const ::sockaddr, namelen: ::c_int) -> ::c_int; in bind() argument
530 pub fn connect(s: SOCKET, name: *const ::sockaddr, namelen: ::c_int) -> ::c_int; in connect() argument
531 pub fn getpeername(s: SOCKET, name: *mut ::sockaddr, nameln: *mut ::c_int) -> ::c_int; in getpeername() argument
532 pub fn getsockname(s: SOCKET, name: *mut ::sockaddr, nameln: *mut ::c_int) -> ::c_int; in getsockname() argument
534 s: SOCKET, in getsockopt() argument
541 s: SOCKET, in recvfrom() argument
549 s: SOCKET, in sendto() argument
[all …]
/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/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 …]
Dselectmodule.c58 # define SOCKET int macro
94 SOCKET fd;
129 SOCKET v; in seq2set()
178 SOCKET fd; in set2list()
1223 SOCKET epfd; /* epoll control file descriptor */
1249 newPyEpoll_Object(PyTypeObject *type, int sizehint, SOCKET fd) in newPyEpoll_Object()
1397 SOCKET s_fd = (SOCKET)fd; in select_epoll_fromfd_impl()
1732 SOCKET kqfd; /* kqueue control fd */
1935 newKqueue_Object(PyTypeObject *type, SOCKET fd) in newKqueue_Object()
2063 SOCKET s_fd = (SOCKET)fd; in select_kqueue_fromfd_impl()
/third_party/alsa-lib/src/conf/
Dalsa.conf276 @args [ SOCKET PCM ]
277 @args.SOCKET {
284 server $SOCKET
398 @args [ SOCKET CTL ]
399 @args.SOCKET {
406 server $SOCKET
/third_party/skia/third_party/externals/microhttpd/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_()
/third_party/node/test/parallel/
Dtest-net-server-listen-handle.js42 handle = new TCP(TCPConstants.SOCKET);
47 handle = new Pipe(PipeConstants.SOCKET);
Dtest-tcp-wrap.js31 const handle = new TCP(TCPConstants.SOCKET);
Dtest-dgram-bind-fd-error.js38 const handle = new TCP(constants.SOCKET);
Dtest-dgram-create-socket-handle-fd.js36 const rawHandle = new TCP(constants.SOCKET);
/third_party/node/test/sequential/
Dtest-async-wrap-getasyncid.js185 const handle = new binding.Pipe(binding.constants.SOCKET);
231 const handle = new tcp_wrap.TCP(tcp_wrap.constants.SOCKET);
272 const tcp = new TCP(TCPConstants.SOCKET);
/third_party/libcoap/include/coap3/
Dcoap_io.h37 typedef SOCKET coap_fd_t;
/third_party/libxml2/
Dnanohttp.c95 #define SOCKET int macro
130 SOCKET fd; /* the file descriptor for the socket */
201 SOCKET s; in have_ipv6()
857 static SOCKET
873 SOCKET s; in xmlNanoHTTPConnectAttempt()
1045 static SOCKET
1055 SOCKET s; in xmlNanoHTTPConnectHost()
1362 SOCKET ret; in xmlNanoHTTPMethodRedir()
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet/
Dsctp_pcb.h324 SOCKET userspace_rawsctp;
325 SOCKET userspace_udpsctp;
335 SOCKET userspace_rawsctp6;
336 SOCKET userspace_udpsctp6;

1234