/external/v8/test/mjsunit/regress/ |
regress-sort-arguments.js | 8 Array.prototype.sort.apply(a); 10 Array.prototype.sort.apply(a);
|
regress-423633.js | 5 Object.defineProperty(Array.prototype, '0', { 15 // getter on Array.prototype would force us into the non-sparse code. 17 assertEquals(a, Array.prototype.slice.call(a)); 18 assertEquals([3], Array.prototype.splice.call(a, 2, 1));
|
regress-349885.js | 12 foo(new Array(5)); 13 foo(new Array(5)); 15 foo(new Array(10));
|
regress-467481.js | 12 v6 = new Array(1); 15 v5 = new Array(1); 18 v5 = new Array(10);
|
regress-crbug-347903.js | 8 var a = new Array(84632); 10 // array "b." 11 var b = new Array(84632); 12 var c = new Array(84632);
|
regress-crbug-571064.js | 7 Array.prototype.__proto__ = null; 8 var func = Array.prototype.push; 9 var prototype = Array.prototype;
|
/external/guava/guava-gwt/src/com/google/common/collect/ |
GwtPlatform.java | 21 import java.lang.reflect.Array; 48 T[] result = (T[]) Array.newInstance(type, length);
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
GwtPlatform.java | 21 import com.google.gwt.lang.Array; 38 return Array.createFrom(reference, length);
|
/external/opencv3/3rdparty/openexr/IlmImf/ |
ImfOpaqueAttribute.h | 101 Array<char> _typeName; 103 Array<char> _data;
|
/external/hamcrest/src/org/hamcrest/core/ |
IsEqual.java | 10 import java.lang.reflect.Array; 48 return Array.getLength(o1) == Array.getLength(o2); 52 for (int i = 0; i < Array.getLength(o1); i++) { 53 if (!areEqual(Array.get(o1, i), Array.get(o2, i))) return false;
|
/external/v8/test/js-perf-test/Collections/ |
common.js | 11 keys = new Array(N * 2); 19 keys = new Array(N * 2); 27 keys = new Array(N * 2);
|
/external/v8/test/mjsunit/ |
elements-transition-hoisting.js | 36 // Make sure that a simple elements array transitions inside a loop before 37 // stores to an array gets hoisted in a way that doesn't generate a deopt in 48 testDoubleConversion4(new Array(5)); 49 testDoubleConversion4(new Array(5)); // Call twice to make sure that second 53 testDoubleConversion4(new Array(5)); 54 testDoubleConversion4(new Array(5)); 74 testExactMapHoisting(new Array(5)); 75 testExactMapHoisting(new Array(5)); // Call twice to make sure that second 79 testExactMapHoisting(new Array(5)); 80 testExactMapHoisting(new Array(5)) [all...] |
/external/deqp/modules/glshared/ |
glsVertexArrayTests.cpp | 21 * \brief Vertex array and buffer tests 67 std::string Array::targetToString(Target target) 72 "array" // TARGET_ARRAY, 75 return de::getSizedArrayElement<Array::TARGET_LAST>(targets, (int)target); 78 std::string Array::inputTypeToString(InputType type) 99 return de::getSizedArrayElement<Array::INPUTTYPE_LAST>(types, (int)type); 102 std::string Array::outputTypeToString(OutputType type) 123 return de::getSizedArrayElement<Array::OUTPUTTYPE_LAST>(types, (int)type); 126 std::string Array::usageTypeToString(Usage usage) 144 return de::getSizedArrayElement<Array::USAGE_LAST>(usages, (int)usage) 1938 const ArraySpec& array = arrays[ndx]; local 1985 const ArraySpec& array = arrays[ndx]; local [all...] |
/external/v8/test/mjsunit/es6/ |
array-of.js | 5 // Based on Mozilla Array.of() tests at http://dxr.mozilla.org/mozilla-central/source/js/src/jit-test/tests/collections 9 // Array.of makes real arrays. 12 assertEquals(Object.getPrototypeOf(a), Array.prototype); 13 assertEquals(Array.isArray(a), true); 19 check(Array.of()); 20 check(Array.of(0)); 21 check(Array.of(0, 1, 2)); 22 var f = Array.of; 26 // Array.of basics 28 var a = Array.of() [all...] |
typedarray-tostring.js | 5 // Array's toString should call the object's own join method, if one exists and 30 // On an Array object. 50 assertEquals(0, a3.toString().search(/\[object .+Array\]/)); 55 // No join on Array. 56 assertEquals(0, a3.toString().search(/\[object .+Array\]/)); 59 // On a non-Array object, throws. 68 o1.join = Array.prototype.join; 73 // Array, as the spec says (but Firefox doesn't do either). 75 // assertEquals(o1.toString, Array.prototype.toString); 83 assertEquals("1,2", Array.prototype.join.call(a5)) [all...] |
/art/runtime/mirror/ |
array.cc | 17 #include "array.h" 35 // Create a multi-dimensional array of Objects or primitive types. 41 // Recursively create an array with multiple dimensions. Elements may be 43 static Array* RecursiveCreateMultiArray(Thread* self, 49 Handle<Array> new_array( 51 Array::Alloc<true>(self, array_class.Get(), array_length, 59 // Create a new sub-array in every element of the array. 63 Array* sub_array = RecursiveCreateMultiArray(self, h_component_type, 70 new_array->AsObjectArray<Array>()->Set<false, false>(i, sub_array) [all...] |
/external/v8/test/webkit/ |
array-proto-func-property-getter-except.js | 25 "This test checks that functions on the array prototype correctly handle exceptions from property getters when called on non-array objects." 48 // This test makes sense for these functions: (they should get all properties on the array) 49 shouldBeTrue("test(Array.prototype.sort)"); 50 shouldBeTrue("test(Array.prototype.every)"); 51 shouldBeTrue("test(Array.prototype.some)"); 52 shouldBeTrue("test(Array.prototype.forEach)"); 53 shouldBeTrue("test(Array.prototype.map)"); 54 shouldBeTrue("test(Array.prototype.filter)"); 55 shouldBeTrue("test(Array.prototype.reduce)") [all...] |
/external/junit/src/org/junit/internal/ |
ComparisonCriteria.java | 3 import java.lang.reflect.Array; 22 * Object array or array of arrays (multi-dimensional array) with 25 * Object array or array of arrays (multi-dimensional array) with 38 Object expected= Array.get(expecteds, i); 39 Object actual= Array.get(actuals, i); 64 Assert.fail(header + "expected array was null") [all...] |
/external/testng/src/main/java/org/testng/internal/junit/ |
ComparisonCriteria.java | 5 import java.lang.reflect.Array; 22 * Object array or array of arrays (multi-dimensional array) with 25 * Object array or array of arrays (multi-dimensional array) with 38 Object expected= Array.get(expecteds, i); 39 Object actual= Array.get(actuals, i); 64 AssertJUnit.fail(header + "expected array was null") [all...] |
/external/v8/test/mjsunit/harmony/ |
array-species.js | 11 // Subclasses of Array construct themselves under map, etc 13 class MyArray extends Array { } 22 class MyOtherArray extends Array { 31 // Array methods on non-arrays return arrays 33 class MyNonArray extends Array { 40 Array.prototype.map.call(new MyNonArray(), ()=>{}).constructor); 42 Array.prototype.filter.call(new MyNonArray(), ()=>{}).constructor); 44 Array.prototype.slice.call(new MyNonArray()).constructor); 46 Array.prototype.splice.call(new MyNonArray()).constructor); 49 Array.prototype.map.call(new MyNonArray(), ()=>{}).length) [all...] |
/external/easymock/src/org/easymock/internal/ |
ArgumentToString.java | 18 import java.lang.reflect.Array;
40 for (int i = 0; i < Array.getLength(value); i++) {
44 appendArgument(Array.get(value, i), buffer);
|
/external/v8/test/mjsunit/es7/ |
array-includes-to-object-strict.js | 6 // https://github.com/tc39/Array.prototype.includes/blob/master/test/number-this.js 9 // Array.prototype.includes should use ToObject on this, so that when called 26 assertTrue(Array.prototype.includes.call(5, "a")); 27 assertTrue(Array.prototype.includes.call(5, "b")); 28 assertTrue(Array.prototype.includes.call(5, "c")); 29 assertFalse(Array.prototype.includes.call(5, "d"));
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_primitive_restart.c | 55 cut_index_will_work = (ctx->Array.RestartIndex & 0xff) == 0xff; 58 cut_index_will_work = (ctx->Array.RestartIndex & 0xffff) == 0xffff; 61 cut_index_will_work = ctx->Array.RestartIndex == 0xffffffff; 160 if (!(ctx->Array.PrimitiveRestart)) { 199 ctx->Array.PrimitiveRestart ? HSW_CUT_INDEX_ENABLE : 0; 203 OUT_BATCH(ctx->Array.RestartIndex);
|
/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");
|
/external/libcxxabi/test/ |
test_vector3.pass.cpp | 53 typedef test1::A Array[10]; 54 Array a[10]; // calls _cxa_vec_dtor
|