Home
last modified time | relevance | path

Searched defs:addr (Results 1 – 25 of 69) sorted by relevance

123

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DInet4AddressTest.java40 InetAddress addr = InetAddress.getByName(addrName); in test_isMulticastAddress() local
68 InetAddress addr = InetAddress.getByName(addrName); in test_isLoopbackAddress() local
96 InetAddress addr = InetAddress.getByName(addrName); in test_isLinkLocalAddress() local
111 InetAddress addr = InetAddress.getByName(addrName); in test_isSiteLocalAddress() local
128 InetAddress addr = InetAddress.getByName(addrName); in test_isMCGlobal() local
174 InetAddress addr = InetAddress.getByName(addrName); in test_isMCNodeLocal() local
200 InetAddress addr = InetAddress.getByName(addrName); in test_isMCLinkLocal() local
238 InetAddress addr = InetAddress.getByName(addrName); in test_isMCSiteLocal() local
283 InetAddress addr = InetAddress.getByName(addrName); in test_isMCOrgLocal() local
DInet6AddressTest.java35 InetAddress addr = null; in test_isMulticastAddress() local
95 InetAddress addr = null; in test_isAnyLocalAddress() local
126 InetAddress addr = InetAddress.getByName(addrName); in test_isLoopbackAddress() local
206 InetAddress addr = InetAddress.getByName(addrName); in test_isLinkLocalAddress() local
245 InetAddress addr = InetAddress.getByName(addrName); in test_isSiteLocalAddress() local
278 InetAddress addr = InetAddress.getByName(addrName); in test_isMCGlobal() local
352 InetAddress addr = InetAddress.getByName(addrName); in test_isMCNodeLocal() local
413 InetAddress addr = InetAddress.getByName(addrName); in test_isMCLinkLocal() local
496 InetAddress addr = InetAddress.getByName(addrName); in test_isMCSiteLocal() local
579 InetAddress addr = InetAddress.getByName(addrName); in test_isMCOrgLocal() local
[all …]
DDatagramSocketImplTest.java67 protected void bind(int port, InetAddress addr) throws SocketException { in bind()
96 protected void join(InetAddress addr) throws IOException { in join()
101 protected void joinGroup(SocketAddress addr, NetworkInterface netInterface) in joinGroup()
107 protected void leave(InetAddress addr) throws IOException { in leave()
112 protected void leaveGroup(SocketAddress addr, NetworkInterface netInterface) in leaveGroup()
/libcore/ojluni/annotations/hiddenapi/java/net/
DInet6AddressImpl.java46 public java.lang.String getHostByAddr(byte[] addr) throws java.net.UnknownHostException { in getHostByAddr()
55 java.net.InetAddress addr, int timeout, java.net.NetworkInterface netif, int ttl) in isReachable()
61 java.net.InetAddress addr, int timeout, java.net.InetAddress sourceAddr, int ttl) in tcpEcho()
67 java.net.InetAddress addr, int timeout, java.net.InetAddress sourceAddr, int ttl) in icmpEcho()
80 private java.lang.String getHostByAddr0(byte[] addr) throws java.net.UnknownHostException { in getHostByAddr0()
DInet6Address.java39 Inet6Address(java.lang.String hostName, byte[] addr, int scope_id) { in Inet6Address()
43 Inet6Address(java.lang.String hostName, byte[] addr) { in Inet6Address()
47 Inet6Address(java.lang.String hostName, byte[] addr, java.net.NetworkInterface nif) in Inet6Address()
52 Inet6Address(java.lang.String hostName, byte[] addr, java.lang.String ifname) in Inet6Address()
58 java.lang.String host, byte[] addr, java.net.NetworkInterface nif) in getByAddress()
64 java.lang.String host, byte[] addr, int scope_id) throws java.net.UnknownHostException { in getByAddress()
68 private void initstr(java.lang.String hostName, byte[] addr, java.lang.String ifname) in initstr()
73 private void initif(java.lang.String hostName, byte[] addr, java.net.NetworkInterface nif) in initif()
240 void setAddr(byte[] addr) { in setAddr()
244 void init(byte[] addr, int scope_id) { in init()
[all …]
DAuthenticator.java46 java.net.InetAddress addr, in requestPasswordAuthentication()
56 java.net.InetAddress addr, in requestPasswordAuthentication()
66 java.net.InetAddress addr, in requestPasswordAuthentication()
DInetSocketAddress.java42 public InetSocketAddress(java.net.InetAddress addr, int port) { in InetSocketAddress()
142 java.lang.String hostname, java.net.InetAddress addr, int port) { in InetSocketAddressHolder()
178 private java.net.InetAddress addr; field in InetSocketAddress.InetSocketAddressHolder
/libcore/ojluni/src/main/java/java/net/
DInet6Address.java246 void setAddr(byte addr[]) { in setAddr()
252 void init(byte addr[], int scope_id) { in init()
262 void init(byte addr[], NetworkInterface nif) in init()
408 Inet6Address(String hostName, byte addr[], int scope_id) { in Inet6Address()
414 Inet6Address(String hostName, byte addr[]) { in Inet6Address()
421 Inet6Address (String hostName, byte addr[], NetworkInterface nif) in Inet6Address()
428 Inet6Address (String hostName, byte addr[], String ifname) in Inet6Address()
455 public static Inet6Address getByAddress(String host, byte[] addr, in getByAddress()
488 public static Inet6Address getByAddress(String host, byte[] addr, in getByAddress()
505 private void initstr(String hostName, byte addr[], String ifname) in initstr()
[all …]
DInet6AddressImpl.java161 public String getHostByAddr(byte[] addr) throws UnknownHostException { in getHostByAddr()
174 …public boolean isReachable(InetAddress addr, int timeout, NetworkInterface netif, int ttl) throws … in isReachable()
217 private boolean tcpEcho(InetAddress addr, int timeout, InetAddress sourceAddr, int ttl) in tcpEcho()
241 protected boolean icmpEcho(InetAddress addr, int timeout, InetAddress sourceAddr, int ttl) in icmpEcho()
340 private String getHostByAddr0(byte[] addr) throws UnknownHostException { in getHostByAddr0()
DInetAddressImpl.java53 String getHostByAddr(byte[] addr) throws UnknownHostException; in getHostByAddr()
76 boolean isReachable(InetAddress addr, int timeout, NetworkInterface netif, in isReachable()
DInetAddressContainer.java29 InetAddress addr; field in InetAddressContainer
DInetSocketAddress.java61 private InetAddress addr; field in InetSocketAddress.InetSocketAddressHolder
65 private InetSocketAddressHolder(String hostname, InetAddress addr, int port) { in InetSocketAddressHolder()
197 public InetSocketAddress(InetAddress addr, int port) { in InetSocketAddress()
232 InetAddress addr = null; in InetSocketAddress() local
DAuthenticator.java161 InetAddress addr, in requestPasswordAuthentication()
223 InetAddress addr, in requestPasswordAuthentication()
288 InetAddress addr, in requestPasswordAuthentication()
/libcore/ojluni/src/main/java/sun/net/
DSocksProxy.java37 private SocksProxy(SocketAddress addr, int version) { in SocksProxy()
42 public static SocksProxy create(SocketAddress addr, int version) { in create()
/libcore/ojluni/src/main/java/sun/nio/ch/
DNet.java108 InetAddress addr = isa.getAddress(); in checkAddress() local
178 static InetSocketAddress getRevealedLocalAddress(InetSocketAddress addr) { in getRevealedLocalAddress()
193 static String getRevealedLocalAddressAsString(InetSocketAddress addr) { in getRevealedLocalAddressAsString()
212 InetAddress addr = addrs.nextElement(); in anyInet4Address() local
/libcore/ojluni/src/main/java/java/util/zip/
DInflater.java392 long addr = zsRef.address(); in end() local
428 private native static void setDictionary(long addr, byte[] b, int off, in setDictionary()
430 private native int inflateBytes(long addr, byte[] b, int off, int len) in inflateBytes()
432 private native static int getAdler(long addr); in getAdler()
433 private native static void reset(long addr); in reset()
434 private native static void end(long addr); in end()
DDeflater.java560 long addr = zsRef.address(); in end() local
589 private native static void setDictionary(long addr, byte[] b, int off, int len); in setDictionary()
590 private native int deflateBytes(long addr, byte[] b, int off, int len, in deflateBytes()
592 private native static int getAdler(long addr); in getAdler()
593 private native static void reset(long addr); in reset()
594 private native static void end(long addr); in end()
/libcore/ojluni/src/main/native/
DInflater.c94 Inflater_setDictionary(JNIEnv *env, jclass cls, jlong addr, in Inflater_setDictionary()
117 Inflater_inflateBytes(JNIEnv *env, jobject this, jlong addr, in Inflater_inflateBytes()
181 Inflater_getAdler(JNIEnv *env, jclass cls, jlong addr) in Inflater_getAdler()
187 Inflater_reset(JNIEnv *env, jclass cls, jlong addr) in Inflater_reset()
195 Inflater_end(JNIEnv *env, jclass cls, jlong addr) in Inflater_end()
DDeflater.c102 Deflater_setDictionary(JNIEnv *env, jclass cls, jlong addr, in Deflater_setDictionary()
125 Deflater_deflateBytes(JNIEnv *env, jobject this, jlong addr, in Deflater_deflateBytes()
220 Deflater_getAdler(JNIEnv *env, jclass cls, jlong addr) in Deflater_getAdler()
226 Deflater_reset(JNIEnv *env, jclass cls, jlong addr) in Deflater_reset()
234 Deflater_end(JNIEnv *env, jclass cls, jlong addr) in Deflater_end()
/libcore/ojluni/annotations/hiddenapi/java/util/regex/
DMatcher.java205 private static native boolean findImpl(long addr, int startIndex, int[] offsets); in findImpl()
207 private static native boolean findNextImpl(long addr, int[] offsets); in findNextImpl()
211 private static native int groupCountImpl(long addr); in groupCountImpl()
213 private static native boolean hitEndImpl(long addr); in hitEndImpl()
215 private static native boolean lookingAtImpl(long addr, int[] offsets); in lookingAtImpl()
217 private static native boolean matchesImpl(long addr, int[] offsets); in matchesImpl()
223 private static native boolean requireEndImpl(long addr); in requireEndImpl()
225 private static native void setInputImpl(long addr, java.lang.String s, int start, int end); in setInputImpl()
227 private static native void useAnchoringBoundsImpl(long addr, boolean value); in useAnchoringBoundsImpl()
229 private static native void useTransparentBoundsImpl(long addr, boolean value); in useTransparentBoundsImpl()
/libcore/ojluni/annotations/hiddenapi/java/util/zip/
DInflater.java124 private static native void setDictionary(long addr, byte[] b, int off, int len); in setDictionary()
126 private native int inflateBytes(long addr, byte[] b, int off, int len) in inflateBytes()
129 private static native int getAdler(long addr); in getAdler()
131 private static native void reset(long addr); in reset()
133 private static native void end(long addr); in end()
DDeflater.java131 private static native void setDictionary(long addr, byte[] b, int off, int len); in setDictionary()
133 private native int deflateBytes(long addr, byte[] b, int off, int len, int flush); in deflateBytes()
135 private static native int getAdler(long addr); in getAdler()
137 private static native void reset(long addr); in reset()
139 private static native void end(long addr); in end()
/libcore/ojluni/annotations/hiddenapi/sun/net/util/
DIPAddressUtil.java53 public static byte[] convertFromIPv4MappedAddress(byte[] addr) { in convertFromIPv4MappedAddress()
57 private static boolean isIPv4MappedAddress(byte[] addr) { in isIPv4MappedAddress()
/libcore/ojluni/src/main/java/sun/net/spi/nameservice/
DNameService.java35 public String getHostByAddr(byte[] addr) throws UnknownHostException; in getHostByAddr()
/libcore/ojluni/annotations/mmodule/java/net/
DInet6Address.annotated.java36 public static java.net.Inet6Address getByAddress(java.lang.String host, byte[] addr, java.net.Netwo… in getByAddress()
38 public static java.net.Inet6Address getByAddress(java.lang.String host, byte[] addr, int scope_id) … in getByAddress()

123