/external/v8/test/mjsunit/regress/ |
H A D | regress-115452.js | 33 assertTrue(Object.getOwnPropertyDescriptor(this, "foobl").writable); 36 Object.defineProperty(this, "foobl", {value: 1, writable: false}); 38 assertFalse(Object.getOwnPropertyDescriptor(this, "foobl").writable); 43 assertFalse(Object.getOwnPropertyDescriptor(this, "foobl").writable); 48 assertFalse(Object.getOwnPropertyDescriptor(this, "foobl").writable);
|
H A D | regress-1513.js | 36 writable: false,
|
H A D | regress-1215.js | 30 // {writable: true, enumerable: false, and configurable: true} 34 assertEquals(desc.writable, true);
|
H A D | regress-1083.js | 38 assertTrue(desc.writable);
|
H A D | regress-95920.js | 55 { writable: false, value: "1" });
|
H A D | regress-1419.js | 45 assertEquals(false, desc.writable);
|
H A D | regress-619.js | 34 Object.defineProperty(obj, '1', {value:10, writable:false}); 47 Object.defineProperty(obj, i, {value: i, writable:false});
|
H A D | regress-88591.js | 42 assertEquals(false, o.writable);
|
/external/webkit/LayoutTests/fast/js/resources/ |
H A D | getOwnPropertyDescriptor.js | 5 if ("writable" in expected) { 6 // shouldBe(test+'.writable', '' + expected.writable); 14 shouldBeFalse(test+".hasOwnProperty('writable')"); 21 descriptorShouldBe("{definedProperty:'defined'}", "'definedProperty'", {writable: true, enumerable: true, configurable: true, value:'"defined"'}); 22 descriptorShouldBe("Array.prototype", "'concat'", {writable: true, enumerable: false, configurable: true, value:"Array.prototype.concat"}); 23 descriptorShouldBe("Date.prototype", "'toISOString'", {writable: true, enumerable: false, configurable: true, value: "Date.prototype.toISOString"}); 24 descriptorShouldBe("String.prototype", "'concat'", {writable: true, enumerable: false, configurable: true, value:"String.prototype.concat"}); 25 descriptorShouldBe("RegExp.prototype", "'exec'", {writable: true, enumerable: false, configurable: true, value:"RegExp.prototype.exec"}); 26 descriptorShouldBe("document.__proto__.__proto__", "'createElement'", {writable [all...] |
/external/chromium/third_party/libjingle/source/talk/p2p/base/ |
H A D | transportchannel.cc | 49 void TransportChannel::set_writable(bool writable) { argument 50 if (writable_ != writable) { 51 writable_ = writable;
|
H A D | transportchannel.h | 57 bool writable() const { return writable_; } function in class:cricket::TransportChannel 96 // Sets the writable state, signaling if necessary. 97 void set_writable(bool writable);
|
/external/v8/test/mjsunit/ |
H A D | define-property-gc.js | 38 var descElementNonWritable = { value: 'foofoo', writable: false };
|
H A D | object-freeze.js | 59 assertTrue(desc.writable); 64 assertTrue(desc.writable); 81 assertFalse(desc.writable); 86 assertFalse(desc.writable); 90 // Make sure that even if we try overwrite a value that is not writable, it is 130 assertTrue(desc.writable); 135 assertTrue(desc.writable); 146 assertFalse(desc.writable); 151 assertFalse(desc.writable); 166 Object.defineProperty(obj3, 'x', {configurable: false, writable [all...] |
H A D | object-seal.js | 59 assertTrue(desc.writable); 64 assertTrue(desc.writable); 86 assertTrue(desc.writable); 91 assertTrue(desc.writable); 95 // Since writable is not affected by seal we should still be able to 117 // sealed and frozen (accessors has no writable attribute). 136 assertTrue(desc.writable); 141 assertTrue(desc.writable); 149 // Since the values in the array is still writable this object 155 assertTrue(desc.writable); [all...] |
H A D | object-define-property.js | 111 var dataWritable = { value: 3000, writable: true}; 134 assertFalse(desc.writable); 159 assertEquals(desc.writable, undefined); 174 assertEquals(desc.writable, undefined); 207 assertEquals(desc.writable, undefined); 225 assertEquals(desc.writable, undefined); 238 assertEquals(desc.writable, undefined); 253 assertEquals(desc.writable, undefined); 266 assertFalse(desc.writable); 270 //Try writing to non writable attribut [all...] |
H A D | get-own-property-descriptor.js | 29 // configurable, enumerable, and writable set to true. 45 assertTrue(descIsData.writable); 63 assertTrue(descArray.writable); 69 assertTrue(descObjectElement.writable); 78 assertFalse(descStringObject.writable); 88 assertTrue(descStringProperty.writable); 94 assertTrue(descStringElement.writable);
|
H A D | store-dictionary.js | 46 Object.defineProperty(o, 'x', { value: 32, writable: false });
|
/external/webkit/Source/JavaScriptCore/wtf/ |
H A D | OSAllocatorWin.cpp | 34 static inline DWORD protection(bool writable, bool executable) argument 37 (writable ? PAGE_EXECUTE_READWRITE : PAGE_EXECUTE_READ) : 38 (writable ? PAGE_READWRITE : PAGE_READONLY); 41 void* OSAllocator::reserveUncommitted(size_t bytes, Usage, bool writable, bool executable) argument 43 void* result = VirtualAlloc(0, bytes, MEM_RESERVE, protection(writable, executable)); 49 void* OSAllocator::reserveAndCommit(size_t bytes, Usage, bool writable, bool executable) argument 51 void* result = VirtualAlloc(0, bytes, MEM_RESERVE | MEM_COMMIT, protection(writable, executable)); 57 void OSAllocator::commit(void* address, size_t bytes, bool writable, bool executable) argument 59 void* result = VirtualAlloc(address, bytes, MEM_COMMIT, protection(writable, executable));
|
H A D | OSAllocator.h | 48 static void* reserveUncommitted(size_t, Usage = UnknownUsage, bool writable = true, bool executable = false); 54 static void commit(void*, size_t, bool writable, bool executable); 60 static void* reserveAndCommit(size_t, Usage = UnknownUsage, bool writable = true, bool executable = false); 66 static void* reserveAndCommit(size_t reserveSize, size_t commitSize, Usage = UnknownUsage, bool writable = true, bool executable = false); 70 inline void* OSAllocator::reserveAndCommit(size_t reserveSize, size_t commitSize, Usage usage, bool writable, bool executable) argument 72 void* base = reserveUncommitted(reserveSize, usage, writable, executable); 73 commit(base, commitSize, writable, executable);
|
H A D | PageReservation.h | 104 static PageReservation reserve(size_t size, OSAllocator::Usage usage = OSAllocator::UnknownUsage, bool writable = true, bool executable = false) 107 return PageReservation(OSAllocator::reserveUncommitted(size, usage, writable, executable), size, writable, executable); 126 PageReservation(void* base, size_t size, bool writable, bool executable) argument 129 , m_writable(writable)
|
H A D | OSAllocatorPosix.cpp | 36 void* OSAllocator::reserveUncommitted(size_t bytes, Usage usage, bool writable, bool executable) argument 38 void* result = reserveAndCommit(bytes, usage, writable, executable); 46 void* OSAllocator::reserveAndCommit(size_t bytes, Usage usage, bool writable, bool executable) argument 50 if (writable)
|
H A D | PageAllocationAligned.cpp | 31 PageAllocationAligned PageAllocationAligned::allocate(size_t size, size_t alignment, OSAllocator::Usage usage, bool writable, bool executable) argument 44 if (writable) 57 void* reservationBase = OSAllocator::reserveUncommitted(reservationSize, usage, writable, executable); 63 OSAllocator::commit(alignedBase, size, writable, executable);
|
/external/chromium/third_party/libjingle/source/talk/base/ |
H A D | asyncfile.h | 47 virtual bool writable() = 0;
|
/external/skia/src/core/ |
H A D | SkRegionPriv.h | 59 RunHead* writable = this; local 65 writable = Alloc(fRunCount); 66 memcpy(writable->writable_runs(), this->readonly_runs(), 77 return writable;
|
/external/v8/test/mjsunit/compiler/ |
H A D | strict-recompile.js | 33 Object.defineProperty(o, 'x', {value: 12, writable: false});
|