/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
DoubleBufferTest.java | 113 // readonly's contents should be the same as buf 114 DoubleBuffer readonly = buf.asReadOnlyBuffer(); local 115 assertNotSame(buf, readonly); 116 assertTrue(readonly.isReadOnly()); 117 assertEquals(buf.position(), readonly.position()); 118 assertEquals(buf.limit(), readonly.limit()); 119 assertEquals(buf.isDirect(), readonly.isDirect()); 120 assertEquals(buf.order(), readonly.order()); 121 assertContentEquals(buf, readonly); 123 // readonly's position, mark, and limit should be independent to bu 399 DoubleBuffer readonly = buf.asReadOnlyBuffer(); local [all...] |
FloatBufferTest.java | 89 // readonly's contents should be the same as buf 90 FloatBuffer readonly = buf.asReadOnlyBuffer(); local 91 assertNotSame(buf, readonly); 92 assertTrue(readonly.isReadOnly()); 93 assertEquals(buf.position(), readonly.position()); 94 assertEquals(buf.limit(), readonly.limit()); 95 assertEquals(buf.isDirect(), readonly.isDirect()); 96 assertEquals(buf.order(), readonly.order()); 97 assertContentEquals(buf, readonly); 99 // readonly's position, mark, and limit should be independent to bu 397 FloatBuffer readonly = buf.asReadOnlyBuffer(); local [all...] |
IntBufferTest.java | 89 // readonly's contents should be the same as buf 90 IntBuffer readonly = buf.asReadOnlyBuffer(); local 91 assertNotSame(buf, readonly); 92 assertTrue(readonly.isReadOnly()); 93 assertEquals(buf.position(), readonly.position()); 94 assertEquals(buf.limit(), readonly.limit()); 95 assertEquals(buf.isDirect(), readonly.isDirect()); 96 assertEquals(buf.order(), readonly.order()); 97 assertContentEquals(buf, readonly); 99 // readonly's position, mark, and limit should be independent to bu 375 IntBuffer readonly = buf.asReadOnlyBuffer(); local [all...] |
LongBufferTest.java | 89 // readonly's contents should be the same as buf 90 LongBuffer readonly = buf.asReadOnlyBuffer(); local 91 assertNotSame(buf, readonly); 92 assertTrue(readonly.isReadOnly()); 93 assertEquals(buf.position(), readonly.position()); 94 assertEquals(buf.limit(), readonly.limit()); 95 assertEquals(buf.isDirect(), readonly.isDirect()); 96 assertEquals(buf.order(), readonly.order()); 97 assertContentEquals(buf, readonly); 99 // readonly's position, mark, and limit should be independent to bu 376 LongBuffer readonly = buf.asReadOnlyBuffer(); local [all...] |
ShortBufferTest.java | 88 // readonly's contents should be the same as buf 89 ShortBuffer readonly = buf.asReadOnlyBuffer(); local 90 assertNotSame(buf, readonly); 91 assertTrue(readonly.isReadOnly()); 92 assertEquals(buf.position(), readonly.position()); 93 assertEquals(buf.limit(), readonly.limit()); 94 assertEquals(buf.isDirect(), readonly.isDirect()); 95 assertEquals(buf.order(), readonly.order()); 96 assertContentEquals(buf, readonly); 98 // readonly's position, mark, and limit should be independent to bu 362 ShortBuffer readonly = buf.asReadOnlyBuffer(); local [all...] |
ByteBufferTest.java | 139 // readonly's contents should be the same as buf 140 ByteBuffer readonly = buf.asReadOnlyBuffer(); local 141 assertNotSame(buf, readonly); 142 assertTrue(readonly.isReadOnly()); 143 assertEquals(buf.position(), readonly.position()); 144 assertEquals(buf.limit(), readonly.limit()); 145 assertEquals(buf.isDirect(), readonly.isDirect()); 146 assertEquals(buf.order(), readonly.order()); 147 assertContentEquals(buf, readonly); 149 // readonly's position, mark, and limit should be independent to bu 462 ByteBuffer readonly = buf.asReadOnlyBuffer(); local 477 ByteBuffer readonly = buf.asReadOnlyBuffer(); local [all...] |
CharBufferTest.java | 92 // readonly's contents should be the same as buf 93 CharBuffer readonly = buf.asReadOnlyBuffer(); local 94 assertNotSame(buf, readonly); 95 assertTrue(readonly.isReadOnly()); 96 assertEquals(buf.position(), readonly.position()); 97 assertEquals(buf.limit(), readonly.limit()); 98 assertEquals(buf.isDirect(), readonly.isDirect()); 99 assertEquals(buf.order(), readonly.order()); 100 assertEquals(buf.capacity(), readonly.capacity()); 101 assertContentEquals(buf, readonly); 428 CharBuffer readonly = buf.asReadOnlyBuffer(); local [all...] |
/external/icu/icu4c/source/samples/ustring/ |
ustring.cpp | 411 static const UChar readonly[]={ variable 437 // set "one" to contain the 3 UChars from readonly 439 one.setTo(readonly, UPRV_LENGTHOF(readonly)); 452 // * UnicodeString using readonly-alias to a const UChar array 453 // construct a string that aliases a readonly buffer 454 UnicodeString three(FALSE, readonly, UPRV_LENGTHOF(readonly)); 455 printUnicodeString("readonly-alias string: ", three); 459 printUnicodeString("readonly-aliasing string after modification: ", three) [all...] |
/external/mesa3d/src/gallium/drivers/ilo/core/ |
ilo_state_surface.h | 59 bool readonly; member in struct:ilo_state_surface_buffer_info 80 bool readonly; member in struct:ilo_state_surface_image_info 95 bool readonly; member in struct:ilo_state_surface
|
/system/extras/ioshark/ |
ioshark_bench.h | 49 int readonly; member in struct:files_db_s 103 return (((struct files_db_s *)node)->readonly); 132 void *files_db_add_byfileno(void *handle, int fileno, int readonly);
|
ioshark_bench.c | 173 int readonly; local 183 * Check to see if the file is in a readonly partition, 199 readonly = 0; 201 readonly = 1; 205 readonly); 687 * live in readonly partitions (/system, /vendor etc)
|
/build/kati/ |
eval.cc | 95 } else if (prev->ReadOnly()) { 96 Error(StringPrintf("*** cannot assign to readonly variable: %s", 157 bool readonly; local 159 &readonly); 160 if (readonly) { 161 Error(StringPrintf("*** cannot assign to readonly variable: %s", 244 bool readonly; local 245 current_scope_->Assign(lhs, new RuleVar(rhs_var, rule_var.op), &readonly); 246 if (readonly) { 247 Error(StringPrintf("*** cannot assign to readonly variable: %s" [all...] |
/system/nfc/src/nfa/ce/ |
nfa_ce_act.cc | 739 bool readonly; local 750 readonly = (p_cb->listen_info[NFA_CE_LISTEN_INFO_IDX_NDEF].flags & 763 status = CE_T3tSetLocalNDEFMsg(readonly, p_cb->ndef_max_size, 771 status = CE_T4tSetLocalNDEFMsg(readonly, p_cb->ndef_max_size, [all...] |
/build/make/core/ |
product.mk | 325 # Mark the variables in _product_stash_var_list as readonly 327 define readonly-product-vars
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
imaplib.py | 132 <instance>.readonly("<reason>"), which is a sub-class of 'abort'.
137 "readonly" exceptions imply the command should be re-tried.
147 class readonly(abort): pass # Mailbox status changed to READ-ONLY
class in class:IMAP4 631 def select(self, mailbox='INBOX', readonly=False):
636 (typ, [data]) = <instance>.select(mailbox='INBOX', readonly=False)
644 self.is_readonly = readonly
645 if readonly:
655 and not readonly:
659 raise self.readonly('%s is not writable' % mailbox)
833 raise self.readonly('mailbox status changed to READ-ONLY') [all...] |
/external/e2fsprogs/lib/ext2fs/ |
unix_io.c | 572 int readonly = 0; local 575 error = ioctl(data->dev, BLKROGET, &readonly); 576 if (!error && readonly) {
|
/external/javasqlite/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;
|
/external/python/cpython2/Lib/ |
imaplib.py | 142 <instance>.readonly("<reason>"), which is a sub-class of 'abort'. 147 "readonly" exceptions imply the command should be re-tried. 157 class readonly(abort): pass # Mailbox status changed to READ-ONLY class in class:IMAP4 644 def select(self, mailbox='INBOX', readonly=False): 649 (typ, [data]) = <instance>.select(mailbox='INBOX', readonly=False) 657 self.is_readonly = readonly 658 if readonly: 668 and not readonly: 672 raise self.readonly('%s is not writable' % mailbox) 846 raise self.readonly('mailbox status changed to READ-ONLY' [all...] |
/external/python/cpython3/Include/ |
unicodeobject.h | 900 unsigned char readonly; member in struct:__anon33198 [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
imaplib.py | 132 <instance>.readonly("<reason>"), which is a sub-class of 'abort'. 137 "readonly" exceptions imply the command should be re-tried. 147 class readonly(abort): pass # Mailbox status changed to READ-ONLY class in class:IMAP4 631 def select(self, mailbox='INBOX', readonly=False): 636 (typ, [data]) = <instance>.select(mailbox='INBOX', readonly=False) 644 self.is_readonly = readonly 645 if readonly: 655 and not readonly: 659 raise self.readonly('%s is not writable' % mailbox) 833 raise self.readonly('mailbox status changed to READ-ONLY' [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
imaplib.py | 132 <instance>.readonly("<reason>"), which is a sub-class of 'abort'. 137 "readonly" exceptions imply the command should be re-tried. 147 class readonly(abort): pass # Mailbox status changed to READ-ONLY class in class:IMAP4 631 def select(self, mailbox='INBOX', readonly=False): 636 (typ, [data]) = <instance>.select(mailbox='INBOX', readonly=False) 644 self.is_readonly = readonly 645 if readonly: 655 and not readonly: 659 raise self.readonly('%s is not writable' % mailbox) 833 raise self.readonly('mailbox status changed to READ-ONLY' [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
imaplib.py | 132 <instance>.readonly("<reason>"), which is a sub-class of 'abort'. 137 "readonly" exceptions imply the command should be re-tried. 147 class readonly(abort): pass # Mailbox status changed to READ-ONLY class in class:IMAP4 631 def select(self, mailbox='INBOX', readonly=False): 636 (typ, [data]) = <instance>.select(mailbox='INBOX', readonly=False) 644 self.is_readonly = readonly 645 if readonly: 655 and not readonly: 659 raise self.readonly('%s is not writable' % mailbox) 833 raise self.readonly('mailbox status changed to READ-ONLY' [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
imaplib.py | 132 <instance>.readonly("<reason>"), which is a sub-class of 'abort'. 137 "readonly" exceptions imply the command should be re-tried. 147 class readonly(abort): pass # Mailbox status changed to READ-ONLY class in class:IMAP4 631 def select(self, mailbox='INBOX', readonly=False): 636 (typ, [data]) = <instance>.select(mailbox='INBOX', readonly=False) 644 self.is_readonly = readonly 645 if readonly: 655 and not readonly: 659 raise self.readonly('%s is not writable' % mailbox) 833 raise self.readonly('mailbox status changed to READ-ONLY' [all...] |
/external/llvm/include/llvm/Support/ |
FileSystem.h | 681 readonly, ///< May only access map via const_data as read only. enumerator in enum:llvm::sys::fs::mapped_file_region::mapmode [all...] |
/external/python/cpython3/Lib/ |
imaplib.py | 166 <instance>.readonly("<reason>"), which is a sub-class of 'abort'. 171 "readonly" exceptions imply the command should be re-tried. 181 class readonly(abort): pass # Mailbox status changed to READ-ONLY class in class:IMAP4 719 def select(self, mailbox='INBOX', readonly=False): 724 (typ, [data]) = <instance>.select(mailbox='INBOX', readonly=False) 732 self.is_readonly = readonly 733 if readonly: 743 and not readonly: 747 raise self.readonly('%s is not writable' % mailbox) 944 raise self.readonly('mailbox status changed to READ-ONLY' [all...] |