Searched refs:res (Results 1 - 25 of 1099) sorted by relevance

1234567891011>>

/openjdk10/jdk/test/javax/script/
H A DTest6.js1 var res = 45 + 34; variable
/openjdk10/nashorn/test/script/nosecurity/parsertests/
H A DreturnStat.js31 (function() { return res });
/openjdk10/nashorn/test/script/basic/
H A DJDK-8027016.js31 var res = [].indexOf(null, {valueOf:function(){throw "not reached"}}); variable
32 if (res != -1) {
38 res = [].indexOf(null, 1);
39 if (res != -1) {
H A DJDK-8007215.js40 var res; variable
42 res = f(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249);
44 print(res);
46 res = f(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250);
48 print(res);
50 res = f(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251);
52 print(res);
H A DNASHORN-223.js32 var res = 0.0;
33 for (i in arguments) res += arguments[i];
34 return res;
H A DJDK-8015945.js36 var res = new Array(arguments.length);
38 res[i] = arguments[i]*arguments[i]
40 return res;
49 var res = global.squares(2, 3, 4, 5); variable
50 print("global.squares returns Array? " + (res instanceof Array));
52 print("result length " + res.length);
53 for (var i in res) {
54 print(i + " = " + res[i]);
H A DNASHORN-271.js31 var res = JSON.stringify(23, function(k,v) { variable
35 if (res !== "[1,2]") {
36 fail("#1 expected '[1,2]' got " + res);
39 var res = JSON.stringify(23, function(k,v) { variable
43 if (res !== '{"x":1,"y":"hello"}') {
44 fail("#2 expected {\"x\":1,\"y\":\"hello\"}' got " + res);
H A DNASHORN-304.js36 var res = func(42);
38 if (res.length !== 1) {
42 if (res.x !== 42) {
46 if (typeof res.y !== 'undefined') {
50 if (res.z !== 42) {
H A DNASHORN-227.js33 obj.res = "";
35 obj.res += arguments[i];
43 if (newObj.res !== "abcde") {
44 fail("newObj.res !=== 'abcde', it is " + newObj.res);
H A DNASHORN-437.js40 var res = arr.map(func); variable
41 if (res.length !== 4) {
49 if (res[2] !== undefined || res[3] !== undefined) {
H A DJDK-8020355.js41 var res = (function(x, y) { return x*y }).bind(null, 20, 30)();
42 if (res != 600) {
43 fail("Expected 600, but got " + res);
48 fail("Expected this.foo = 600, but got " + res);
53 var res = (function() { return arguments[0]*arguments[1] }).bind(null, 20, 30)();
54 if (res != 600) {
55 fail("Expected 600, but got " + res);
60 fail("Expected this.foo = 600, but got " + res);
H A DNASHORN-445.js43 var res = arr.map(function(kVal, k, arr) { variable
47 if (res.length !== arr.length) {
51 for (var i in res) {
52 if (res[i] !== 2*arr[i]) {
53 fail("map res[" + i + "] does not have right value");
/openjdk10/hotspot/src/os_cpu/windows_x86/vm/
H A Dos_windows_x86.inline.hpp33 uint64_t res; local
34 res = (uint64_t)__rdtsc();
35 return (jlong)res;
/openjdk10/jdk/test/native_sanity/simplenativelib/
H A DNativeLib.java33 int res = nativeFunc();
34 if (res != 4711) {
35 throw new Exception("Wrong value returned from native code: " + res);
/openjdk10/jdk/test/native_sanity/simplenativelib2/
H A DNativeLib.java33 int res = nativeFunc();
34 if (res != 4712) {
35 throw new Exception("Wrong value returned from native code: " + res);
/openjdk10/hotspot/src/os_cpu/bsd_x86/vm/
H A Dos_bsd_x86.inline.hpp34 uint64_t res; local
35 __asm__ __volatile__ ("rdtsc" : "=A" (res));
36 return (jlong)res;
38 uint64_t res;
41 res = ((uint64_t)ts1 | (uint64_t)ts2 << 32);
42 return (jlong)res;
/openjdk10/hotspot/src/os_cpu/linux_x86/vm/
H A Dos_linux_x86.inline.hpp34 uint64_t res; local
35 __asm__ __volatile__ ("rdtsc" : "=A" (res));
36 return (jlong)res;
38 uint64_t res;
41 res = ((uint64_t)ts1 | (uint64_t)ts2 << 32);
42 return (jlong)res;
/openjdk10/hotspot/test/compiler/rangechecks/
H A DTestRangeCheckSmearing.java62 int res = 0;
63 res += array[i+9];
65 res += array[i+8];
66 res += array[i+7];
67 res += array[i+6];
68 res += array[i+5];
69 res += array[i+4];
70 res += array[i+3];
71 res += array[i+2];
72 res
[all...]
/openjdk10/hotspot/test/native/utilities/
H A Dtest_utf8.cpp29 char res[60]; local
38 UNICODE::as_utf8(str, 19, res, 10);
39 ASSERT_EQ(strlen(res), (size_t) 9) << "string should be truncated here";
41 UNICODE::as_utf8(str, 19, res, 18);
42 ASSERT_EQ(strlen(res), (size_t) 15) << "string should be truncated here";
44 UNICODE::as_utf8(str, 19, res, 20);
45 ASSERT_EQ(strlen(res), (size_t) 18) << "string should be truncated here";
48 UNICODE::as_utf8(str, 19, res, INT_MAX);
49 ASSERT_EQ(strlen(res), (size_t) 3 * 19) << "string should end here";
/openjdk10/hotspot/test/native_sanity/
H A DJniVersion.java34 int res = getJniVersion();
35 if (res != JNI_VERSION_9) {
36 throw new Exception("Unexpected value returned from getJniVersion(): 0x" + Integer.toHexString(res));
/openjdk10/test/lib/jdk/test/lib/hprof/parser/
H A DPositionInputStream.java52 int res = super.read();
53 if (res != -1) position++;
54 return res;
58 int res = super.read(b, off, len);
59 if (res != -1) position += res;
60 return res;
64 long res = super.skip(n);
65 position += res;
66 return res;
[all...]
/openjdk10/hotspot/test/compiler/arraycopy/
H A DTestLoadBypassArrayCopy.java50 int res = 0;
61 res = dest[0];
63 return res;
70 int res = test(src, 10, false);
71 if (res != src[0]) {
H A DTestLoadBypassACWithWrongMem.java69 int res = test1(src);
70 if (res != 0) {
71 throw new RuntimeException("bad result: " + res + " != " + 0);
74 res = test2(src);
75 if (res != 0) {
76 throw new RuntimeException("bad result: " + res + " != " + 0);
80 res = test3();
81 if (res != 0x42) {
82 throw new RuntimeException("bad result: " + res + " != " + 0x42);
/openjdk10/hotspot/test/runtime/RedefineTests/
H A DRedefineInterfaceMethods.java83 int res = impl.defaultMethod();
84 if (res != B.ORIGINAL_RETURN)
85 throw new Error("defaultMethod returned " + res +
90 res = impl.defaultMethod();
91 if (res != B.NEW_RETURN)
92 throw new Error("defaultMethod returned " + res +
99 res = impl.defaultMethod();
100 if (res != RET)
101 throw new Error("defaultMethod returned " + res +
/openjdk10/hotspot/test/compiler/eliminateAutobox/
H A DUnsignedLoads.java43 int res = 0;
46 res = b & 0xff;
49 return res;
53 int res = 0;
57 res = s & 0xffff;
60 return res;

Completed in 145 milliseconds

1234567891011>>