Home
last modified time | relevance | path

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

/libcore/luni/src/main/native/
DPortability.h82 const struct addrinfo *hints, unsigned /*netid*/, unsigned /*mark*/, struct addrinfo **res) { in android_getaddrinfofornet() argument
83 return getaddrinfo(hostname, servname, hints, res); in android_getaddrinfofornet()
Dlibcore_io_Posix.cpp672 addrinfo hints; in Posix_android_getaddrinfo() local
673 memset(&hints, 0, sizeof(hints)); in Posix_android_getaddrinfo()
674 hints.ai_flags = env->GetIntField(javaHints, flagsFid); in Posix_android_getaddrinfo()
675 hints.ai_family = env->GetIntField(javaHints, familyFid); in Posix_android_getaddrinfo()
676 hints.ai_socktype = env->GetIntField(javaHints, socktypeFid); in Posix_android_getaddrinfo()
677 hints.ai_protocol = env->GetIntField(javaHints, protocolFid); in Posix_android_getaddrinfo()
681 int rc = android_getaddrinfofornet(node.c_str(), NULL, &hints, netId, 0, &addressList); in Posix_android_getaddrinfo()
/libcore/luni/src/main/java/java/net/
DInetAddress.java281 StructAddrinfo hints = new StructAddrinfo(); in parseNumericAddressNoThrow() local
282 hints.ai_flags = AI_NUMERICHOST; in parseNumericAddressNoThrow()
285 addresses = Libcore.os.android_getaddrinfo(address, hints, NETID_UNSET); in parseNumericAddressNoThrow()
431 StructAddrinfo hints = new StructAddrinfo(); in lookupHostByName() local
432 hints.ai_flags = AI_ADDRCONFIG; in lookupHostByName()
433 hints.ai_family = AF_UNSPEC; in lookupHostByName()
437 hints.ai_socktype = SOCK_STREAM; in lookupHostByName()
438 InetAddress[] addresses = Libcore.os.android_getaddrinfo(host, hints, netId); in lookupHostByName()
/libcore/luni/src/main/java/libcore/io/
DForwardingOs.java55 …ddrinfo(String node, StructAddrinfo hints, int netId) throws GaiException { return os.android_geta… in android_getaddrinfo() argument
DOs.java46 …public InetAddress[] android_getaddrinfo(String node, StructAddrinfo hints, int netId) throws GaiE… in android_getaddrinfo() argument
DPosix.java49 …public native InetAddress[] android_getaddrinfo(String node, StructAddrinfo hints, int netId) thro… in android_getaddrinfo() argument
/libcore/luni/src/main/java/android/system/
DOs.java50 …nfo(String node, StructAddrinfo hints, int netId) throws GaiException { return Libcore.os.android_… in android_getaddrinfo() argument