/libcore/ojluni/src/test/java/nio/Buffer/ |
D | BasicInt.java | 744 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 …]
|
D | BasicShort.java | 744 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 …]
|
D | BasicLong.java | 744 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 …]
|
D | BasicFloat.java | 744 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 …]
|
D | BasicDouble.java | 744 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 …]
|
D | BasicChar.java | 744 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 …]
|
D | BasicByte.java | 744 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 …]
|
D | Basic-X.java.template | 744 $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 …]
|