Searched defs:b1 (Results 1 - 25 of 80) sorted by relevance

1234

/openjdk7/langtools/test/tools/javac/annotations/6881115/
H A DT6881115.java14 String b1(); method in interface:B
/openjdk7/langtools/test/tools/javadoc/
H A DBooleanConst.java45 public static final boolean b1 = false; field in class:BooleanConst
58 if (f.name().equals("b1")) {
/openjdk7/jdk/test/com/sun/crypto/provider/Cipher/DES/
H A DTestUtility.java55 public static boolean equalsBlock(byte[] b1, byte[] b2) { argument
57 if (b1.length != b2.length)
60 for (int i=0; i<b1.length; i++) {
61 if (b1[i] != b2[i])
68 public static boolean equalsBlock(byte[] b1, byte[] b2, int len) { argument
71 if (b1[i] != b2[i])
/openjdk7/jdk/test/sun/security/pkcs11/Cipher/
H A DTestRSACipher.java115 private static void match(byte[] b1, byte[] b2) throws Exception { argument
116 if (Arrays.equals(b1, b2) == false) {
117 System.out.println(toString(b1));
/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/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/awt/Focus/RestoreFocusOnDisabledComponentTest/
H A DRestoreFocusOnDisabledComponentTest.java45 Button b1 = new Button("button1") {public String toString() {return "B-1";}}; field in class:RestoreFocusOnDisabledComponentTest
61 frame.add(b1);
71 // Trying to emulate timings. b1 should be disabled just by the time it gets
74 if (e.getSource() == b1) {
75 b1.setEnabled(false);
88 // Focus will be requested to b1. When FOCUS_GAINED is being dispatched to b1, it will
/openjdk7/jdk/test/java/text/BreakIterator/
H A DExceptionTest.java119 private static void check(boolean b1, boolean b2) { argument
120 if (b1 != b2) {
121 throw new RuntimeException(b1 + " != " + b2);
/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_Encoder.java48 private byte b1; field in class:DBCS_IBM_ASCII_Encoder
116 b1 = (byte)((theBytes & 0x0000ff00)>>8);
119 if (b1 == 0x00 && b2 == 0x00
124 if (b1 == 0) {
131 da[dp++] = (byte) b1;
166 b1 = (byte)((theBytes & 0x0000ff00)>>8);
169 if (b1 == 0x00 && b2 == 0x00
174 if (b1 == 0) {
181 dst.put((byte) b1);
H A DDBCS_IBM_EBCDIC_Encoder.java48 private byte b1; field in class:DBCS_IBM_EBCDIC_Encoder
139 b1= (byte)((theBytes & 0x0000ff00)>>8);
142 if (b1 == 0x00 && b2 == 0x00
147 if (currentState == DBCS && b1 == 0x00) {
152 } else if (currentState == SBCS && b1 != 0x00) {
168 da[dp++] = b1;
204 b1 = (byte)((theBytes & 0x0000ff00)>>8);
207 if (b1== 0x00 && b2 == 0x00
212 if (currentState == DBCS && b1 == 0x00) {
217 } else if (currentState == SBCS && b1 !
[all...]
/openjdk7/jdk/src/share/classes/sun/nio/ch/
H A DChannelInputStream.java72 private byte[] b1 = null; field in class:ChannelInputStream
79 if (b1 == null)
80 b1 = new byte[1];
81 int n = this.read(b1);
83 return b1[0] & 0xff;
/openjdk7/langtools/test/tools/javac/capture/
H A DCapture5.java44 void f(boolean b1, boolean b2, boolean b3, A a, B<String> b, C c) { argument
47 r = b1 ? (b2 ? a : b) : (b3 ? b : c);
/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/multicatch/
H A DPos05.java46 void test(boolean b1, boolean b2) { argument
48 if (b1) {
/openjdk7/langtools/test/tools/javac/warnings/6747671/
H A DT6747671.java22 T6747671.B<Integer> b1;//ok field in class:T6747671
/openjdk7/jdk/test/java/io/Serializable/defaulted/
H A DGetFieldWrite.java81 public Foo(int a1, int b1) argument
83 a = a1; b = b1;
/openjdk7/jdk/test/java/io/
H A DUnicode.java49 static void fail(String enc, String msg, int e0, int e1, int b0, int b1) argument
58 + " " + Integer.toHexString(b1));
71 int b1 = b[i++] & 0xff;
80 if ((b0 != e0) || (b1 != e1))
82 e0, e1, b0, b1);
87 int b1 = b[i++] & 0xff;
96 if ((b0 != e0) || (b1 != e1))
98 e0, e1, b0, 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/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/src/share/classes/sun/nio/cs/ext/
H A DMS932_0213.java59 protected char decodeDouble(int b1, int b2) { argument
60 char c = decMS932.decodeDouble(b1, b2);
62 return super.decodeDouble(b1, b2);
H A DMS950_HKSCS_XP.java71 public char decodeDoubleEx(int b1, int b2) { argument
/openjdk7/jdk/src/share/classes/com/sun/jmx/snmp/
H A DSnmpIpAddress.java88 * @param b1 Byte 1.
94 public SnmpIpAddress(long b1, long b2, long b3, long b4) { argument
95 super(b1, b2, b3, b4) ;
/openjdk7/jdk/src/share/classes/sun/io/
H A DByteToCharDBCS_ASCII.java47 char decodeDouble(int b1, int b2) { argument
48 return dec.decodeDouble(b1, b2);
H A DByteToCharDBCS_EBCDIC.java56 char decodeDouble(int b1, int b2) { argument
57 return dec.decodeDouble(b1, b2);

Completed in 126 milliseconds

1234