Searched refs:ni (Results 1 – 6 of 6) sorted by relevance
270 for (NetworkInterface ni : nis) { in getByName()271 if (ni.getName().equals(name)) { in getByName()272 return ni; in getByName()294 for (NetworkInterface ni : nis) { in getByIndex()295 if (ni.getIndex() == index) { in getByIndex()296 return ni; in getByIndex()333 for (NetworkInterface ni : nis) { in getByInetAddress()334 for (InetAddress inetAddress : Collections.list(ni.getInetAddresses())) { in getByInetAddress()336 return ni; in getByInetAddress()400 NetworkInterface ni = new NetworkInterface(name, index, null); in getAll() local[all …]
519 NetworkInterface ni = NetworkInterface.getByInetAddress(ia); in getInterface() local520 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()
216 Collections.list(nifs).forEach(ni -> actualNiNames.add(ni.getName())); in testGetNetworkInterfaces()
306 NetworkInterface ni = NetworkInterface.getByInetAddress(ia); in getOption() local307 if (ni == null) in getOption()309 return (T) ni; in getOption()315 NetworkInterface ni = NetworkInterface.getByIndex(index); in getOption()316 if (ni == null) in getOption()318 return (T) ni; in getOption()
728 for (NetworkInterface ni : nis) { in test_if_nametoindex_if_indextoname()729 int index = ni.getIndex(); in test_if_nametoindex_if_indextoname()730 String name = ni.getName(); in test_if_nametoindex_if_indextoname()