HomeSort by relevance Sort by last modified time
    Searched defs:readonly (Results 1 - 20 of 20) sorted by null

  /libcore/luni/src/test/java/org/apache/harmony/nio/tests/java/nio/
DoubleBufferTest.java 181 // readonly's contents should be the same as buf
182 DoubleBuffer readonly = buf.asReadOnlyBuffer(); local
183 assertNotSame(buf, readonly);
184 assertTrue(readonly.isReadOnly());
185 assertEquals(buf.position(), readonly.position());
186 assertEquals(buf.limit(), readonly.limit());
187 assertEquals(buf.isDirect(), readonly.isDirect());
188 assertEquals(buf.order(), readonly.order());
189 assertContentEquals(buf, readonly);
191 // readonly's position, mark, and limit should be independent to bu
567 DoubleBuffer readonly = buf.asReadOnlyBuffer(); local
    [all...]
FloatBufferTest.java 177 // readonly's contents should be the same as buf
178 FloatBuffer readonly = buf.asReadOnlyBuffer(); local
179 assertNotSame(buf, readonly);
180 assertTrue(readonly.isReadOnly());
181 assertEquals(buf.position(), readonly.position());
182 assertEquals(buf.limit(), readonly.limit());
183 assertEquals(buf.isDirect(), readonly.isDirect());
184 assertEquals(buf.order(), readonly.order());
185 assertContentEquals(buf, readonly);
187 // readonly's position, mark, and limit should be independent to bu
562 FloatBuffer readonly = buf.asReadOnlyBuffer(); local
    [all...]
IntBufferTest.java 152 // readonly's contents should be the same as buf
153 IntBuffer readonly = buf.asReadOnlyBuffer(); local
154 assertNotSame(buf, readonly);
155 assertTrue(readonly.isReadOnly());
156 assertEquals(buf.position(), readonly.position());
157 assertEquals(buf.limit(), readonly.limit());
158 assertEquals(buf.isDirect(), readonly.isDirect());
159 assertEquals(buf.order(), readonly.order());
160 assertContentEquals(buf, readonly);
162 // readonly's position, mark, and limit should be independent to bu
518 IntBuffer readonly = buf.asReadOnlyBuffer(); local
    [all...]
LongBufferTest.java 151 // readonly's contents should be the same as buf
152 LongBuffer readonly = buf.asReadOnlyBuffer(); local
153 assertNotSame(buf, readonly);
154 assertTrue(readonly.isReadOnly());
155 assertEquals(buf.position(), readonly.position());
156 assertEquals(buf.limit(), readonly.limit());
157 assertEquals(buf.isDirect(), readonly.isDirect());
158 assertEquals(buf.order(), readonly.order());
159 assertContentEquals(buf, readonly);
161 // readonly's position, mark, and limit should be independent to bu
517 LongBuffer readonly = buf.asReadOnlyBuffer(); local
    [all...]
ShortBufferTest.java 151 // readonly's contents should be the same as buf
152 ShortBuffer readonly = buf.asReadOnlyBuffer(); local
153 assertNotSame(buf, readonly);
154 assertTrue(readonly.isReadOnly());
155 assertEquals(buf.position(), readonly.position());
156 assertEquals(buf.limit(), readonly.limit());
157 assertEquals(buf.isDirect(), readonly.isDirect());
158 assertEquals(buf.order(), readonly.order());
159 assertContentEquals(buf, readonly);
161 // readonly's position, mark, and limit should be independent to bu
511 ShortBuffer readonly = buf.asReadOnlyBuffer(); local
    [all...]
ByteBufferTest.java 204 // readonly's contents should be the same as buf
205 ByteBuffer readonly = buf.asReadOnlyBuffer(); local
206 assertNotSame(buf, readonly);
207 assertTrue(readonly.isReadOnly());
208 assertEquals(buf.position(), readonly.position());
209 assertEquals(buf.limit(), readonly.limit());
210 assertEquals(buf.isDirect(), readonly.isDirect());
211 assertEquals(buf.order(), readonly.order());
212 assertContentEquals(buf, readonly);
214 // readonly's position, mark, and limit should be independent to bu
585 ByteBuffer readonly = buf.asReadOnlyBuffer(); local
605 ByteBuffer readonly = buf.asReadOnlyBuffer(); local
    [all...]
CharBufferTest.java 156 // readonly's contents should be the same as buf
157 CharBuffer readonly = buf.asReadOnlyBuffer(); local
158 assertNotSame(buf, readonly);
159 assertTrue(readonly.isReadOnly());
160 assertEquals(buf.position(), readonly.position());
161 assertEquals(buf.limit(), readonly.limit());
162 assertEquals(buf.isDirect(), readonly.isDirect());
163 assertEquals(buf.order(), readonly.order());
164 assertEquals(buf.capacity(), readonly.capacity());
165 assertContentEquals(buf, readonly);
559 CharBuffer readonly = buf.asReadOnlyBuffer(); local
    [all...]
  /bionic/libc/kernel/common/linux/mtd/
blktrans.h 31 int readonly; member in struct:mtd_blktrans_dev
  /development/ndk/platforms/android-3/include/linux/mtd/
blktrans.h 31 int readonly; member in struct:mtd_blktrans_dev
  /external/dropbear/
cli-kex.c 149 static FILE* open_known_hosts_file(int * readonly)
185 *readonly = 0;
190 TRACE(("trying readonly: %s", strerror(errno)))
191 *readonly = 1;
212 int readonly = 0; local
220 hostsfile = open_known_hosts_file(&readonly);
297 if (readonly) {
298 TRACE(("readonly"))
  /external/kernel-headers/original/linux/mtd/
blktrans.h 29 int readonly; member in struct:mtd_blktrans_dev
  /prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/mtd/
blktrans.h 31 int readonly; member in struct:mtd_blktrans_dev
  /prebuilt/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/linux/mtd/
blktrans.h 31 int readonly; member in struct:mtd_blktrans_dev
  /prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include/linux/mtd/
blktrans.h 31 int readonly; member in struct:mtd_blktrans_dev
  /prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/linux/mtd/
blktrans.h 31 int readonly; member in struct:mtd_blktrans_dev
  /prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-arm/usr/include/linux/mtd/
blktrans.h 31 int readonly; member in struct:mtd_blktrans_dev
  /prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/linux/mtd/
blktrans.h 31 int readonly; member in struct:mtd_blktrans_dev
  /external/icu4c/samples/ustring/
ustring.cpp 403 static const UChar readonly[]={ variable
429 // set "one" to contain the 3 UChars from readonly
431 one.setTo(readonly, LENGTHOF(readonly));
444 // * UnicodeString using readonly-alias to a const UChar array
445 // construct a string that aliases a readonly buffer
446 UnicodeString three(FALSE, readonly, LENGTHOF(readonly));
447 printUnicodeString("readonly-alias string: ", three);
451 printUnicodeString("readonly-aliasing string after modification: ", three)
    [all...]
  /external/qemu/
qemu-io.c 964 int readonly = 0; local
979 readonly = 1;
986 if (readonly)
1053 int readonly = 0; local
1088 readonly = 1;
1131 if (readonly)
  /libcore/sqlite-jdbc/src/main/java/SQLite/JDBC2z/
JDBCConnection.java 66 * Database in readonly mode.
68 private boolean readonly = false; field in class:JDBCConnection
108 private DatabaseX open(boolean readonly) throws SQLException {
112 dbx.open(dbfile, readonly ? SQLite.Constants.SQLITE_OPEN_READONLY :
158 db = open(readonly);
235 return readonly;
341 if (ro != readonly) {
348 readonly = ro;

Completed in 966 milliseconds