Home
last modified time | relevance | path

Searched refs:READ_ONLY (Results 1 – 25 of 49) sorted by relevance

12

/external/v8/test/mjsunit/regress/
Dregress-1199637.js34 const READ_ONLY = 1; constant
47 %SetProperty(this.__proto__, "c", 1234, READ_ONLY);
52 %SetProperty(this.__proto__, "d", 1234, READ_ONLY);
68 %SetProperty(this.__proto__, "z", 1234, READ_ONLY);
73 %SetProperty(this.__proto__, "w", 1234, READ_ONLY);
Dregress-334.js32 var READ_ONLY = 1; variable
41 %SetProperty(object, "bar", func1, DONT_ENUM | READ_ONLY);
42 %SetProperty(object, "baz", func1, DONT_DELETE | READ_ONLY);
43 %SetProperty(object.__proto__, "bif", func1, DONT_ENUM | DONT_DELETE | READ_ONLY);
/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/
DMapModeTest.java33 assertNotNull(FileChannel.MapMode.READ_ONLY); in test_PRIVATE_READONLY_READWRITE()
37 .equals(FileChannel.MapMode.READ_ONLY)); in test_PRIVATE_READONLY_READWRITE()
40 assertFalse(FileChannel.MapMode.READ_ONLY in test_PRIVATE_READONLY_READWRITE()
49 assertNotNull(FileChannel.MapMode.READ_ONLY.toString()); in test_toString()
DFileChannelTest.java1631 writeOnlyFileChannel.map(MapMode.READ_ONLY, 0, CONTENT_LENGTH); in test_map_AbnormalMode()
1682 readOnlyFileChannel.map(MapMode.READ_ONLY, 0, CONTENT_LENGTH + 1); in test_map_AbnormalMode()
1688 readOnlyFileChannel.map(MapMode.READ_ONLY, 2, CONTENT_LENGTH - 1); in test_map_AbnormalMode()
1702 readOnlyFileChannel.map(MapMode.READ_ONLY, 2, CONTENT_LENGTH - 1); in test_map_AbnormalMode()
1723 MappedByteBuffer mapped = readWriteFileChannel.map(MapMode.READ_ONLY, in test_map_ReadOnly_CloseChannel()
1749 mapped = readOnlyFileChannel.map(MapMode.READ_ONLY, 0, CONTENT_LENGTH); in test_map_ReadOnly()
1762 mapped = readWriteFileChannel.map(MapMode.READ_ONLY, 0, CONTENT in test_map_ReadOnly()
1778 MappedByteBuffer mapped = readOnlyFileChannel.map(MapMode.READ_ONLY, in test_map_ReadOnly_NonZeroPosition()
1893 MappedByteBuffer mapped = readOnlyFileChannel.map(MapMode.READ_ONLY, in test_map_LargePosition()
/external/v8/src/
Dmath.js232 DONT_ENUM | DONT_DELETE | READ_ONLY);
237 DONT_ENUM | DONT_DELETE | READ_ONLY);
242 DONT_ENUM | DONT_DELETE | READ_ONLY);
247 DONT_ENUM | DONT_DELETE | READ_ONLY);
251 DONT_ENUM | DONT_DELETE | READ_ONLY);
255 DONT_ENUM | DONT_DELETE | READ_ONLY);
259 DONT_ENUM | DONT_DELETE | READ_ONLY);
263 DONT_ENUM | DONT_DELETE | READ_ONLY);
Dproperty-details.h38 READ_ONLY = v8::ReadOnly, enumerator
112 bool IsReadOnly() { return (attributes() & READ_ONLY) != 0; } in IsReadOnly()
Dv8natives.js84 %SetProperty(prototype, key, f, DONT_ENUM | DONT_DELETE | READ_ONLY);
180 %SetProperty(global, "NaN", $NaN, DONT_ENUM | DONT_DELETE | READ_ONLY);
183 %SetProperty(global, "Infinity", 1/0, DONT_ENUM | DONT_DELETE | READ_ONLY);
187 DONT_ENUM | DONT_DELETE | READ_ONLY);
822 flag |= desc.isWritable() ? 0 : READ_ONLY;
824 flag |= current.isWritable() ? 0 : READ_ONLY;
826 flag |= READ_ONLY;
1500 DONT_ENUM | DONT_DELETE | READ_ONLY);
1504 DONT_ENUM | DONT_DELETE | READ_ONLY);
1507 %SetProperty($Number, "NaN", $NaN, DONT_ENUM | DONT_DELETE | READ_ONLY);
[all …]
Dmessages.js122 DONT_ENUM | DONT_DELETE | READ_ONLY);
259 DONT_DELETE | READ_ONLY | DONT_ENUM);
262 DONT_DELETE | READ_ONLY | DONT_ENUM);
267 DONT_DELETE | DONT_ENUM | READ_ONLY);
272 DONT_DELETE | DONT_ENUM | READ_ONLY);
1112 %SetProperty(builtins, '$' + name, f, DONT_ENUM | DONT_DELETE | READ_ONLY);
1134 DONT_ENUM | DONT_DELETE | READ_ONLY) ;
Dcontexts.cc176 *attributes = READ_ONLY; in Lookup()
181 *attributes = READ_ONLY; in Lookup()
207 *attributes = READ_ONLY; in Lookup()
Dbootstrapper.cc369 static_cast<PropertyAttributes>(DONT_ENUM | DONT_DELETE | READ_ONLY); in InstallFunction()
389 DONT_ENUM | DONT_DELETE | READ_ONLY); in ComputeFunctionInstanceDescriptor()
416 attribs = static_cast<PropertyAttributes>(attribs & ~READ_ONLY); in ComputeFunctionInstanceDescriptor()
562 attribs = static_cast<PropertyAttributes>(attribs | READ_ONLY); in ComputeStrictFunctionInstanceDescriptor()
816 static_cast<PropertyAttributes>(READ_ONLY | DONT_DELETE); in HookUpInnerGlobal()
920 READ_ONLY)); in InitializeGlobal()
954 static_cast<PropertyAttributes>(DONT_ENUM | DONT_DELETE | READ_ONLY); in InitializeGlobal()
1125 static_cast<PropertyAttributes>(DONT_ENUM | DONT_DELETE | READ_ONLY); in InitializeGlobal()
1445 static_cast<PropertyAttributes>(READ_ONLY | DONT_DELETE); in InstallNatives()
1481 static_cast<PropertyAttributes>(DONT_ENUM | DONT_DELETE | READ_ONLY); in InstallNatives()
/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/
DMappedByteBufferTest.java47 MappedByteBuffer mmb = fc.map(FileChannel.MapMode.READ_ONLY, 0, fc in testasIntBuffer()
77 MappedByteBuffer mmb = fc.map(FileChannel.MapMode.READ_ONLY, 0, fc.size()); in testEmptyBuffer()
130 MappedByteBuffer mmbRead = fileChannelRead.map(MapMode.READ_ONLY, 0, in test_force()
137 MappedByteBuffer resultRead = fileChannelR.map(MapMode.READ_ONLY, 0, in test_force()
174 MappedByteBuffer mmbRead = fileChannelRead.map(MapMode.READ_ONLY, 0, in test_load()
/external/webkit/Source/WebCore/platform/graphics/chromium/
DExtensions3DChromium.h57 READ_ONLY = 0x88B8, enumerator
/external/webkit/LayoutTests/storage/indexeddb/
Ddata-corruption-expected.txt19 transaction = db.transaction([], webkitIDBTransaction.READ_ONLY)
Dconstants-expected.txt24 PASS webkitIDBTransaction.READ_ONLY is 1
/external/webkit/Source/WebCore/storage/
DIDBTransaction.h53 READ_ONLY = 1, enumerator
DIDBDatabase.h65 …mes, ExceptionCode& ec) { return transaction(context, storeNames, IDBTransaction::READ_ONLY, ec); } in transaction()
DIDBObjectStoreBackendImpl.cpp123 if (transactionPtr->mode() == IDBTransaction::READ_ONLY) { in put()
274 if (transaction->mode() == IDBTransaction::READ_ONLY) { in deleteFunction()
309 if (transaction->mode() == IDBTransaction::READ_ONLY) { in clear()
DIDBTransaction.idl34 const unsigned short READ_ONLY = 1;
DIDBDatabase.cpp119 if (mode != IDBTransaction::READ_WRITE && mode != IDBTransaction::READ_ONLY) { in transaction()
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/
DChannelHelper.java33 …ByteBuffer bb = ((FileChannel) channel).map(FileChannel.MapMode.READ_ONLY, ((FileChannel) channel)… in readFully()
/external/chromium/chrome/browser/resources/file_manager/js/
Dmock_chrome.js140 READ_ONLY: 'Read Only', property
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/
DFreeBox.java98 …data = ((FileChannel) readableByteChannel).map(FileChannel.MapMode.READ_ONLY, ((FileChannel) reada… in parse()
/external/guava/guava/src/com/google/common/io/
DFiles.java609 return map(file, MapMode.READ_ONLY);
662 new RandomAccessFile(file, mode == MapMode.READ_ONLY ? "r" : "rw");
/external/webkit/Source/WebCore/rendering/style/
DStyleRareInheritedData.cpp44 , userModify(READ_ONLY) in StyleRareInheritedData()
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/mdat/
DMediaDataBox.java170 …cacheEntry = fileChannel.map(FileChannel.MapMode.READ_ONLY, startPosition + offset, Math.min(BUFFE… in getContent()

12