Searched refs:array_proto (Results 1 - 14 of 14) sorted by relevance
/external/v8/test/mjsunit/ |
H A D | 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[ [all...] |
H A D | 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[ [all...] |
H A D | 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 [all...] |
H A D | 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]);
|
H A D | 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;
|
H A D | 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/chromium_org/v8/test/mjsunit/ |
H A D | 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[ [all...] |
H A D | 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[ [all...] |
H A D | 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 [all...] |
H A D | 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]);
|
H A D | 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;
|
H A D | 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/chromium_org/v8/src/ |
H A D | builtins.cc | 359 JSObject* array_proto) { 362 if (array_proto->elements() != heap->empty_fixed_array()) return false; 364 Object* proto = array_proto->GetPrototype(); 366 array_proto = JSObject::cast(proto); 367 if (array_proto != native_context->initial_object_prototype()) return false; 368 if (array_proto->elements() != heap->empty_fixed_array()) return false; 369 return array_proto->GetPrototype()->IsNull(); 428 JSObject* array_proto = local 430 return receiver->GetPrototype() == array_proto && 431 ArrayPrototypeHasNoElements(heap, native_context, array_proto); 357 ArrayPrototypeHasNoElements(Heap* heap, Context* native_context, JSObject* array_proto) argument 1068 JSObject* array_proto = local [all...] |
/external/v8/src/ |
H A D | builtins.cc | 393 JSObject* array_proto) { 396 if (array_proto->elements() != heap->empty_fixed_array()) return false; 398 Object* proto = array_proto->GetPrototype(); 400 array_proto = JSObject::cast(proto); 401 if (array_proto != global_context->initial_object_prototype()) return false; 402 if (array_proto->elements() != heap->empty_fixed_array()) return false; 403 return array_proto->GetPrototype()->IsNull(); 452 JSObject* array_proto = local 454 return receiver->GetPrototype() == array_proto && 455 ArrayPrototypeHasNoElements(heap, global_context, array_proto); 391 ArrayPrototypeHasNoElements(Heap* heap, Context* global_context, JSObject* array_proto) argument 933 JSObject* array_proto = local [all...] |
Completed in 414 milliseconds