Searched refs:b1 (Results 26 - 50 of 236) sorted by relevance

12345678910

/openjdk7/hotspot/test/compiler/7119644/
H A DTestLongDoubleVect.java54 double[] b1 = new double[ARRLEN];
58 test_ci(a1, b1);
60 test_cp(a1, a2, b1, b2);
61 test_ci_neg(a1, b1);
62 test_vi_neg(a1, b1, (long)123, 103.);
63 test_cp_neg(a1, a2, b1, b2);
64 test_ci_oppos(a1, b1);
65 test_vi_oppos(a1, b1, (long)123, 103.);
66 test_cp_oppos(a1, a2, b1, b2);
67 test_ci_aln(a1, b1);
[all...]
H A DTestLongFloatVect.java54 float[] b1 = new float[ARRLEN];
58 test_ci(a1, b1);
60 test_cp(a1, a2, b1, b2);
61 test_ci_neg(a1, b1);
62 test_vi_neg(a1, b1, (long)123, 103.f);
63 test_cp_neg(a1, a2, b1, b2);
64 test_ci_oppos(a1, b1);
65 test_vi_oppos(a1, b1, (long)123, 103.f);
66 test_cp_oppos(a1, a2, b1, b2);
67 test_ci_aln(a1, b1);
[all...]
H A DTestShortDoubleVect.java54 double[] b1 = new double[ARRLEN];
58 test_ci(a1, b1);
60 test_cp(a1, a2, b1, b2);
61 test_ci_neg(a1, b1);
62 test_vi_neg(a1, b1, (short)123, 103.);
63 test_cp_neg(a1, a2, b1, b2);
64 test_ci_oppos(a1, b1);
65 test_vi_oppos(a1, b1, (short)123, 103.);
66 test_cp_oppos(a1, a2, b1, b2);
67 test_ci_aln(a1, b1);
[all...]
H A DTestShortFloatVect.java54 float[] b1 = new float[ARRLEN];
58 test_ci(a1, b1);
60 test_cp(a1, a2, b1, b2);
61 test_ci_neg(a1, b1);
62 test_vi_neg(a1, b1, (short)123, 103.f);
63 test_cp_neg(a1, a2, b1, b2);
64 test_ci_oppos(a1, b1);
65 test_vi_oppos(a1, b1, (short)123, 103.f);
66 test_cp_oppos(a1, a2, b1, b2);
67 test_ci_aln(a1, b1);
[all...]
H A DTestShortIntVect.java54 int[] b1 = new int[ARRLEN];
58 test_ci(a1, b1);
60 test_cp(a1, a2, b1, b2);
61 test_ci_neg(a1, b1);
62 test_vi_neg(a1, b1, (short)123, (int)103);
63 test_cp_neg(a1, a2, b1, b2);
64 test_ci_oppos(a1, b1);
65 test_vi_oppos(a1, b1, (short)123, (int)103);
66 test_cp_oppos(a1, a2, b1, b2);
67 test_ci_aln(a1, b1);
[all...]
H A DTestShortLongVect.java54 long[] b1 = new long[ARRLEN];
58 test_ci(a1, b1);
60 test_cp(a1, a2, b1, b2);
61 test_ci_neg(a1, b1);
62 test_vi_neg(a1, b1, (short)123, (long)103);
63 test_cp_neg(a1, a2, b1, b2);
64 test_ci_oppos(a1, b1);
65 test_vi_oppos(a1, b1, (short)123, (long)103);
66 test_cp_oppos(a1, a2, b1, b2);
67 test_ci_aln(a1, b1);
[all...]
/openjdk7/jdk/test/sun/nio/cs/
H A DEucJpLinux0212.java37 private static void equal(CharBuffer b1, CharBuffer b2) { argument
38 equal(b1.position(), b2.position());
39 equal(b1.limit(), b2.limit());
40 System.out.printf("positions=%d %d%n", b1.position(), b2.position());
41 System.out.printf("limits=%d %d%n", b1.limit(), b2.limit());
42 for (int i = b1.position(); i < b1.limit(); i++)
43 equal((int)b1.get(i), (int)b2.get(i));
/openjdk7/jdk/test/java/awt/Focus/NoAutotransferToDisabledCompTest/
H A DNoAutotransferToDisabledCompTest.java45 JButton b1 = new JButton("b1"); field in class:NoAutotransferToDisabledCompTest
57 frame.add(b1);
62 b1.addActionListener(new ActionListener() {
64 b1.setEnabled(false);
73 // Request focus on b1.
74 if (!Util.focusComponent(b1, 2000)) {
75 throw new TestErrorException("couldn't focus " + b1);
78 // Activate b1.
/openjdk7/jdk/test/sun/nio/cs/OLD/
H A DDBCS_ONLY_IBM_EBCDIC_Decoder.java60 private static boolean isValidDoubleByte(int b1, int b2) { argument
61 return (b1 == 0x40 && b2 == 0x40) // DBCS-HOST SPACE
62 || (0x41 <= b1 && b1 <= 0xfe &&
80 int b1 = sa[sp] & 0xff;
83 if (!isValidDoubleByte(b1, b2)) {
87 int v = b1 * 256 + b2;
108 int b1 = src.get() & 0xff;
111 if (!isValidDoubleByte(b1, b2)) {
115 int v = b1 * 25
[all...]
H A DDBCS_IBM_ASCII_Decoder.java74 int b1, b2;
75 b1 = sa[sp];
79 if (b1 < 0)
80 b1 += 256;
82 if (!leadByte[b1])
84 outputChar = singleByteToChar.charAt(b1);
95 v = b1 * 256 + b2;
122 int b1, b2;
124 b1 = src.get();
125 if (b1 <
[all...]
/openjdk7/jdk/src/share/classes/sun/io/
H A DByteToCharUnicode.java108 int b1, b2;
113 b1 = leftOverByte & 0xff;
117 b1 = in[inI++] & 0xff;
126 char c = (char) ((b1 << 8) | b2);
142 b1 = in[inI++] & 0xff;
152 b1 = in[inI++] & 0xff;
166 /* Loop invariant: (b1 contains the next input byte) && (bc == 1) */
173 c = (char) ((b1 << 8) | b2);
175 c = (char) ((b2 << 8) | b1);
188 b1
[all...]
H A DByteToCharSJIS.java57 int b1 = ((c1 - rowOffset) << 1) - adjust;
59 return super.getUnicode(b1, b2);
/openjdk7/jdk/test/java/awt/Focus/RequestFocusToDisabledCompTest/
H A DRequestFocusToDisabledCompTest.java45 JButton b1 = new JButton("b1"); field in class:RequestFocusToDisabledCompTest
56 frame.add(b1);
60 b1.setEnabled(false);
73 // Try to request focus on b1.
74 if (!Util.focusComponent(b1, 2000)) {
75 throw new TestFailedException("focus wasn't requested on disabled " + b1);
/openjdk7/jdk/test/java/math/BigDecimal/
H A DAddTests.java82 * Print sum of b1 and b2; correct result will not throw an
85 private static int addWithoutException(BigDecimal b1, BigDecimal b2, MathContext mc) { argument
90 BigDecimal sum = b1.add(b2, mc);
91 printAddition(b1, b2, sum.toString());
94 printAddition(b1, b2, "Exception!");
198 private static void printAddition(BigDecimal b1, BigDecimal b2, String s) { argument
199 System.out.println("" + b1+ "\t+\t" + b2 + "\t=\t" + s);
202 private static int roundAway(BigDecimal b1, BigDecimal b2) { argument
205 b1.precision();
208 BigDecimal b1_negate = b1
222 roundAway1(BigDecimal b1, BigDecimal b2) argument
233 roundAway0(BigDecimal b1, BigDecimal b2) argument
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/io/
H A DUCSReader.java125 int b1 = fInputStream.read() & 0xff;
126 if (b1 == 0xff)
135 System.err.println("b0 is " + (b0 & 0xff) + " b1 " + (b1 & 0xff) + " b2 " + (b2 & 0xff) + " b3 " + (b3 & 0xff));
137 return (b0<<24)+(b1<<16)+(b2<<8)+b3;
139 return (b3<<24)+(b2<<16)+(b1<<8)+b0;
142 return (b0<<8)+b1;
144 return (b1<<8)+b0;
202 int b1 = fBuffer[curPos++] & 0xff;
207 ch[offset+i] = (char)((b0<<24)+(b1<<1
[all...]
/openjdk7/jdk/test/java/net/DatagramSocket/
H A DSend12k.java49 byte b1[] = new byte[ SEND_SIZE ];
50 DatagramPacket p1 = new DatagramPacket(b1, 0, b1.length,
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/posix/
H A DAddressDataSource.java51 int b1 = readByte() & 0xFF;
53 return (short) ((b1 << 8) | b2);
58 int b1 = ((int) readByte()) & 0xFF;
62 return ((b1 << 24) | (b2 << 16) | (b3 << 8) | b4);
67 long b1 = ((long) readByte()) & 0xFFL;
75 return (((((b1 << 24) | (b2 << 16) | (b3 << 8) | b4)) << 32) |
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/windbg/
H A DAddressDataSource.java51 int b1 = readByte() & 0xFF;
53 return (short) ((b1 << 8) | b2);
58 int b1 = ((int) readByte()) & 0xFF;
62 return ((b1 << 24) | (b2 << 16) | (b3 << 8) | b4);
67 long b1 = ((long) readByte()) & 0xFFL;
75 return (((((b1 << 24) | (b2 << 16) | (b3 << 8) | b4)) << 32) |
/openjdk7/jdk/src/share/classes/sun/nio/cs/
H A DUnicodeDecoder.java60 private char decode(int b1, int b2) { argument
62 return (char)((b1 << 8) | b2);
64 return (char)((b2 << 8) | b1);
72 int b1 = src.get() & 0xff;
77 char c = (char)((b1 << 8) | b2);
88 // FALL THROUGH to process b1, b2 normally
92 char c = decode(b1, b2);
H A DUTF_8.java92 private static boolean isMalformed2(int b1, int b2) { argument
93 return (b1 & 0x1e) == 0x0 || (b2 & 0xc0) != 0x80;
98 private static boolean isMalformed3(int b1, int b2, int b3) { argument
99 return (b1 == (byte)0xe0 && (b2 & 0xe0) == 0x80) ||
125 int b1 = src.get();
126 if ((b1 >> 2) == -2) {
132 if ((b1 >> 1) == -2) {
142 b1 = src.get();
145 ((b1 == (byte)0xe0 && (b2 & 0xe0) == 0x80) ||
148 b1
[all...]
/openjdk7/jdk/test/java/util/ResourceBundle/
H A DBug4195978Test.java45 String b1 = bundle.getString("test");
51 if (b1.equals("test") && b2.equals("TEST")) {
/openjdk7/langtools/test/tools/javac/conditional/6500343/
H A DT6500343a.java38 static Object crash(I i, A1 a1, A2 a2, boolean b1, boolean b2) { argument
39 return b1 ? i : b2 ? a2 : a1;
/openjdk7/langtools/test/tools/javac/generics/
H A DCovar2.java54 A1 b1 = new B1();
55 System.out.println(b1.f());
/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/utils/
H A DBase64.java398 byte k=0, l=0, b1=0,b2=0,b3=0;
407 b1 = binaryData[dataIndex++];
413 k = (byte)(b1 & 0x03);
415 byte val1 = ((b1 & SIGN)==0)?(byte)(b1>>2):(byte)((b1)>>2^0xc0);
432 b1 = binaryData[dataIndex++];
438 k = (byte)(b1 & 0x03);
440 byte val1 = ((b1 & SIGN)==0)?(byte)(b1>>
[all...]
/openjdk7/jdk/src/share/classes/sun/security/pkcs11/
H A DP11Util.java117 static byte[] concat(byte[] b1, byte[] b2) { argument
118 byte[] b = new byte[b1.length + b2.length];
119 System.arraycopy(b1, 0, b, 0, b1.length);
120 System.arraycopy(b2, 0, b, b1.length, b2.length);
124 static long[] concat(long[] b1, long[] b2) { argument
125 if (b1.length == 0) {
128 long[] b = new long[b1.length + b2.length];
129 System.arraycopy(b1, 0, b, 0, b1
[all...]

Completed in 128 milliseconds

12345678910