/external/chromium_org/v8/test/mjsunit/ |
H A D | array-shift.js | 30 var array = new Array(10); 38 var array = new Array(len); class 39 Array.prototype[3] = "@3"; 40 Array.prototype[7] = "@7"; 44 assertEquals(array[i], Array.prototype[i]); 51 assertEquals(array[2], Array.prototype[3]); 54 assertEquals(array[6], Array.prototype[7]); 58 Array.prototype[5] = "@5"; 59 assertEquals(array[5], Array.prototype[5]); 62 assertEquals(array[3], Array [all...] |
H A D | elide-double-hole-check-3.js | 33 Array.prototype = [1.5,1.5,1.5]; 32 Array.prototype = [1.5,1.5,1.5]; class
|
H A D | array-elements-from-array-prototype-chain.js | 29 // Tests below verify that elements set on Array.prototype's proto propagate 30 // for various Array.prototype functions (like unshift, shift, etc.) 46 Array.prototype.__proto__ = {3: at3}; class 47 Array.prototype.__proto__.__proto__ = {7: at7}; 49 var a = new Array(13) 58 // Side-effects: Array.prototype[3] percolates into a[2] and Array.prototype[7[ 72 // Side-effects: Array.prototype[3] now percolates into a[5] and Array.prototype[7] 119 // Note: sliced[3] comes directly from Array [all...] |
H A D | array-pop.js | 64 Array.prototype[1] = 1; 65 Array.prototype[3] = 3; 66 Array.prototype[5] = 5; 67 Array.prototype[7] = 7; 68 Array.prototype[9] = 9; 75 var inherited = Array.prototype.hasOwnProperty(j); 79 assertEquals(inherited, Array.prototype.hasOwnProperty(j), 82 Array.prototype.length = 0; // Clean-up. 63 Array.prototype[1] = 1; class
|
H A D | elide-double-hole-check-6.js | 38 Array.prototype.__proto__[1] = 1.5; 37 Array.prototype.__proto__[1] = 1.5; class
|
H A D | elide-double-hole-check-7.js | 36 Array.prototype.__proto__[1] = 1.5; 35 Array.prototype.__proto__[1] = 1.5; class
|
H A D | elide-double-hole-check-8.js | 38 Array.prototype.__proto__ = new Object(); 39 Array.prototype.__proto__[1] = 1.5; 37 Array.prototype.__proto__ = new Object(); class
|
/external/clang/test/CXX/temp/temp.spec/temp.expl.spec/ |
H A D | p11.cpp | 4 template<class T> class Array { /* ... */ }; class 5 template<class T> void sort(Array<T>& v); 7 // explicit specialization for sort(Array<int>&) 9 template<> void sort(Array<int>&);
|
/external/v8/test/mjsunit/ |
H A D | array-shift.js | 30 var array = new Array(10); 38 var array = new Array(len); class 39 Array.prototype[3] = "@3"; 40 Array.prototype[7] = "@7"; 44 assertEquals(array[i], Array.prototype[i]); 51 assertEquals(array[2], Array.prototype[3]); 54 assertEquals(array[6], Array.prototype[7]); 58 Array.prototype[5] = "@5"; 59 assertEquals(array[5], Array.prototype[5]); 62 assertEquals(array[3], Array [all...] |
H A D | array-elements-from-array-prototype-chain.js | 29 // Tests below verify that elements set on Array.prototype's proto propagate 30 // for various Array.prototype functions (like unshift, shift, etc.) 46 Array.prototype.__proto__ = {3: at3}; class 47 Array.prototype.__proto__.__proto__ = {7: at7}; 49 var a = new Array(13) 58 // Side-effects: Array.prototype[3] percolates into a[2] and Array.prototype[7[ 72 // Side-effects: Array.prototype[3] now percolates into a[5] and Array.prototype[7] 119 // Note: sliced[3] comes directly from Array [all...] |
H A D | array-pop.js | 64 Array.prototype[1] = 1; 65 Array.prototype[3] = 3; 66 Array.prototype[5] = 5; 67 Array.prototype[7] = 7; 68 Array.prototype[9] = 9; 75 var inherited = Array.prototype.hasOwnProperty(j); 79 assertEquals(inherited, Array.prototype.hasOwnProperty(j), 82 Array.prototype.length = 0; // Clean-up. 63 Array.prototype[1] = 1; class
|
/external/chromium_org/chrome/common/extensions/docs/static/js/ |
H A D | platform_chooser.js | 10 Array.prototype.forEach.call(platformChooser.getElementsByTagName('button'), 9 Array.prototype.forEach.call(platformChooser.getElementsByTagName('button'), class
|
/external/chromium_org/v8/test/mjsunit/regress/ |
H A D | regress-1121.js | 30 // Test that changing Array.prototype.__proto__ keeps Array functions working. 32 Array.prototype.__proto__ = null; 0 Array.prototype.__proto__ = null; class
|
H A D | regress-119925.js | 30 Array.prototype.__proto__ = { 77e4 : null }; 0 Array.prototype.__proto__ = { 77e4 : null }; class
|
H A D | regress-98773.js | 28 // Calling Array.sort on an external array is not supposed to crash. 36 Array.prototype.sort.call(array); 34 Array.prototype.sort.call(array); class
|
H A D | string-split-monkey-patching.js | 29 // monkey-patchable Array.prototype.push or PutValue. 31 Array.prototype.push = assertUnreachable; 33 Object.defineProperty(Array.prototype, "0", { 0 Array.prototype.push = assertUnreachable; class
|
H A D | regress-842.js | 28 // 842 describes a scenario where Object.prototype or Array.prototype is 32 Array.prototype.myfunc = function() {}; 33 Array.prototype[10] = 42; 34 Array.prototype.length = 3000; 0 Array.prototype.myfunc = function() {}; class
|
H A D | regress-1160.js | 30 // Array.prototype.join uses a temporary array internally. Verify it 36 var array = Array(N); 40 Array.prototype.__defineSetter__(2, function() { }); 39 Array.prototype.__defineSetter__(2, function() { }); class
|
H A D | regress-1625.js | 28 // Test that overwriting Array.prototype.push does not make 31 Array.prototype.push = 1; 0 Array.prototype.push = 1; class
|
H A D | regress-builtin-array-op.js | 32 Array.prototype.sort = function(fn) { foo = "fisk"; }; 31 Array.prototype.sort = function(fn) { foo = "fisk"; }; class
|
/external/v8/test/mjsunit/regress/ |
H A D | regress-1121.js | 30 // Test that changing Array.prototype.__proto__ keeps Array functions working. 32 Array.prototype.__proto__ = null; 0 Array.prototype.__proto__ = null; class
|
H A D | regress-119925.js | 30 Array.prototype.__proto__ = { 77e4 : null }; 0 Array.prototype.__proto__ = { 77e4 : null }; class
|
H A D | regress-98773.js | 28 // Calling Array.sort on an external array is not supposed to crash. 36 Array.prototype.sort.call(array); 34 Array.prototype.sort.call(array); class
|
H A D | regress-842.js | 28 // 842 describes a scenario where Object.prototype or Array.prototype is 32 Array.prototype.myfunc = function() {}; 33 Array.prototype[10] = 42; 34 Array.prototype.length = 3000; 0 Array.prototype.myfunc = function() {}; class
|
/external/chromium_org/v8/test/webkit/fast/js/ |
H A D | array-slow-put.js | 25 "Tests that defining a setter on the Array prototype works." 29 Array.prototype.__defineSetter__("3", function() { ouches++; }); 28 Array.prototype.__defineSetter__("3", function() { ouches++; }); class
|