Searched refs:d2 (Results 1 - 25 of 83) sorted by relevance

1234

/openjdk7/hotspot/test/compiler/6796786/
H A DTest6796786.java35 static volatile float d2; field in class:Test6796786
40 if (Float.floatToRawIntBits(- (d1 - d2)) == Float.floatToRawIntBits(-0.0f)) {
/openjdk7/jdk/test/java/io/File/
H A DSetLastModified.java60 File d2 = new File(d, "x.SetLastModified.dir");
61 File f = new File(d2, "x.SetLastModified");
68 if (d2.exists()) d2.delete();
69 if (!d2.mkdir()) {
70 throw new Exception("Can't create test directory " + d2);
75 d2.setLastModified(-nt);
82 ot = d2.lastModified();
84 if (d2.setLastModified(nt)) {
85 ck(d2, n
[all...]
/openjdk7/jdk/test/java/text/Format/DateFormat/
H A DBug6645292.java52 Date d2 = null;
54 d2 = df.parse(s);
58 if (!d1.equals(d2)) {
59 throw new RuntimeException("d1 (" + d1 + ") != d2 (" + d2 + ")");
/openjdk7/hotspot/test/compiler/6769124/
H A DTestUnalignedLoad6769124.java42 double d2 = d2v;
61 if (d2 != d2v) {
62 System.out.println(d2 + " != " + d2v);
/openjdk7/hotspot/test/compiler/6756768/
H A DTest6756768_2.java39 static Object d2 = null; field in class:Test6756768_2
/openjdk7/langtools/src/share/classes/com/sun/mirror/util/
H A DSourceOrderDeclScanner.java61 static boolean equals(Declaration d1, Declaration d2) { argument
62 return d1 == d2 || (d1 != null && d1.equals(d2));
103 private int compareEqualPosition(Declaration d1, Declaration d2) { argument
105 (d1.getPosition() == d2.getPosition()) || // Handles two null positions.
106 (d1.getPosition().file().compareTo(d2.getPosition().file()) == 0 &&
107 d1.getPosition().line() == d2.getPosition().line() &&
108 d1.getPosition().column() == d2.getPosition().column());
114 d2.accept(dpo2);
120 int result = d1.getSimpleName().compareTo(d2
128 compare(Declaration d1, Declaration d2) argument
[all...]
/openjdk7/jdk/test/sun/security/pkcs11/MessageDigest/
H A DReinitDigest.java56 byte[] d2 = md.digest(data1);
57 check(d1, d2);
68 private static void check(byte[] d1, byte[] d2) throws Exception { argument
69 if (Arrays.equals(d1, d2) == false) {
H A DByteBuffers.java64 byte[] d2 = digest(md, b2, random);
65 if (Arrays.equals(d1, d2) == false) {
74 if (Arrays.equals(d1, d2) == false) {
82 if (Arrays.equals(d1, d2) == false) {
/openjdk7/jdk/test/sun/security/x509/X509CRLImpl/
H A DOrderAndDup.java83 DerValue[] d2 = new DerInputStream(
86 if (d2.length != expected.length) {
87 throw new Exception("Wrong count in raw data, now " + d2.length);
89 for (int i=0; i<d2.length; i++) {
91 BigInteger bi = d2[i].data.getBigInteger();
/openjdk7/corba/src/share/classes/com/sun/tools/corba/se/idl/
H A DValueRepositoryId.java127 int d2 = value & 0x0F;
129 "0123456789ABCDEF".substring (d2, d2 + 1);
/openjdk7/jdk/test/sun/security/krb5/auto/
H A DSpnegoReqFlags.java71 DerValue d2 = d.data.getDerValue();
72 if (d2.isContextSpecific((byte)1)) {
75 BitArray ba = d2.data.getUnalignedBitString();
/openjdk7/jdk/test/java/io/charStreams/
H A DBufferedReaderMark.java36 static String d2(int n) { method in class:BufferedReaderMark
100 log.print(d2(off) + ", " + d2(ra) + " mark: ");
118 log.print(d2(off) + ", " + d2(ra) + " reset: ");
/openjdk7/jdk/test/javax/sound/midi/Gervill/SoftLowFrequencyOscillator/
H A DTestProcessControlLogic.java93 for (int d2 = 0; d2 < 5000; d2 += 1000)
98 d2);
102 d2);
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/
H A DPAData.java156 DerValue d = null, d2 = null;
164 d2 = new DerValue(p.getValue());
168 if (d2 != null) {
169 while (d2.data.available() > 0) {
170 DerValue value = d2.data.getDerValue();
217 DerValue d = null, d2 = null;
231 d2 = new DerValue(p.getValue());
235 if (d2 != null) {
236 while (d2.data.available() > 0) {
237 DerValue value = d2
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/annotation/
H A DTypeModeler.java159 /* is d1 a subtype of d2 */
160 public static boolean isSubtype(TypeDeclaration d1, TypeDeclaration d2) { argument
161 if (d1.equals(d2))
168 if (superClassDecl.equals(d2))
173 if (superIntf.getDeclaration().equals(d2)) {
176 if (isSubtype(superIntf.getDeclaration(), d2)) {
178 } else if (superClassDecl != null && isSubtype(superClassDecl, d2)) {
/openjdk7/jdk/test/sun/java2d/cmm/ColorConvertOp/
H A DImageComparator.java57 int d2 = Math.abs(((c1&gMask)>>gShift) - ((c2&gMask)>>gShift));
59 if (d1 < d2) d1 = d2;
73 double d2 = Math.abs(g1 - g2);
75 if (d1 < d2) d1 = d2;
/openjdk7/jdk/test/javax/management/modelmbean/
H A DDescriptorSupportSerialTest.java86 Descriptor d2 = mmbi2.getDescriptor("getName", "operation");
87 if (!"bar".equals(d2.getFieldValue("foo")))
88 throw new Exception("TEST FAILED: bad descriptor: " + d2);
/openjdk7/jdk/test/demo/jvmti/hprof/
H A DUseAllBytecodes.java43 public double d1, d2; field in class:UseAllBytecodes
95 d2 = 1.2e234; /* This puts a CONSTANT_Double into the CP */
139 d2 = p2;
140 return d2 + 1.0e234;
/openjdk7/jdk/test/com/sun/crypto/provider/Cipher/CTR/
H A DCounterMode.java46 int d2 = -1;
52 d2 = Character.digit(ch, 16);
53 if (d2 != -1) {
54 t[n++] = (byte)((d1 << 4) | d2);
56 d2 = -1;
133 toByteArray("79:62:2c:42:59:8e:9a:1a:e3:da:3d:7c:88:4f:0a:d2:eb:1a:e2:27:b0:d7:16:f6:6d:8d:50:fe:8b:9f:87:a7:ba:83:65:48:5b:87:12:07:d0:3f:3d:f0:b2:c8:98:e9:bb:a0:ad:35:98:e8:4f:d8:ef:91:85:2c:55:c0:b0:b9"),
137 toByteArray("ac:92:83:dd:79:f3:c2:36:0c:da:06:bd:ed:69:ca:47:42:2e:68:11:5e:6b:63:56:3e:87:b0:be:98:17:42:7d:8b:4a:5b:be:af:0c:2b:f0:1c:1c:62:60:b9:2c:69:04:ca:c9:23:d2:08:9d:8d:57:7f:61:f7:e6:79:83:ae:89"),
/openjdk7/jdk/test/java/lang/reflect/Proxy/
H A DBoxing.java111 double d2 = ((Double) args[2]).doubleValue();
112 if (d2 != d) {
114 "wrong double, expected " + d + " but got " + d2);
/openjdk7/jdk/test/javax/security/auth/SubjectDomainCombiner/
H A DRegression.java73 ProtectionDomain d2 = new ProtectionDomain
95 ProtectionDomain currentDomains[] = { d1, d2, d3 };
101 domains1[0] == d1 || domains1[1] == d2 || domains1[2] == d3 ||
/openjdk7/jdk/src/share/classes/java/lang/
H A DDouble.java742 * {@code Double}, {@code d1} and {@code d2}, the
743 * value of {@code d1.equals(d2)} is {@code true} if and
747 * {@code d1.doubleValue() == d2.doubleValue()}
753 * <li>If {@code d1} and {@code d2} both represent
759 * {@code d2} represents {@code -0.0}, or vice versa,
958 * new Double(d1).compareTo(new Double(d2))
962 * @param d2 the second {@code double} to compare
964 * numerically equal to {@code d2}; a value less than
966 * {@code d2}; and a value greater than {@code 0}
968 * {@code d2}
971 compare(double d1, double d2) argument
[all...]
/openjdk7/jdk/test/java/beans/XMLEncoder/
H A DTest6921644.java46 Document d2 = new Document(o);
59 d2.setCategory(c);
63 a1.addDocument(d2);
66 c.addDocument(d2);
/openjdk7/jdk/test/java/lang/Runtime/exec/
H A DWinCommand.java58 StreamDrainer d2 = new StreamDrainer(p.getErrorStream());
60 d2.start();
63 d2.join();
66 this.err = d2.toString();
/openjdk7/langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/util/
H A DIndexBuilder.java72 public int compare(Doc d1, Doc d2) { argument
74 String doc2 = d2.name();
78 } else if (d1 instanceof ProgramElementDoc && d2 instanceof ProgramElementDoc) {
80 doc2 = (((ProgramElementDoc) d2).qualifiedName());

Completed in 79 milliseconds

1234