Searched refs:writable (Results 1 - 25 of 77) sorted by relevance

1234

/external/v8/test/mjsunit/regress/
H A Dregress-115452.js33 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 Dregress-1513.js36 writable: false,
H A Dregress-1215.js30 // {writable: true, enumerable: false, and configurable: true}
34 assertEquals(desc.writable, true);
H A Dregress-1083.js38 assertTrue(desc.writable);
H A Dregress-95920.js55 { writable: false, value: "1" });
H A Dregress-1419.js45 assertEquals(false, desc.writable);
H A Dregress-619.js34 Object.defineProperty(obj, '1', {value:10, writable:false});
47 Object.defineProperty(obj, i, {value: i, writable:false});
H A Dregress-88591.js42 assertEquals(false, o.writable);
/external/webkit/LayoutTests/fast/js/resources/
H A DgetOwnPropertyDescriptor.js5 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 Dtransportchannel.cc49 void TransportChannel::set_writable(bool writable) { argument
50 if (writable_ != writable) {
51 writable_ = writable;
H A Dtransportchannel.h57 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 Ddefine-property-gc.js38 var descElementNonWritable = { value: 'foofoo', writable: false };
H A Dobject-freeze.js59 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 Dobject-seal.js59 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 Dobject-define-property.js111 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 Dget-own-property-descriptor.js29 // 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 Dstore-dictionary.js46 Object.defineProperty(o, 'x', { value: 32, writable: false });
/external/webkit/Source/JavaScriptCore/wtf/
H A DOSAllocatorWin.cpp34 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 DOSAllocator.h48 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 DPageReservation.h104 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 DOSAllocatorPosix.cpp36 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 DPageAllocationAligned.cpp31 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 Dasyncfile.h47 virtual bool writable() = 0;
/external/skia/src/core/
H A DSkRegionPriv.h59 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 Dstrict-recompile.js33 Object.defineProperty(o, 'x', {value: 12, writable: false});

Completed in 251 milliseconds

1234