Home
last modified time | relevance | path

Searched refs:hints (Results 1 – 10 of 10) sorted by relevance

/libcore/luni/src/main/java/libcore/net/
DInetAddressUtils.java82 StructAddrinfo hints = new StructAddrinfo(); in parseNumericAddressNoThrow() local
83 hints.ai_flags = AI_NUMERICHOST; in parseNumericAddressNoThrow()
86 addresses = Libcore.os.android_getaddrinfo(address, hints, NETID_UNSET); in parseNumericAddressNoThrow()
/libcore/luni/src/main/native/
DPortability.h29 const struct addrinfo* hints, unsigned /*netid*/, unsigned /*mark*/, struct addrinfo** res) { in android_getaddrinfofornet() argument
30 return getaddrinfo(hostname, servname, hints, res); in android_getaddrinfofornet()
Dlibcore_io_Linux.cpp1323 addrinfo hints; in Linux_android_getaddrinfo() local
1324 memset(&hints, 0, sizeof(hints)); in Linux_android_getaddrinfo()
1325 hints.ai_flags = env->GetIntField(javaHints, flagsFid); in Linux_android_getaddrinfo()
1326 hints.ai_family = env->GetIntField(javaHints, familyFid); in Linux_android_getaddrinfo()
1327 hints.ai_socktype = env->GetIntField(javaHints, socktypeFid); in Linux_android_getaddrinfo()
1328 hints.ai_protocol = env->GetIntField(javaHints, protocolFid); in Linux_android_getaddrinfo()
1332 int rc = android_getaddrinfofornet(node.c_str(), NULL, &hints, netId, 0, &addressList); in Linux_android_getaddrinfo()
/libcore/ojluni/src/main/java/java/net/
DInet6AddressImpl.java128 StructAddrinfo hints = new StructAddrinfo(); in lookupHostByName() local
129 hints.ai_flags = AI_ADDRCONFIG; in lookupHostByName()
130 hints.ai_family = AF_UNSPEC; in lookupHostByName()
134 hints.ai_socktype = SOCK_STREAM; in lookupHostByName()
135 InetAddress[] addresses = Libcore.os.android_getaddrinfo(host, hints, netId); in lookupHostByName()
/libcore/ojluni/src/main/native/
Dnet_util_md.h95 const struct addrinfo *hints, struct addrinfo **res);
/libcore/luni/src/main/java/libcore/io/
DBlockGuardOs.java194 …@Override public InetAddress[] android_getaddrinfo(String node, StructAddrinfo hints, int netId) t… in android_getaddrinfo() argument
198 boolean isNumericHost = (hints.ai_flags & AI_NUMERICHOST) != 0; in android_getaddrinfo()
202 return super.android_getaddrinfo(node, hints, netId); in android_getaddrinfo()
DForwardingOs.java73 …ddrinfo(String node, StructAddrinfo hints, int netId) throws GaiException { return os.android_geta… in android_getaddrinfo() argument
DOs.java52 …public InetAddress[] android_getaddrinfo(String node, StructAddrinfo hints, int netId) throws GaiE… in android_getaddrinfo() argument
DLinux.java52 …public native InetAddress[] android_getaddrinfo(String node, StructAddrinfo hints, int netId) thro… in android_getaddrinfo() argument
/libcore/luni/src/main/java/android/system/
DOs.java61 …nfo(String node, StructAddrinfo hints, int netId) throws GaiException { return Libcore.os.android_… in android_getaddrinfo() argument