Searched refs:sockaddrToInetAddress (Results 1 – 3 of 3) sorted by relevance
/libcore/luni/src/main/native/ |
D | NetworkUtilities.h | 24 jobject sockaddrToInetAddress(JNIEnv* env, const sockaddr* sa, int* port);
|
D | NetworkUtilities.cpp | 38 jobject sockaddrToInetAddress(JNIEnv* env, const sockaddr* sa, jint* port) { in sockaddrToInetAddress() function 53 return sockaddrToInetAddress(env, reinterpret_cast<sockaddr*>(&tmp), port); in sockaddrToInetAddress()
|
D | libcore_io_Linux.cpp | 400 … jobject inetAddress = sockaddrToInetAddress(env, reinterpret_cast<const sockaddr*>(&ss), &port); in makeSocketAddress() 604 jobject sender = sockaddrToInetAddress(env, reinterpret_cast<const sockaddr*>(&ss), &port); in fillInetSocketAddress() 1424 ScopedLocalRef<jobject> inetAddress(env, sockaddrToInetAddress(env, ai->ai_addr, NULL)); in Linux_android_getaddrinfo() 1538 return sockaddrToInetAddress(env, reinterpret_cast<sockaddr*>(&ss), NULL); in Linux_getsockoptInAddr() 1689 if ((addr = sockaddrToInetAddress(env, ifa->ifa_addr, NULL)) == NULL) { in Linux_getifaddrs() 1693 if ((netmask = sockaddrToInetAddress(env, ifa->ifa_netmask, NULL)) == NULL) { in Linux_getifaddrs() 1698 if ((broad = sockaddrToInetAddress(env, ifa->ifa_broadaddr, NULL)) == NULL) { in Linux_getifaddrs() 1784 return sockaddrToInetAddress(env, reinterpret_cast<sockaddr*>(&ss), NULL); in Linux_inet_pton() 1807 return sockaddrToInetAddress(env, &req.ifr_addr, NULL); in Linux_ioctlInetAddress()
|