HomeSort by relevance Sort by last modified time
    Searched defs:Array (Results 1 - 25 of 239) sorted by null

1 2 3 4 5 6 7 8 910

  /external/chromium_org/v8/test/mjsunit/
array-shift.js 28 // Check that shifting array of holes keeps it as array of holes
30 var array = new Array(10);
31 array.shift();
32 assertFalse(0 in array);
35 // Now check the case with array of holes and some elements on prototype.
38 var array = new Array(len);
39 Array.prototype[3] = "@3"
    [all...]
elide-double-hole-check-3.js 33 Array.prototype = [1.5,1.5,1.5];
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.)
32 // array-elements-from-array-prototype.js
33 // array-elements-from-array-prototype-chain.js
34 // array-elements-from-object-prototype.js
46 Array.prototype.__proto__ = {3: at3};
47 Array.prototype.__proto__.__proto__ = {7: at7};
49 var a = new Array(13
    [all...]
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.
86 // arrays with array prototype.
111 // arrays with array prototype
    [all...]
elide-double-hole-check-6.js 38 Array.prototype.__proto__[1] = 1.5;
elide-double-hole-check-7.js 36 Array.prototype.__proto__[1] = 1.5;
elide-double-hole-check-8.js 38 Array.prototype.__proto__ = new Object();
39 Array.prototype.__proto__[1] = 1.5;
  /external/clang/test/CXX/temp/temp.spec/temp.expl.spec/
p11.cpp 4 template<class T> class Array { /* ... */ };
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/
array-shift.js 28 // Check that shifting array of holes keeps it as array of holes
30 var array = new Array(10);
31 array.shift();
32 assertFalse(0 in array);
35 // Now check the case with array of holes and some elements on prototype.
38 var array = new Array(len);
39 Array.prototype[3] = "@3"
    [all...]
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.)
32 // array-elements-from-array-prototype.js
33 // array-elements-from-array-prototype-chain.js
34 // array-elements-from-object-prototype.js
46 Array.prototype.__proto__ = {3: at3};
47 Array.prototype.__proto__.__proto__ = {7: at7};
49 var a = new Array(13
    [all...]
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.
86 // arrays with array prototype.
111 // arrays with array prototype
    [all...]
  /external/chromium_org/chrome/common/extensions/docs/static/js/
platform_chooser.js 10 Array.prototype.forEach.call(platformChooser.getElementsByTagName('button'),
  /external/chromium_org/v8/test/mjsunit/regress/
regress-1121.js 30 // Test that changing Array.prototype.__proto__ keeps Array functions working.
32 Array.prototype.__proto__ = null;
regress-119925.js 30 Array.prototype.__proto__ = { 77e4 : null };
regress-98773.js 28 // Calling Array.sort on an external array is not supposed to crash.
30 var array = new Int16Array(23);
31 array[7] = 7; array[9] = 9;
32 assertEquals(23, array.length);
33 assertEquals(7, array[7]);
34 assertEquals(9, array[9]);
36 Array.prototype.sort.call(array);
    [all...]
string-split-monkey-patching.js 29 // monkey-patchable Array.prototype.push or PutValue.
31 Array.prototype.push = assertUnreachable;
33 Object.defineProperty(Array.prototype, "0", {
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;
regress-1160.js 30 // Array.prototype.join uses a temporary array internally. Verify it
32 // when keyed store on the array does not work as expected because of
36 var array = Array(N); variable
38 array[i] = i;
40 Array.prototype.__defineSetter__(2, function() { });
41 assertEquals("0,1,2,3,4,5,6,7,8,9", array.join(","));
regress-1625.js 28 // Test that overwriting Array.prototype.push does not make
31 Array.prototype.push = 1;
regress-builtin-array-op.js 29 // array operations.
32 Array.prototype.sort = function(fn) { foo = "fisk"; };
  /external/v8/test/mjsunit/regress/
regress-1121.js 30 // Test that changing Array.prototype.__proto__ keeps Array functions working.
32 Array.prototype.__proto__ = null;
regress-119925.js 30 Array.prototype.__proto__ = { 77e4 : null };
regress-98773.js 28 // Calling Array.sort on an external array is not supposed to crash.
30 var array = new Int16Array(23);
31 array[7] = 7; array[9] = 9;
32 assertEquals(23, array.length);
33 assertEquals(7, array[7]);
34 assertEquals(9, array[9]);
36 Array.prototype.sort.call(array);
    [all...]
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;
  /external/chromium_org/v8/test/webkit/fast/js/
array-slow-put.js 25 "Tests that defining a setter on the Array prototype works."
29 Array.prototype.__defineSetter__("3", function() { ouches++; });

Completed in 976 milliseconds

1 2 3 4 5 6 7 8 910