Home
last modified time | relevance | path

Searched refs:enumerable (Results 1 – 25 of 62) sorted by relevance

123

/external/webkit/LayoutTests/fast/js/resources/
DgetOwnPropertyDescriptor.js16 shouldBe(test+'.enumerable', '' + expected.enumerable);
21 descriptorShouldBe("{definedProperty:'defined'}", "'definedProperty'", {writable: true, enumerable:… property
22 descriptorShouldBe("Array.prototype", "'concat'", {writable: true, enumerable: false, configurable:… property
23 descriptorShouldBe("Date.prototype", "'toISOString'", {writable: true, enumerable: false, configura… property
24 descriptorShouldBe("String.prototype", "'concat'", {writable: true, enumerable: false, configurable… property
25 descriptorShouldBe("RegExp.prototype", "'exec'", {writable: true, enumerable: false, configurable: … property
26 descriptorShouldBe("document.__proto__.__proto__", "'createElement'", {writable: true, enumerable: … property
27 descriptorShouldBe("Number", "'NEGATIVE_INFINITY'", {writable: false, enumerable: false, configurab… property
28 descriptorShouldBe("RegExp", "'$_'", {writable: true, enumerable: false, configurable: true, value:… property
29 descriptorShouldBe("/a/g", "'global'", {writable: true, enumerable: false, configurable: false, val… property
[all …]
/external/v8/test/mjsunit/regress/
Dregress-1692.js32 a : { value : 42, enumerable : true }, property
33 b : { value : 42, enumerable : false }, property
34 1 : { value : 42, enumerable : true }, property
35 2 : { value : 42, enumerable : false }, property
36 f : { get: function(){}, enumerable: true }, property
37 g : { get: function(){}, enumerable: false }, property
38 11 : { get: function(){}, enumerable: true }, property
39 12 : { get: function(){}, enumerable: false } property
42 c : { value : 42, enumerable : true }, property
43 d : { value : 42, enumerable : false }, property
[all …]
Dregress-334.js46 function enumerable(obj) { function
56 assertArrayEquals(["baz", "bif"], enumerable(object), "enum0");
67 assertArrayEquals(["baz", "bif"], enumerable(object), "enum1");
71 assertArrayEquals(["baz", "bif"], enumerable(object), "enum2");
81 assertArrayEquals(["bar", "baz", "bif"], enumerable(object), "enum3");
85 assertArrayEquals(["bar", "baz"], enumerable(object), "enum4");
89 assertArrayEquals(["bar", "baz"], enumerable(object), "enum5");
Dregress-687.js38 assertTrue(desc.enumerable);
61 assertFalse(desc.enumerable);
72 assertTrue(desc.enumerable);
Dregress-1083.js30 Object.defineProperty(this, 'Object', {enumerable:true}); property
33 assertTrue(desc.enumerable);
Dregress-992.js35 Object.defineProperty(obj, 'p', {enumerable: false }); property
38 assertFalse(desc.enumerable);
Dregress-1112.js33 { configurable: true, enumerable: true, value: 3 }); property
Dregress-1215.js35 assertEquals(desc.enumerable, false);
Dregress-1513.js37 enumerable: false, property
Dregress-1419.js46 assertEquals(false, desc.enumerable);
/external/v8/test/mjsunit/
Dobject-define-property.js133 assertFalse(desc.enumerable);
158 assertFalse(desc.enumerable);
173 assertFalse(desc.enumerable);
206 assertFalse(desc.enumerable);
223 assertFalse(desc.enumerable);
235 assertFalse(desc.enumerable);
250 assertFalse(desc.enumerable);
267 assertFalse(desc.enumerable);
284 assertFalse(desc.enumerable);
299 assertFalse(desc.enumerable);
[all …]
Dobject-create.js124 enumerable: { get: function() { property
190 Object.create({fizz: 14}, {foo: {value: 3, enumerable: false}, property
191 bar: {value: 4, enumerable: true}, property
225 { foo: { value: 1, enumerable: true }}, property
226 { bar: { value: { value: 2, enumerable: true }, enumerable: false }, property
227 baz: { value: { value: 4, enumerable: false }, enumerable: true }, property
228 fizz: { value: { value: 8, enumerable: false }, enumerable: false }, property
229 buzz: { value: { value: 16, enumerable: true }, enumerable: true }}); property
Dget-own-property-descriptor.js44 assertTrue(descIsData.enumerable);
49 assertTrue(descIsAccessor.enumerable);
61 assertTrue(descArray.enumerable);
67 assertTrue(descObjectElement.enumerable);
76 assertTrue(descStringObject.enumerable);
86 assertTrue(descStringProperty.enumerable);
92 assertTrue(descStringElement.enumerable);
Dregexp.js611 assertEquals(false, desc.enumerable);
617 assertEquals(false, desc.enumerable);
623 assertEquals(false, desc.enumerable);
629 assertEquals(false, desc.enumerable);
Dfunction-bind.js274 assertFalse(cdesc.enumerable);
277 assertFalse(adesc.enumerable);
/external/v8/test/mjsunit/harmony/
Dproxies-for.js65 case "a": return {enumerable: false, value: "3"};
66 case "b": return {enumerable: true, get get() {}};
68 case "d": return {get enumerable() { return true }};
122 case "a": return {enumerable: false, value: "3"};
123 case "b": return {enumerable: true, get get() {}};
125 case "d": return {get enumerable() { return true }};
Dproxies.js716 assertEquals(p, Object.defineProperty(p, "c", {value: 46, enumerable: false})) property
720 assertEquals(false, desc.enumerable)
722 assertEquals(p, Object.defineProperty(p, 101, {value: 47, enumerable: false})) property
726 assertEquals(false, desc.enumerable)
767 Object.defineProperty(props, "hidden", {value: "hidden", enumerable: false}) property
943 {value: 34, enumerable: true, configurable: true}, property
1699 return k == "" ? undefined : {enumerable: k.length == 1}
1709 getOwnPropertyDescriptor2: function(k) { return {enumerable: k.length != 1} }
1718 return k == "ety" ? undefined : {enumerable: k >= "44"}
1858 a: {value: "a", writable: true, configurable: false, enumerable: true},
[all …]
/external/clang/test/SemaObjCXX/
Dinstantiate-stmt.mm41 // expected-error{{the type 'vector' is not a pointer to a fast-enumerable object}}
47 // expected-error{{the type 'vector' is not a pointer to a fast-enumerable object}}
50 … in collection) // expected-error{{the type 'vector' is not a pointer to a fast-enumerable object}}
54 … in collection) // expected-error{{the type 'vector' is not a pointer to a fast-enumerable object}}
/external/v8/src/
Dproxy.js143 enumerable: true, property
162 if (!IS_UNDEFINED(desc) && desc.enumerable) {
175 if (!IS_UNDEFINED(desc) && desc.enumerable) {
Dv8natives.js379 enumerable: desc.isEnumerable(),
385 enumerable: desc.isEnumerable(),
427 desc.setEnumerable(ToBoolean(obj.enumerable));
526 "setEnumerable", function(enumerable) { argument
527 this.enumerable_ = enumerable;
1137 {value: obj, writable: true, enumerable: false, configurable: true}); property
/external/webkit/Source/JavaScriptCore/runtime/
DPropertyDescriptor.cpp44 bool PropertyDescriptor::enumerable() const in enumerable() function in JSC::PropertyDescriptor
124 void PropertyDescriptor::setEnumerable(bool enumerable) in setEnumerable() argument
126 if (enumerable) in setEnumerable()
DObjectConstructor.cpp160 …n->putDirect(exec->globalData(), exec->propertyNames().enumerable, jsBoolean(descriptor.enumerable in objectConstructorGetOwnPropertyDescriptor()
204 if (description->getPropertySlot(exec, exec->propertyNames().enumerable, enumerableSlot)) { in toPropertyDescriptor()
205 …desc.setEnumerable(enumerableSlot.getValue(exec, exec->propertyNames().enumerable).toBoolean(exec)… in toPropertyDescriptor()
DPropertyDescriptor.h40 bool enumerable() const;
DCommonIdentifiers.h42 macro(enumerable) \
/external/clang/test/Parser/
Dobjc-forcollection-neg.m29 expected-error {{the type 'int *' is not a pointer to a fast-enumerable object}}
34 …for (id se in i) // expected-error {{the type 'int' is not a pointer to a fast-enumerable object}}

123