/external/v8/test/mjsunit/ |
array-sort.js | 30 // Test array sort. 151 // Test array sorting with holes in the array. 164 // Test array sorting with undefined elemeents in the array. 175 // in the array. 193 Array.prototype.sort.call(obj); 209 var x = new Array(4); 213 Array.prototype.sort.call(x); 232 Array.prototype.sort.call(x) [all...] |
debug-liveedit-newsource.js | 35 + "// Array(); \n" 58 // The call to array causes a change in the number of type feedback slots for 61 // TODO(mvstanton): For now, the inclusion of the Array() call at the top level 64 var new_source = new_source.replace("// Array", "Array"); 67 var change_log = new Array();
|
object-get-own-property-names.js | 80 // Check that implementation does not access Array.prototype. 81 var savedConcat = Array.prototype.concat; 82 Array.prototype.concat = function() { return []; } 87 assertSame(Array.prototype, propertyNames.__proto__); 88 Array.prototype.concat = savedConcat;
|
array-iteration.js | 28 // Tests for non-standard array iteration functions. 32 // <http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Array> 37 // Array.prototype.filter 51 // Modify original array. 54 a.filter(function(n, index, array) { 55 array[index] = 43; return 42 == n; 59 // Only loop through initial part of array eventhough elements are 63 a.filter(function(n, index, array) { array.push(n+1); return n == 2; })); 67 a = new Array(20) [all...] |
array-functions-prototype.js | 28 // This file contains a number of tests of array functions and their 39 // Set elements on the array prototype. 40 Array.prototype[0] = 'zero'; 41 Array.prototype[1] = 'one'; 42 Array.prototype[2] = 'two'; 60 var array = ['zero', , 'two']; 62 assertEquals('zero', array.shift()); 63 assertEquals('zero', Array.prototype.shift.call(nonArray)); 66 assertEquals(2, array.length); 68 assertHasOwnProperties(array, 2) [all...] |
/external/v8/test/mjsunit/compiler/ |
osr-block-scope-id.js | 10 var result = new Array();
|
osr-forof.js | 18 var a = new Array(10000); 27 function wrap(array) { 31 return { done: i >= array.length, value: array[i++] };
|
/external/v8/test/mjsunit/es6/ |
arrow-rest-params-lazy-parsing.js | 24 assertEquals(Array, c.constructor); 25 assertTrue(Array.isArray(c)); 37 assertEquals(Array, c.constructor); 38 assertTrue(Array.isArray(c));
|
arrow-rest-params.js | 22 assertEquals(Array, c.constructor); 23 assertTrue(Array.isArray(c)); 35 assertEquals(Array, c.constructor); 36 assertTrue(Array.isArray(c));
|
array-iterator.js | 47 assertHasOwnProperty(Array.prototype, 'entries', DONT_ENUM); 48 assertHasOwnProperty(Array.prototype, 'keys', DONT_ENUM); 49 assertHasOwnProperty(Array.prototype, Symbol.iterator, DONT_ENUM); 50 assertEquals('entries', Array.prototype.entries.name); 51 assertEquals('keys', Array.prototype.keys.name); 52 assertEquals('values', Array.prototype[Symbol.iterator].name); 63 var array = ['a', 'b', 'c']; 64 var iterator = array[Symbol.iterator](); 70 array.push('d'); 77 var array = ['a', 'b', 'c'] [all...] |
/external/v8/test/mjsunit/regress/ |
regress-3718.js | 20 assertEquals("Array", getTypeName([]));
|
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-crbug-350890.js | 13 var a = Array(l);
|
regress-1121.js | 30 // Test that changing Array.prototype.__proto__ keeps Array functions working. 32 Array.prototype.__proto__ = null;
|
regress-crbug-244461.js | 36 foo(Array); 37 foo(Array); 40 foo(Array);
|
regress-crbug-285355.js | 36 function crash(array) { 37 return array[~inverted_index()] = 2; 40 assertEquals(2, crash(new Array(1))); 41 assertEquals(2, crash(new Array(1))); 43 assertEquals(2, crash(new Array(1)));
|
/frameworks/base/core/java/android/text/ |
SpanSet.java | 19 import java.lang.reflect.Array; 52 spans = (E[]) Array.newInstance(classType, length);
|
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/reflection/java/ |
JavaTypeUtil.java | 21 import java.lang.reflect.Array; 79 if (Array.class.isAssignableFrom(klass)) { 80 return ARRAY + getDescription(klass.getComponentType());
|
/frameworks/support/v7/recyclerview/src/android/support/v7/util/ |
TileList.java | 21 import java.lang.reflect.Array; 94 mItems = (T[]) Array.newInstance(klass, size);
|
/prebuilts/misc/common/swig/include/2.0.11/ocaml/ |
ocaml.i | 30 | C_array a -> Swig.C_array (Array.map (swig_val t) a)
|
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/test/ |
core-extensions.rb | 202 relative_list = Array.new( reference_list.length, '..' ) 230 class Array 232 # Pad an array with a given <tt>value</tt> upto a given <tt>length</tt>. 237 # to the beginning of the array. 246 Array.new( ( len+size ).abs,val ) + self 248 self + Array.new( len-size,val ) 252 # Like #pad but changes the array in place. 263 replace Array.new( ( len+size ).abs,val ) + self 265 concat Array.new( len-size,val )
|
/external/deqp/framework/common/ |
tcuFormatUtil.hpp | 172 // Array formatters. 175 class Array 181 Array (const Iterator& begin_, const Iterator& end_) : begin(begin_), end(end_) {} 195 std::ostream& operator<< (std::ostream& str, const Array<Iterator>& fmt) 212 return str << Array<const T*>(fmt.arr, fmt.arr+fmt.size); 268 /** Format array contents. */ 270 inline Format::Array<Iterator> formatArray (const Iterator& begin, const Iterator& end) 272 return Format::Array<Iterator>(begin, end); 275 /** Format array contents. */ 282 /** Format array contents. * [all...] |
/external/v8/test/js-perf-test/Iterators/ |
forof.js | 34 ForOfArraySetupHelper(Array); 40 ForOfArraySetupHelper(Array); 46 ForOfArraySetupHelper(Array);
|
/external/mesa3d/src/mesa/vbo/ |
vbo_exec_array.c | 73 check_buffers_are_unmapped(exec->array.inputs); 93 const GLboolean restart = ctx->Array.PrimitiveRestart; 94 const GLuint restartIndex = ctx->Array.RestartIndex; 220 * Check that element 'j' of the array has reasonable data. 225 check_array_data(struct gl_context *ctx, struct gl_client_array *array, 228 if (array->Enabled) { 229 const void *data = array->Ptr; 230 if (_mesa_is_bufferobj(array->BufferObj)) { 231 if (!array->BufferObj->Pointer) { 233 array->BufferObj->Pointer [all...] |
/external/v8/test/mjsunit/harmony/ |
reflect-own-keys.js | 77 // Check that implementation does not access Array.prototype. 78 var savedConcat = Array.prototype.concat; 79 Array.prototype.concat = function() { return []; } 84 assertSame(Array.prototype, keys.__proto__); 85 Array.prototype.concat = savedConcat;
|