Home
last modified time | relevance | path

Searched defs:addr (Results 1 – 25 of 82) 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 …]
DAuthenticator.java46 java.net.InetAddress addr, in requestPasswordAuthentication()
56 java.net.InetAddress addr, in requestPasswordAuthentication()
66 java.net.InetAddress addr, in requestPasswordAuthentication()
/libcore/ojluni/src/main/native/
DInflater.c93 static void checkSetDictionaryResult(JNIEnv *env, jlong addr, int res) in checkSetDictionaryResult()
109 Inflater_setDictionary(JNIEnv *env, jclass cls, jlong addr, in Inflater_setDictionary()
122 Inflater_setDictionaryBuffer(JNIEnv *env, jclass cls, jlong addr, in Inflater_setDictionaryBuffer()
131 static jint doInflate(jlong addr, in doInflate()
147 static jlong checkInflateStatus(JNIEnv *env, jobject this, jlong addr, in checkInflateStatus()
190 Inflater_inflateBytesBytes(JNIEnv *env, jobject this, jlong addr, in Inflater_inflateBytesBytes()
223 Inflater_inflateBytesBuffer(JNIEnv *env, jobject this, jlong addr, in Inflater_inflateBytesBuffer()
248 Inflater_inflateBufferBytes(JNIEnv *env, jobject this, jlong addr, in Inflater_inflateBufferBytes()
272 Inflater_inflateBufferBuffer(JNIEnv *env, jobject this, jlong addr, in Inflater_inflateBufferBuffer()
287 Inflater_getAdler(JNIEnv *env, jclass cls, jlong addr) in Inflater_getAdler()
[all …]
DDeflater.c88 static void checkSetDictionaryResult(JNIEnv *env, jlong addr, jint res) in checkSetDictionaryResult()
104 Deflater_setDictionary(JNIEnv *env, jclass cls, jlong addr, in Deflater_setDictionary()
117 Deflater_setDictionaryBuffer(JNIEnv *env, jclass cls, jlong addr, in Deflater_setDictionaryBuffer()
126 static jint doDeflate(JNIEnv *env, jlong addr, in doDeflate()
150 static jlong checkDeflateStatus(JNIEnv *env, jlong addr, in checkDeflateStatus()
192 Deflater_deflateBytesBytes(JNIEnv *env, jobject this, jlong addr, in Deflater_deflateBytesBytes()
227 Deflater_deflateBytesBuffer(JNIEnv *env, jobject this, jlong addr, in Deflater_deflateBytesBuffer()
253 Deflater_deflateBufferBytes(JNIEnv *env, jobject this, jlong addr, in Deflater_deflateBufferBytes()
277 Deflater_deflateBufferBuffer(JNIEnv *env, jobject this, jlong addr, in Deflater_deflateBufferBuffer()
293 Deflater_getAdler(JNIEnv *env, jclass cls, jlong addr) in Deflater_getAdler()
[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.java736 private static native void setDictionary(long addr, byte[] b, int off, in setDictionary()
738 private static native void setDictionaryBuffer(long addr, long bufAddress, int len); in setDictionaryBuffer()
739 private native long inflateBytesBytes(long addr, in inflateBytesBytes()
742 private native long inflateBytesBuffer(long addr, in inflateBytesBuffer()
745 private native long inflateBufferBytes(long addr, in inflateBufferBytes()
748 private native long inflateBufferBuffer(long addr, in inflateBufferBuffer()
751 private static native int getAdler(long addr); in getAdler()
752 private static native void reset(long addr); in reset()
753 private static native void end(long addr); in end()
765 private InflaterZStreamRef(Inflater owner, long addr) { in InflaterZStreamRef()
[all …]
DDeflater.java927 private static native void setDictionary(long addr, byte[] b, int off, in setDictionary()
929 private static native void setDictionaryBuffer(long addr, long bufAddress, int len); in setDictionaryBuffer()
930 private native long deflateBytesBytes(long addr, in deflateBytesBytes()
934 private native long deflateBytesBuffer(long addr, in deflateBytesBuffer()
938 private native long deflateBufferBytes(long addr, in deflateBufferBytes()
942 private native long deflateBufferBuffer(long addr, in deflateBufferBuffer()
946 private static native int getAdler(long addr); in getAdler()
947 private static native void reset(long addr); in reset()
948 private static native void end(long addr); in end()
960 private DeflaterZStreamRef(Deflater owner, long addr) { in DeflaterZStreamRef()
[all …]
/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/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/luni/src/test/java/libcore/android/system/
DOsTest.java417 private static void expectBindException(FileDescriptor socket, SocketAddress addr, in expectBindException()
425 private static void expectConnectException(FileDescriptor socket, SocketAddress addr, in expectConnectException()
433 private static void expectSendtoException(FileDescriptor socket, SocketAddress addr, in expectSendtoException()
444 SocketAddress addr) { in expectBindConnectSendtoSuccess()
501 int sendtoErrno, FileDescriptor socket, String socketDesc, SocketAddress addr) { in expectBindConnectSendtoErrno()
649 PacketSocketAddress addr = in test_PacketSocketAddress() local
714 final VmSocketAddress addr = new VmSocketAddress(111, 222); in test_VmSocketAddress() 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

1234