Home
last modified time | relevance | path

Searched refs:socket (Results 1 – 21 of 21) sorted by relevance

/bionic/libc/bionic/
Dsocket.cpp21 int socket(int domain, int type, int protocol) { in socket() function
22 return __netdClientDispatch.socket(domain, type, protocol); in socket()
Dsend.cpp31 ssize_t send(int socket, const void* buf, size_t len, int flags) { in send() argument
32 return sendto(socket, buf, len, flags, NULL, 0); in send()
Drecv.cpp32 ssize_t recv(int socket, void *buf, size_t len, int flags) { in recv() argument
33 return recvfrom(socket, buf, len, flags, NULL, 0); in recv()
D__recvfrom_chk.cpp35 ssize_t __recvfrom_chk(int socket, void* buf, size_t len, size_t buflen, in __recvfrom_chk() argument
42 return recvfrom(socket, buf, len, flags, src_addr, addrlen); in __recvfrom_chk()
Dif_nametoindex.c51 if ((ctl_sock = socket(AF_INET, SOCK_DGRAM, 0)) >= 0) { in if_nametoindex()
Dif_indextoname.c51 if ((ctl_sock = socket(AF_INET, SOCK_DGRAM, 0)) >= 0) { in if_indextoname()
DNetdClient.cpp49 netdClientInitFunction(netdClientHandle, "netdClientInitSocket", &__netdClientDispatch.socket); in netdClientInitImpl()
Dlibc_logging.cpp459 int log_fd = TEMP_FAILURE_RETRY(socket(PF_UNIX, SOCK_DGRAM | SOCK_CLOEXEC, 0)); in __libc_open_log_socket()
Dsystem_properties.cpp483 const int fd = socket(AF_LOCAL, SOCK_STREAM | SOCK_CLOEXEC, 0); in send_prop_msg()
/bionic/libc/private/
DNetdClientDispatch.h28 int (*socket)(int, int, int); member
/bionic/tools/bionicbb/
Dtasks.py20 import socket
88 except socket.error:
/bionic/libc/include/sys/
Dsocket.h285 __socketcall int socket(int, int, int);
322 ssize_t recv(int socket, void* buf, size_t len, int flags) { in recv() argument
323 return recvfrom(socket, buf, len, flags, NULL, 0); in recv()
/bionic/tests/
Dsys_socket_test.cpp37 int fd = socket(PF_UNIX, SOCK_SEQPACKET | SOCK_CLOEXEC | SOCK_NONBLOCK, 0); in ConnectFn()
64 int fd = socket(PF_UNIX, SOCK_SEQPACKET, 0); in RunTest()
/bionic/linker/
Ddebugger.cpp96 int s = socket(AF_LOCAL, type, 0); in socket_abstract_client()
/bionic/libc/dns/resolv/
Dres_send.c781 statp->_vcsock = socket(nsap->sa_family, SOCK_STREAM | SOCK_CLOEXEC, 0); in send_vc()
1064 EXT(statp).nssocks[ns] = socket(nsap->sa_family, SOCK_DGRAM | SOCK_CLOEXEC, 0); in send_dg()
/bionic/libc/
DSYSCALLS.TXT20 # For example, socket() syscall on i386 actually becomes:
229 int __socket:socket(int, int, int) arm,arm64,mips,mips64,x86_64
Dlibc.map1082 socket;
DAndroid.mk207 bionic/socket.cpp \
/bionic/libc/tools/
Dposix-2013.txt973 socket
/bionic/libc/dns/net/
Dgetaddrinfo.c878 s = socket(pai->ai_family, SOCK_DGRAM | SOCK_CLOEXEC, 0); in explore_null()
1786 sock = socket(addr->sa_family, SOCK_DGRAM | SOCK_CLOEXEC, IPPROTO_UDP); in _find_src_addr()
Dgethnamaddr.c571 int s = socket(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC, 0); in android_open_proxy()