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.cpp607 static bool fillSocketAddress(JNIEnv* env, jobject javaSocketAddress, const sockaddr_storage& ss, in fillSocketAddress() argument
609 if (javaSocketAddress == NULL) { in fillSocketAddress()
613 if (env->IsInstanceOf(javaSocketAddress, JniConstants::GetInetSocketAddressClass(env))) { in fillSocketAddress()
614 return fillInetSocketAddress(env, javaSocketAddress, ss); in fillSocketAddress()
615 } else if (env->IsInstanceOf(javaSocketAddress, JniConstants::GetUnixSocketAddressClass(env))) { in fillSocketAddress()
616 return fillUnixSocketAddress(env, javaSocketAddress, ss, sa_len); in fillSocketAddress()
639 JNIEnv* env, jobject javaSocketAddress, sockaddr_storage& ss, socklen_t& sa_len) { in javaInetSocketAddressToSockaddr() argument
642 javaInetSocketAddressToInetAddressAndPort(env, javaSocketAddress, javaInetAddress, port); in javaInetSocketAddressToSockaddr()
647 JNIEnv* env, jobject javaSocketAddress, sockaddr_storage& ss, socklen_t& sa_len) { in javaNetlinkSocketAddressToSockaddr() argument
655 nlAddr->nl_pid = env->GetIntField(javaSocketAddress, nlPidFid); in javaNetlinkSocketAddressToSockaddr()
[all …]