Home
last modified time | relevance | path

Searched defs:addr (Results 1 – 25 of 52) 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()
DInetAddressTest.java257 InetAddress addr = InetAddress.getByAddress(addressStr, ipAddress); in test_getByAddressLjava_lang_String$B() local
268 InetAddress addr = InetAddress.getByAddress(addressStr, ipAddress2); in test_getByAddressLjava_lang_String$B() local
DInterfaceAddressTest.java98 InetAddress addr = interfaceAddr.getAddress(); in test_getBroadcast() local
/libcore/ojluni/src/main/java/java/net/
DInet6Address.java236 void setAddr(byte addr[]) { in setAddr()
242 void init(byte addr[], int scope_id) { in init()
252 void init(byte addr[], NetworkInterface nif) in init()
389 Inet6Address(String hostName, byte addr[], int scope_id) { in Inet6Address()
395 Inet6Address(String hostName, byte addr[]) { in Inet6Address()
402 Inet6Address (String hostName, byte addr[], NetworkInterface nif) throws UnknownHostException { in Inet6Address()
407 Inet6Address (String hostName, byte addr[], String ifname) throws UnknownHostException { in Inet6Address()
432 public static Inet6Address getByAddress(String host, byte[] addr, in getByAddress()
465 public static Inet6Address getByAddress(String host, byte[] addr, in getByAddress()
482 private void initstr(String hostName, byte addr[], String ifname) in initstr()
[all …]
DInet6AddressImpl.java146 public String getHostByAddr(byte[] addr) throws UnknownHostException { in getHostByAddr()
158 …public boolean isReachable(InetAddress addr, int timeout, NetworkInterface netif, int ttl) throws … in isReachable()
194 private boolean tcpEcho(InetAddress addr, int timeout, InetAddress sourceAddr, int ttl) in tcpEcho()
218 protected boolean icmpEcho(InetAddress addr, int timeout, InetAddress sourceAddr, int ttl) in icmpEcho()
309 private String getHostByAddr0(byte[] addr) throws UnknownHostException { in getHostByAddr0()
DInetAddressImpl.java46 String getHostByAddr(byte[] addr) throws UnknownHostException; in getHostByAddr()
66 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()
193 public InetSocketAddress(InetAddress addr, int port) { in InetSocketAddress()
228 InetAddress addr = null; in InetSocketAddress() local
DAuthenticator.java161 InetAddress addr, in requestPasswordAuthentication()
223 InetAddress addr, in requestPasswordAuthentication()
288 InetAddress addr, in requestPasswordAuthentication()
DInetAddress.java565 private static String getHostFromNameService(InetAddress addr) { in getHostFromNameService()
684 public static InetAddress getByAddress(String host, byte[] addr) throws UnknownHostException { in getByAddress()
689 private static InetAddress getByAddress(String host, byte[] addr, int scopeId) in getByAddress()
821 public static InetAddress getByAddress(byte[] addr) in getByAddress()
DDatagramSocket.java391 public synchronized void bind(SocketAddress addr) throws SocketException { in bind()
419 void checkAddress (InetAddress addr, String op) { in checkAddress()
509 public void connect(SocketAddress addr) throws SocketException { in connect()
/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/luni/src/main/native/
Djava_util_regex_Matcher.cpp167 static jint Matcher_findImpl(JNIEnv* env, jclass, jlong addr, jint startIndex, jintArray offsets) { in Matcher_findImpl()
176 static jint Matcher_findNextImpl(JNIEnv* env, jclass, jlong addr, jintArray offsets) { in Matcher_findNextImpl()
185 static jint Matcher_groupCountImpl(JNIEnv*, jclass, jlong addr) { in Matcher_groupCountImpl()
190 static jint Matcher_hitEndImpl(JNIEnv*, jclass, jlong addr) { in Matcher_hitEndImpl()
195 static jint Matcher_lookingAtImpl(JNIEnv* env, jclass, jlong addr, jintArray offsets) { in Matcher_lookingAtImpl()
204 static jint Matcher_matchesImpl(JNIEnv* env, jclass, jlong addr, jintArray offsets) { in Matcher_matchesImpl()
224 static jint Matcher_requireEndImpl(JNIEnv*, jclass, jlong addr) { in Matcher_requireEndImpl()
229 static void Matcher_setInputImpl(JNIEnv* env, jclass, jlong addr, jstring javaText, jint start, jin… in Matcher_setInputImpl()
236 static void Matcher_useAnchoringBoundsImpl(JNIEnv*, jclass, jlong addr, jboolean value) { in Matcher_useAnchoringBoundsImpl()
241 static void Matcher_useTransparentBoundsImpl(JNIEnv*, jclass, jlong addr, jboolean value) { in Matcher_useTransparentBoundsImpl()
/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.java375 long addr = zsRef.address(); in end() local
412 private native static void setDictionary(long addr, byte[] b, int off, in setDictionary()
414 private native int inflateBytes(long addr, byte[] b, int off, int len) in inflateBytes()
416 private native static int getAdler(long addr); in getAdler()
417 private native static void reset(long addr); in reset()
418 private native static void end(long addr); in end()
DDeflater.java544 long addr = zsRef.address(); in end() local
573 private native static void setDictionary(long addr, byte[] b, int off, int len); in setDictionary()
574 private native int deflateBytes(long addr, byte[] b, int off, int len, in deflateBytes()
576 private native static int getAdler(long addr); in getAdler()
577 private native static void reset(long addr); in reset()
578 private native static void end(long addr); in end()
/libcore/ojluni/src/main/native/
Djava_util_zip_Inflater.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()
Djava_util_zip_Deflater.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()
Dnet_util.c132 jobject holder, addr; in getInet6Address_ipaddress() local
146 jbyteArray addr; in setInet6Address_ipaddress() local
344 in_cksum(unsigned short *addr, int len) { in in_cksum()
/libcore/ojluni/src/main/java/java/util/regex/
DMatcher.java1184 private static native boolean findImpl(long addr, int startIndex, int[] offsets); in findImpl()
1185 private static native boolean findNextImpl(long addr, int[] offsets); in findNextImpl()
1187 private static native int groupCountImpl(long addr); in groupCountImpl()
1188 private static native boolean hitEndImpl(long addr); in hitEndImpl()
1189 private static native boolean lookingAtImpl(long addr, int[] offsets); in lookingAtImpl()
1190 private static native boolean matchesImpl(long addr, int[] offsets); in matchesImpl()
1193 private static native boolean requireEndImpl(long addr); in requireEndImpl()
1194 private static native void setInputImpl(long addr, String s, int start, int end); in setInputImpl()
1195 private static native void useAnchoringBoundsImpl(long addr, boolean value); in useAnchoringBoundsImpl()
1196 private static native void useTransparentBoundsImpl(long addr, boolean value); in useTransparentBoundsImpl()
/libcore/ojluni/src/main/java/sun/net/spi/nameservice/
DNameService.java32 public String getHostByAddr(byte[] addr) throws UnknownHostException; in getHostByAddr()
/libcore/ojluni/src/main/java/sun/net/util/
DIPAddressUtil.java272 public static byte[] convertFromIPv4MappedAddress(byte[] addr) { in convertFromIPv4MappedAddress()
288 private static boolean isIPv4MappedAddress(byte[] addr) { in isIPv4MappedAddress()
/libcore/luni/src/test/java/libcore/java/net/
DOldAuthenticatorTest.java29 InetAddress addr = InetAddress.getLocalHost(); in test_setDefault() local

123