Searched refs:addr_len (Results 1 – 2 of 2) sorted by relevance
36 socklen_t addr_len = strlen(property_service_socket) + offsetof(sockaddr_un, sun_path) + 1; in TEST() local37 ASSERT_NE(connect(fd, reinterpret_cast<sockaddr*>(&addr), addr_len), -1); in TEST()
1000 socklen_t addr_len = sizeof(addr_storage); in adb_socket_get_local_port() local1002 if (adb_getsockname(fd, reinterpret_cast<sockaddr*>(&addr_storage), &addr_len) < 0) { in adb_socket_get_local_port()