Home
last modified time | relevance | path

Searched defs:addr (Results 1 – 25 of 56) 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.java60 protected void bind(int port, InetAddress addr) throws SocketException { in bind()
89 protected void join(InetAddress addr) throws IOException { in join()
94 protected void joinGroup(SocketAddress addr, NetworkInterface netInterface) in joinGroup()
100 protected void leave(InetAddress addr) throws IOException { in leave()
105 protected void leaveGroup(SocketAddress addr, NetworkInterface netInterface) in leaveGroup()
DInetAddressTest.java274 InetAddress addr = InetAddress.getByAddress(addressStr, ipAddress); in test_getByAddressLjava_lang_String$B() local
285 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.java223 Inet6Address(String hostName, byte addr[], int scope_id) { in Inet6Address()
236 Inet6Address(String hostName, byte addr[]) { in Inet6Address()
242 Inet6Address (String hostName, byte addr[], NetworkInterface nif) throws UnknownHostException { in Inet6Address()
246 Inet6Address (String hostName, byte addr[], String ifname) throws UnknownHostException { in Inet6Address()
269 public static Inet6Address getByAddress(String host, byte[] addr, NetworkInterface nif) in getByAddress()
300 public static Inet6Address getByAddress(String host, byte[] addr, int scope_id) in getByAddress()
315 private void initstr (String hostName, byte addr[], String ifname) throws UnknownHostException { in initstr()
327 …private void initif(String hostName, byte addr[],NetworkInterface nif) throws UnknownHostException… in initif()
360 InetAddress addr = addresses.nextElement(); in deriveNumericScope() local
388 InetAddress addr = (InetAddress)addresses.nextElement(); in deriveNumericScope() local
DInet6AddressImpl.java130 public String getHostByAddr(byte[] addr) throws UnknownHostException { in getHostByAddr()
142 …public boolean isReachable(InetAddress addr, int timeout, NetworkInterface netif, int ttl) throws … in isReachable()
218 private native String getHostByAddr0(byte[] addr) throws UnknownHostException; in getHostByAddr0()
219 …private native boolean isReachable0(byte[] addr, int scope, int timeout, byte[] inf, int ttl, int … in isReachable0()
DInetAddressImpl.java46 String getHostByAddr(byte[] addr) throws UnknownHostException; in getHostByAddr()
66 boolean isReachable(InetAddress addr, int timeout, NetworkInterface netif, in isReachable()
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()
229 InetAddress addr = null; in InetSocketAddress() local
DAuthenticator.java161 InetAddress addr, in requestPasswordAuthentication()
223 InetAddress addr, in requestPasswordAuthentication()
288 InetAddress addr, in requestPasswordAuthentication()
DInetAddress.java530 private static String getHostFromNameService(InetAddress addr) { in getHostFromNameService()
649 public static InetAddress getByAddress(String host, byte[] addr) throws UnknownHostException { in getByAddress()
654 private static InetAddress getByAddress(String host, byte[] addr, int scopeId) in getByAddress()
786 public static InetAddress getByAddress(byte[] addr) in getByAddress()
DDatagramSocket.java370 public synchronized void bind(SocketAddress addr) throws SocketException { in bind()
398 void checkAddress (InetAddress addr, String op) { in checkAddress()
488 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.cpp133 static jint Matcher_findImpl(JNIEnv* env, jclass, jlong addr, jstring javaText, jint startIndex, ji… in Matcher_findImpl()
142 static jint Matcher_findNextImpl(JNIEnv* env, jclass, jlong addr, jstring javaText, jintArray offse… in Matcher_findNextImpl()
154 static jint Matcher_groupCountImpl(JNIEnv* env, jclass, jlong addr) { in Matcher_groupCountImpl()
159 static jint Matcher_hitEndImpl(JNIEnv* env, jclass, jlong addr) { in Matcher_hitEndImpl()
164 static jint Matcher_lookingAtImpl(JNIEnv* env, jclass, jlong addr, jstring javaText, jintArray offs… in Matcher_lookingAtImpl()
173 static jint Matcher_matchesImpl(JNIEnv* env, jclass, jlong addr, jstring javaText, jintArray offset… in Matcher_matchesImpl()
190 static jint Matcher_requireEndImpl(JNIEnv* env, jclass, jlong addr) { in Matcher_requireEndImpl()
195 static void Matcher_setInputImpl(JNIEnv* env, jclass, jlong addr, jstring javaText, jint start, jin… in Matcher_setInputImpl()
200 static void Matcher_useAnchoringBoundsImpl(JNIEnv* env, jclass, jlong addr, jboolean value) { in Matcher_useAnchoringBoundsImpl()
205 static void Matcher_useTransparentBoundsImpl(JNIEnv* env, jclass, jlong addr, jboolean value) { in Matcher_useTransparentBoundsImpl()
/libcore/ojluni/src/main/java/sun/nio/ch/
DNet.java135 InetAddress addr = isa.getAddress(); in checkAddress() local
205 static InetSocketAddress getRevealedLocalAddress(InetSocketAddress addr) { in getRevealedLocalAddress()
223 static String getRevealedLocalAddressAsString(InetSocketAddress addr) { in getRevealedLocalAddressAsString()
263 InetAddress addr = addrs.nextElement(); in anyInet4Address() local
/libcore/ojluni/src/main/java/java/util/zip/
DInflater.java373 long addr = zsRef.address(); in end() local
407 private native static void setDictionary(long addr, byte[] b, int off, in setDictionary()
409 private native int inflateBytes(long addr, byte[] b, int off, int len) in inflateBytes()
411 private native static int getAdler(long addr); in getAdler()
412 private native static void reset(long addr); in reset()
413 private native static void end(long addr); in end()
DDeflater.java528 long addr = zsRef.address(); in end() local
555 private native static void setDictionary(long addr, byte[] b, int off, int len); in setDictionary()
556 private native int deflateBytes(long addr, byte[] b, int off, int len, in deflateBytes()
558 private native static int getAdler(long addr); in getAdler()
559 private native static void reset(long addr); in reset()
560 private native static void end(long addr); in end()
/libcore/ojluni/src/main/native/
Djava_util_zip_Inflater.c87 Inflater_setDictionary(JNIEnv *env, jclass cls, jlong addr, in Inflater_setDictionary()
110 Inflater_inflateBytes(JNIEnv *env, jobject this, jlong addr, in Inflater_inflateBytes()
174 Inflater_getAdler(JNIEnv *env, jclass cls, jlong addr) in Inflater_getAdler()
180 Inflater_reset(JNIEnv *env, jclass cls, jlong addr) in Inflater_reset()
188 Inflater_end(JNIEnv *env, jclass cls, jlong addr) in Inflater_end()
Djava_util_zip_Deflater.c97 Deflater_setDictionary(JNIEnv *env, jclass cls, jlong addr, in Deflater_setDictionary()
120 Deflater_deflateBytes(JNIEnv *env, jobject this, jlong addr, in Deflater_deflateBytes()
215 Deflater_getAdler(JNIEnv *env, jclass cls, jlong addr) in Deflater_getAdler()
221 Deflater_reset(JNIEnv *env, jclass cls, jlong addr) in Deflater_reset()
229 Deflater_end(JNIEnv *env, jclass cls, jlong addr) in Deflater_end()
Dlinux_close.cpp152 int NET_Accept(int s, struct sockaddr *addr, int *addrlen) { in NET_Accept()
158 int NET_Connect(int s, struct sockaddr *addr, int addrlen) { in NET_Connect()
/libcore/ojluni/src/main/java/java/util/regex/
DMatcher.java1097 private static native boolean findImpl(long addr, String s, int startIndex, int[] offsets); in findImpl()
1098 private static native boolean findNextImpl(long addr, String s, int[] offsets); in findNextImpl()
1100 private static native int groupCountImpl(long addr); in groupCountImpl()
1101 private static native boolean hitEndImpl(long addr); in hitEndImpl()
1102 private static native boolean lookingAtImpl(long addr, String s, int[] offsets); in lookingAtImpl()
1103 private static native boolean matchesImpl(long addr, String s, int[] offsets); in matchesImpl()
1106 private static native boolean requireEndImpl(long addr); in requireEndImpl()
1107 private static native void setInputImpl(long addr, String s, int start, int end); in setInputImpl()
1108 private static native void useAnchoringBoundsImpl(long addr, boolean value); in useAnchoringBoundsImpl()
1109 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.java269 public static byte[] convertFromIPv4MappedAddress(byte[] addr) { in convertFromIPv4MappedAddress()
285 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
/libcore/ojluni/src/main/java/sun/net/www/protocol/http/
DHttpCallerInfo.java50 final public InetAddress addr; field in HttpCallerInfo

123