/libcore/ojluni/src/test/java/nio/Buffer/ |
D | BasicChar.java | 577 private static void catchIndexOutOfBounds(Buffer b, Runnable thunk) { in catchIndexOutOfBounds() method in BasicChar 581 private static void catchIndexOutOfBounds(char[] t, Runnable thunk) { in catchIndexOutOfBounds() method in BasicChar 691 catchIndexOutOfBounds(b, () -> b.get(b.limit())); in test() 692 catchIndexOutOfBounds(b, () -> b.get(-1)); in test() 693 catchIndexOutOfBounds(b, () -> b.put(b.limit(), (char)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() [all …]
|
D | BasicInt.java | 577 private static void catchIndexOutOfBounds(Buffer b, Runnable thunk) { in catchIndexOutOfBounds() method in BasicInt 581 private static void catchIndexOutOfBounds(int[] t, Runnable thunk) { in catchIndexOutOfBounds() method in BasicInt 691 catchIndexOutOfBounds(b, () -> b.get(b.limit())); in test() 692 catchIndexOutOfBounds(b, () -> b.get(-1)); in test() 693 catchIndexOutOfBounds(b, () -> b.put(b.limit(), (int)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() [all …]
|
D | BasicShort.java | 577 private static void catchIndexOutOfBounds(Buffer b, Runnable thunk) { in catchIndexOutOfBounds() method in BasicShort 581 private static void catchIndexOutOfBounds(short[] t, Runnable thunk) { in catchIndexOutOfBounds() method in BasicShort 691 catchIndexOutOfBounds(b, () -> b.get(b.limit())); in test() 692 catchIndexOutOfBounds(b, () -> b.get(-1)); in test() 693 catchIndexOutOfBounds(b, () -> b.put(b.limit(), (short)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() [all …]
|
D | BasicLong.java | 577 private static void catchIndexOutOfBounds(Buffer b, Runnable thunk) { in catchIndexOutOfBounds() method in BasicLong 581 private static void catchIndexOutOfBounds(long[] t, Runnable thunk) { in catchIndexOutOfBounds() method in BasicLong 691 catchIndexOutOfBounds(b, () -> b.get(b.limit())); in test() 692 catchIndexOutOfBounds(b, () -> b.get(-1)); in test() 693 catchIndexOutOfBounds(b, () -> b.put(b.limit(), (long)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() [all …]
|
D | BasicFloat.java | 577 private static void catchIndexOutOfBounds(Buffer b, Runnable thunk) { in catchIndexOutOfBounds() method in BasicFloat 581 private static void catchIndexOutOfBounds(float[] t, Runnable thunk) { in catchIndexOutOfBounds() method in BasicFloat 691 catchIndexOutOfBounds(b, () -> b.get(b.limit())); in test() 692 catchIndexOutOfBounds(b, () -> b.get(-1)); in test() 693 catchIndexOutOfBounds(b, () -> b.put(b.limit(), (float)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() [all …]
|
D | BasicDouble.java | 577 private static void catchIndexOutOfBounds(Buffer b, Runnable thunk) { in catchIndexOutOfBounds() method in BasicDouble 581 private static void catchIndexOutOfBounds(double[] t, Runnable thunk) { in catchIndexOutOfBounds() method in BasicDouble 691 catchIndexOutOfBounds(b, () -> b.get(b.limit())); in test() 692 catchIndexOutOfBounds(b, () -> b.get(-1)); in test() 693 catchIndexOutOfBounds(b, () -> b.put(b.limit(), (double)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() [all …]
|
D | BasicByte.java | 577 private static void catchIndexOutOfBounds(Buffer b, Runnable thunk) { in catchIndexOutOfBounds() method in BasicByte 581 private static void catchIndexOutOfBounds(byte[] t, Runnable thunk) { in catchIndexOutOfBounds() method in BasicByte 691 catchIndexOutOfBounds(b, () -> b.get(b.limit())); in test() 692 catchIndexOutOfBounds(b, () -> b.get(-1)); in test() 693 catchIndexOutOfBounds(b, () -> b.put(b.limit(), (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() [all …]
|
D | Basic-X.java.template | 577 private static void catchIndexOutOfBounds(Buffer b, Runnable thunk) { 581 private static void catchIndexOutOfBounds($type$[] t, Runnable thunk) { 691 catchIndexOutOfBounds(b, () -> b.get(b.limit())); 692 catchIndexOutOfBounds(b, () -> b.get(-1)); 693 catchIndexOutOfBounds(b, () -> b.put(b.limit(), ($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)); [all …]
|