/libcore/luni/src/main/java/java/nio/ |
CharArrayBuffer.java | 29 private final boolean isReadOnly; 35 private CharArrayBuffer(int capacity, char[] backingArray, int arrayOffset, boolean isReadOnly) { 39 this.isReadOnly = isReadOnly; 42 private static CharArrayBuffer copy(CharArrayBuffer other, int markOfOther, boolean isReadOnly) { 43 CharArrayBuffer buf = new CharArrayBuffer(other.capacity(), other.backingArray, other.arrayOffset, isReadOnly); 55 if (isReadOnly) { 66 return copy(this, mark, isReadOnly); 70 return new CharArrayBuffer(remaining(), backingArray, arrayOffset + position, isReadOnly); 73 @Override public boolean isReadOnly() { [all...] |
DoubleArrayBuffer.java | 29 private final boolean isReadOnly; 35 private DoubleArrayBuffer(int capacity, double[] backingArray, int arrayOffset, boolean isReadOnly) { 39 this.isReadOnly = isReadOnly; 42 private static DoubleArrayBuffer copy(DoubleArrayBuffer other, int markOfOther, boolean isReadOnly) { 43 DoubleArrayBuffer buf = new DoubleArrayBuffer(other.capacity(), other.backingArray, other.arrayOffset, isReadOnly); 55 if (isReadOnly) { 66 return copy(this, mark, isReadOnly); 70 return new DoubleArrayBuffer(remaining(), backingArray, arrayOffset + position, isReadOnly); 73 @Override public boolean isReadOnly() { [all...] |
FloatArrayBuffer.java | 29 private final boolean isReadOnly; 35 private FloatArrayBuffer(int capacity, float[] backingArray, int arrayOffset, boolean isReadOnly) { 39 this.isReadOnly = isReadOnly; 42 private static FloatArrayBuffer copy(FloatArrayBuffer other, int markOfOther, boolean isReadOnly) { 43 FloatArrayBuffer buf = new FloatArrayBuffer(other.capacity(), other.backingArray, other.arrayOffset, isReadOnly); 56 if (isReadOnly) { 67 return copy(this, mark, isReadOnly); 71 return new FloatArrayBuffer(remaining(), backingArray, arrayOffset + position, isReadOnly); 74 @Override public boolean isReadOnly() { [all...] |
IntArrayBuffer.java | 29 private final boolean isReadOnly; 35 private IntArrayBuffer(int capacity, int[] backingArray, int arrayOffset, boolean isReadOnly) { 39 this.isReadOnly = isReadOnly; 42 private static IntArrayBuffer copy(IntArrayBuffer other, int markOfOther, boolean isReadOnly) { 43 IntArrayBuffer buf = new IntArrayBuffer(other.capacity(), other.backingArray, other.arrayOffset, isReadOnly); 55 if (isReadOnly) { 66 return copy(this, mark, isReadOnly); 70 return new IntArrayBuffer(remaining(), backingArray, arrayOffset + position, isReadOnly); 73 @Override public boolean isReadOnly() { [all...] |
LongArrayBuffer.java | 29 private final boolean isReadOnly; 35 private LongArrayBuffer(int capacity, long[] backingArray, int arrayOffset, boolean isReadOnly) { 39 this.isReadOnly = isReadOnly; 42 private static LongArrayBuffer copy(LongArrayBuffer other, int markOfOther, boolean isReadOnly) { 43 LongArrayBuffer buf = new LongArrayBuffer(other.capacity(), other.backingArray, other.arrayOffset, isReadOnly); 55 if (isReadOnly) { 66 return copy(this, mark, isReadOnly); 70 return new LongArrayBuffer(remaining(), backingArray, arrayOffset + position, isReadOnly); 73 @Override public boolean isReadOnly() { [all...] |
ShortArrayBuffer.java | 29 private final boolean isReadOnly; 35 private ShortArrayBuffer(int capacity, short[] backingArray, int arrayOffset, boolean isReadOnly) { 39 this.isReadOnly = isReadOnly; 42 private static ShortArrayBuffer copy(ShortArrayBuffer other, int markOfOther, boolean isReadOnly) { 43 ShortArrayBuffer buf = new ShortArrayBuffer(other.capacity(), other.backingArray, other.arrayOffset, isReadOnly); 55 if (isReadOnly) { 66 return copy(this, mark, isReadOnly); 70 return new ShortArrayBuffer(remaining(), backingArray, arrayOffset + position, isReadOnly); 73 @Override public boolean isReadOnly() { [all...] |
ByteArrayBuffer.java | 34 private final boolean isReadOnly; 40 private ByteArrayBuffer(int capacity, byte[] backingArray, int arrayOffset, boolean isReadOnly) { 44 this.isReadOnly = isReadOnly; 51 private static ByteArrayBuffer copy(ByteArrayBuffer other, int markOfOther, boolean isReadOnly) { 52 ByteArrayBuffer buf = new ByteArrayBuffer(other.capacity(), other.backingArray, other.arrayOffset, isReadOnly); 64 if (isReadOnly) { 75 return copy(this, mark, isReadOnly); 79 return new ByteArrayBuffer(remaining(), backingArray, arrayOffset + position, isReadOnly); 82 @Override public boolean isReadOnly() { [all...] |
DirectByteBuffer.java | 30 private final boolean isReadOnly; 32 protected DirectByteBuffer(MemoryBlock block, int capacity, int offset, boolean isReadOnly, MapMode mapMode) { 44 this.isReadOnly = isReadOnly; 52 private static DirectByteBuffer copy(DirectByteBuffer other, int markOfOther, boolean isReadOnly) { 54 DirectByteBuffer buf = new DirectByteBuffer(other.block, other.capacity(), other.offset, isReadOnly, other.mapMode); 67 if (isReadOnly) { 78 return copy(this, mark, isReadOnly); 83 return new DirectByteBuffer(block, remaining(), offset + position, isReadOnly, mapMode); 86 @Override public boolean isReadOnly() { [all...] |
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/ |
ReadOnlyException.java | 25 * about it's read-only state using it's {@code isReadOnly()} method. 28 * @see FileSystem#isReadOnly() 29 * @see BlockDevice#isReadOnly()
|
AbstractFileSystem.java | 47 if (!isReadOnly()) { 61 public final boolean isReadOnly() { 85 * @see #isReadOnly() 88 if (isReadOnly()) {
|
AbstractFsObject.java | 102 if (isReadOnly()) { 108 public final boolean isReadOnly() {
|
/external/chromium_org/third_party/libaddressinput/src/java/test/com/android/i18n/addressinput/ |
FormOptionsTest.java | 35 assertTrue(options.isReadonly(AddressField.COUNTRY)); 36 assertFalse(options.isReadonly(AddressField.LOCALITY));
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
NativeBuffer.java | 99 public boolean isReadOnly() { 100 return (mAttachedFrame != null) ? mAttachedFrame.isReadOnly() : false; 121 if (isReadOnly()) {
|
/cts/tests/tests/gesture/src/android/gesture/cts/ |
GestureLibraryTest.java | 106 * Tests {@link GestureLibrary#isReadOnly()}. 111 assertFalse(mLibrary.isReadOnly());
|
/libcore/luni/src/test/java/libcore/java/security/ |
KeyStoreTest.java | 249 private static boolean isReadOnly(KeyStore ks) { 286 if (isReadOnly(ks)) { 568 if (isReadOnly(keyStore)) { 585 if (isCaseSensitive(keyStore) || isReadOnly(keyStore)) { 605 if (isReadOnly(keyStore)) { 619 if (isReadOnly(keyStore)) { 634 if (isReadOnly(keyStore)) { 645 if (isReadOnly(keyStore)) { 681 if (isReadOnly(keyStore)) { 690 if (isReadOnly(keyStore) || isCaseSensitive(keyStore)) [all...] |
/external/pdfium/fpdfsdk/src/pdfwindow/ |
PWL_SpecialButton.cpp | 60 if (IsReadOnly()) return FALSE;
89 if (IsReadOnly()) return FALSE;
|
/external/chromium_org/ui/file_manager/file_manager/background/js/ |
volume_manager.js | 18 * @param {boolean} isReadOnly True if the volume is read only. 32 isReadOnly, 69 this.isReadOnly_ = isReadOnly; 123 get isReadOnly() { 233 volumeMetadata.isReadOnly, 259 volumeMetadata.isReadOnly, 718 var isReadOnly; 725 isReadOnly = volumeInfo.isReadOnly; 730 isReadOnly = true [all...] |
/external/llvm/lib/Target/XCore/ |
XCoreTargetObjectFile.cpp | 128 if (IsCPRel && !Kind.isReadOnly()) 151 if (Kind.isReadOnly()) return UseCPRel? ReadOnlySection 157 if (Kind.isReadOnly()) return UseCPRel? ReadOnlySectionLarge 173 assert((Kind.isReadOnly() || Kind.isReadOnlyWithRel()) &&
|
/external/llvm/unittests/ExecutionEngine/MCJIT/ |
MCJITMemoryManagerTest.cpp | 91 const bool isReadOnly = i % 2 == 0; 94 data[i] = MemMgr->allocateDataSection(32, 0, 2, "", isReadOnly); 129 bool isReadOnly = i % 3 == 0; 134 isReadOnly);
|
/frameworks/base/core/java/android/gesture/ |
GestureLibrary.java | 34 public boolean isReadOnly() {
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
DirectByteBufferTest.java | 58 assertFalse(buf.isReadOnly());
|
HeapByteBufferTest.java | 58 assertFalse(buf.isReadOnly());
|
ReadOnlyDirectByteBufferTest.java | 33 assertTrue(buf.isReadOnly());
|
ReadOnlyHeapByteBufferTest.java | 33 assertTrue(buf.isReadOnly());
|
ReadOnlyWrappedByteBufferTest.java | 33 assertTrue(buf.isReadOnly());
|