Searched refs:isReadOnly (Results 1 - 25 of 71) sorted by last modified time

123

/libcore/ojluni/src/main/java/java/nio/
H A DBuffer.java144 * {@link #isReadOnly isReadOnly} method.
425 public abstract boolean isReadOnly(); method in class:Buffer
H A DByteBuffer.java216 boolean isReadOnly; // Valid only for heap buffers field in class:ByteBuffer
610 if (isReadOnly) {
750 return (hb != null) && !isReadOnly;
775 if (isReadOnly)
803 if (isReadOnly)
H A DByteBufferAsCharBuffer.java41 this.isReadOnly = bb.isReadOnly;
118 if (isReadOnly) {
135 if (isReadOnly) {
157 public boolean isReadOnly() { method in class:ByteBufferAsCharBuffer
158 return isReadOnly;
H A DByteBufferAsDoubleBuffer.java42 this.isReadOnly = bb.isReadOnly;
115 if (isReadOnly) {
132 if (isReadOnly) {
154 public boolean isReadOnly() { method in class:ByteBufferAsDoubleBuffer
155 return isReadOnly;
H A DByteBufferAsFloatBuffer.java41 this.isReadOnly = bb.isReadOnly;
114 if (isReadOnly) {
131 if (isReadOnly) {
153 public boolean isReadOnly() { method in class:ByteBufferAsFloatBuffer
154 return isReadOnly;
H A DByteBufferAsIntBuffer.java41 this.isReadOnly = bb.isReadOnly;
114 if (isReadOnly) {
131 if (isReadOnly) {
153 public boolean isReadOnly() { method in class:ByteBufferAsIntBuffer
154 return isReadOnly;
H A DByteBufferAsLongBuffer.java41 this.isReadOnly = bb.isReadOnly;
114 if (isReadOnly) {
131 if (isReadOnly) {
153 public boolean isReadOnly() { method in class:ByteBufferAsLongBuffer
154 return isReadOnly;
H A DByteBufferAsShortBuffer.java41 this.isReadOnly = bb.isReadOnly;
113 if (isReadOnly) {
130 if (isReadOnly) {
152 public boolean isReadOnly() { method in class:ByteBufferAsShortBuffer
153 return isReadOnly;
H A DCharBuffer.java130 boolean isReadOnly; // Valid only for heap buffers field in class:CharBuffer
749 if (isReadOnly()) {
803 return (hb != null) && !isReadOnly;
828 if (isReadOnly)
856 if (isReadOnly)
H A DDirectByteBuffer.java106 this.isReadOnly = false;
122 boolean isReadOnly) {
124 this.isReadOnly = isReadOnly;
139 int off, boolean isReadOnly) {
141 this.isReadOnly = isReadOnly;
168 return new DirectByteBuffer(memoryRef, -1, 0, rem, rem, off, isReadOnly);
182 isReadOnly);
257 if (isReadOnly) {
119 DirectByteBuffer(int cap, long addr, FileDescriptor fd, Runnable unmapper, boolean isReadOnly) argument
137 DirectByteBuffer(MemoryRef memoryRef, int mark, int pos, int lim, int cap, int off, boolean isReadOnly) argument
323 public final boolean isReadOnly() { method in class:DirectByteBuffer
[all...]
H A DDoubleBuffer.java103 boolean isReadOnly; // Valid only for heap buffers field in class:DoubleBuffer
577 return (hb != null) && !isReadOnly;
602 if (isReadOnly)
630 if (isReadOnly)
H A DFloatBuffer.java103 boolean isReadOnly; // Valid only for heap buffers field in class:FloatBuffer
577 return (hb != null) && !isReadOnly;
602 if (isReadOnly)
630 if (isReadOnly)
H A DHeapByteBuffer.java53 private HeapByteBuffer(int cap, int lim, boolean isReadOnly) { argument
55 this.isReadOnly = isReadOnly;
62 private HeapByteBuffer(byte[] buf, int off, int len, boolean isReadOnly) { argument
64 this.isReadOnly = isReadOnly;
68 boolean isReadOnly) {
70 this.isReadOnly = isReadOnly;
81 isReadOnly);
67 HeapByteBuffer(byte[] buf, int mark, int pos, int lim, int cap, int off, boolean isReadOnly) argument
135 public boolean isReadOnly() { method in class:HeapByteBuffer
[all...]
H A DHeapCharBuffer.java48 HeapCharBuffer(int cap, int lim, boolean isReadOnly) { // package-private argument
50 this.isReadOnly = isReadOnly;
57 HeapCharBuffer(char[] buf, int off, int len, boolean isReadOnly) { // package-private argument
59 this.isReadOnly = isReadOnly;
70 int off, boolean isReadOnly) {
72 this.isReadOnly = isReadOnly;
82 isReadOnly);
68 HeapCharBuffer(char[] buf, int mark, int pos, int lim, int cap, int off, boolean isReadOnly) argument
135 public boolean isReadOnly() { method in class:HeapCharBuffer
[all...]
H A DHeapDoubleBuffer.java58 HeapDoubleBuffer(int cap, int lim, boolean isReadOnly) { // package-private argument
60 this.isReadOnly = isReadOnly;
63 HeapDoubleBuffer(double[] buf, int off, int len, boolean isReadOnly) { // package-private argument
65 this.isReadOnly = isReadOnly;
70 int off, boolean isReadOnly) {
72 this.isReadOnly = isReadOnly;
83 isReadOnly);
68 HeapDoubleBuffer(double[] buf, int mark, int pos, int lim, int cap, int off, boolean isReadOnly) argument
130 public boolean isReadOnly() { method in class:HeapDoubleBuffer
[all...]
H A DHeapFloatBuffer.java48 HeapFloatBuffer(int cap, int lim, boolean isReadOnly) { // package-private argument
50 this.isReadOnly = isReadOnly;
57 HeapFloatBuffer(float[] buf, int off, int len, boolean isReadOnly) { // package-private argument
59 this.isReadOnly = isReadOnly;
70 int off, boolean isReadOnly) {
72 this.isReadOnly = isReadOnly;
82 isReadOnly);
68 HeapFloatBuffer(float[] buf, int mark, int pos, int lim, int cap, int off, boolean isReadOnly) argument
129 public boolean isReadOnly() { method in class:HeapFloatBuffer
[all...]
H A DHeapIntBuffer.java48 HeapIntBuffer(int cap, int lim, boolean isReadOnly) { // package-private argument
50 this.isReadOnly = isReadOnly;
57 HeapIntBuffer(int[] buf, int off, int len, boolean isReadOnly) { // package-private argument
59 this.isReadOnly = isReadOnly;
70 int off, boolean isReadOnly) {
72 this.isReadOnly = isReadOnly;
82 isReadOnly);
68 HeapIntBuffer(int[] buf, int mark, int pos, int lim, int cap, int off, boolean isReadOnly) argument
130 public boolean isReadOnly() { method in class:HeapIntBuffer
[all...]
H A DHeapLongBuffer.java49 HeapLongBuffer(int cap, int lim, boolean isReadOnly) { // package-private argument
51 this.isReadOnly = isReadOnly;
58 HeapLongBuffer(long[] buf, int off, int len, boolean isReadOnly) { // package-private argument
60 this.isReadOnly = isReadOnly;
71 int off, boolean isReadOnly) {
73 this.isReadOnly = isReadOnly;
83 isReadOnly);
69 HeapLongBuffer(long[] buf, int mark, int pos, int lim, int cap, int off, boolean isReadOnly) argument
131 public boolean isReadOnly() { method in class:HeapLongBuffer
[all...]
H A DHeapShortBuffer.java48 HeapShortBuffer(int cap, int lim, boolean isReadOnly) { // package-private argument
50 this.isReadOnly = isReadOnly;
57 HeapShortBuffer(short[] buf, int off, int len, boolean isReadOnly) { // package-private argument
59 this.isReadOnly = isReadOnly;
70 int off, boolean isReadOnly) {
72 this.isReadOnly = isReadOnly;
82 isReadOnly);
68 HeapShortBuffer(short[] buf, int mark, int pos, int lim, int cap, int off, boolean isReadOnly) argument
130 public boolean isReadOnly() { method in class:HeapShortBuffer
[all...]
H A DIntBuffer.java104 boolean isReadOnly; // Valid only for heap buffers field in class:IntBuffer
578 return (hb != null) && !isReadOnly;
603 if (isReadOnly)
631 if (isReadOnly)
H A DLongBuffer.java103 boolean isReadOnly; // Valid only for heap buffers field in class:LongBuffer
577 return (hb != null) && !isReadOnly;
602 if (isReadOnly)
630 if (isReadOnly)
H A DShortBuffer.java103 boolean isReadOnly; // Valid only for heap buffers field in class:ShortBuffer
577 return (hb != null) && !isReadOnly;
602 if (isReadOnly)
630 if (isReadOnly)
H A DStringCharBuffer.java98 public final boolean isReadOnly() { method in class:StringCharBuffer
/libcore/ojluni/src/main/java/java/nio/file/
H A DFileStore.java84 public abstract boolean isReadOnly(); method in class:FileStore
H A DFileSystem.java82 * its {@link #isReadOnly() isReadOnly} method. Attempts to write to file stores
152 public abstract boolean isReadOnly(); method in class:FileSystem

Completed in 114 milliseconds

123