/openjdk10/jdk/test/java/security/SecureRandom/ |
H A D | SerializedSeedTest.java | 61 SecureRandom orig = getSRInstance(mech); 62 SecureRandom copy = deserializedCopy(orig); 65 check(orig, copy, false, mech); 69 orig = getSRInstance(mech); 70 orig.nextInt(); // Default seeded 71 copy = deserializedCopy(orig); 74 check(orig, copy, !isDRBG(mech), mech); 78 orig = getSRInstance(mech); 79 orig.setSeed(SEED); // Explicitly seeded 80 copy = deserializedCopy(orig); 151 check(SecureRandom orig, SecureRandom copy, boolean equal, String mech) argument 172 deserializedCopy(SecureRandom orig) argument [all...] |
/openjdk10/jdk/test/java/util/AbstractList/ |
H A D | FailFastIterator.java | 35 List orig = new ArrayList(100); 37 orig.add(new Integer(i)); 39 List copy = new ArrayList(orig); 49 if (!copy.equals(orig)) 61 if (!copy.equals(orig)) 72 if (!copy.equals(orig))
|
/openjdk10/jdk/src/java.naming/share/classes/javax/naming/directory/ |
H A D | AttributeModificationException.java | 128 String orig = super.toString(); 130 orig += ("First unexecuted modification: " + 133 return orig;
|
/openjdk10/hotspot/test/compiler/c2/ |
H A D | Test7174363.java | 43 Object[] orig = new Object[10]; 46 m(orig, 15, 20);
|
/openjdk10/corba/src/java.corba/share/classes/com/sun/jndi/cosnaming/ |
H A D | RemoteToCorba.java | 54 * @param orig The object to turn into a CORBA object. If not Remote, 59 * @return The CORBA object for {@code orig} or null. 65 public Object getStateToBind(Object orig, Name name, Context ctx, argument 67 if (orig instanceof org.omg.CORBA.Object) { 72 if (orig instanceof Remote) { 77 return CorbaUtils.remoteToCorba((Remote)orig, ((CNCtx)ctx)._orb);
|
/openjdk10/jdk/test/java/awt/Toolkit/Headless/AWTEventListener/ |
H A D | AWTListener.java | 47 AWTEventListener orig = new AWTEventListener() { 51 Sysout.println("Test: listener to add = " +orig); 52 toolkit.addAWTEventListener(orig, AWTEvent.CONTAINER_EVENT_MASK);
|
/openjdk10/hotspot/test/compiler/types/correctness/scenarios/ |
H A D | CheckCast.java | 70 public void check(Integer result, T orig) { argument 71 if (result != null || orig != null) { 73 Objects.requireNonNull(orig); 74 Asserts.assertEquals(result, orig.m(), "Results mismatch");
|
H A D | ReceiverAtInvokes.java | 71 public void check(Integer result, T orig) { argument 72 Asserts.assertEquals(result, orig.m(), "Results mismatch");
|
H A D | ClassIdentity.java | 72 public void check(Integer result, T orig) { argument 73 if (orig.getClass() == TypeHierarchy.A.class) { 74 Asserts.assertEquals(result, orig.m(),
|
H A D | ClassInstanceOf.java | 67 public void check(Integer result, T orig) { argument 68 if (orig instanceof TypeHierarchy.A) { 69 Asserts.assertEquals(result, orig.m(), "Results are not equal for TypeHierarchy.A");
|
H A D | ClassIsInstance.java | 70 public void check(Integer result, T orig) { argument 71 if (baseClass.isInstance(orig)) { 72 Asserts.assertEquals(result, orig.m(), "Results are not equal for base class");
|
H A D | ArrayScenario.java | 65 public void check(TypeHierarchy.I res, TypeHierarchy.I orig) { argument 66 Asserts.assertEquals(res, orig, "Check failed");
|
/openjdk10/jdk/test/java/lang/instrument/ |
H A D | VerifyLocalVariableTableOnRetransformTest.sh | 73 ${JAVA}p -v -classpath "${TESTCLASSES}" DummyClassWithLVT > orig.javap 75 diff orig.javap mismatched.javap
|
/openjdk10/jdk/test/sun/awt/image/ |
H A D | DrawByteBinary.java | 49 BufferedImage orig = new BufferedImage(w, h, TYPE_BYTE_BINARY, newCM); 50 Graphics2D g2d = orig.createGraphics(); 57 IndexColorModel origCM = (IndexColorModel)orig.getColorModel(); 60 g2d.drawImage(orig, 0, 0, null);
|
/openjdk10/corba/src/java.corba/share/classes/com/sun/corba/se/impl/presentation/rmi/ |
H A D | JNDIStateFactoryImpl.java | 91 * @param orig The object to turn into a CORBA object. If not Remote, 96 * @return The CORBA object for {@code orig} or null. 102 public Object getStateToBind(Object orig, Name name, Context ctx, argument 105 if (orig instanceof org.omg.CORBA.Object) 106 return orig ; 108 if (!(orig instanceof Remote)) 121 stub = PortableRemoteObject.toStub( (Remote)orig ) ;
|
/openjdk10/hotspot/test/testlibrary_tests/ |
H A D | RandomGeneratorTest.java | 89 protected boolean isOutputExpected(String orig, String output) { 90 return output.equals(orig); 100 public void verify(String orig, String[] cmdLine) { 102 super.verify(orig, cmdLine); 120 protected boolean isOutputExpected(String orig, String output) { argument 121 return !output.equals(orig); 128 * @param orig original output 132 public void verify(String orig, String[] cmdLine) { argument 146 if (!isOutputExpected(orig, output)) { 147 System.err.println("Initial output: " + orig); [all...] |
/openjdk10/jaxp/src/java.xml/share/classes/com/sun/org/apache/xerces/internal/dom/ |
H A D | DeferredElementImpl.java | 111 boolean orig = ownerDocument.mutationEvents; 129 ownerDocument.mutationEvents = orig;
|
H A D | DeferredElementDefinitionImpl.java | 102 boolean orig = ownerDocument.getMutationEvents(); 123 ownerDocument.setMutationEvents(orig);
|
/openjdk10/jdk/test/java/util/Base64/ |
H A D | TestBase64.java | 144 byte[] orig = new byte[j]; 145 rnd.nextBytes(orig); 148 byte[] encoded = enc.encode(orig); 151 checkEqual(orig, decoded, 159 String str = enc.encodeToString(orig); 165 checkEqual(buf, orig, "Base64 decoding(String) failed!"); 168 testEncode(enc, ByteBuffer.wrap(orig), encoded); 169 ByteBuffer bin = ByteBuffer.allocateDirect(orig.length); 170 bin.put(orig).flip(); 173 testDecode(dec, ByteBuffer.wrap(encoded), orig); [all...] |
/openjdk10/jdk/test/java/util/Vector/ |
H A D | SimpleSerialization.java | 69 private static String getFailureText(final Object orig, final Object copy) { argument 75 printObject(pw, orig).println();
|
/openjdk10/corba/src/java.corba/share/classes/com/sun/corba/se/impl/javax/rmi/CORBA/ |
H A D | Util.java | 188 Throwable orig = ((UnknownException)ex).originalEx; 189 if (orig instanceof Error) { 190 return new ServerError("Error occurred in server thread",(Error)orig); 191 } else if (orig instanceof RemoteException) { 193 (Exception)orig); 194 } else if (orig instanceof RuntimeException) { 195 throw (RuntimeException) orig; 655 * @param orig the exception to wrap. 658 public RemoteException wrapException(Throwable orig) argument 660 if (orig instanceo [all...] |
/openjdk10/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/util/ |
H A D | ListBuffer.java | 104 List<A> orig = elems; 106 elems = last = List.of(orig.head); 108 while ((orig = orig.tail).nonEmpty()) { 109 last.tail = List.of(orig.head);
|
/openjdk10/hotspot/src/share/vm/utilities/ |
H A D | bitMap.cpp | 443 bm_word_t orig = dest_map[limit]; 444 dest_map[limit] = merge_tail_of_map(orig | other_map[limit], orig, rest); 458 bm_word_t orig = dest_map[limit]; 459 dest_map[limit] = merge_tail_of_map(orig & ~other_map[limit], orig, rest); 473 bm_word_t orig = dest_map[limit]; 474 dest_map[limit] = merge_tail_of_map(orig & other_map[limit], orig, rest); 485 bm_word_t orig [all...] |
/openjdk10/jdk/test/sun/misc/ |
H A D | SunMiscSignalTest.java | 206 SignalHandler orig = null; 217 orig = Signal.handle(signal, h); 218 printf("oldHandler: %s%n", orig); 229 if (orig == SignalHandler.SIG_IGN) { 249 if (orig != null && signal != null) { 250 Signal.handle(signal, orig); 299 SignalHandler orig = null; 301 orig = Signal.handle(signal, SignalHandler.SIG_DFL); 302 printf("oldHandler: %s%n", orig); 303 if (orig [all...] |
/openjdk10/corba/src/java.corba/share/classes/com/sun/tools/corba/se/idl/toJavaPortable/ |
H A D | Arguments.java | 144 String orig = args[++i] ; 146 checkPackageNameValid( orig ) ; 148 if (orig.equals( "org" ) || orig.startsWith( "org.omg" )) 150 orig = orig.replace( '.', '/' ) ; 152 packageTranslation.put( orig, trans ) ;
|