/libcore/ojluni/src/main/java/java/nio/ |
D | HeapIntBuffer.java | 86 private HeapIntBuffer(int cap, int lim, boolean isReadOnly) { in HeapIntBuffer() argument 88 this.isReadOnly = isReadOnly; in HeapIntBuffer() 112 private HeapIntBuffer(int[] buf, int off, int len, boolean isReadOnly) { in HeapIntBuffer() argument 114 this.isReadOnly = isReadOnly; in HeapIntBuffer() 123 int off, boolean isReadOnly) in HeapIntBuffer() argument 128 this.isReadOnly = isReadOnly; in HeapIntBuffer() 153 isReadOnly); in slice() 167 isReadOnly); in slice() 179 isReadOnly); in duplicate() 264 public boolean isReadOnly() { in isReadOnly() method in HeapIntBuffer [all …]
|
D | HeapFloatBuffer.java | 86 private HeapFloatBuffer(int cap, int lim, boolean isReadOnly) { in HeapFloatBuffer() argument 88 this.isReadOnly = isReadOnly; in HeapFloatBuffer() 112 private HeapFloatBuffer(float[] buf, int off, int len, boolean isReadOnly) { in HeapFloatBuffer() argument 114 this.isReadOnly = isReadOnly; in HeapFloatBuffer() 123 int off, boolean isReadOnly) in HeapFloatBuffer() argument 128 this.isReadOnly = isReadOnly; in HeapFloatBuffer() 153 isReadOnly); in slice() 167 isReadOnly); in slice() 179 isReadOnly); in duplicate() 264 public boolean isReadOnly() { in isReadOnly() method in HeapFloatBuffer [all …]
|
D | HeapShortBuffer.java | 86 private HeapShortBuffer(int cap, int lim, boolean isReadOnly) { in HeapShortBuffer() argument 88 this.isReadOnly = isReadOnly; in HeapShortBuffer() 112 private HeapShortBuffer(short[] buf, int off, int len, boolean isReadOnly) { in HeapShortBuffer() argument 114 this.isReadOnly = isReadOnly; in HeapShortBuffer() 123 int off, boolean isReadOnly) in HeapShortBuffer() argument 128 this.isReadOnly = isReadOnly; in HeapShortBuffer() 153 isReadOnly); in slice() 167 isReadOnly); in slice() 179 isReadOnly); in duplicate() 264 public boolean isReadOnly() { in isReadOnly() method in HeapShortBuffer [all …]
|
D | HeapLongBuffer.java | 86 private HeapLongBuffer(int cap, int lim, boolean isReadOnly) { in HeapLongBuffer() argument 88 this.isReadOnly = isReadOnly; in HeapLongBuffer() 112 private HeapLongBuffer(long[] buf, int off, int len, boolean isReadOnly) { in HeapLongBuffer() argument 114 this.isReadOnly = isReadOnly; in HeapLongBuffer() 123 int off, boolean isReadOnly) in HeapLongBuffer() argument 128 this.isReadOnly = isReadOnly; in HeapLongBuffer() 153 isReadOnly); in slice() 167 isReadOnly); in slice() 179 isReadOnly); in duplicate() 264 public boolean isReadOnly() { in isReadOnly() method in HeapLongBuffer [all …]
|
D | HeapDoubleBuffer.java | 86 private HeapDoubleBuffer(int cap, int lim, boolean isReadOnly) { in HeapDoubleBuffer() argument 88 this.isReadOnly = isReadOnly; in HeapDoubleBuffer() 112 private HeapDoubleBuffer(double[] buf, int off, int len, boolean isReadOnly) { in HeapDoubleBuffer() argument 114 this.isReadOnly = isReadOnly; in HeapDoubleBuffer() 123 int off, boolean isReadOnly) in HeapDoubleBuffer() argument 128 this.isReadOnly = isReadOnly; in HeapDoubleBuffer() 153 isReadOnly); in slice() 167 isReadOnly); in slice() 179 isReadOnly); in duplicate() 264 public boolean isReadOnly() { in isReadOnly() method in HeapDoubleBuffer [all …]
|
D | HeapCharBuffer.java | 86 private HeapCharBuffer(int cap, int lim, boolean isReadOnly) { in HeapCharBuffer() argument 88 this.isReadOnly = isReadOnly; in HeapCharBuffer() 112 private HeapCharBuffer(char[] buf, int off, int len, boolean isReadOnly) { in HeapCharBuffer() argument 114 this.isReadOnly = isReadOnly; in HeapCharBuffer() 123 int off, boolean isReadOnly) in HeapCharBuffer() argument 128 this.isReadOnly = isReadOnly; in HeapCharBuffer() 153 isReadOnly); in slice() 167 isReadOnly); in slice() 179 isReadOnly); in duplicate() 264 public boolean isReadOnly() { in isReadOnly() method in HeapCharBuffer [all …]
|
D | DirectByteBuffer.java | 108 this.isReadOnly = false; in DirectByteBuffer() 125 boolean isReadOnly) { in DirectByteBuffer() argument 127 this.isReadOnly = isReadOnly; in DirectByteBuffer() 144 int off, boolean isReadOnly) { in DirectByteBuffer() argument 146 this.isReadOnly = isReadOnly; in DirectByteBuffer() 179 return new DirectByteBuffer(memoryRef, -1, 0, rem, rem, off, isReadOnly); in slice() 196 isReadOnly); in slice() 210 isReadOnly); in duplicate() 293 if (isReadOnly) { in put() 305 if (isReadOnly) { in put() [all …]
|
D | HeapByteBuffer.java | 86 private HeapByteBuffer(int cap, int lim, boolean isReadOnly) { in HeapByteBuffer() argument 88 this.isReadOnly = isReadOnly; in HeapByteBuffer() 112 private HeapByteBuffer(byte[] buf, int off, int len, boolean isReadOnly) { in HeapByteBuffer() argument 114 this.isReadOnly = isReadOnly; in HeapByteBuffer() 123 int off, boolean isReadOnly) in HeapByteBuffer() argument 128 this.isReadOnly = isReadOnly; in HeapByteBuffer() 153 isReadOnly); in slice() 167 isReadOnly); in slice() 179 isReadOnly); in duplicate() 264 public boolean isReadOnly() { in isReadOnly() method in HeapByteBuffer [all …]
|
D | ByteBufferAsDoubleBuffer.java | 66 this.isReadOnly = bb.isReadOnly; in ByteBufferAsDoubleBuffer() 322 public boolean isReadOnly() { in isReadOnly() method in ByteBufferAsDoubleBuffer 323 return isReadOnly; in isReadOnly() 382 if (isReadOnly) { in throwIfReadOnly()
|
D | ByteBufferAsLongBuffer.java | 66 this.isReadOnly = bb.isReadOnly; in ByteBufferAsLongBuffer() 322 public boolean isReadOnly() { in isReadOnly() method in ByteBufferAsLongBuffer 323 return isReadOnly; in isReadOnly() 382 if (isReadOnly) { in throwIfReadOnly()
|
D | ByteBufferAsIntBuffer.java | 66 this.isReadOnly = bb.isReadOnly; in ByteBufferAsIntBuffer() 322 public boolean isReadOnly() { in isReadOnly() method in ByteBufferAsIntBuffer 323 return isReadOnly; in isReadOnly() 382 if (isReadOnly) { in throwIfReadOnly()
|
D | ByteBufferAsShortBuffer.java | 66 this.isReadOnly = bb.isReadOnly; in ByteBufferAsShortBuffer() 322 public boolean isReadOnly() { in isReadOnly() method in ByteBufferAsShortBuffer 323 return isReadOnly; in isReadOnly() 382 if (isReadOnly) { in throwIfReadOnly()
|
D | ByteBufferAsFloatBuffer.java | 66 this.isReadOnly = bb.isReadOnly; in ByteBufferAsFloatBuffer() 322 public boolean isReadOnly() { in isReadOnly() method in ByteBufferAsFloatBuffer 323 return isReadOnly; in isReadOnly() 382 if (isReadOnly) { in throwIfReadOnly()
|
D | FloatBuffer.java | 285 boolean isReadOnly; field in FloatBuffer 1024 if (isReadOnly()) in put() 1098 if (isReadOnly()) in put() 1293 if (isReadOnly()) in put() 1378 if (isReadOnly()) in put() 1582 return (hb != null) && !isReadOnly; in hasArray() 1607 if (isReadOnly) in array() 1635 if (isReadOnly) in arrayOffset()
|
D | LongBuffer.java | 285 boolean isReadOnly; field in LongBuffer 1024 if (isReadOnly()) in put() 1098 if (isReadOnly()) in put() 1293 if (isReadOnly()) in put() 1378 if (isReadOnly()) in put() 1582 return (hb != null) && !isReadOnly; in hasArray() 1607 if (isReadOnly) in array() 1635 if (isReadOnly) in arrayOffset()
|
D | IntBuffer.java | 285 boolean isReadOnly; field in IntBuffer 1024 if (isReadOnly()) in put() 1098 if (isReadOnly()) in put() 1293 if (isReadOnly()) in put() 1378 if (isReadOnly()) in put() 1582 return (hb != null) && !isReadOnly; in hasArray() 1607 if (isReadOnly) in array() 1635 if (isReadOnly) in arrayOffset()
|
D | ShortBuffer.java | 285 boolean isReadOnly; field in ShortBuffer 1024 if (isReadOnly()) in put() 1098 if (isReadOnly()) in put() 1293 if (isReadOnly()) in put() 1378 if (isReadOnly()) in put() 1582 return (hb != null) && !isReadOnly; in hasArray() 1607 if (isReadOnly) in array() 1635 if (isReadOnly) in arrayOffset()
|
D | DoubleBuffer.java | 285 boolean isReadOnly; field in DoubleBuffer 1024 if (isReadOnly()) in put() 1098 if (isReadOnly()) in put() 1293 if (isReadOnly()) in put() 1378 if (isReadOnly()) in put() 1582 return (hb != null) && !isReadOnly; in hasArray() 1607 if (isReadOnly) in array() 1635 if (isReadOnly) in arrayOffset()
|
D | CharBuffer.java | 285 boolean isReadOnly; field in CharBuffer 1024 if (isReadOnly()) in put() 1098 if (isReadOnly()) in put() 1293 if (isReadOnly()) in put() 1378 if (isReadOnly()) in put() 1531 if (isReadOnly()) in put() 1582 return (hb != null) && !isReadOnly; in hasArray() 1607 if (isReadOnly) in array() 1635 if (isReadOnly) in arrayOffset()
|
D | ByteBufferAsCharBuffer.java | 66 this.isReadOnly = bb.isReadOnly; in ByteBufferAsCharBuffer() 322 public boolean isReadOnly() { in isReadOnly() method in ByteBufferAsCharBuffer 323 return isReadOnly; in isReadOnly() 382 if (isReadOnly) { in throwIfReadOnly()
|
D | StringCharBuffer.java | 44 this.isReadOnly = true; in StringCharBuffer() 80 this.isReadOnly = true; in StringCharBuffer() 118 public final boolean isReadOnly() { in isReadOnly() method in StringCharBuffer
|
D | ByteBuffer.java | 285 boolean isReadOnly; field in ByteBuffer 1024 if (isReadOnly()) in put() 1098 if (isReadOnly()) in put() 1293 if (isReadOnly()) in put() 1378 if (isReadOnly()) in put() 1582 return (hb != null) && !isReadOnly; in hasArray() 1607 if (isReadOnly) in array() 1635 if (isReadOnly) in arrayOffset()
|
/libcore/luni/src/test/java/libcore/javax/security/auth/ |
D | SubjectTest.java | 81 public void isReadOnly() { in isReadOnly() method in SubjectTest 82 assertTrue(subject.isReadOnly()); in isReadOnly() 85 assertFalse(subject.isReadOnly()); in isReadOnly() 91 assertFalse(subject.isReadOnly()); in setReadOnly() 94 assertTrue(subject.isReadOnly()); in setReadOnly()
|
/libcore/luni/src/test/java/libcore/java/security/ |
D | PermissionCollectionTest.java | 53 assertTrue(permissionCollection.isReadOnly()); in testSetReadOnly() 55 assertTrue(permissionCollection.isReadOnly()); in testSetReadOnly()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
D | ByteBufferTest.java | 101 if (buf.isReadOnly()) { in testArray() 139 if (buf.isReadOnly()) { in testArrayOffset() 168 assertTrue(readonly.isReadOnly()); in testAsReadOnlyBuffer() 185 if (buf.isReadOnly()) { in testCompact() 250 if (!buf.isReadOnly()) { in testCompareTo() 283 assertEquals(buf.isReadOnly(), duplicate.isReadOnly()); 297 if (!duplicate.isReadOnly()) { 464 if (buf.isReadOnly()) { in testHasArray() 535 if (buf.isReadOnly()) { in testPutbyte() 566 if (buf.isReadOnly()) { in testPutbyteArray() [all …]
|