Home
last modified time | relevance | path

Searched refs:newLimit (Results 1 – 10 of 10) sorted by relevance

/libcore/ojluni/src/main/java/java/nio/
DBuffer.java288 public Buffer limit(int newLimit) { in limit() argument
289 if ((newLimit > capacity) || (newLimit < 0)) in limit()
291 limit = newLimit; in limit()
DShortBuffer.java649 public Buffer limit(int newLimit) { in limit() argument
650 return super.limit(newLimit); in limit()
DLongBuffer.java649 public Buffer limit(int newLimit) { in limit() argument
650 return super.limit(newLimit); in limit()
DIntBuffer.java650 public Buffer limit(int newLimit) { in limit() argument
651 return super.limit(newLimit); in limit()
DDoubleBuffer.java649 public Buffer limit(int newLimit) { in limit() argument
650 return super.limit(newLimit); in limit()
DFloatBuffer.java649 public Buffer limit(int newLimit) { in limit() argument
650 return super.limit(newLimit); in limit()
DCharBuffer.java875 public Buffer limit(int newLimit) { in limit() argument
876 return super.limit(newLimit); in limit()
DByteBuffer.java817 public Buffer limit(int newLimit) { in limit() argument
818 return super.limit(newLimit); in limit()
/libcore/ojluni/annotations/hiddenapi/java/nio/
DBuffer.java54 public final java.nio.Buffer limit(int newLimit) { in limit() argument
/libcore/ojluni/annotations/sdk/nullability/java/nio/
DByteBuffer.annotated.java75 @libcore.util.NonNull public java.nio.Buffer limit(int newLimit) { throw new RuntimeException("Stub… in limit() argument