Searched refs:ni (Results 1 - 25 of 65) sorted by relevance

123

/openjdk10/hotspot/src/cpu/arm/vm/
H A DrelocInfo_arm.cpp35 NativeMovConstReg* ni = nativeMovConstReg_at(addr()); local
37 if (ni->is_movz()) {
40 uintptr_t d = ni->data();
46 ni->set_data((intptr_t)x);
52 guarantee(ni->data() == (intptr_t)(x + o), "instructions must match");
54 ni->set_data((intptr_t)(x + o));
68 RawNativeInstruction* ni = rawNativeInstruction_at(pc); local
71 if (NOT_AARCH64(ni->is_add_lr()) AARCH64_ONLY(ni->is_adr_aligned_lr())) {
74 pc = ni
97 NativeInstruction* ni = nativeInstruction_at(pc); local
141 NativeMovConstReg* ni = nativeMovConstReg_at(addr()); local
153 NativeMovConstReg* ni = nativeMovConstReg_at(addr()); local
[all...]
H A DnativeInst_arm_64.cpp83 RawNativeInstruction* ni = next_raw(); local
84 assert(ni->is_movk(), "movz;movk expected");
88 while (ni->is_movk() && i < 3) {
89 uint hi16 = (ni->encoding() >> 5) & 0xffff;
90 int shift = ((ni->encoding() >> 21) & 0x3) << 4;
92 ni = ni->next_raw();
118 RawNativeInstruction* ni = si->next_raw(); local
124 assert(ni->is_movk(), "movk expected");
125 assert((((ni
[all...]
H A DnativeInst_arm_64.hpp699 static RawNativeInstruction *adjust(const RawNativeInstruction *ni) { argument
702 if (ni->is_nop()) {
703 return ni->next_raw();
706 return (RawNativeInstruction *)ni;
726 NativeMovConstReg *ni = adjust(); local
727 int dest_adj = ni->instruction_address() - instruction_address();
728 ni->_set_pc_relative_offset(addr, pc + dest_adj);
735 RawNativeInstruction* ni = next_raw(); local
736 assert(ni->is_movk(), "movz;movk expected");
737 return ni
750 RawNativeInstruction* ni = rawNativeInstruction_at(address); local
[all...]
/openjdk10/jdk/src/java.base/macosx/classes/java/net/
H A DDefaultInterface.java79 NetworkInterface ni = nifs.nextElement();
81 if (!ni.isUp() || !ni.supportsMulticast())
85 Enumeration<InetAddress> addrs = ni.getInetAddresses();
97 boolean isLoopback = ni.isLoopback();
98 boolean isPPP = ni.isPointToPoint();
103 preferred = ni;
105 return ni;
109 ppp = ni;
111 loopback = ni;
[all...]
/openjdk10/jdk/test/java/net/NetworkInterface/
H A DNetworkInterfaceRetrievalTests.java41 NetworkInterface ni = en.nextElement();
42 Enumeration<InetAddress> addrs = ni.getInetAddresses();
44 + ni + " #############");
51 if (addrNetIf.equals(ni)) {
53 + " equal to owning net if " + ni);
56 + "NOT equal to owning net if " + ni
H A DNetworkInterfaceStreamTest.java55 .filter(ni -> isIncluded(ni));
64 enums.forEach(ni -> {
65 if (isIncluded(ni)) {
66 expected.add(ni);
77 for (NetworkInterface ni : Collections.list(NetworkInterface.getNetworkInterfaces())) {
78 getAllSubNetworkInterfaces(ni, anis);
83 private void getAllSubNetworkInterfaces(NetworkInterface ni, Collection<NetworkInterface> result) { argument
84 if (isIncluded(ni)) {
85 result.add(ni);
99 allSubNetworkInterfaces(NetworkInterface ni) argument
157 isIncluded(NetworkInterface ni) argument
[all...]
H A DGetMacAddress.java48 final NetworkInterface ni; field in class:GetMacAddress
51 public GetMacAddress(NetworkInterface ni, String name, Phaser phaser) { argument
52 this.ni = ni;
63 ni.getMTU();
64 byte[] addr = ni.getHardwareAddress();
82 static final Predicate<NetworkInterface> hasHardwareAddress = ni -> {
84 if (ni.getHardwareAddress() == null) {
85 System.out.println("Not testing null addr: " + ni.getName());
89 System.out.println("Not testing: " + ni
[all...]
H A DEquals.java52 NetworkInterface ni = nifs1.nextElement();
53 hashes.put(ni.getName(),ni.hashCode());
54 nicMap.put(ni.getName(),ni);
55 displayInterfaceInformation(ni, bufferedOut);
63 NetworkInterface ni = nifs2.nextElement();
66 String dName = ni.getDisplayName();
70 NetworkInterface niOrig = nicMap.get(ni.getName());
72 int h = ni
[all...]
H A DTest.java42 NetworkInterface ni = (NetworkInterface)nifs.nextElement();
45 String dName = ni.getDisplayName();
49 String name = ni.getName();
55 Enumeration addrs = ni.getInetAddresses();
69 if (!ni2.equals(ni)) {
72 if (!ni.equals(ni2)) {
76 if (ni2.hashCode() != ni.hashCode()) {
81 byte[] ba = ni.getHardwareAddress();
/openjdk10/hotspot/src/cpu/x86/vm/
H A DicBuffer_x86.cpp69 NativeInstruction* ni = nativeInstruction_at(jmp); local
70 if (ni->is_jump()) {
74 assert(ni->is_far_jump(), "unexpected instruction");
86 NativeInstruction* ni = nativeInstruction_at(jmp); local
87 if (ni->is_jump()) {
90 assert(ni->is_far_jump(), "unexpected instruction");
H A DrelocInfo_x86.cpp92 NativeInstruction* ni = nativeInstruction_at(addr()); local
93 if (ni->is_call()) {
95 } else if (ni->is_jump()) {
97 } else if (ni->is_cond_jump()) {
99 } else if (ni->is_mov_literal64()) {
100 return (address) ((NativeMovConstReg*)ni)->data();
109 NativeInstruction* ni = nativeInstruction_at(addr()); local
110 if (ni->is_call()) {
112 } else if (ni->is_jump()) {
125 } else if (ni
194 NativeInstruction* ni = nativeInstruction_at(addr()); local
[all...]
/openjdk10/jdk/test/java/net/MulticastSocket/
H A DTestInterfaces.java53 NetworkInterface ni = (NetworkInterface)nifs.nextElement();
56 String dName = ni.getDisplayName();
61 if (!ni.isUp() || !ni.supportsMulticast())
67 System.out.println("Testing network interface " + ni);
68 Enumeration addrs = ni.getInetAddresses();
85 System.err.println("NetworkInterface under test " + ni);
86 displayInterfaceInformation(ni);
100 ni.getName() + ")");
103 soc.setNetworkInterface(ni);
[all...]
H A DSetGetNetworkInterfaceTest.java100 private static void printNetIfDetails(NetworkInterface ni) argument
102 System.out.println("Name " + ni.getName() + " index " + ni.getIndex());
103 Enumeration<InetAddress> en = ni.getInetAddresses();
107 System.out.println("HardwareAddress: " + createMacAddrString(ni));
108 System.out.println("loopback: " + ni.isLoopback() + "; pointToPoint: "
109 + ni.isPointToPoint() + "; virtual: " + ni.isVirtual()
110 + "; MTU: " + ni.getMTU());
H A DMulticastAddresses.java39 NetworkInterface ni = null;
58 if (!addr.isLoopbackAddress() && ni == null) {
59 ni = this_ni;
103 s.joinGroup(new InetSocketAddress(ia,0), ni);
104 s.leaveGroup(new InetSocketAddress(ia,0), ni);
/openjdk10/jdk/test/sun/net/sdp/
H A DProbeIB.java41 NetworkInterface ni = NetworkInterface.getByName(link);
42 if (ni != null) {
43 Enumeration<InetAddress> addrs = ni.getInetAddresses();
/openjdk10/jdk/test/java/io/Serializable/replaceStringArray/
H A DReplaceStringArray.java83 for (int ni = array.length; ni < 2* array.length; ni++)
84 newarray[ni] = array[ni - array.length];
117 for (int ni = array.length; ni < 2* array.length; ni++)
118 newarray[ni] = array[ni
[all...]
/openjdk10/jdk/src/java.base/share/classes/sun/text/normalizer/
H A DNorm2AllModes.java102 public Normalizer2WithImpl(NormalizerImpl ni) { argument
103 impl=ni;
176 public DecomposeNormalizer2(NormalizerImpl ni) { argument
177 super(ni);
201 public ComposeNormalizer2(NormalizerImpl ni, boolean fcc) { argument
202 super(ni);
238 private Norm2AllModes(NormalizerImpl ni) { argument
239 impl=ni;
240 comp=new ComposeNormalizer2(ni, false);
241 decomp=new DecomposeNormalizer2(ni);
[all...]
/openjdk10/jdk/src/jdk.management.agent/share/classes/sun/management/jmxremote/
H A DLocalRMIServerSocketFactory.java99 NetworkInterface ni = nis.nextElement();
100 Enumeration<InetAddress> addrs = ni.getInetAddresses();
/openjdk10/jdk/test/javax/management/remote/mandatory/connection/
H A DRMIConnectionIdTest.java64 NetworkInterface ni = NetworkInterface.getByInetAddress(clientInetAddr);
65 if (ni == null) {
/openjdk10/jdk/src/java.base/share/classes/com/sun/java/util/jar/pack/
H A DHistogram.java502 for (int ni = 0; ni < groups.length; ni++) {
503 newEntries += groups[ni];
508 for (int ni = 0; ni < groups.length; ni++) {
509 if (ok < groups[ni]) {
510 int[] newGroups = new int[ni+1];
511 System.arraycopy(groups, 0, newGroups, 0, ni
[all...]
/openjdk10/jaxp/src/java.xml/share/classes/com/sun/org/apache/xpath/internal/functions/
H A DFuncId.java124 DTMIterator ni = arg.iter();
126 int pos = ni.nextNode();
130 DTM ndtm = ni.getDTM(pos);
133 pos = ni.nextNode();
137 // ni.detach();
/openjdk10/jaxp/src/java.xml/share/classes/com/sun/org/apache/xpath/internal/jaxp/
H A DXPathResultImpl.java125 NodeIterator ni = resultObject.nodeset();
127 node = ni.nextNode();
172 NodeIterator ni = resultObject.nodeset();
174 return type.cast(ni.nextNode());
/openjdk10/jdk/test/com/sun/jdi/
H A DListenAddress.java95 NetworkInterface ni = (NetworkInterface)nifs.nextElement();
96 Enumeration addrs = ni.getInetAddresses();
/openjdk10/jdk/src/java.base/share/classes/java/net/
H A DMulticastSocket.java525 NetworkInterface ni = NetworkInterface.getByInetAddress(ia);
526 Enumeration<InetAddress> addrs = ni.getInetAddresses();
576 NetworkInterface ni
578 if ((ni.getIndex() == 0) || (ni.getIndex() == -1)) {
583 return ni;
/openjdk10/jdk/test/java/lang/reflect/Field/
H A DSet.java85 public final int ni; field in class:Test
96 ni = i;
107 Field f = this.getClass().getDeclaredField("ni");
109 if (ni != 7) {

Completed in 374 milliseconds

123