Searched refs:alen (Results 1 – 7 of 7) sorted by relevance
/system/core/libcutils/ |
D | socket_local_client_unix.cpp | 46 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()
|
D | socket_local_server_unix.cpp | 58 socklen_t alen; local 62 err = socket_make_sockaddr_un(name, namespaceId, &addr, &alen); 82 if(bind(s, (struct sockaddr *) &addr, alen) < 0) {
|
D | socket_local_unix.h | 37 struct sockaddr_un *p_addr, socklen_t *alen);
|
/system/bt/osi/src/socket_utils/ |
D | socket_local_client.cc | 35 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()
|
D | socket_local_server.cc | 44 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/ |
D | socket_local.h | 36 struct sockaddr_un* p_addr, socklen_t* alen);
|
/system/netd/resolv/ |
D | res_send.cpp | 1165 const struct sockaddr* address, int alen) { in Aerror() argument 1172 if (getnameinfo(address, (socklen_t) alen, hbuf, sizeof(hbuf), sbuf, sizeof(sbuf), in Aerror()
|