Home
last modified time | relevance | path

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

/libcore/luni/src/main/native/
Dlibcore_io_Linux.cpp620 static bool fillSocketAddress(JNIEnv* env, jobject javaSocketAddress, const sockaddr_storage& ss, in fillSocketAddress() argument
622 if (javaSocketAddress == NULL) { in fillSocketAddress()
626 if (env->IsInstanceOf(javaSocketAddress, JniConstants::GetInetSocketAddressClass(env))) { in fillSocketAddress()
627 return fillInetSocketAddress(env, javaSocketAddress, ss); in fillSocketAddress()
628 } else if (env->IsInstanceOf(javaSocketAddress, JniConstants::GetUnixSocketAddressClass(env))) { in fillSocketAddress()
629 return fillUnixSocketAddress(env, javaSocketAddress, ss, sa_len); in fillSocketAddress()
652 JNIEnv* env, jobject javaSocketAddress, sockaddr_storage& ss, socklen_t& sa_len) { in javaInetSocketAddressToSockaddr() argument
655 javaInetSocketAddressToInetAddressAndPort(env, javaSocketAddress, javaInetAddress, port); in javaInetSocketAddressToSockaddr()
660 JNIEnv* env, jobject javaSocketAddress, sockaddr_storage& ss, socklen_t& sa_len) { in javaNetlinkSocketAddressToSockaddr() argument
668 nlAddr->nl_pid = env->GetIntField(javaSocketAddress, nlPidFid); in javaNetlinkSocketAddressToSockaddr()
[all …]