Searched refs:v1 (Results 1 - 25 of 169) sorted by relevance

1234567

/openjdk10/nashorn/test/script/basic/
H A DJDK-8134490.js31 var v1; variable
35 v1 = 1;
37 (function () { var v1; })();
/openjdk10/langtools/test/tools/doclint/
H A DEmptyPreTest.java44 public static final int v1 = 1; field in class:EmptyPreTest
/openjdk10/test/fmw/gtest/include/gtest/
H A Dgtest_pred_impl.h46 // ASSERT_PRED_FORMAT1(pred_format, v1)
47 // ASSERT_PRED_FORMAT2(pred_format, v1, v2)
58 // ASSERT_PRED1(pred, v1)
59 // ASSERT_PRED2(pred, v1, v2)
63 // and the values v1, v2, ..., must support the << operator for
90 const T1& v1) {
91 if (pred(v1)) return AssertionSuccess();
95 << "\n" << e1 << " evaluates to " << v1;
100 #define GTEST_PRED_FORMAT1_(pred_format, v1, on_failure)\
101 GTEST_ASSERT_(pred_format(#v1, v
87 AssertPred1Helper(const char* pred_text, const char* e1, Pred pred, const T1& v1) argument
129 AssertPred2Helper(const char* pred_text, const char* e1, const char* e2, Pred pred, const T1& v1, const T2& v2) argument
178 AssertPred3Helper(const char* pred_text, const char* e1, const char* e2, const char* e3, Pred pred, const T1& v1, const T2& v2, const T3& v3) argument
234 AssertPred4Helper(const char* pred_text, const char* e1, const char* e2, const char* e3, const char* e4, Pred pred, const T1& v1, const T2& v2, const T3& v3, const T4& v4) argument
297 AssertPred5Helper(const char* pred_text, const char* e1, const char* e2, const char* e3, const char* e4, const char* e5, Pred pred, const T1& v1, const T2& v2, const T3& v3, const T4& v4, const T5& v5) argument
[all...]
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.loop/src/org/graalvm/compiler/loop/
H A DMathUtil.java36 private static boolean isConstantOne(ValueNode v1) { argument
37 return v1.isConstant() && v1.stamp() instanceof IntegerStamp && v1.asJavaConstant().asLong() == 1;
40 private static boolean isConstantZero(ValueNode v1) { argument
41 return v1.isConstant() && v1.stamp() instanceof IntegerStamp && v1.asJavaConstant().asLong() == 0;
44 public static ValueNode add(StructuredGraph graph, ValueNode v1, ValueNode v2) { argument
45 if (isConstantZero(v1)) {
54 mul(StructuredGraph graph, ValueNode v1, ValueNode v2) argument
64 sub(StructuredGraph graph, ValueNode v1, ValueNode v2) argument
[all...]
/openjdk10/langtools/test/tools/javap/
H A DBadAttributeLength.java83 int v1, v2;
84 v1 = cfile.readInt();
85 // System.out.println("Magic: " + String.format("%X", v1));
87 v1 = cfile.readUnsignedShort();
89 // System.out.println("Version: " + String.format("%d.%d", v1, v2));
91 v1 = cfile.readUnsignedShort();
92 // System.out.println("CPool size: " + v1);
94 for (; v1 > 1; v1--) {
129 v1
[all...]
/openjdk10/hotspot/test/compiler/c2/
H A DTest8000805.java56 { long v1 = loadB2L_mask8(ba);
58 if (v1 != v2)
59 throw new InternalError(String.format("loadB2L_mask8 failed: %x != %x", v1, v2)); }
66 { long v1 = loadS2LmaskFF(sa);
68 if (v1 != v2)
69 throw new InternalError(String.format("loadS2LmaskFF failed: %x != %x", v1, v2)); }
71 { long v1 = loadS2Lmask16(sa);
73 if (v1 != v2)
74 throw new InternalError(String.format("loadS2Lmask16 failed: %x != %x", v1, v2)); }
76 { long v1
[all...]
H A DTest8007294.java53 int v1 = obj.i1;
55 int v3 = m(v1);
72 int v1 = arr[j];
76 return v1;
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.jtt/src/org/graalvm/compiler/jtt/loop/
H A DLoopLastIndexOf.java34 private static final char[] v1 = new char[]{'a', 'b', 'c', 'd', 'a', 'b', 'c', 'd', 'a', 'b', 'c', 'd'}; field in class:LoopLastIndexOf
81 runTest("test", v1, 0, v1.length, v2, 0, v2.length, 10);
86 runTest("test", v1, 0, v1.length, v3, 0, v3.length, 10);
91 runTest("test", v1, 0, v1.length, v4, 0, v4.length, 10);
96 runTest("test", v1, 1, v1.length - 1, v3, 0, v3.length, 10);
102 runTest("test", v1,
[all...]
/openjdk10/jdk/test/java/lang/module/
H A DVersionTest.java94 Version v1 = Version.parse(vs);
96 assertEquals(v1, v2);
97 assertEquals(v2, v1);
98 assertEquals(v1.hashCode(), v2.hashCode());
101 assertNotEquals(v1, v3);
103 assertNotEquals(v3, v1);
131 Version v1 = Version.parse(vs1);
132 assertTrue(v1.compareTo(v1) == 0);
137 // v1 < v
[all...]
/openjdk10/hotspot/test/compiler/intrinsics/string/
H A DTestStringEqualsBadLength.java39 int v1; field in class:TestStringEqualsBadLength
43 int l = v2 - v1; // 0 - (-1) = 1. On 64 bit: 0xffffffff00000001
55 int l = v2 - v1;
65 int l = v2 - v1; // 0 - (-1) = 1. On 64 bit: 0xffffffff00000001
73 tse.v1 = -1;
/openjdk10/jdk/test/java/util/concurrent/tck/
H A DEntryTest.java49 static final String v1 = "a"; field in class:EntryTest
57 Map.Entry e = new AbstractMap.SimpleEntry(k1, v1);
59 assertEquals(v1, e.getValue());
66 Map.Entry s = new AbstractMap.SimpleImmutableEntry(k1, v1);
68 assertEquals(v1, s.getValue());
75 Map.Entry e2 = new AbstractMap.SimpleEntry(k1, v1);
78 assertEquals(v1, e.getValue());
85 Map.Entry s2 = new AbstractMap.SimpleImmutableEntry(k1, v1);
88 assertEquals(v1, s.getValue());
96 Map.Entry e2 = new AbstractMap.SimpleEntry(k1, v1);
[all...]
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.jtt/src/org/graalvm/compiler/jtt/optimize/
H A DCmov02.java33 public static int test(double a, double b, int v1, int v2) { argument
34 return a < b ? v1 : v2;
/openjdk10/hotspot/test/compiler/stable/
H A DTestStableUShort.java89 short v1 = -1, v2 = 1;
91 c.v = v1; int r1 = get();
94 assertEquals(r1, v1 & 0xFFFF);
95 assertEquals(r2, (isStableEnabled ? v1 : v2) & 0xFFFF);
110 short v1 = -1, v2 = 1;
113 c.v[0] = v1; int r1 = get1();
116 assertEquals(r1, v1 & 0xFFFF);
117 assertEquals(r2, (isStableEnabled ? v1 : v2) & 0xFFFF);
H A DTestStableUByte.java89 byte v1 = -1, v2 = 1;
91 c.v = v1; int r1 = get();
94 assertEquals(r1, v1 & 0xFF);
95 assertEquals(r2, (isStableEnabled ? v1 : v2) & 0xFF);
110 byte v1 = -1, v2 = 1;
113 c.v[0] = v1; int r1 = get1();
116 assertEquals(r1, v1 & 0xFF);
117 assertEquals(r2, (isStableEnabled ? v1 : v2) & 0xFF);
/openjdk10/jdk/test/java/util/Vector/
H A DSimpleSerialization.java46 final Vector<String> v1 = new Vector<>();
48 v1.add("entry1");
49 v1.add("entry2");
54 oos.writeObject(v1);
64 if (false == v1.equals(deserializedObject)) {
65 throw new RuntimeException(getFailureText(v1, deserializedObject));
/openjdk10/jdk/test/java/util/jar/Attributes/
H A DIterationOrder.java36 Attributes.Name k1, String v1,
40 x.put(k1, v1);
48 && entries[1].getValue() == v1
68 String v1 = "com.google.Hello";
70 checkOrder(k0, v0, k1, v1, k2, v2);
71 checkOrder(k1, v1, k0, v0, k2, v2);
72 checkOrder(k2, v2, k1, v1, k0, v0);
35 checkOrder(Attributes.Name k0, String v0, Attributes.Name k1, String v1, Attributes.Name k2, String v2) argument
/openjdk10/jdk/test/sun/rmi/rmic/newrmic/equivalence/
H A Dbatch.sh41 refv11dir=./ref-v1.1-output
43 refv12dir=./ref-v1.2-output
45 newv11dir=./new-v1.1-output
47 newv12dir=./new-v1.2-output
49 v11diffs=./diffs-v1.1
51 v12diffs=./diffs-v1.2
64 ${TESTJAVA}/bin/rmic -keep -nowrite -v1.1 -d $refv11dir -classpath "$@"
66 ${TESTJAVA}/bin/rmic -keep -nowrite -v1.2 -d $refv12dir -classpath "$@"
68 ${TESTJAVA}/bin/rmic -Xnew -keep -nowrite -v1.1 -d $newv11dir -classpath "$@"
70 ${TESTJAVA}/bin/rmic -Xnew -keep -nowrite -v1
[all...]
/openjdk10/jdk/src/java.management/share/classes/javax/management/
H A DQuery.java158 * @param v1 A value expression.
168 public static QueryExp gt(ValueExp v1, ValueExp v2) { argument
169 return new BinaryRelQueryExp(GT, v1, v2);
176 * @param v1 A value expression.
186 public static QueryExp geq(ValueExp v1, ValueExp v2) { argument
187 return new BinaryRelQueryExp(GE, v1, v2);
194 * @param v1 A value expression.
204 public static QueryExp leq(ValueExp v1, ValueExp v2) { argument
205 return new BinaryRelQueryExp(LE, v1, v2);
212 * @param v1
222 lt(ValueExp v1, ValueExp v2) argument
240 eq(ValueExp v1, ValueExp v2) argument
258 between(ValueExp v1, ValueExp v2, ValueExp v3) argument
[all...]
/openjdk10/langtools/test/tools/javac/TryWithResources/
H A DTwrAndLambda.java13 AutoCloseable v1 = () -> {};
25 try (v1) {
40 i.m(v1);
H A DTwrForVariable3.java8 TwrForVariable3 v1 = new TwrForVariable3();
/openjdk10/hotspot/src/share/vm/opto/
H A Dmathexactnode.hpp53 virtual bool will_overflow(jint v1, jint v2) const = 0;
66 virtual bool will_overflow(jlong v1, jlong v2) const = 0;
77 virtual bool will_overflow(jint v1, jint v2) const;
88 virtual bool will_overflow(jint v1, jint v2) const;
99 virtual bool will_overflow(jint v1, jint v2) const;
110 virtual bool will_overflow(jlong v1, jlong v2) const;
121 virtual bool will_overflow(jlong v1, jlong v2) const;
132 virtual bool will_overflow(jlong v1, jlong v2) const;
/openjdk10/nashorn/samples/
H A Dfixed_point.js40 function close_enough(v1, v2) Math.abs(v1 - v2) < tolerance;
/openjdk10/jdk/test/java/lang/Runtime/Version/
H A DBasic.java122 // v0 v1 eq eqNO cmp cmpNO
285 Version v1 = Version.parse(s1);
287 testEquals(v0, v1, eq);
288 testEqualsNO(v0, v1, eqNO);
290 testHashCode(v0, v1, eq);
292 testCompare(v0, v1, cmp);
293 testCompareNO(v0, v1, cmpNO);
296 private static void testEqualsNO(Version v0, Version v1, boolean eq) { argument
297 if (eq == v0.equalsIgnoreOptional(v1)) {
301 v0.toString(), v1
305 testEquals(Version v0, Version v1, boolean eq) argument
314 testHashCode(Version v0, Version v1, boolean eq) argument
328 testCompareNO(Version v0, Version v1, int compare) argument
333 testCompare(Version v0, Version v1, int compare) argument
338 checkCompare(Version v0, Version v1, int expected, int actual) argument
[all...]
/openjdk10/jdk/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/
H A DWindowUpdateSender.java50 int v1 = (initWindowSize + (maxFrameSize - 1)) / maxFrameSize;
51 v1 = v1 * maxFrameSize / 2;
56 limit = Math.min(v0, v1);
/openjdk10/jdk/src/java.base/share/classes/jdk/internal/perf/
H A DPerf.java417 byte[] v1 = new byte[v.length+1];
418 System.arraycopy(v, 0, v1, 0, v.length);
419 v1[v.length] = '\0';
420 return createByteArray(name, variability, units, v1, Math.max(v1.length, maxLength));
456 byte[] v1 = new byte[v.length+1];
457 System.arraycopy(v, 0, v1, 0, v.length);
458 v1[v.length] = '\0';
459 return createByteArray(name, variability, units, v1, v1
[all...]

Completed in 156 milliseconds

1234567