Home
last modified time | relevance | path

Searched refs:tmpa (Results 1 – 8 of 8) sorted by relevance

/libcore/ojluni/src/test/java/nio/Buffer/
DBasicInt.java744 int[] tmpa = new int[42]; in test() local
745 catchIndexOutOfBounds(b, () -> b.get(7, tmpa, -1, 42)); in test()
746 catchIndexOutOfBounds(b, () -> b.get(7, tmpa, 42, 1)); in test()
747 catchIndexOutOfBounds(b, () -> b.get(7, tmpa, 41, -1)); in test()
748 catchIndexOutOfBounds(b, () -> b.get(-1, tmpa, 0, 1)); in test()
749 catchIndexOutOfBounds(b, () -> b.get(b.limit(), tmpa, 0, 1)); in test()
750 catchIndexOutOfBounds(b, () -> b.get(b.limit() - 41, tmpa, 0, 42)); in test()
752 catchIndexOutOfBounds(b, () -> b.put(7, tmpa, -1, 42)); in test()
753 catchIndexOutOfBounds(b, () -> b.put(7, tmpa, 42, 1)); in test()
754 catchIndexOutOfBounds(b, () -> b.put(7, tmpa, 41, -1)); in test()
[all …]
DBasicShort.java744 short[] tmpa = new short[42]; in test() local
745 catchIndexOutOfBounds(b, () -> b.get(7, tmpa, -1, 42)); in test()
746 catchIndexOutOfBounds(b, () -> b.get(7, tmpa, 42, 1)); in test()
747 catchIndexOutOfBounds(b, () -> b.get(7, tmpa, 41, -1)); in test()
748 catchIndexOutOfBounds(b, () -> b.get(-1, tmpa, 0, 1)); in test()
749 catchIndexOutOfBounds(b, () -> b.get(b.limit(), tmpa, 0, 1)); in test()
750 catchIndexOutOfBounds(b, () -> b.get(b.limit() - 41, tmpa, 0, 42)); in test()
752 catchIndexOutOfBounds(b, () -> b.put(7, tmpa, -1, 42)); in test()
753 catchIndexOutOfBounds(b, () -> b.put(7, tmpa, 42, 1)); in test()
754 catchIndexOutOfBounds(b, () -> b.put(7, tmpa, 41, -1)); in test()
[all …]
DBasicLong.java744 long[] tmpa = new long[42]; in test() local
745 catchIndexOutOfBounds(b, () -> b.get(7, tmpa, -1, 42)); in test()
746 catchIndexOutOfBounds(b, () -> b.get(7, tmpa, 42, 1)); in test()
747 catchIndexOutOfBounds(b, () -> b.get(7, tmpa, 41, -1)); in test()
748 catchIndexOutOfBounds(b, () -> b.get(-1, tmpa, 0, 1)); in test()
749 catchIndexOutOfBounds(b, () -> b.get(b.limit(), tmpa, 0, 1)); in test()
750 catchIndexOutOfBounds(b, () -> b.get(b.limit() - 41, tmpa, 0, 42)); in test()
752 catchIndexOutOfBounds(b, () -> b.put(7, tmpa, -1, 42)); in test()
753 catchIndexOutOfBounds(b, () -> b.put(7, tmpa, 42, 1)); in test()
754 catchIndexOutOfBounds(b, () -> b.put(7, tmpa, 41, -1)); in test()
[all …]
DBasicFloat.java744 float[] tmpa = new float[42]; in test() local
745 catchIndexOutOfBounds(b, () -> b.get(7, tmpa, -1, 42)); in test()
746 catchIndexOutOfBounds(b, () -> b.get(7, tmpa, 42, 1)); in test()
747 catchIndexOutOfBounds(b, () -> b.get(7, tmpa, 41, -1)); in test()
748 catchIndexOutOfBounds(b, () -> b.get(-1, tmpa, 0, 1)); in test()
749 catchIndexOutOfBounds(b, () -> b.get(b.limit(), tmpa, 0, 1)); in test()
750 catchIndexOutOfBounds(b, () -> b.get(b.limit() - 41, tmpa, 0, 42)); in test()
752 catchIndexOutOfBounds(b, () -> b.put(7, tmpa, -1, 42)); in test()
753 catchIndexOutOfBounds(b, () -> b.put(7, tmpa, 42, 1)); in test()
754 catchIndexOutOfBounds(b, () -> b.put(7, tmpa, 41, -1)); in test()
[all …]
DBasicDouble.java744 double[] tmpa = new double[42]; in test() local
745 catchIndexOutOfBounds(b, () -> b.get(7, tmpa, -1, 42)); in test()
746 catchIndexOutOfBounds(b, () -> b.get(7, tmpa, 42, 1)); in test()
747 catchIndexOutOfBounds(b, () -> b.get(7, tmpa, 41, -1)); in test()
748 catchIndexOutOfBounds(b, () -> b.get(-1, tmpa, 0, 1)); in test()
749 catchIndexOutOfBounds(b, () -> b.get(b.limit(), tmpa, 0, 1)); in test()
750 catchIndexOutOfBounds(b, () -> b.get(b.limit() - 41, tmpa, 0, 42)); in test()
752 catchIndexOutOfBounds(b, () -> b.put(7, tmpa, -1, 42)); in test()
753 catchIndexOutOfBounds(b, () -> b.put(7, tmpa, 42, 1)); in test()
754 catchIndexOutOfBounds(b, () -> b.put(7, tmpa, 41, -1)); in test()
[all …]
DBasicChar.java744 char[] tmpa = new char[42]; in test() local
745 catchIndexOutOfBounds(b, () -> b.get(7, tmpa, -1, 42)); in test()
746 catchIndexOutOfBounds(b, () -> b.get(7, tmpa, 42, 1)); in test()
747 catchIndexOutOfBounds(b, () -> b.get(7, tmpa, 41, -1)); in test()
748 catchIndexOutOfBounds(b, () -> b.get(-1, tmpa, 0, 1)); in test()
749 catchIndexOutOfBounds(b, () -> b.get(b.limit(), tmpa, 0, 1)); in test()
750 catchIndexOutOfBounds(b, () -> b.get(b.limit() - 41, tmpa, 0, 42)); in test()
752 catchIndexOutOfBounds(b, () -> b.put(7, tmpa, -1, 42)); in test()
753 catchIndexOutOfBounds(b, () -> b.put(7, tmpa, 42, 1)); in test()
754 catchIndexOutOfBounds(b, () -> b.put(7, tmpa, 41, -1)); in test()
[all …]
DBasicByte.java744 byte[] tmpa = new byte[42]; in test()
745 catchIndexOutOfBounds(b, () -> b.get(7, tmpa, -1, 42)); in test()
746 catchIndexOutOfBounds(b, () -> b.get(7, tmpa, 42, 1)); in test()
747 catchIndexOutOfBounds(b, () -> b.get(7, tmpa, 41, -1)); in test()
748 catchIndexOutOfBounds(b, () -> b.get(-1, tmpa, 0, 1)); in test()
749 catchIndexOutOfBounds(b, () -> b.get(b.limit(), tmpa, 0, 1)); in test()
750 catchIndexOutOfBounds(b, () -> b.get(b.limit() - 41, tmpa, 0, 42)); in test()
752 catchIndexOutOfBounds(b, () -> b.put(7, tmpa, -1, 42)); in test()
753 catchIndexOutOfBounds(b, () -> b.put(7, tmpa, 42, 1)); in test()
754 catchIndexOutOfBounds(b, () -> b.put(7, tmpa, 41, -1)); in test()
[all …]
DBasic-X.java.template744 $type$[] tmpa = new $type$[42];
745 catchIndexOutOfBounds(b, () -> b.get(7, tmpa, -1, 42));
746 catchIndexOutOfBounds(b, () -> b.get(7, tmpa, 42, 1));
747 catchIndexOutOfBounds(b, () -> b.get(7, tmpa, 41, -1));
748 catchIndexOutOfBounds(b, () -> b.get(-1, tmpa, 0, 1));
749 catchIndexOutOfBounds(b, () -> b.get(b.limit(), tmpa, 0, 1));
750 catchIndexOutOfBounds(b, () -> b.get(b.limit() - 41, tmpa, 0, 42));
752 catchIndexOutOfBounds(b, () -> b.put(7, tmpa, -1, 42));
753 catchIndexOutOfBounds(b, () -> b.put(7, tmpa, 42, 1));
754 catchIndexOutOfBounds(b, () -> b.put(7, tmpa, 41, -1));
[all …]