Lines Matching refs:array
144 int[] array = new int[-1]; in $opt$TestNegativeArraySize() local
224 int[] array = new int[0]; in testSmaliFillArrayData() local
225 Object[] args = { array }; in testSmaliFillArrayData()
227 assertEquals(0, array.length); in testSmaliFillArrayData()
229 array = new int[2]; in testSmaliFillArrayData()
230 args[0] = array; in testSmaliFillArrayData()
233 assertEquals(0, array[0]); in testSmaliFillArrayData()
234 assertEquals(0, array[1]); in testSmaliFillArrayData()
236 array = new int[] { 42, -42 }; in testSmaliFillArrayData()
237 args[0] = array; in testSmaliFillArrayData()
240 assertEquals(42, array[0]); in testSmaliFillArrayData()
241 assertEquals(-42, array[1]); in testSmaliFillArrayData()
256 int[] array = new int[7]; in testSmaliFillArrayData() local
257 Object[] args = { array }; in testSmaliFillArrayData()
259 assertEquals(7, array.length); in testSmaliFillArrayData()
260 assertEquals(1, array[0]); in testSmaliFillArrayData()
261 assertEquals(2, array[1]); in testSmaliFillArrayData()
262 assertEquals(3, array[2]); in testSmaliFillArrayData()
263 assertEquals(4, array[3]); in testSmaliFillArrayData()
264 assertEquals(5, array[4]); in testSmaliFillArrayData()
265 assertEquals(0, array[5]); in testSmaliFillArrayData()
266 assertEquals(0, array[6]); in testSmaliFillArrayData()
268 array = new int[2]; in testSmaliFillArrayData()
269 args[0] = array; in testSmaliFillArrayData()
280 assertEquals(0, array[0]); in testSmaliFillArrayData()
281 assertEquals(0, array[1]); in testSmaliFillArrayData()
295 int[] array = new int[7]; in testSmaliFillArrayData() local
296 Object[] args = { array }; in testSmaliFillArrayData()
298 assertEquals(7, array.length); in testSmaliFillArrayData()
299 assertEquals(1, array[0]); in testSmaliFillArrayData()
300 assertEquals(2, array[1]); in testSmaliFillArrayData()
301 assertEquals(3, array[2]); in testSmaliFillArrayData()
302 assertEquals(4, array[3]); in testSmaliFillArrayData()
303 assertEquals(5, array[4]); in testSmaliFillArrayData()
304 assertEquals(0, array[5]); in testSmaliFillArrayData()
305 assertEquals(0, array[6]); in testSmaliFillArrayData()
307 array = new int[2]; in testSmaliFillArrayData()
308 args[0] = array; in testSmaliFillArrayData()
319 assertEquals(0, array[0]); in testSmaliFillArrayData()
320 assertEquals(0, array[1]); in testSmaliFillArrayData()
334 short[] array = new short[7]; in testSmaliFillArrayData() local
335 Object[] args = { array }; in testSmaliFillArrayData()
337 assertEquals(7, array.length); in testSmaliFillArrayData()
338 assertEquals(1, array[0]); in testSmaliFillArrayData()
339 assertEquals(2, array[1]); in testSmaliFillArrayData()
340 assertEquals(3, array[2]); in testSmaliFillArrayData()
341 assertEquals(4, array[3]); in testSmaliFillArrayData()
342 assertEquals(5, array[4]); in testSmaliFillArrayData()
343 assertEquals(0, array[5]); in testSmaliFillArrayData()
344 assertEquals(0, array[6]); in testSmaliFillArrayData()
346 array = new short[2]; in testSmaliFillArrayData()
347 args[0] = array; in testSmaliFillArrayData()
358 assertEquals(0, array[0]); in testSmaliFillArrayData()
359 assertEquals(0, array[1]); in testSmaliFillArrayData()
373 long[] array = new long[7]; in testSmaliFillArrayData() local
374 Object[] args = { array }; in testSmaliFillArrayData()
376 assertEquals(7, array.length); in testSmaliFillArrayData()
377 assertEquals(1L, array[0]); in testSmaliFillArrayData()
378 assertEquals(2L, array[1]); in testSmaliFillArrayData()
379 assertEquals(3L, array[2]); in testSmaliFillArrayData()
380 assertEquals(4L, array[3]); in testSmaliFillArrayData()
381 assertEquals(5L, array[4]); in testSmaliFillArrayData()
382 assertEquals(0L, array[5]); in testSmaliFillArrayData()
383 assertEquals(0L, array[6]); in testSmaliFillArrayData()
385 array = new long[2]; in testSmaliFillArrayData()
386 args[0] = array; in testSmaliFillArrayData()
397 assertEquals(0, array[0]); in testSmaliFillArrayData()
398 assertEquals(0, array[1]); in testSmaliFillArrayData()
412 char[] array = new char[7]; in testSmaliFillArrayData() local
413 Object[] args = { array }; in testSmaliFillArrayData()
415 assertEquals(7, array.length); in testSmaliFillArrayData()
416 assertEquals(1, array[0]); in testSmaliFillArrayData()
417 assertEquals(2, array[1]); in testSmaliFillArrayData()
418 assertEquals(3, array[2]); in testSmaliFillArrayData()
419 assertEquals(4, array[3]); in testSmaliFillArrayData()
420 assertEquals(5, array[4]); in testSmaliFillArrayData()
421 assertEquals(0, array[5]); in testSmaliFillArrayData()
422 assertEquals(0, array[6]); in testSmaliFillArrayData()
424 array = new char[2]; in testSmaliFillArrayData()
425 args[0] = array; in testSmaliFillArrayData()
436 assertEquals(0, array[0]); in testSmaliFillArrayData()
437 assertEquals(0, array[1]); in testSmaliFillArrayData()
451 byte[] array = new byte[7]; in testSmaliFillArrayData()
452 Object[] args = { array }; in testSmaliFillArrayData()
454 assertEquals(7, array.length); in testSmaliFillArrayData()
455 assertEquals(1, array[0]); in testSmaliFillArrayData()
456 assertEquals(2, array[1]); in testSmaliFillArrayData()
457 assertEquals(3, array[2]); in testSmaliFillArrayData()
458 assertEquals(4, array[3]); in testSmaliFillArrayData()
459 assertEquals(5, array[4]); in testSmaliFillArrayData()
460 assertEquals(0, array[5]); in testSmaliFillArrayData()
461 assertEquals(0, array[6]); in testSmaliFillArrayData()
463 array = new byte[2]; in testSmaliFillArrayData()
464 args[0] = array; in testSmaliFillArrayData()
475 assertEquals(0, array[0]); in testSmaliFillArrayData()
476 assertEquals(0, array[1]); in testSmaliFillArrayData()
490 boolean[] array = new boolean[5]; in testSmaliFillArrayData()
491 Object[] args = { array }; in testSmaliFillArrayData()
493 assertEquals(5, array.length); in testSmaliFillArrayData()
494 assertEquals(false, array[0]); in testSmaliFillArrayData()
495 assertEquals(true, array[1]); in testSmaliFillArrayData()
496 assertEquals(true, array[2]); in testSmaliFillArrayData()
497 assertEquals(false, array[3]); in testSmaliFillArrayData()
498 assertEquals(false, array[4]); in testSmaliFillArrayData()
500 array = new boolean[2]; in testSmaliFillArrayData()
501 args[0] = array; in testSmaliFillArrayData()
512 assertEquals(false, array[0]); in testSmaliFillArrayData()
513 assertEquals(false, array[1]); in testSmaliFillArrayData()