Searched defs:hints (Results 1 - 4 of 4) sorted by relevance

/libcore/luni/src/main/java/libcore/io/
H A DForwardingOs.java55 public InetAddress[] getaddrinfo(String node, StructAddrinfo hints) throws GaiException { return os.getaddrinfo(node, hints); } argument
H A DOs.java46 public InetAddress[] getaddrinfo(String node, StructAddrinfo hints) throws GaiException; argument
H A DPosix.java49 public native InetAddress[] getaddrinfo(String node, StructAddrinfo hints) throws GaiException; argument
/libcore/luni/src/main/native/
H A Dlibcore_io_Posix.cpp548 addrinfo hints; local
549 memset(&hints, 0, sizeof(hints));
550 hints.ai_flags = env->GetIntField(javaHints, flagsFid);
551 hints.ai_family = env->GetIntField(javaHints, familyFid);
552 hints.ai_socktype = env->GetIntField(javaHints, socktypeFid);
553 hints.ai_protocol = env->GetIntField(javaHints, protocolFid);
556 int rc = getaddrinfo(node.c_str(), NULL, &hints, &addressList);

Completed in 41 milliseconds