Searched refs:addr_len (Results 1 – 3 of 3) sorted by relevance
150 size_t addr_len = offsetof(sockaddr_un, sun_path) + sizeof(kJdwpControlName) - 1; in adbconnection_client_new() local152 int rc = connect(ctx->control_socket_.get(), reinterpret_cast<sockaddr*>(&addr), addr_len); in adbconnection_client_new()
389 socklen_t addr_len = sizeof(addr); local390 if (bind(serverfd.get(), reinterpret_cast<struct sockaddr*>(&addr), addr_len)) {397 if (getsockname(serverfd.get(), reinterpret_cast<sockaddr*>(&addr), &addr_len) == 0) {
1307 socklen_t addr_len = sizeof(addr_storage); in adb_socket_get_local_port() local1309 if (adb_getsockname(fd, reinterpret_cast<sockaddr*>(&addr_storage), &addr_len) < 0) { in adb_socket_get_local_port()