HomeSort by relevance Sort by last modified time
    Searched refs:Array (Results 51 - 75 of 1692) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/v8/test/mjsunit/
array-constructor.js 33 var a = new Array();
34 var b = Array();
46 var a = new Array(j);
47 var b = Array(j);
59 a = new Array(0, 1);
61 a = new Array(0, 1, 2);
63 a = new Array(0, 1, 2, 3);
65 a = new Array(0, 1, 2, 3, 4);
67 a = new Array(0, 1, 2, 3, 4, 5);
69 a = new Array(0, 1, 2, 3, 4, 5, 6)
    [all...]
elements-transition-hoisting.js 34 support_smi_only_arrays = %HasFastSmiOnlyElements(new Array(1,2,3,4,5,6));
48 // Make sure that a simple elements array transitions inside a loop before
49 // stores to an array gets hoisted in a way that doesn't generate a deopt in
60 testDoubleConversion4(new Array(5));
62 testDoubleConversion4(new Array(5));
63 testDoubleConversion4(new Array(5));
82 testExactMapHoisting(new Array(5));
84 testExactMapHoisting(new Array(5));
85 testExactMapHoisting(new Array(5));
109 testExactMapHoisting2(new Array(5))
    [all...]
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/RegExp/
octal-002.js 65 var statusmessages = new Array();
67 var patterns = new Array();
69 var strings = new Array();
71 var actualmatches = new Array();
73 var expectedmatches = new Array();
106 expectedmatch = Array(string);
119 expectedmatch = Array(string);
131 expectedmatch = Array(string);
143 expectedmatch = Array(string);
155 expectedmatch = Array(string)
    [all...]
regress-67773.js 34 var statusmessages = new Array();
36 var patterns = new Array();
38 var strings = new Array();
40 var actualmatches = new Array();
42 var expectedmatches = new Array();
55 expectedmatch = Array(string, 'AAABBB', cnSingleSpace, 'BBB');
69 expectedmatch = Array(string, 'AAB');
75 expectedmatch = Array(string, 'AAAAAAB');
81 expectedmatch = Array(string, 'AB');
95 expectedmatch = Array(string, 'AA1')
    [all...]
regress-169497.js 47 var statusmessages = new Array();
49 var patterns = new Array();
53 var strings = new Array();
55 var actualmatches = new Array();
57 var expectedmatches = new Array();
72 expectedmatch = Array(sBody, '\n<p>Kibology for all</p>\n<p>All for Kibology</p>\n', '<p>All for Kibology</p>\n');
15.10.6.2-2.js 50 * expression and returns an Array object containing the results of
99 var statusmessages = new Array();
101 var patterns = new Array();
103 var strings = new Array();
105 var actualmatches = new Array();
107 var expectedmatches = new Array();
120 expectedmatch = Array('Abc');
125 expectedmatch = Array('aBc');
130 expectedmatch = Array('abC');
236 expectedmatch = Array('Abc')
    [all...]
15.10.6.2-1.js 30 * expression and returns an Array object containing the results of
67 var statusmessages = new Array();
69 var patterns = new Array();
71 var strings = new Array();
73 var actualmatches = new Array();
75 var expectedmatches = new Array();
regress-187133.js 52 * the parens are non-capturing. A non-null match array in the example above
61 var statusmessages = new Array();
63 var patterns = new Array();
65 var strings = new Array();
67 var actualmatches = new Array();
69 var expectedmatches = new Array();
regress-76683.js 32 var statusmessages = new Array();
34 var patterns = new Array();
36 var strings = new Array();
38 var actualmatches = new Array();
40 var expectedmatches = new Array();
regress-78156.js 35 var statusmessages = new Array();
37 var patterns = new Array();
39 var strings = new Array();
41 var actualmatches = new Array();
43 var expectedmatches = new Array();
regress-100199.js 37 var statusmessages = new Array();
39 var patterns = new Array();
41 var strings = new Array();
43 var actualmatches = new Array();
45 var expectedmatches = new Array();
164 expectedmatch = Array('a');
176 expectedmatch = Array('/');
182 expectedmatch = Array('[');
188 expectedmatch = Array('[');
194 expectedmatch = Array(']');
    [all...]
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Array/
15.4.1.3.js 24 ECMA Section: 15.4.1.3 Array()
26 Description: When Array is called as a function rather than as a
27 constructor, it creates and initializes a new array
28 object. Thus, the function call Array(...) is
29 equivalent to the object creationi new Array(...) with
32 An array is created and returned as if by the
33 expression new Array(len).
41 var TITLE = "Array Constructor Called as a Function: Array()";
50 var array = new Array()
    [all...]
