Home
last modified time | relevance | path

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

/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.cpp1248 addrinfo hints; in Linux_android_getaddrinfo() local
1249 memset(&hints, 0, sizeof(hints)); in Linux_android_getaddrinfo()
1250 hints.ai_flags = env->GetIntField(javaHints, flagsFid); in Linux_android_getaddrinfo()
1251 hints.ai_family = env->GetIntField(javaHints, familyFid); in Linux_android_getaddrinfo()
1252 hints.ai_socktype = env->GetIntField(javaHints, socktypeFid); in Linux_android_getaddrinfo()
1253 hints.ai_protocol = env->GetIntField(javaHints, protocolFid); in Linux_android_getaddrinfo()
1257 int rc = android_getaddrinfofornet(node.c_str(), NULL, &hints, netId, 0, &addressList); in Linux_android_getaddrinfo()
/libcore/ojluni/src/main/java/java/net/
DInet6AddressImpl.java115 StructAddrinfo hints = new StructAddrinfo(); in lookupHostByName() local
116 hints.ai_flags = AI_ADDRCONFIG; in lookupHostByName()
117 hints.ai_family = AF_UNSPEC; in lookupHostByName()
121 hints.ai_socktype = SOCK_STREAM; in lookupHostByName()
122 InetAddress[] addresses = Libcore.os.android_getaddrinfo(host, hints, netId); in lookupHostByName()
DInetAddress.java932 StructAddrinfo hints = new StructAddrinfo(); in parseNumericAddressNoThrow() local
933 hints.ai_flags = AI_NUMERICHOST; in parseNumericAddressNoThrow()
936 addresses = Libcore.os.android_getaddrinfo(address, hints, NETID_UNSET); in parseNumericAddressNoThrow()
/libcore/ojluni/src/main/native/
Dnet_util_md.h90 const struct addrinfo *hints, struct addrinfo **res);
/libcore/luni/src/main/java/libcore/io/
DForwardingOs.java59 …ddrinfo(String node, StructAddrinfo hints, int netId) throws GaiException { return os.android_geta… in android_getaddrinfo() argument
DOs.java50 …public InetAddress[] android_getaddrinfo(String node, StructAddrinfo hints, int netId) throws GaiE… in android_getaddrinfo() argument
DLinux.java53 …public native InetAddress[] android_getaddrinfo(String node, StructAddrinfo hints, int netId) thro… in android_getaddrinfo() argument
/libcore/luni/src/main/java/android/system/
DOs.java56 …nfo(String node, StructAddrinfo hints, int netId) throws GaiException { return Libcore.os.android_… in android_getaddrinfo() argument