Searched refs:bytes2 (Results 1 - 7 of 7) sorted by relevance

/openjdk7/jdk/src/share/classes/sun/security/util/
H A DByteArrayTagOrder.java46 * @param bytes2 second byte array to compare.
47 * @return negative number if bytes1 < bytes2, 0 if bytes1 == bytes2,
48 * positive number if bytes1 > bytes2.
54 public final int compare(byte[] bytes1, byte[] bytes2) { argument
57 return (bytes1[0] | 0x20) - (bytes2[0] | 0x20);
H A DByteArrayLexOrder.java46 * @param bytes2 second byte array to compare.
47 * @return negative number if bytes1 < bytes2, 0 if bytes1 == bytes2,
48 * positive number if bytes1 > bytes2.
53 public final int compare( byte[] bytes1, byte[] bytes2) { argument
55 for (int i = 0; i < bytes1.length && i < bytes2.length; i++) {
56 diff = (bytes1[i] & 0xFF) - (bytes2[i] & 0xFF);
63 return bytes1.length - bytes2.length;
/openjdk7/jdk/test/sun/nio/cs/
H A DISO8859x.java71 byte[] bytes2 = encoder.encode(CharBuffer.wrap(chars)).array();
72 check(Arrays.equals(bytes2, bytes));
H A DTestIBMBugs.java142 byte[] bytes2 = "\\".getBytes("IBM949");
143 if (bytes1.length != 1 || bytes2.length != 1 ||
145 bytes2[0] != (byte)0x82)
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/
H A DName.java238 byte[] bytes2, int offset2, int length) {
240 while (i < length && bytes1[offset1 + i] == bytes2[offset2 + i]) {
237 equals(byte[] bytes1, int offset1, byte[] bytes2, int offset2, int length) argument
/openjdk7/jdk/src/share/classes/sun/security/krb5/
H A DKrbApReq.java285 byte[] bytes2 = apReqMessg.authenticator.decrypt(enc_ticketPart.key,
287 byte[] temp2 = apReqMessg.authenticator.reset(bytes2);
/openjdk7/jdk/src/share/classes/sun/security/pkcs12/
H A DPKCS12KeyStore.java1173 DerOutputStream bytes2 = new DerOutputStream();
1174 bytes2.putOID(ContentInfo.DATA_OID);
1175 bytes2.write(encodedAlgId);
1180 bytes2.writeImplicit(DerValue.createTag(DerValue.TAG_CONTEXT,
1185 out.write(DerValue.tag_Sequence, bytes2);

Completed in 56 milliseconds