/external/chromium_org/v8/test/mjsunit/regress/ |
regress-1403.js | 35 Array.prototype.__proto__ = { __proto__: null };
|
regress-3158.js | 7 Array.prototype[0] = 'a'; 8 delete Array.prototype[0]; 14 var a = new Array(100000); 22 Array.prototype[0] = 'a';
|
regress-369450.js | 13 Array.prototype[0] = 5.5;
|
regress-crbug-403409.js | 5 Array.prototype[0] = 777;
|
/external/chromium_org/v8/test/webkit/fast/js/ |
array-bad-time.js | 25 "Tests that defining a setter on the Array prototype works even if it is done after arrays are allocated." 36 Array.prototype.__defineSetter__("3", function() { ouches++; });
|
/external/chromium_org/v8/test/mjsunit/ |
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-4.js | 38 Array.prototype[1] = 1.5;
|
elide-double-hole-check-5.js | 36 Array.prototype[1] = 1.5;
|
array-join.js | 28 // Test that array join calls toString on subarrays. 46 // Replace array.prototype.toString. 47 var oldToString = Array.prototype.toString; 48 Array.prototype.toString = function() { return "array"; }; 50 assertEquals('array*3*4*array*array', a.join('*')); 51 assertEquals('array**3**4**array**array', a.join('**')) [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...] |
eval-stack-trace.js | 45 Array.prototype.verifyEquals = function(frames, func_name) { 57 Array.prototype.verifyContains = function(frames, func_name) { 69 Array.prototype.verifyUndefined = function(frames, func_name) {
|
/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/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.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.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*
|
/ndk/sources/cxx-stl/gabi++/tests/ |
catch_array_01.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.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*
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/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 &&;
|
/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/test/ |
catch_array_01.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.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/chromium_org/v8/test/webkit/fast/js/kde/ |
prototype_length.js | 27 shouldBe("Array.prototype.length","0"); 36 Array.prototype.length = 6; 37 shouldBe("Array.prototype.length","6"); 45 shouldBe("delete Array.prototype.length","false"); 51 for (i in Array.prototype) { if (i == "length") foundArrayPrototypeLength = true; }
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
ArrayTest.java | 19 import java.lang.reflect.Array; 45 assertEquals(booleans[0], Array.getBoolean(booleans, 0)); 46 try { Array.getBoolean(bytes, 0); fail(); } catch (IllegalArgumentException expected) {} 47 try { Array.getBoolean(chars, 0); fail(); } catch (IllegalArgumentException expected) {} 48 try { Array.getBoolean(doubles, 0); fail(); } catch (IllegalArgumentException expected) {} 49 try { Array.getBoolean(floats, 0); fail(); } catch (IllegalArgumentException expected) {} 50 try { Array.getBoolean(ints, 0); fail(); } catch (IllegalArgumentException expected) {} 51 try { Array.getBoolean(longs, 0); fail(); } catch (IllegalArgumentException expected) {} 52 try { Array.getBoolean(shorts, 0); fail(); } catch (IllegalArgumentException expected) {} 53 try { Array.getBoolean(null, 0); fail(); } catch (NullPointerException expected) { [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/ |
ArrayTest.java | 20 import java.lang.reflect.Array; 25 * java.lang.reflect.Array#get(java.lang.Object, int) 29 // java.lang.reflect.Array.get(java.lang.Object, int) 35 ret = Array.get(x, 0); 42 ret = Array.get(new Object(), 0); 48 fail("Passing non-array failed to throw exception"); 52 ret = Array.get(x, 4); 66 ret = Array.get(y, 0); 73 ret = Array.get(new Object(), 0); 79 fail("Passing non-array failed to throw exception") [all...] |
/external/clang/test/CodeGenCXX/ |
exception-spec-decay.cpp | 2 typedef int Array[10]; 4 void foo() throw (Array) {
|
/external/clang/test/SemaTemplate/ |
instantiate-array.cpp | 16 static_assert(sizeof(IntArray<10>) == sizeof(int) * 10, "Array size mismatch"); 17 static_assert(sizeof(IntArray<1>) == sizeof(int) * 1, "Array size mismatch"); 23 static_assert(sizeof(TenElementArray<int>) == sizeof(int) * 10, "Array size mismatch"); 25 template<typename T, int N> class Array { 29 static_assert(sizeof(Array<int, 10>) == sizeof(int) * 10, "Array size mismatch");
|