Lines Matching refs:arr
19 * array "arr". We have to do the conversion manually since it's
25 public static int array2int(byte[] arr, int offset) {
34 b4 = arr[pos++];
35 b3 = arr[pos++];
36 b2 = arr[pos++];
37 b1 = arr[pos];
39 b1 = arr[pos++];
40 b2 = arr[pos++];
41 b3 = arr[pos++];
42 b4 = arr[pos];
74 public static void int2array(int n, byte[] arr, int offset) {
102 arr[pos++] = (byte) b4;
103 arr[pos++] = (byte) b3;
104 arr[pos++] = (byte) b2;
105 arr[pos] = (byte) b1;
107 arr[pos++] = (byte) b1;
108 arr[pos++] = (byte) b2;
109 arr[pos++] = (byte) b3;
110 arr[pos] = (byte) b4;
153 public static String objectArrayToString(Object[] arr, String name) {
154 if (arr == null) {
159 int len = arr.length;
162 sb.append(" " + arr[i].toString());