Searched refs:array1 (Results 1 – 5 of 5) sorted by relevance
80 public static boolean equals(byte[] array1, byte[] array2, int length) { in equals() argument85 if (array1 == array2) { in equals()88 if (array1 == null || array2 == null || array1.length < length || array2.length < length) { in equals()92 if (array1[i] != array2[i]) { in equals()
242 private void assertCharSequencesEquals(CharSequence[] array1, CharSequence[] array2) { in assertCharSequencesEquals() argument243 if (!Arrays.deepEquals(array1, array2)) { in assertCharSequencesEquals()244 fail("Arrays not equal: " + Arrays.toString(array1) + " != " + Arrays.toString(array2)); in assertCharSequencesEquals()
455 private static boolean arraysEqual(int[] array1, int count1, int[] array2, int count2) { in arraysEqual() argument461 if (array1[i] != array2[i]) in arraysEqual()
1295 byte[] array1 = { in createPDU()1310 array1[2] = (byte) (array1.length - 3); in createPDU()1311 mWspHeader = array1; in createPDU()1313 mWspHeaderLen = array1.length; in createPDU()
8494 private static byte[] concat(byte[] array1, byte[] array2, byte[] array3) { in concat() argument8496 int len = array1.length + array2.length + array3.length; in concat()8498 if (array1.length != 0) { in concat()8513 if (array1.length != 0) { in concat()8514 result[index] = (byte) (array1.length & 0xFF); in concat()8516 for (byte b : array1) { in concat()