Searched refs:arr1 (Results 1 – 3 of 3) sorted by relevance
/tools/apksig/src/main/java/com/android/apksig/internal/jar/ |
D | ManifestParser.java | 207 private static byte[] concat(byte[] arr1, byte[] arr2, int offset2, int length2) { in concat() argument 208 byte[] result = new byte[arr1.length + length2]; in concat() 209 System.arraycopy(arr1, 0, result, 0, arr1.length); in concat() 210 System.arraycopy(arr2, offset2, result, arr1.length, length2); in concat()
|
/tools/apksig/src/test/java/com/android/apksig/internal/asn1/ber/ |
D | BerDataValueReaderTestBase.java | 281 private static byte[] concat(byte[] arr1, byte[] arr2) { in concat() argument 282 byte[] result = new byte[arr1.length + arr2.length]; in concat() 283 System.arraycopy(arr1, 0, result, 0, arr1.length); in concat() 284 System.arraycopy(arr2, 0, result, arr1.length, arr2.length); in concat()
|
/tools/apksig/src/main/java/com/android/apksig/internal/asn1/ |
D | Asn1DerEncoder.java | 167 public int compare(byte[] arr1, byte[] arr2) { in compare() argument 168 int commonLength = Math.min(arr1.length, arr2.length); in compare() 170 int diff = (arr1[i] & 0xff) - (arr2[i] & 0xff); in compare() 175 return arr1.length - arr2.length; in compare()
|