| /libcore/ojluni/src/main/java/java/nio/ |
| D | Buffer.java | 379 public Buffer limit(int newLimit) { 380 if (newLimit > capacity | newLimit < 0) 381 throw createLimitException(newLimit); 382 limit = newLimit; 383 if (position > newLimit) position = newLimit; 384 if (mark > newLimit) mark = -1; 397 private IllegalArgumentException createLimitException(int newLimit) { in createLimitException() argument 400 if (newLimit > capacity) { in createLimitException() 401 msg = "newLimit > capacity: (" + newLimit + " > " + capacity + ")"; in createLimitException() 403 assert newLimit < 0 : "newLimit expected to be negative"; in createLimitException() [all …]
|
| D | MappedByteBuffer.java | 428 public final Buffer limit(int newLimit) { in limit() argument 429 super.limit(newLimit); in limit()
|
| D | DoubleBuffer.java | 1662 Buffer limit(int newLimit) { in limit() argument 1663 super.limit(newLimit); in limit()
|
| D | IntBuffer.java | 1662 Buffer limit(int newLimit) { in limit() argument 1663 super.limit(newLimit); in limit()
|
| D | FloatBuffer.java | 1662 Buffer limit(int newLimit) { in limit() argument 1663 super.limit(newLimit); in limit()
|
| D | LongBuffer.java | 1662 Buffer limit(int newLimit) { in limit() argument 1663 super.limit(newLimit); in limit()
|
| D | ShortBuffer.java | 1662 Buffer limit(int newLimit) { in limit() argument 1663 super.limit(newLimit); in limit()
|
| D | ByteBuffer.java | 1662 Buffer limit(int newLimit) { in limit() argument 1663 super.limit(newLimit); in limit()
|
| D | CharBuffer.java | 1662 Buffer limit(int newLimit) { in limit() argument 1663 super.limit(newLimit); in limit()
|
| D | X-Buffer.java.template | 1662 Buffer limit(int newLimit) { 1663 super.limit(newLimit);
|
| /libcore/ojluni/annotations/flagged_api/java/nio/ |
| D | MappedByteBuffer.annotated.java | 46 public final java.nio.Buffer limit(int newLimit) { throw new RuntimeException("Stub!"); } in limit() argument
|
| D | FloatBuffer.annotated.java | 93 public java.nio.Buffer limit(int newLimit) { throw new RuntimeException("Stub!"); } in limit() argument
|
| D | IntBuffer.annotated.java | 93 public java.nio.Buffer limit(int newLimit) { throw new RuntimeException("Stub!"); } in limit() argument
|
| D | ShortBuffer.annotated.java | 93 public java.nio.Buffer limit(int newLimit) { throw new RuntimeException("Stub!"); } in limit() argument
|
| D | DoubleBuffer.annotated.java | 93 public java.nio.Buffer limit(int newLimit) { throw new RuntimeException("Stub!"); } in limit() argument
|
| D | LongBuffer.annotated.java | 93 public java.nio.Buffer limit(int newLimit) { throw new RuntimeException("Stub!"); } in limit() argument
|
| D | CharBuffer.annotated.java | 103 public java.nio.Buffer limit(int newLimit) { throw new RuntimeException("Stub!"); } in limit() argument
|
| D | ByteBuffer.annotated.java | 95 public java.nio.Buffer limit(int newLimit) { throw new RuntimeException("Stub!"); } in limit() argument
|
| /libcore/ojluni/annotations/hiddenapi/java/nio/ |
| D | Buffer.java | 54 public final java.nio.Buffer limit(int newLimit) { in limit() argument
|
| /libcore/ojluni/annotations/sdk/nullability/java/nio/ |
| D | ByteBuffer.annotated.java | 87 @libcore.util.NonNull public java.nio.Buffer limit(int newLimit) { throw new RuntimeException("Stub… in limit() argument
|