Home
last modified time | relevance | path

Searched defs:inetAddress (Results 1 – 13 of 13) sorted by relevance

/libcore/luni/src/test/java/libcore/java/net/
DInetAddressTest.java235 InetAddress inetAddress = InetAddress.getByName("www.google.com"); in test_isReachable() local
236 new SerializationTester<InetAddress>(inetAddress, s) { in test_isReachable() argument
252 InetAddress inetAddress = InetAddress.getByName("www.google.com"); in test_isReachable_neverThrows() local
453 InetAddress inetAddress = InetAddress.getByAddress(LOOPBACK6_BYTES); in test_getHostNameCaches() local
467 InetAddress inetAddress = InetAddress.getByAddress(LOOPBACK4_BYTES); in test_getByAddress_loopbackIpv4() local
474 InetAddress inetAddress = InetAddress.getByAddress(LOOPBACK6_BYTES); in test_getByAddress_loopbackIpv6() local
481 InetAddress inetAddress = InetAddress.getByName("127.0.0.1"); in test_getByName_loopbackIpv4() local
488 InetAddress inetAddress = InetAddress.getByName("::1"); in test_getByName_loopbackIpv6() local
495 InetAddress inetAddress = InetAddress.getByName(""); in test_getByName_empty() local
504 InetAddress inetAddress = inetAddresses[0]; in test_getAllByName_localhost() local
[all …]
DInetSocketAddressTest.java176 InetAddress inetAddress = InetAddress.getByAddress(new byte[] { 127, 0, 0, 1 }); in test_getHostString_cachingBehavior() local
/libcore/luni/src/main/native/
DNetworkUtilities.cpp91 static bool inetAddressToSockaddr(JNIEnv* env, jobject inetAddress, int port, sockaddr_storage& ss,… in inetAddressToSockaddr()
178 bool inetAddressToSockaddrVerbatim(JNIEnv* env, jobject inetAddress, int port, sockaddr_storage& ss… in inetAddressToSockaddrVerbatim()
182 bool inetAddressToSockaddr(JNIEnv* env, jobject inetAddress, int port, sockaddr_storage& ss, sockle… in inetAddressToSockaddr()
Dlibcore_io_Linux.cpp370 jobject inetAddress = sockaddrToInetAddress(env, ss, &port); in makeSocketAddress() local
1237 ScopedLocalRef<jobject> inetAddress(env, sockaddrToInetAddress(env, address, NULL)); in Linux_android_getaddrinfo() local
/libcore/luni/src/main/java/libcore/io/
DIoBridge.java116 …public static void connect(FileDescriptor fd, InetAddress inetAddress, int port) throws SocketExce… in connect()
128 …public static void connect(FileDescriptor fd, InetAddress inetAddress, int port, int timeoutMs) th… in connect()
149 …private static void connectErrno(FileDescriptor fd, InetAddress inetAddress, int port, int timeout… in connectErrno()
192 private static String connectDetail(FileDescriptor fd, InetAddress inetAddress, int port, in connectDetail()
248 …public static boolean isConnected(FileDescriptor fd, InetAddress inetAddress, int port, int timeou… in isConnected()
562 …ptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetAddress inetAddress, int port… in sendto()
576 …atic int sendto(FileDescriptor fd, ByteBuffer buffer, int flags, InetAddress inetAddress, int port… in sendto()
DBlockGuardOs.java294 …blic int sendto(FileDescriptor fd, ByteBuffer buffer, int flags, InetAddress inetAddress, int port… in sendto()
299 …ptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetAddress inetAddress, int port… in sendto()
DLinux.java210 …public int sendto(FileDescriptor fd, ByteBuffer buffer, int flags, InetAddress inetAddress, int po… in sendto()
223 …ptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetAddress inetAddress, int port… in sendto()
230 …tor fd, Object buffer, int byteOffset, int byteCount, int flags, InetAddress inetAddress, int port… in sendtoBytes()
DOs.java141 …public int sendto(FileDescriptor fd, ByteBuffer buffer, int flags, InetAddress inetAddress, int po… in sendto()
142 …ptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetAddress inetAddress, int port… in sendto()
DForwardingOs.java155 …public int sendto(FileDescriptor fd, ByteBuffer buffer, int flags, InetAddress inetAddress, int po… in sendto()
156 …ptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetAddress inetAddress, int port… in sendto()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DDatagramSocketTest.java151 InetAddress inetAddress = InetAddress.getLocalHost(); in test_connectLjava_net_InetAddressI() local
159 InetAddress inetAddress = in test_connectLjava_net_InetAddressI() local
316 InetAddress inetAddress = InetAddress.getByAddress(addressBytes); in testConnect_zeroAddress() local
323 InetAddress inetAddress = InetAddress.getByAddress(addressTestBytes); in testConnect_zeroAddress() local
330 InetAddress inetAddress = InetAddress.getLocalHost(); in test_disconnect() local
338 InetAddress inetAddress = in test_disconnect() local
/libcore/ojluni/src/main/java/java/net/
DInetAddress.java923 InetAddress inetAddress = parseNumericAddressNoThrow(address); in isNumeric() local
942 static InetAddress disallowDeprecatedFormats(String address, InetAddress inetAddress) { in disallowDeprecatedFormats()
/libcore/luni/src/test/java/libcore/java/nio/channels/
DDatagramChannelTest.java283 InetAddress inetAddress = inetAddresses.nextElement(); in getNonLoopbackNetworkInterfaceAddress() local
/libcore/luni/src/main/java/android/system/
DOs.java455 …public static int sendto(FileDescriptor fd, ByteBuffer buffer, int flags, InetAddress inetAddress,… in sendto()
460 …ptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetAddress inetAddress, int port… in sendto()