/bionic/libc/bionic/ |
D | system_property_set.cpp | 59 socket_.reset(::socket(AF_LOCAL, SOCK_STREAM | SOCK_CLOEXEC, 0)); in PropertyServiceConnection() 70 const char* socket = property_service_socket; in PropertyServiceConnection() local 73 socket = property_service_for_system_socket; in PropertyServiceConnection() 76 const size_t namelen = strlen(socket); in PropertyServiceConnection() 79 strlcpy(addr.sun_path, socket, sizeof(addr.sun_path)); in PropertyServiceConnection() 103 int socket() { in socket() function in PropertyServiceConnection 163 if (writev(connection_->socket(), iov_, iov_index_) == -1) { in Send() 198 int s = connection.socket(); in send_prop_msg()
|
D | send.cpp | 31 ssize_t send(int socket, const void* buf, size_t len, int flags) { in send() argument 32 return sendto(socket, buf, len, flags, nullptr, 0); in send()
|
D | recv.cpp | 31 ssize_t recv(int socket, void *buf, size_t len, int flags) { in recv() argument 32 return recvfrom(socket, buf, len, flags, nullptr, nullptr); in recv()
|
D | NetdClientDispatch.cpp | 78 int socket(int domain, int type, int protocol) { in socket() function 79 return FDTRACK_CREATE(__netdClientDispatch.socket(domain, type, protocol)); in socket()
|
D | net_if.cpp | 48 ScopedFd s(socket(AF_INET, SOCK_DGRAM|SOCK_CLOEXEC, 0)); in if_indextoname() 57 ScopedFd s(socket(AF_INET, SOCK_DGRAM|SOCK_CLOEXEC, 0)); in if_nametoindex()
|
D | fortify.cpp | 219 ssize_t __recvfrom_chk(int socket, void* buf, size_t len, size_t buf_size, in __recvfrom_chk() argument 222 return recvfrom(socket, buf, len, flags, src_addr, addrlen); in __recvfrom_chk() 225 ssize_t __sendto_chk(int socket, const void* buf, size_t len, size_t buflen, in __sendto_chk() argument 229 return sendto(socket, buf, len, flags, dest_addr, addrlen); in __sendto_chk()
|
D | NetdClient.cpp | 60 netdClientInitFunction(handle, "netdClientInitSocket", &__netdClientDispatch.socket); in netdClientInitImpl()
|
D | bionic_netlink.cpp | 59 fd_.reset(socket(PF_NETLINK, SOCK_RAW | SOCK_CLOEXEC, NETLINK_ROUTE)); in SendRequest()
|
D | android_profiling_dynamic.cpp | 127 ScopedFd sock_fd{ socket(AF_UNIX, SOCK_STREAM | SOCK_NONBLOCK | SOCK_CLOEXEC, 0 /*protocol*/) }; in HandleTracedPerfSignal()
|
D | ifaddrs.cpp | 281 ScopedFd s(socket(AF_INET, SOCK_DGRAM | SOCK_CLOEXEC, 0)); in get_interface_flags_via_ioctl()
|
/bionic/libc/include/bits/fortify/ |
D | socket.h | 70 ssize_t recv(int socket, void* _Nullable const buf __pass_object_size0, size_t len, int flags) in recv() argument 74 return recvfrom(socket, buf, len, flags, NULL, 0); in recv() 78 ssize_t send(int socket, const void* _Nonnull const buf __pass_object_size0, size_t len, int flags) in send() argument 82 return sendto(socket, buf, len, flags, NULL, 0); in send()
|
/bionic/libc/async_safe/ |
D | README.md | 5 Note that the liblog implementation connects a single socket to logd and uses a RWLock to manage 8 a socket for each message does not scale well under load. It was also determined to be too 9 costly to connect a socket for each thread as some processes, such as system_server, have over 100
|
/bionic/tests/ |
D | fdtrack_test.cpp | 234 FDTRACK_TEST(socket, socket(AF_UNIX, SOCK_STREAM, 0)); 300 int listener = socket(AF_INET, SOCK_STREAM, 0); in CreateListener() 315 int connector = socket(AF_INET, SOCK_STREAM, 0); in CreateListener()
|
D | sys_socket_test.cpp | 39 int fd = socket(PF_UNIX, SOCK_SEQPACKET | SOCK_CLOEXEC | SOCK_NONBLOCK, 0); in ConnectFn() 66 int fd = socket(PF_UNIX, SOCK_SEQPACKET, 0); in RunTest()
|
D | ifaddrs_test.cpp | 124 int fd = socket(AF_INET, SOCK_DGRAM, 0); in CheckAddressIsInSet()
|
D | clang_fortify_tests.cpp | 450 FORTIFY_TEST(socket) { in FORTIFY_TEST() argument
|
/bionic/libc/private/ |
D | NetdClientDispatch.h | 30 int (*socket)(int, int, int); member
|
/bionic/benchmarks/linker_relocation/gen/ |
D | liblinker_reloc_bench_089.S | 155 CALL(socket) 185 GOT_RELOC(socket)
|
D | liblinker_reloc_bench_010.S | 167 CALL(socket)
|
D | liblinker_reloc_bench_065.S | 146 CALL(socket)
|
D | liblinker_reloc_bench_027.S | 307 CALL(socket)
|
D | liblinker_reloc_bench_008.S | 361 CALL(socket)
|
D | liblinker_reloc_bench_144.S | 199 CALL(socket)
|
/bionic/tests/headers/posix/ |
D | sys_socket_h.c | 152 FUNCTION(socket, int (*f)(int, int, int)); in sys_socket_h()
|
/bionic/libc/include/sys/ |
D | socket.h | 300 __socketcall int socket(int __af, int __type, int __protocol);
|