Searched refs:addressBytes (Results 1 – 3 of 3) sorted by relevance
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | NetworkInterfaceTest.java | 239 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()
|
D | DatagramSocketTest.java | 315 byte[] addressBytes = { 0, 0, 0, 0 }; in testConnect_zeroAddress() 316 InetAddress inetAddress = InetAddress.getByAddress(addressBytes); in testConnect_zeroAddress()
|
/libcore/luni/src/main/native/ |
D | NetworkUtilities.cpp | 135 …ScopedLocalRef<jbyteArray> addressBytes(env, reinterpret_cast<jbyteArray>(env->CallObjectMethod(in… in inetAddressToSockaddr() local 139 if (addressBytes.get() == NULL) { in inetAddressToSockaddr() 156 env->GetByteArrayRegion(addressBytes.get(), 0, 16, dst); in inetAddressToSockaddr() 180 env->GetByteArrayRegion(addressBytes.get(), 0, 4, dst); in inetAddressToSockaddr() 192 env->GetByteArrayRegion(addressBytes.get(), 0, 4, dst); in inetAddressToSockaddr()
|