Home
last modified time | relevance | path

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

1234

/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.java95 protected void bind(int port, InetAddress addr) throws SocketException { in bind()
124 protected void join(InetAddress addr) throws IOException { in join()
129 protected void joinGroup(SocketAddress addr, NetworkInterface netInterface) in joinGroup()
135 protected void leave(InetAddress addr) throws IOException { in leave()
140 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 …]
/libcore/ojluni/src/main/java/java/net/
DInet6Address.java254 void setAddr(byte addr[]) { in setAddr()
260 void init(byte addr[], int scope_id) { in init()
270 void init(byte addr[], NetworkInterface nif) in init()
416 Inet6Address(String hostName, byte addr[], int scope_id) { in Inet6Address()
422 Inet6Address(String hostName, byte addr[]) { in Inet6Address()
429 Inet6Address (String hostName, byte addr[], NetworkInterface nif) in Inet6Address()
436 Inet6Address (String hostName, byte addr[], String ifname) in Inet6Address()
463 public static Inet6Address getByAddress(String host, byte[] addr, in getByAddress()
496 public static Inet6Address getByAddress(String host, byte[] addr, in getByAddress()
513 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()
207 public InetSocketAddress(InetAddress addr, int port) { in InetSocketAddress()
242 InetAddress addr = null; in InetSocketAddress() local
/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/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/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()
DCRC32.java173 private static int updateByteBuffer(int alder, long addr, in updateByteBuffer()
180 private static native int updateByteBuffer0(int alder, long addr, in updateByteBuffer0()
183 private static void updateByteBufferCheck(long addr) { in updateByteBufferCheck()
/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/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/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/test/java/net/DatagramSocket/
DReuseAddressTest.java116 InetSocketAddress addr = createSocketAddress(0); in DatagramSocket0030() local
169 InetSocketAddress addr = createSocketAddress(0); in DatagramSocket0031() local
217 InetAddress addr = isa1.getAddress(); in DatagramSocket0032() local
/libcore/ojluni/src/test/java/net/InetAddress/
DIsReachable.java40 InetAddress addr = InetAddress.getByName("localhost"); in testIsReachable() local
/libcore/ojluni/src/test/java/net/InetSocketAddress/
DB6469803.java39 InetSocketAddress addr = new InetSocketAddress("192.168.1.1", 12345); in testLocalHost() local
/libcore/luni/src/test/java/libcore/android/system/
DOsTest.java407 private static void expectBindException(FileDescriptor socket, SocketAddress addr, in expectBindException()
415 private static void expectConnectException(FileDescriptor socket, SocketAddress addr, in expectConnectException()
423 private static void expectSendtoException(FileDescriptor socket, SocketAddress addr, in expectSendtoException()
434 SocketAddress addr) { in expectBindConnectSendtoSuccess()
491 int sendtoErrno, FileDescriptor socket, String socketDesc, SocketAddress addr) { in expectBindConnectSendtoErrno()
639 PacketSocketAddress addr = in test_PacketSocketAddress() local
704 final VmSocketAddress addr = new VmSocketAddress(111, 222); in test_VmSocketAddress() local

1234