Home
last modified time | relevance | path

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

/libcore/luni/src/main/native/
DNetworkUtilities.cpp131 …ScopedLocalRef<jbyteArray> addressBytes(env, reinterpret_cast<jbyteArray>(env->CallObjectMethod(in… in inetAddressToSockaddr() local
135 if (addressBytes.get() == NULL) { in inetAddressToSockaddr()
152 env->GetByteArrayRegion(addressBytes.get(), 0, 16, dst); in inetAddressToSockaddr()
176 env->GetByteArrayRegion(addressBytes.get(), 0, 4, dst); in inetAddressToSockaddr()
188 env->GetByteArrayRegion(addressBytes.get(), 0, 4, dst); in inetAddressToSockaddr()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DNetworkInterfaceTest.java239 byte addressBytes[] = new byte[4]; in test_getByInetAddressLjava_net_InetAddress()
240 addressBytes[0] = 0; in test_getByInetAddressLjava_net_InetAddress()
241 addressBytes[1] = 0; in test_getByInetAddressLjava_net_InetAddress()
242 addressBytes[2] = 0; in test_getByInetAddressLjava_net_InetAddress()
243 addressBytes[3] = 0; in test_getByInetAddressLjava_net_InetAddress()
255 .getByAddress(addressBytes))); in test_getByInetAddressLjava_net_InetAddress()
DDatagramSocketTest.java315 byte[] addressBytes = { 0, 0, 0, 0 }; in testConnect_zeroAddress()
316 InetAddress inetAddress = InetAddress.getByAddress(addressBytes); in testConnect_zeroAddress()