Searched refs:result (Results 1 - 25 of 3273) sorted by relevance

1234567891011>>

/openjdk10/langtools/test/tools/javac/implicitThis/
H A DWhichImplicitThis9.java34 static int result; field in class:WhichImplicitThis9
36 result = 0;
38 if (result != 13658) throw new Error("" + result);
43 result = result*10 + 1;
47 { result = result*10 + 2 + i; }
49 result = result*1
[all...]
/openjdk10/hotspot/test/gc/g1/
H A DTestRemsetLogging.java43 String result;
46 result = TestRemsetLoggingTools.runTest(null, 0);
47 TestRemsetLoggingTools.expectRSetSummaries(result, 0, 0);
50 result = TestRemsetLoggingTools.runTest(null, 2);
51 TestRemsetLoggingTools.expectRSetSummaries(result, 0, 0);
54 result = TestRemsetLoggingTools.runTest(new String[] { "-XX:G1SummarizeRSetStatsPeriod=1" }, 3);
55 TestRemsetLoggingTools.expectRSetSummaries(result, 0, 0);
58 result = TestRemsetLoggingTools.runTest(new String[] { "-Xlog:gc+remset*=trace" }, 0);
59 TestRemsetLoggingTools.expectRSetSummaries(result, 1, 0);
62 result
[all...]
H A DTestRemsetLoggingPerRegion.java41 String result;
44 result = TestRemsetLoggingTools.runTest(new String[] { "-Xlog:gc+remset*=trace" }, 0);
45 TestRemsetLoggingTools.expectPerRegionRSetSummaries(result, 1, 0);
48 result = TestRemsetLoggingTools.runTest(new String[] { "-Xlog:gc+remset*=trace", "-XX:G1SummarizeRSetStatsPeriod=1" }, 1);
49 TestRemsetLoggingTools.expectPerRegionRSetSummaries(result, 1, 2);
/openjdk10/nashorn/test/script/basic/
H A DJDK-8023650.js51 var result = /a(.*)/.exec("a\r"); variable
52 if (!result || result[0] != 'a' || result[1] != '') {
56 result = /a(.*)/m.exec("a\r");
57 if (!result || result[0] != 'a' || result[1] != '') {
61 result = /a(.*)/.exec("a\n");
62 if (!result || resul
[all...]
H A DJDK-8137240.js34 var result = 'aa'.match(/(a)(?!b)\1/); variable
35 Assert.assertTrue(result.length === 2);
36 Assert.assertTrue(result[0] === 'aa');
37 Assert.assertTrue(result[1] === 'a');
39 result = 'aa'.match(/(a)(?!(b))\2(a)/);
40 Assert.assertTrue(result.length === 4);
41 Assert.assertTrue(result[0] === 'aa');
42 Assert.assertTrue(result[1] === 'a');
43 Assert.assertTrue(result[2] === undefined);
44 Assert.assertTrue(result[
[all...]
/openjdk10/langtools/test/tools/javac/
H A DUnreachableVar.java35 static String result = ""; field in class:UnreachableVar
44 result += i + " ";
46 result += args.getClass().getName();
47 if (!result.equals("2 [Ljava.lang.String;")) throw new Error(result);
/openjdk10/hotspot/src/os_cpu/solaris_x86/vm/
H A Dcount_trailing_zeros_solaris_x86.hpp32 uintx result; local
33 __asm__(" rep bsfq %1, %0" : "=r" (result) : "rm" (x));
34 return result;
/openjdk10/jdk/test/java/lang/String/
H A DIndexOfEmptyInEmpty.java31 int result = new String("").indexOf("");
32 if (result != 0) {
33 throw new Exception("new String(\"\").indexOf(\"\") must be 0, but got " + result);
/openjdk10/jdk/test/java/text/Bidi/
H A DBug8005277.java38 int result = bidi.getRunCount();
39 if (result != 1) {
40 System.err.println("Incorrect run count: " + result);
44 result = bidi.getRunStart(0);
45 if (result != 0) {
46 System.err.println("Incorrect run start: " + result);
50 result = bidi.getRunLimit(0);
51 if (result != 3) {
52 System.err.println("Incorrect run limit: " + result);
56 result
[all...]
/openjdk10/langtools/test/tools/javac/StringsInSwitch/
H A DStringSwitches.java53 int result = Integer.MAX_VALUE;
59 result = 1; break;
65 result = 3; break;
71 result = 5; break;
77 result = -1;
79 return result;
86 int result = zeroHashes(zero);
87 if (result != i) {
90 zero, result, i);
137 int result
[all...]
/openjdk10/hotspot/src/share/vm/shark/
H A DsharkInvariants.cpp30 int result = 0; local
33 result = MAX2(result, flow()->pre_order_at(i)->monitor_count());
36 return result;
/openjdk10/langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/tool/
H A DToolException.java32 * This class is constructed with a result and an error message,
48 final Result result; field in class:ToolException
51 * Constructs an object containing a result and a message to be
53 * @param result the exit code
56 ToolException(Result result, String message) { argument
58 this.result = result;
59 if (result == null || result.isOK() || message == null) {
60 throw new AssertionError("result
70 ToolException(Result result, String message, Throwable cause) argument
[all...]
/openjdk10/langtools/test/tools/javac/lambda/methodReferenceExecution/pkg/
H A DB.java27 B.result += "A.m()";
32 public static String result = ""; field in class:B
/openjdk10/jaxws/src/java.xml.bind/share/classes/com/sun/xml/internal/txw2/output/
H A DResultFactory.java51 * @param result the Result that will receive output from the XmlSerializer
54 public static XmlSerializer createSerializer(Result result) { argument
55 if (result instanceof SAXResult)
56 return new SaxSerializer((SAXResult) result);
57 if (result instanceof DOMResult)
58 return new DomSerializer((DOMResult) result);
59 if (result instanceof StreamResult)
60 return new StreamSerializer((StreamResult) result);
61 if (result instanceof TXWResult)
62 return new TXWSerializer(((TXWResult)result)
[all...]
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.jtt/src/org/graalvm/compiler/jtt/optimize/
H A DSwitch02.java51 int result = 392123;
56 result = 23212 / val;
59 result = 932991439 / val;
62 result = 47329561 / val;
65 result = 1950976984 / val;
68 result = 97105581 / val;
69 switch (result) {
71 result = 321;
74 result = 2391;
79 result
[all...]
/openjdk10/jdk/test/java/math/BigInteger/
H A DOperatorNpeTests.java40 BigInteger result;
42 result = bd.multiply(null);
43 throw new RuntimeException("Instead of NPE got " + result);
49 result = bd.divide(null);
50 throw new RuntimeException("Instead of NPE got " + result);
56 result = bd.add(null);
57 throw new RuntimeException("Instead of NPE got " + result);
63 result = bd.subtract(null);
64 throw new RuntimeException("Instead of NPE got " + result);
/openjdk10/hotspot/test/compiler/intrinsics/mathexact/
H A DAddExactIRepeatTest.java47 int result = method.unchecked(x, y);
48 result += method.unchecked(x, y);
49 result += method.unchecked(x, y);
50 result += method.unchecked(x, y);
51 return result;
80 int result = 0;
81 result += method.checkMethod(x, y);
82 result += method.checkMethod(x, y);
83 result += method.checkMethod(x, y);
84 result
[all...]
H A DSubExactIRepeatTest.java47 int result = method.unchecked(x, y);
48 result += method.unchecked(x, y);
49 result += method.unchecked(x, y);
50 result += method.unchecked(x, y);
51 return result;
80 int result = 0;
81 result += method.checkMethod(x, y);
82 result += method.checkMethod(x, y);
83 result += method.checkMethod(x, y);
84 result
[all...]
H A DMulExactIRepeatTest.java47 int result = method.unchecked(x, y);
48 result += method.unchecked(x, y);
49 result += method.unchecked(x, y);
50 result += method.unchecked(x, y);
51 return result;
80 int result = 0;
81 result += method.checkMethod(x, y);
82 result += method.checkMethod(x, y);
83 result += method.checkMethod(x, y);
84 result
[all...]
/openjdk10/hotspot/src/os_cpu/solaris_sparc/vm/
H A Dcount_trailing_zeros_solaris_sparc.hpp36 uintx result; local
37 __asm__(" popc %1, %0\n\t" : "=r" (result) : "r" (rx));
38 return result;
/openjdk10/jdk/test/java/util/Collections/
H A DBinarySearchNullComparator.java36 int result = Collections.binarySearch(list, "You", null);
37 if (result != 2)
38 throw new Exception("Result: " + result);
/openjdk10/jdk/test/java/lang/instrument/
H A DRedefineClassWithNativeMethod.sh65 result=$?
69 if [ "$result" = 0 ]; then
72 echo "FAIL: RedefineClassWithNativeMethodApp exited with status of $result"
73 exit "$result"
78 result=$?
79 if [ "$result" = 0 ]; then
81 result=1
84 result=0
87 exit $result
/openjdk10/jdk/test/java/text/Format/DecimalFormat/
H A DBug8165466.java45 String result = nf.format(d);
46 if (!result.equals("0.006%")) {
48 + " value: " + d + " Expected: 0.006%, Found: " + result
53 result = nf.format(d);
54 if (!result.equals("0%")) {
56 + " value: " + d + " Expected: 0%, Found: " + result
61 result = nf.format(d);
62 if (!result.equals("0.006%")) {
64 + " value: " + d + " Expected: 0.006%, Found: " + result
70 result
[all...]
/openjdk10/corba/src/java.corba/share/classes/com/sun/corba/se/impl/orbutil/
H A DObjectWriter.java50 public String toString() { return result.toString() ; }
52 public void append( boolean arg ) { result.append( arg ) ; }
54 public void append( char arg ) { result.append( arg ) ; }
56 public void append( short arg ) { result.append( arg ) ; }
58 public void append( int arg ) { result.append( arg ) ; }
60 public void append( long arg ) { result.append( arg ) ; }
62 public void append( float arg ) { result.append( arg ) ; }
64 public void append( double arg ) { result.append( arg ) ; }
66 public void append( String arg ) { result.append( arg ) ; }
72 protected StringBuffer result ; field in class:ObjectWriter
[all...]
/openjdk10/hotspot/src/os/linux/vm/
H A Ddecoder_linux.cpp32 char* result; local
44 if ((result = abi::__cxa_demangle(symbol, NULL, NULL, &status)) != NULL) {
45 jio_snprintf(buf, buflen, "%s", result);
47 ::free(result);

Completed in 176 milliseconds

1234567891011>>