HomeSort by relevance Sort by last modified time
    Searched refs:array_proto (Results 1 - 7 of 7) sorted by null

  /external/v8/test/mjsunit/
array-pop.js 88 var array_proto = [];
89 array_proto[1] = 1;
90 array_proto[3] = 3;
91 array_proto[5] = 5;
92 array_proto[7] = 7;
93 array_proto[9] = 9;
95 a.__proto__ = array_proto;
96 assertEquals(10, a.length, "array_proto-inherit-initial-length");
98 assertEquals(j + 1, a.length, "array_proto-inherit-pre-length-" + j);
99 assertTrue(j in a, "array_proto-has property " + j)
    [all...]
array-shift.js 78 var array_proto = new Array();
79 array_proto[3] = "@3";
80 array_proto[7] = "@7";
81 array.__proto__ = array_proto;
85 assertEquals(array[i], array_proto[i]);
92 assertEquals(array[2], array_proto[3]);
95 assertEquals(array[6], array_proto[7]);
99 array_proto[5] = "@5";
100 assertEquals(array[5], array_proto[5]);
103 assertEquals(array[3], array_proto[3])
    [all...]
array-unshift.js 128 var array_proto = []; variable
129 array_proto[0] = at0;
130 array_proto[2] = at2;
131 array.__proto__ = array_proto;
138 // ... but sees values from array_proto.
161 var array_proto = [] variable
162 array_proto[3] = "@3";
163 array_proto[7] = "@7";
164 array.__proto__ = array_proto;
168 assertEquals(array[i], array_proto[i])
    [all...]
array-slice.js 140 var array_proto = [];
141 array_proto[3] = at3;
142 array_proto[7] = at7;
143 array.__proto__ = array_proto;
147 assertEquals(array[i], array_proto[i]);
154 assertTrue(delete array_proto[3]);
155 assertTrue(delete array_proto[7]);
169 array_proto[5] = "@5";
170 assertEquals(array[5], array_proto[5]);
array-concat.js 37 var array_proto = [];
38 a.__proto__ = array_proto;
58 array_proto["123"] = 'baz';
70 array_proto["123"] = undefined;
76 array_proto[123] = 'baz';
84 array_proto.moe = 'joe';
93 array_proto.moe = undefined;
array-splice.js 253 var array_proto = [];
254 array_proto[3] = at3;
255 array_proto[7] = at7;
256 array.__proto__ = array_proto;
266 assertTrue(delete array_proto[3]);
268 assertTrue(delete array_proto[7]);
  /external/v8/src/
builtins.cc 368 JSObject* array_proto) {
371 if (array_proto->elements() != heap->empty_fixed_array()) return false;
373 array_proto = JSObject::cast(array_proto->GetPrototype());
374 ASSERT(array_proto->elements() == heap->empty_fixed_array());
376 Object* proto = array_proto->GetPrototype();
378 array_proto = JSObject::cast(proto);
379 if (array_proto != global_context->initial_object_prototype()) return false;
380 if (array_proto->elements() != heap->empty_fixed_array()) return false;
381 return array_proto->GetPrototype()->IsNull()
402 JSObject* array_proto = local
911 JSObject* array_proto = local
    [all...]

Completed in 1453 milliseconds