Searched refs:ni (Results 1 – 6 of 6) sorted by relevance
290 for (NetworkInterface ni : nis) { in getByName()291 if (ni.getName().equals(name)) { in getByName()292 return ni; in getByName()315 for (NetworkInterface ni : nis) { in getByIndex()316 if (ni.getIndex() == index) { in getByIndex()317 return ni; in getByIndex()355 for (NetworkInterface ni : nis) { in getByInetAddress()356 for (InetAddress inetAddress : Collections.list(ni.getInetAddresses())) { in getByInetAddress()358 return ni; in getByInetAddress()426 NetworkInterface ni = new NetworkInterface(name, index, null); in getAll() local[all …]
521 NetworkInterface ni = NetworkInterface.getByInetAddress(ia); in getInterface() local522 Enumeration<InetAddress> addrs = ni.getInetAddresses(); in getInterface()
92 BigInt ni = n.getBigInt(); in nextProbablePrime() local94 if (ni.bitLength() <= 10) { in nextProbablePrime()95 int l = (int)ni.longInt(); in nextProbablePrime()102 BigInt startPoint = ni.copy(); in nextProbablePrime()106 startPoint.addPositiveInt(BigInt.remainderByPositiveInt(ni, 2) + 1); in nextProbablePrime()
226 Collections.list(nifs).forEach(ni -> actualNiNames.add(ni.getName())); in testGetNetworkInterfaces()
290 NetworkInterface ni = NetworkInterface.getByInetAddress(ia); in getOption() local291 if (ni == null) in getOption()293 return (T) ni; in getOption()299 NetworkInterface ni = NetworkInterface.getByIndex(index); in getOption()300 if (ni == null) in getOption()302 return (T) ni; in getOption()
1109 for (NetworkInterface ni : nis) { in test_if_nametoindex_if_indextoname()1110 int index = ni.getIndex(); in test_if_nametoindex_if_indextoname()1111 String name = ni.getName(); in test_if_nametoindex_if_indextoname()