Home
last modified time | relevance | path

Searched refs:READ_WRITE (Results 1 – 25 of 33) sorted by relevance

12

/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/
DMapModeTest.java34 assertNotNull(FileChannel.MapMode.READ_WRITE); in test_PRIVATE_READONLY_READWRITE()
39 .equals(FileChannel.MapMode.READ_WRITE)); in test_PRIVATE_READONLY_READWRITE()
41 .equals(FileChannel.MapMode.READ_WRITE)); in test_PRIVATE_READONLY_READWRITE()
50 assertNotNull(FileChannel.MapMode.READ_WRITE.toString()); in test_toString()
DFileChannelTest.java1637 writeOnlyFileChannel.map(MapMode.READ_WRITE, 0, CONTENT_LENGTH); in test_map_AbnormalMode()
1650 writeOnlyFileChannel.map(MapMode.READ_WRITE, 0, -1); in test_map_AbnormalMode()
1657 readOnlyFileChannel.map(MapMode.READ_WRITE, 0, CONTENT_LENGTH); in test_map_AbnormalMode()
1669 readOnlyFileChannel.map(MapMode.READ_WRITE, -1, CONTENT_LENGTH); in test_map_AbnormalMode()
1675 readOnlyFileChannel.map(MapMode.READ_WRITE, 0, -1); in test_map_AbnormalMode()
1696 readOnlyFileChannel.map(MapMode.READ_WRITE, 0, -1); in test_map_AbnormalMode()
1710 readWriteFileChannel.map(MapMode.READ_WRITE, 0, -1); in test_map_AbnormalMode()
1827 mapped = readWriteFileChannel.map(MapMode.READ_WRITE, 0, CONTENT in test_map_ReadWrite()
1854 MappedByteBuffer mapped = readWriteFileChannel.map(MapMode.READ_WRITE, in test_map_ReadWrite_NonZeroPosition()
/external/webkit/LayoutTests/storage/indexeddb/
Dexception-in-event-aborts-expected.txt19 trans = db.transaction([], webkitIDBTransaction.READ_WRITE)
29 trans = db.transaction([], webkitIDBTransaction.READ_WRITE)
39 trans = db.transaction([], webkitIDBTransaction.READ_WRITE)
49 trans = db.transaction([], webkitIDBTransaction.READ_WRITE)
Dtransaction-after-close-expected.txt17 currentTransaction = db.transaction([], webkitIDBTransaction.READ_WRITE)
20 Expecting exception from db.transaction([], webkitIDBTransaction.READ_WRITE)
27 currentTransaction = second_db.transaction([], webkitIDBTransaction.READ_WRITE)
Derror-causes-abort-by-default-expected.txt15 trans = db.transaction([], webkitIDBTransaction.READ_WRITE)
25 trans = db.transaction([], webkitIDBTransaction.READ_WRITE)
34 trans = db.transaction([], webkitIDBTransaction.READ_WRITE)
Dcreate-object-store-options-expected.txt15 trans = db.transaction([], webkitIDBTransaction.READ_WRITE)
16 PASS trans.mode is webkitIDBTransaction.READ_WRITE
Dobjectstore-removeobjectstore-expected.txt16 db.transaction({mode: webkitIDBTransaction.READ_WRITE})
25 db.transaction({mode: webkitIDBTransaction.READ_WRITE})
Dobjectstore-basics-expected.txt52 transaction = db.transaction([], webkitIDBTransaction.READ_WRITE)
68 db.transaction([], webkitIDBTransaction.READ_WRITE)
74 db.transaction([], webkitIDBTransaction.READ_WRITE)
81 db.transaction([], webkitIDBTransaction.READ_WRITE)
Dcursor-delete-expected.txt19 trans = db.transaction(['test'], webkitIDBTransaction.READ_WRITE)
36 trans = db.transaction(['test'], webkitIDBTransaction.READ_WRITE)
Dcursor-index-delete-expected.txt20 trans = db.transaction(['test'], webkitIDBTransaction.READ_WRITE)
37 trans = db.transaction(['test'], webkitIDBTransaction.READ_WRITE)
Dtransaction-event-propagation-expected.txt16 trans = db.transaction([], webkitIDBTransaction.READ_WRITE)
48 trans = db.transaction([], webkitIDBTransaction.READ_WRITE)
Drequest-event-propagation-expected.txt17 trans = db.transaction([], webkitIDBTransaction.READ_WRITE)
28 trans = db.transaction([], webkitIDBTransaction.READ_WRITE)
95 trans = db.transaction([], webkitIDBTransaction.READ_WRITE)
Ddata-corruption-expected.txt16 transaction = db.transaction([], webkitIDBTransaction.READ_WRITE)
Dconstants-expected.txt23 PASS webkitIDBTransaction.READ_WRITE is 0
Dobjectstore-clear-expected.txt26 db.transaction({mode: webkitIDBTransaction.READ_WRITE})
Ddatabase-quota-expected.txt24 trans = db.transaction([], webkitIDBTransaction.READ_WRITE)
Dtransaction-abort-expected.txt16 trans = db.transaction([], webkitIDBTransaction.READ_WRITE)
Dcreate-and-remove-object-store-expected.txt31 trans = db.transaction({mode: webkitIDBTransaction.READ_WRITE})
Dobjectstore-autoincrement-expected.txt26 trans = db.transaction([], webkitIDBTransaction.READ_WRITE)
Dcursor-skip-deleted-expected.txt19 trans = db.transaction([], webkitIDBTransaction.READ_WRITE)
/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/
DMappedByteBufferTest.java104 mmb = fc.map(FileChannel.MapMode.READ_WRITE, 0, fc.size()); in testEmptyBuffer()
149 FileChannel.MapMode.READ_WRITE, 0, fileChannelReadWrite.size()); in test_force()
157 FileChannel.MapMode.READ_WRITE, 0, fileChannelRW.size()); in test_force()
182 FileChannel.MapMode.READ_WRITE, 0, fileChannelReadWrite.size()); in test_load()
217 MappedByteBuffer mbb = ch.map(MapMode.READ_WRITE, 0L, 100L); in test_position()
/external/chromium/net/http/
Dhttp_cache_transaction.cc325 DoneWritingToEntry(mode_ == READ_WRITE); in Read()
333 case READ_WRITE: in Read()
595 mode_ = READ_WRITE; in DoGetBackendComplete()
686 if (server_responded_206_ && mode_ == READ_WRITE && !truncated_ && in DoSuccessfulSendRequest()
700 if (mode_ == READ_WRITE || mode_ == UPDATE) { in DoSuccessfulSendRequest()
772 if (mode_ == READ_WRITE) { in DoOpenEntryComplete()
938 case READ_WRITE: in DoNotifyBeforeSendHeadersComplete()
1023 DCHECK_EQ(READ_WRITE, mode_); in DoUpdateCachedResponseComplete()
1480 DCHECK(mode_ == READ_WRITE); in BeginCacheValidation()
1519 DCHECK(mode_ == READ_WRITE); in BeginPartialCacheValidation()
[all …]
/external/webkit/Source/WebCore/storage/
DIDBTransaction.h52 READ_WRITE = 0, enumerator
DIDBTransaction.idl33 const unsigned short READ_WRITE = 0;
DIDBDatabase.cpp119 if (mode != IDBTransaction::READ_WRITE && mode != IDBTransaction::READ_ONLY) { in transaction()

12