Home
last modified time | relevance | path

Searched defs:sockfd (Results 1 – 25 of 107) sorted by relevance

12345

/third_party/flutter/skia/experimental/Networking/
DSkSockets.cpp30 int sockfd = socket(AF_INET, SOCK_STREAM, 0); in createSocket() local
49 void SkSocket::closeSocket(int sockfd) { in closeSocket()
67 void SkSocket::onFailedConnection(int sockfd) { in onFailedConnection()
71 void SkSocket::setNonBlocking(int sockfd) { in setNonBlocking()
76 void SkSocket::addToMasterSet(int sockfd) { in addToMasterSet()
329 void SkTCPClient::onFailedConnection(int sockfd) { //cleanup and recreate socket in onFailedConnection()
/third_party/ltp/lib/
Dsafe_net.c84 int tst_getsockport(const char *file, const int lineno, int sockfd) in tst_getsockport()
161 int safe_getsockopt(const char *file, const int lineno, int sockfd, int level, in safe_getsockopt()
176 int safe_setsockopt(const char *file, const int lineno, int sockfd, int level, in safe_setsockopt()
193 int sockfd, const void *buf, size_t len, int flags) in safe_send()
209 int sockfd, const void *buf, size_t len, int flags, in safe_sendto()
229 int sockfd, const struct msghdr *msg, int flags) in safe_sendmsg()
251 int sockfd, struct msghdr *msg, int flags) in safe_recvmsg()
326 int sockfd, struct sockaddr *addr, socklen_t *addrlen) in safe_accept()
342 int sockfd, const struct sockaddr *addr, socklen_t addrlen) in safe_connect()
360 void (cleanup_fn)(void), int sockfd, struct sockaddr *addr, in safe_getsockname()
/third_party/wayland_standard/src/
Dwayland-os.c91 recvmsg_cloexec_fallback(int sockfd, struct msghdr *msg, int flags) in recvmsg_cloexec_fallback()
122 wl_os_recvmsg_cloexec(int sockfd, struct msghdr *msg, int flags) in wl_os_recvmsg_cloexec()
153 wl_os_accept_cloexec(int sockfd, struct sockaddr *addr, socklen_t *addrlen) in wl_os_accept_cloexec()
/third_party/ltp/testcases/kernel/syscalls/sendmmsg/
Dsendmmsg_var.h11 static int do_sendmmsg(int sockfd, struct mmsghdr *msgvec, unsigned int vlen, in do_sendmmsg()
28 static int do_recvmmsg(int sockfd, struct mmsghdr *msgvec, unsigned int vlen, in do_recvmmsg()
/third_party/ltp/testcases/kernel/sched/clisrv/
Dpthcli.c63 void str_cli(FILE *fp, int sockfd) in str_cli()
100 int sockfd; in main() local
Dpthserv.c51 int sockfd; variable
56 int str_echo(int sockfd) in str_echo()
/third_party/ltp/include/
Dtst_safe_net.h35 #define SAFE_SEND(strict, sockfd, buf, len, flags) \ argument
55 #define SAFE_ACCEPT(sockfd, addr, addrlen) \ argument
58 #define SAFE_CONNECT(sockfd, addr, addrlen) \ argument
61 #define SAFE_GETSOCKNAME(sockfd, addr, addrlen) \ argument
68 #define TST_GETSOCKPORT(sockfd) \ argument
/third_party/curl/docs/examples/
Dsendrecv.c32 static int wait_on_socket(curl_socket_t sockfd, int for_recv, long timeout_ms) in wait_on_socket()
77 curl_socket_t sockfd; in main() local
Dexternalsocket.c72 curl_socket_t sockfd; in opensocket() local
96 curl_socket_t sockfd; in main() local
/third_party/curl/lib/
Dconnect.c107 curl_socket_t sockfd) in tcpkeepalive()
239 curl_socket_t sockfd, int af, unsigned int scope) in bindlocal()
493 static bool verifyconnect(curl_socket_t sockfd, int *error) in verifyconnect()
686 struct connectdata *conn, curl_socket_t sockfd) in Curl_conninfo_remote()
716 void Curl_conninfo_local(struct Curl_easy *data, curl_socket_t sockfd, in Curl_conninfo_local()
748 curl_socket_t sockfd) in Curl_updateconninfo()
1065 static void tcpnodelay(struct Curl_easy *data, curl_socket_t sockfd) in tcpnodelay()
1092 curl_socket_t sockfd) in nosigpipe()
1125 void Curl_sndbufset(curl_socket_t sockfd) in Curl_sndbufset()
1170 curl_socket_t sockfd; in singleipconnect() local
[all …]
Dsendf.c148 const curl_socket_t sockfd = conn->sock[num]; in pre_receive_plain() local
290 curl_socket_t sockfd, in Curl_write()
343 curl_socket_t sockfd; in Curl_send_plain() local
407 curl_socket_t sockfd, in Curl_write_plain()
427 curl_socket_t sockfd; in Curl_recv_plain() local
646 CURLcode Curl_read_plain(curl_socket_t sockfd, in Curl_read_plain()
679 curl_socket_t sockfd, /* read from this socket */ in Curl_read()
Dmemdebug.c308 curl_socket_t sockfd; in curl_dbg_socket() local
321 SEND_TYPE_RETV curl_dbg_send(SEND_TYPE_ARG1 sockfd, in curl_dbg_send()
336 RECV_TYPE_RETV curl_dbg_recv(RECV_TYPE_ARG1 sockfd, RECV_TYPE_ARG2 buf, in curl_dbg_recv()
382 curl_socket_t sockfd = accept(s, addr, addrlen); in curl_dbg_accept() local
391 void curl_dbg_mark_sclose(curl_socket_t sockfd, int line, const char *source) in curl_dbg_mark_sclose()
404 int curl_dbg_sclose(curl_socket_t sockfd, int line, const char *source) in curl_dbg_sclose()
Dnonblock.c47 int curlx_nonblock(curl_socket_t sockfd, /* operate on this */ in curlx_nonblock()
Ddict.c133 static CURLcode sendf(curl_socket_t sockfd, struct Curl_easy *data, in sendf()
187 curl_socket_t sockfd = conn->sock[FIRSTSOCKET]; in dict_do() local
Dmqtt.c117 curl_socket_t sockfd = conn->sock[FIRSTSOCKET]; in mqtt_send() local
355 curl_socket_t sockfd = conn->sock[FIRSTSOCKET]; in mqtt_verify_connack() local
445 curl_socket_t sockfd = conn->sock[FIRSTSOCKET]; in mqtt_verify_suback() local
585 curl_socket_t sockfd = conn->sock[FIRSTSOCKET]; in mqtt_read_publish() local
702 curl_socket_t sockfd = conn->sock[FIRSTSOCKET]; in mqtt_doing() local
Dsocks.c55 curl_socket_t sockfd, /* read from this socket */ in Curl_blockread_all()
200 curl_socket_t sockfd = conn->sock[sockindex]; in Curl_SOCKS4() local
517 curl_socket_t sockfd = conn->sock[sockindex]; in Curl_SOCKS5() local
/third_party/toybox/toys/net/
Dnetcat.c77 int sockfd; in usock() local
96 int sockfd = -1, in1 = 0, in2 = 0, out1 = 1, out2 = 1, family = AF_UNSPEC, in netcat_main() local
/third_party/ltp/include/old/
Dold_safe_net.h40 #define SAFE_CONNECT(cleanup_fn, sockfd, addr, addrlen) \ argument
43 #define SAFE_GETSOCKNAME(cleanup_fn, sockfd, addr, addrlen) \ argument
/third_party/glib/gio/tests/
Dslow-connect-preload.c30 connect (int sockfd, in connect()
/third_party/grpc/src/core/lib/iomgr/
Dsocket_utils_linux.cc33 int grpc_accept4(int sockfd, grpc_resolved_address* resolved_addr, int nonblock, in grpc_accept4()
Dsocket_utils_posix.cc34 int grpc_accept4(int sockfd, grpc_resolved_address* resolved_addr, int nonblock, in grpc_accept4()
/third_party/curl/lib/vquic/
Dquiche.c176 struct connectdata *conn, curl_socket_t sockfd, in Curl_quic_connect()
335 curl_socket_t sockfd = conn->tempsock[sockindex]; in Curl_quic_is_connected() local
357 static CURLcode process_ingress(struct Curl_easy *data, int sockfd, in process_ingress()
407 static CURLcode flush_egress(struct Curl_easy *data, int sockfd, in flush_egress()
484 curl_socket_t sockfd = conn->sock[sockindex]; in h3_stream_recv() local
576 curl_socket_t sockfd = conn->sock[sockindex]; in h3_stream_send() local
/third_party/ltp/testcases/kernel/syscalls/sendto/
Dsendto02.c33 static int sockfd; variable
/third_party/ltp/testcases/kernel/syscalls/bind/
Dbind02.c32 int sockfd; in run() local
/third_party/ltp/testcases/kernel/syscalls/setsockopt/
Dsetsockopt04.c25 static int sockfd; variable

12345