Home
last modified time | relevance | path

Searched refs:alen (Results 1 – 7 of 7) sorted by relevance

/system/core/libcutils/
Dsocket_local_client_unix.cpp46 struct sockaddr_un *p_addr, socklen_t *alen) in socket_make_sockaddr_un() argument
111 *alen = namelen + offsetof(struct sockaddr_un, sun_path) + 1; in socket_make_sockaddr_un()
126 socklen_t alen; in socket_local_client_connect() local
129 err = socket_make_sockaddr_un(name, namespaceId, &addr, &alen); in socket_local_client_connect()
135 if(connect(fd, (struct sockaddr *) &addr, alen) < 0) { in socket_local_client_connect()
Dsocket_local_server_unix.cpp58 socklen_t alen; local
62 err = socket_make_sockaddr_un(name, namespaceId, &addr, &alen);
82 if(bind(s, (struct sockaddr *) &addr, alen) < 0) {
Dsocket_local_unix.h37 struct sockaddr_un *p_addr, socklen_t *alen);
/system/bt/osi/src/socket_utils/
Dsocket_local_client.cc35 struct sockaddr_un* p_addr, socklen_t* alen) { in osi_socket_make_sockaddr_un() argument
99 *alen = namelen + offsetof(struct sockaddr_un, sun_path) + 1; in osi_socket_make_sockaddr_un()
115 socklen_t alen; in osi_socket_local_client_connect() local
118 err = osi_socket_make_sockaddr_un(name, namespaceId, &addr, &alen); in osi_socket_local_client_connect()
124 OSI_NO_INTR(err = connect(fd, (struct sockaddr*)&addr, alen)); in osi_socket_local_client_connect()
Dsocket_local_server.cc44 socklen_t alen; local
48 err = osi_socket_make_sockaddr_un(name, namespaceId, &addr, &alen);
68 if (bind(s, (struct sockaddr*)&addr, alen) < 0) {
/system/bt/osi/include/socket_utils/
Dsocket_local.h36 struct sockaddr_un* p_addr, socklen_t* alen);
/system/netd/resolv/
Dres_send.cpp1165 const struct sockaddr* address, int alen) { in Aerror() argument
1172 if (getnameinfo(address, (socklen_t) alen, hbuf, sizeof(hbuf), sbuf, sizeof(sbuf), in Aerror()