15.4.1.1.js 24 ECMA Section: 15.4.1 Array( item0, item1,... )
26 Description: When Array is called as a function rather than as a
27 constructor, it creates and initializes a new array
28 object. Thus, the function call Array(...) is
29 equivalent to the object creation new Array(...) with
32 An array is created and returned as if by the expression
33 new Array( item0, item1, ... ).
41 var TITLE = "Array Constructor Called as a Function";
60 var array = new Array();
    [all...]
15.4.2.1-1.js 24 ECMA Section: 15.4.2.1 new Array( item0, item1, ... )
29 object is set to the original Array prototype object,
30 the one that is the initial value of Array.prototype
34 is set to "Array".
54 var TITLE = "The Array Constructor: new Array( item0, item1, ...)";
63 var array = new Array();
66 array[item++] = new TestCase( SECTION, "typeof new Array(1,2)", "object", typeof new Array(1,2) )
    [all...]
15.4.3.1-2.js 24 ECMA Section: 15.4.3.1 Array.prototype
25 Description: The initial value of Array.prototype is the built-in
26 Array prototype object (15.4.4).
35 var TITLE = "Array.prototype";
43 var array = new Array();
45 var ARRAY_PROTO = Array.prototype;
47 array[item++] = new TestCase( SECTION, "var props = ''; for ( p in Array ) { props += p } props", "", eval("var props = ''; for ( p in Array ) { props += p } props") )
    [all...]
15.4.4.1.js 24 ECMA Section: 15.4.4.1 Array.prototype.constructor
25 Description: The initial value of Array.prototype.constructor
26 is the built-in Array constructor.
34 var TITLE = "Array.prototype.constructor";
42 var array = new Array();
44 array[item++] = new TestCase( SECTION, "Array.prototype.constructor == Array", true, Array.prototype.constructor == Array)
    [all...]
15.4.4.js 24 ECMA Section: 15.4.4 Properties of the Array Prototype Object
26 the Array prototype object is the Object prototype
29 Note that the Array prototype object is itself an
30 array; it has a length property (whose initial value
40 var TITLE = "Properties of the Array Prototype Object";
48 var array = new Array();
52 // array[item++] = new TestCase( SECTION, "Array.prototype.__proto__", Object.prototype, Array.prototype.__proto__ )
    [all...]
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Expressions/
11.2.3-1.js 64 var testcases = new Array();
91 "(new Array())['length'].valueOf()",
93 (new Array())["length"].valueOf() );
97 "(new Array()).length.valueOf()",
99 (new Array()).length.valueOf() );
103 "(new Array(20))['length'].valueOf()",
105 (new Array(20))["length"].valueOf() );
  /external/webkit/Source/JavaScriptCore/tests/mozilla/js1_6/Array/
regress-304828.js 39 var summary = 'Array Generic Methods';
47 // use Array methods on a String
53 actual = Array.prototype.join.call(value);
66 actual = Array.prototype.reverse.call(value) + '';
79 actual = Array.prototype.sort.call(value) + '';
92 actual = Array.prototype.push.call(value, 'd', 'e', 'f');
106 actual = Array.prototype.pop.call(value);
120 actual = Array.prototype.unshift.call(value, 'a', 'b', 'c');
134 actual = Array.prototype.shift.call(value);
148 actual = Array.prototype.splice.call(value, 1, 1) + ''
    [all...]
regress-310425-02.js 39 var summary = 'Array.indexOf/lastIndexOf edge cases';
47 actual = Array(1).indexOf(1);
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/Array/
regress-101488.js 27 * But with it, Rhino was giving an error "Inappropriate array length"
50 arr = Array();
57 arr = Array(5);
64 arr = Array();
71 arr = Array(5);
79 * Also try the above with the "new" keyword before Array().
80 * Array() and new Array() should be equivalent, by ECMA 15.4.1.1
83 arr = new Array();
90 arr = new Array(5)
    [all...]
  /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/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/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);
  /libcore/luni/src/main/java/java/util/
UnsafeArrayList.java 19 import java.lang.reflect.Array;
22 * An array-backed list that exposes its array.
28 private T[] array; field in class:UnsafeArrayList
32 this.array = (T[]) Array.newInstance(elementType, initialCapacity);
37 if (size == array.length) {
38 T[] newArray = (T[]) Array.newInstance(elementType, size * 2);
39 System.arraycopy(array, 0, newArray, 0, size);
40 array = newArray
47 public T[] array() { method in class:UnsafeArrayList
    [all...]

Completed in 346 milliseconds

1 23 4 5 6 7 8 91011>>