/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-shift3.js | 7 Array.prototype[1] = "element 1";
|
array-pop.js | 66 Array.prototype[1] = 1; 67 Array.prototype[3] = 3; 68 Array.prototype[5] = 5; 69 Array.prototype[7] = 7; 70 Array.prototype[9] = 9; 77 var inherited = Array.prototype.hasOwnProperty(j); 81 assertEquals(inherited, Array.prototype.hasOwnProperty(j), 84 Array.prototype.length = 0; // Clean-up. 88 // arrays with array prototype. 113 // arrays with array prototype [all...] |
array-slice.js | 28 // Check that slicing array of holes keeps it as array of holes 30 var array = new Array(10); 32 var sliced = array.slice(); 33 assertEquals(array.length, sliced.length); 39 // Check various variants of empty array's slicing. 52 var array = new Array(7); 55 assertEquals(array, array.slice()) [all...] |
array-unshift.js | 28 // Check that unshifting array of holes keeps the original array 29 // as array of holes 31 var array = new Array(10); 32 assertEquals(13, array.unshift('1st', '2ns', '3rd')); 33 assertTrue(0 in array); 34 assertTrue(1 in array); 35 assertTrue(2 in array); 36 assertFalse(3 in array); [all...] |
elide-double-hole-check-11.js | 15 Array.prototype.unshift(1.5);
|
elide-double-hole-check-3.js | 33 Array.prototype = [1.5,1.5,1.5];
|
elide-double-hole-check-4.js | 38 Array.prototype[1] = 1.5;
|
elide-double-hole-check-5.js | 36 Array.prototype[1] = 1.5;
|
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/CodeGenCXX/ |
pr20897.cpp | 32 int Array[1];
|
/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-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-crbug-469768.js | 9 Array.prototype.concat.apply([], new Array(100000)); 16 Array.prototype.concat.apply([], new Array(150000)); 23 Array.prototype.concat.apply([], new Array(200000)); 30 Array.prototype.concat.apply([], new Array(248000));
|
string-split-monkey-patching.js | 29 // monkey-patchable Array.prototype.push or PutValue. 31 Array.prototype.push = assertUnreachable; 33 Object.defineProperty(Array.prototype, "0", {
|
/external/clang/test/CodeGen/ |
2002-01-24-ComplexSpaceInType.c | 4 // %Array = uninitialized global [10 x %complex int] 9 struct { int X, Y; } Array[10];
|
/external/libcxx/test/std/utilities/function.objects/func.require/ |
invoke.pass.cpp | 20 struct Array 27 Array<char, 1>::type& f1(); 28 Array<char, 2>::type& f2() const; 30 Array<char, 1>::type& g1() &; 31 Array<char, 2>::type& g2() const &; 33 Array<char, 3>::type& g3() &&; 34 Array<char, 4>::type& g4() const &&;
|
/external/libcxxabi/test/ |
catch_array_01.pass.cpp | 10 // Can you have a catch clause of array type that catches anything? 16 typedef char Array[4]; 17 Array a = {'H', 'i', '!', 0}; 23 catch (Array& b) // can't catch char*
|
catch_array_02.pass.cpp | 10 // Can you have a catch clause of array type that catches anything? 16 typedef char Array[4]; 17 Array a = {'H', 'i', '!', 0}; 23 catch (Array b) // equivalent to char*
|
/external/v8/test/message/ |
overwritten-builtins.js | 29 Array.prototype.join = function() { return []; };
|
/external/v8/test/mjsunit/compiler/ |
deopt-inlined-from-call.js | 32 Array.prototype.f = function() { 58 // The array built-ins are only inlined if the receiver is a
|