Searched refs:hints (Results 1 – 10 of 10) sorted by relevance
/libcore/luni/src/main/java/libcore/net/ |
D | InetAddressUtils.java | 82 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/ |
D | Portability.h | 29 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()
|
D | libcore_io_Linux.cpp | 1323 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/ |
D | Inet6AddressImpl.java | 128 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/ |
D | net_util_md.h | 95 const struct addrinfo *hints, struct addrinfo **res);
|
/libcore/luni/src/main/java/libcore/io/ |
D | BlockGuardOs.java | 194 …@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()
|
D | ForwardingOs.java | 73 …ddrinfo(String node, StructAddrinfo hints, int netId) throws GaiException { return os.android_geta… in android_getaddrinfo() argument
|
D | Os.java | 52 …public InetAddress[] android_getaddrinfo(String node, StructAddrinfo hints, int netId) throws GaiE… in android_getaddrinfo() argument
|
D | Linux.java | 52 …public native InetAddress[] android_getaddrinfo(String node, StructAddrinfo hints, int netId) thro… in android_getaddrinfo() argument
|
/libcore/luni/src/main/java/android/system/ |
D | Os.java | 61 …nfo(String node, StructAddrinfo hints, int netId) throws GaiException { return Libcore.os.android_… in android_getaddrinfo() argument
|