HomeSort by relevance Sort by last modified time
    Searched full:array (Results 176 - 200 of 7457) sorted by null

1 2 3 4 5 6 78 91011>>

  /external/webkit/JavaScriptCore/tests/mozilla/ecma/Array/
15.4.4.4-2.js 24 ECMA Section: 15.4.4.3-1 Array.prototype.reverse()
27 The elements of the array are rearranged so as to reverse their order.
60 that its this value be an Array object. Therefore it can be transferred to other
64 Note: Array.prototype.reverse allows some flexibility in implementation
65 regarding array indices that have not been populated. This test covers the
76 var testcases = new Array();
78 writeHeaderToLog( SECTION + " Array.prototype.reverse()");
84 var ARR_PROTOTYPE = Array.prototype;
86 testcases[testcases.length] = new TestCase( SECTION, "Array.prototype.reverse.length", 0, Array.prototype.reverse.length )
    [all...]
15.4.3.js 24 ECMA Section: 15.4.3 Properties of the Array Constructor
26 Array constructor is the Function prototype object.
35 var TITLE = "Properties of the Array Constructor";
43 var array = new Array();
46 array[item++] = new TestCase( SECTION, "Array.__proto__", Function.prototype, Array.__proto__ );
48 return ( array );
15.4.2.1-3.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".
46 the Array constructor. Should support up to Math.pow
48 ECMAScript array.
50 ***Change TEST_LENGTH to Math.pow(2,32) when larger array
59 var TITLE = "The Array Constructor: new Array( item0, item1, ...)";
67 var array = new Array()
    [all...]
  /dalvik/libcore/concurrent/src/main/java/java/util/concurrent/atomic/
AtomicReferenceArray.java 12 * An array of object references in which elements may be updated
18 * @param <E> The base class of elements held in this array
28 private final Object[] array; field in class:AtomicReferenceArray
31 if (i < 0 || i >= array.length)
41 * @param length the length of the array
44 array = new Object[length];
47 unsafe.putObjectVolatile(array, rawIndex(0), null);
52 * all elements copied from, the given array.
54 * @param array the array to copy elements fro
    [all...]
AtomicLongArray.java 12 * A {@code long} array in which elements may be updated atomically.
27 private final long[] array; field in class:AtomicLongArray
30 if (i < 0 || i >= array.length)
41 * @param length the length of the array
44 array = new long[length];
47 unsafe.putLongVolatile(array, rawIndex(0), 0);
52 * all elements copied from, the given array.
54 * @param array the array to copy elements from
55 * @throws NullPointerException if array is nul
    [all...]
  /external/v8/test/mjsunit/
array-functions-prototype-misc.js 61 return new Array(length);
63 the_prototype = Array.prototype;
64 push_function = function(array, elt) {
65 return array.push(elt);
67 concat_function = function(array, other) {
68 return array.concat(other);
70 slice_function = function(array, start, len) {
71 return array.slice(start, len);
73 splice_function = function(array, start, len) {
74 return array.splice(start, len)
    [all...]
  /dalvik/dx/src/com/android/dx/dex/file/
EncodedArrayItem.java 33 * Encoded array of constant values.
39 /** {@code non-null;} the array to represent */
40 private final CstArray array; field in class:EncodedArrayItem
51 * @param array {@code non-null;} array to represent
53 public EncodedArrayItem(CstArray array) {
60 if (array == null) {
61 throw new NullPointerException("array == null");
64 this.array = array;
    [all...]
  /external/webkit/JavaScriptCore/tests/mozilla/ecma/Expressions/
11.9.1.js 64 var array = new Array();
69 array[item++] = new TestCase( SECTION, "void 0 = void 0", true, void 0 == void 0 );
70 array[item++] = new TestCase( SECTION, "null == null", true, null == null );
74 array[item++] = new TestCase( SECTION, "NaN == NaN", false, Number.NaN == Number.NaN );
75 array[item++] = new TestCase( SECTION, "NaN == 0", false, Number.NaN == 0 );
76 array[item++] = new TestCase( SECTION, "0 == NaN", false, 0 == Number.NaN );
77 array[item++] = new TestCase( SECTION, "NaN == Infinity", false, Number.NaN == Number.POSITIVE_INFINITY );
78 array[item++] = new TestCase( SECTION, "Infinity == NaN", false, Number.POSITIVE_INFINITY == Number.NaN );
82 array[item++] = new TestCase( SECTION, "Number.MAX_VALUE == Number.MAX_VALUE", true, Number.MAX_V (…)
    [all...]
11.9.2.js 63 var array = new Array();
68 array[item++] = new TestCase( SECTION, "void 0 == void 0", false, void 0 != void 0 );
69 array[item++] = new TestCase( SECTION, "null == null", false, null != null );
73 array[item++] = new TestCase( SECTION, "NaN != NaN", true, Number.NaN != Number.NaN );
74 array[item++] = new TestCase( SECTION, "NaN != 0", true, Number.NaN != 0 );
75 array[item++] = new TestCase( SECTION, "0 != NaN", true, 0 != Number.NaN );
76 array[item++] = new TestCase( SECTION, "NaN != Infinity", true, Number.NaN != Number.POSITIVE_INFINITY );
77 array[item++] = new TestCase( SECTION, "Infinity != NaN", true, Number.POSITIVE_INFINITY != Number.NaN );
81 array[item++] = new TestCase( SECTION, "Number.MAX_VALUE != Number.MAX_VALUE", false, Number.MAX_ (…)
    [all...]
11.9.3.js 63 var array = new Array();
68 array[item++] = new TestCase( SECTION, "void 0 = void 0", true, void 0 == void 0 );
69 array[item++] = new TestCase( SECTION, "null == null", true, null == null );
73 array[item++] = new TestCase( SECTION, "NaN == NaN", false, Number.NaN == Number.NaN );
74 array[item++] = new TestCase( SECTION, "NaN == 0", false, Number.NaN == 0 );
75 array[item++] = new TestCase( SECTION, "0 == NaN", false, 0 == Number.NaN );
76 array[item++] = new TestCase( SECTION, "NaN == Infinity", false, Number.NaN == Number.POSITIVE_INFINITY );
77 array[item++] = new TestCase( SECTION, "Infinity == NaN", false, Number.POSITIVE_INFINITY == Number.NaN );
81 array[item++] = new TestCase( SECTION, "Number.MAX_VALUE == Number.MAX_VALUE", true, Number.MAX_V (…)
    [all...]
11.4.2.js 42 var array = new Array();
45 array[item++] = new TestCase( SECTION, "void(new String('string object'))", void 0, void(new String( 'string object' )) );
46 array[item++] = new TestCase( SECTION, "void('string primitive')", void 0, void("string primitive") );
47 array[item++] = new TestCase( SECTION, "void(Number.NaN)", void 0, void(Number.NaN) );
48 array[item++] = new TestCase( SECTION, "void(Number.POSITIVE_INFINITY)", void 0, void(Number.POSITIVE_INFINITY) );
49 array[item++] = new TestCase( SECTION, "void(1)", void 0, void(1) );
50 array[item++] = new TestCase( SECTION, "void(0)", void 0, void(0) );
51 array[item++] = new TestCase( SECTION, "void(-1)", void 0, void(-1) );
52 array[item++] = new TestCase( SECTION, "void(Number.NEGATIVE_INFINITY)", void 0, void(Number. (…)
    [all...]
  /external/webkit/JavaScriptCore/tests/mozilla/ecma/Math/
15.8.2.16.js 42 var array = new Array();
45 array[item++] = new TestCase( SECTION, "Math.sin.length", 1, Math.sin.length );
47 array[item++] = new TestCase( SECTION, "Math.sin()", Number.NaN, Math.sin() );
48 array[item++] = new TestCase( SECTION, "Math.sin(null)", 0, Math.sin(null) );
49 array[item++] = new TestCase( SECTION, "Math.sin(void 0)", Number.NaN, Math.sin(void 0) );
50 array[item++] = new TestCase( SECTION, "Math.sin(false)", 0, Math.sin(false) );
51 array[item++] = new TestCase( SECTION, "Math.sin('2.356194490192')", 0.7071067811865, Math.sin('2.356194490192') );
53 array[item++] = new TestCase( SECTION, "Math.sin(NaN)", Number.NaN, Math.sin(Number.NaN) );
54 array[item++] = new TestCase( SECTION, "Math.sin(0)", 0, Math.sin(0) )
    [all...]
15.8.2.9.js 52 var array = new Array();
55 array[item++] = new TestCase( SECTION, "Math.floor.length", 1, Math.floor.length );
57 array[item++] = new TestCase( SECTION, "Math.floor()", Number.NaN, Math.floor() );
58 array[item++] = new TestCase( SECTION, "Math.floor(void 0)", Number.NaN, Math.floor(void 0) );
59 array[item++] = new TestCase( SECTION, "Math.floor(null)", 0, Math.floor(null) );
60 array[item++] = new TestCase( SECTION, "Math.floor(true)", 1, Math.floor(true) );
61 array[item++] = new TestCase( SECTION, "Math.floor(false)", 0, Math.floor(false) );
63 array[item++] = new TestCase( SECTION, "Math.floor('1.1')", 1, Math.floor("1.1") );
64 array[item++] = new TestCase( SECTION, "Math.floor('-1.1')", -2, Math.flo (…)
    [all...]
15.8.2.6.js 51 var array = new Array();
54 array[item++] = new TestCase( SECTION, "Math.ceil.length", 1, Math.ceil.length );
56 array[item++] = new TestCase( SECTION, "Math.ceil(NaN)", Number.NaN, Math.ceil(Number.NaN) );
57 array[item++] = new TestCase( SECTION, "Math.ceil(null)", 0, Math.ceil(null) );
58 array[item++] = new TestCase( SECTION, "Math.ceil()", Number.NaN, Math.ceil() );
59 array[item++] = new TestCase( SECTION, "Math.ceil(void 0)", Number.NaN, Math.ceil(void 0) );
61 array[item++] = new TestCase( SECTION, "Math.ceil('0')", 0, Math.ceil('0') );
62 array[item++] = new TestCase( SECTION, "Math.ceil('-0')", -0, Math.ceil('-0') );
63 array[item++] = new TestCase( SECTION, "Infinity/Math.ceil('0')", Infinity, Infinity/Math.ceil('0'))
    [all...]
  /external/webkit/JavaScriptCore/tests/mozilla/ecma/TypeConversion/
9.3.js 66 var array = new Array();
71 array[item++] = new TestCase( SECTION, "Number()", 0, Number() );
72 array[item++] = new TestCase( SECTION, "Number(eval('var x'))", Number.NaN, Number(eval("var x")) );
73 array[item++] = new TestCase( SECTION, "Number(void 0)", Number.NaN, Number(void 0) );
74 array[item++] = new TestCase( SECTION, "Number(null)", 0, Number(null) );
75 array[item++] = new TestCase( SECTION, "Number(true)", 1, Number(true) );
76 array[item++] = new TestCase( SECTION, "Number(false)", 0, Number(false) );
77 array[item++] = new TestCase( SECTION, "Number(0)", 0, Number(0) );
78 array[item++] = new TestCase( SECTION, "Number(-0)", -0, Number(-0) )
    [all...]
  /dalvik/vm/mterp/x86-atom/
OP_ARRAY_LENGTH.S 19 * Code: 32-bit array length operation.
21 * For: array-length
23 * Description: Store the length of the indicated array in the given
36 testl %eax, %eax # check for null array object
37 je common_errNullObject # handle null array object
38 movl offArrayObject_length(%eax), %eax # %eax<- array length
39 movl %eax, (rFP, rINST, 4) # vA<- %eax; array length
  /external/webkit/JavaScriptCore/tests/mozilla/ecma/Date/
15.9.2.2-1.js 45 // all tests must call a function that returns an array of TestCase objects.
49 var array = new Array();
54 array[item++] = new TestCase( SECTION, "Date(1970,0,1,0,0,0)", (new Date()).toString(), Date(1970,0,1,0,0,0) );
55 array[item++] = new TestCase( SECTION, "Date(1969,11,31,15,59,59)", (new Date()).toString(), Date(1969,11,31,15,59,59))
56 array[item++] = new TestCase( SECTION, "Date(1969,11,31,16,0,0)", (new Date()).toString(), Date(1969,11,31,16,0,0))
57 array[item++] = new TestCase( SECTION, "Date(1969,11,31,16,0,1)", (new Date()).toString(), Date(1969,11,31,16,0,1))
60 array[item++] = new TestCase( SECTION, "Date(1999,11,15,59,59)", (new Date()).toString(), Date(1999,11,15,59,59));
61 array[item++] = new TestCase( SECTION, "Date(1999,11,16,0,0,0)", (new Date()).toString(), Date(1999,11,16,0,0,0));
62 array[item++] = new TestCase( SECTION, "Date(1999,11,31,23,59,59)", (new Date()).toString(), Date (…)
    [all...]
  /external/webkit/JavaScriptCore/tests/mozilla/ecma/GlobalObject/
15.1.2.1-1.js 45 var array = new Array();
48 array[item++] = new TestCase( SECTION, "eval.length", 1, eval.length );
49 array[item++] = new TestCase( SECTION, "delete eval.length", false, delete eval.length );
50 array[item++] = new TestCase( SECTION, "var PROPS = ''; for ( p in eval ) { PROPS += p }; PROPS", "", eval("var PROPS = ''; for ( p in eval ) { PROPS += p }; PROPS") );
51 array[item++] = new TestCase( SECTION, "eval.length = null; eval.length", 1, eval( "eval.length = null; eval.length") );
52 // array[item++] = new TestCase( SECTION, "eval.__proto__", Function.prototype, eval.__proto__ );
56 array[item++] = new TestCase( SECTION, "eval()", void 0, eval() );
57 array[item++] = new TestCase( SECTION, "eval(void 0)", void 0, eval( void 0) );
58 array[item++] = new TestCase( SECTION, "eval(null)", null, (…)
    [all...]
15.1.1.1.js 44 var array = new Array();
47 array[array.length] = new TestCase( SECTION, "NaN", Number.NaN, NaN );
48 array[array.length] = new TestCase( SECTION, "this.NaN", Number.NaN, this.NaN );
49 array[array.length] = new TestCase( SECTION, "typeof NaN", "number", typeof NaN );
51 return ( array );
  /frameworks/base/graphics/java/android/graphics/
ColorMatrixColorFilter.java 34 * @param array array of floats used to transform colors, treated as a 4x5
35 * matrix. The first 20 entries of the array are copied into
38 public ColorMatrixColorFilter(float[] array) {
39 if (array.length < 20) {
42 native_instance = nativeColorMatrixFilter(array);
45 private static native int nativeColorMatrixFilter(float[] array);
  /dalvik/dx/tests/048-dex-new-array/
expected.txt 4 0001: new-array v0, v1, boolean[]
7 0007: new-array v0, v0, byte[]
10 000d: new-array v0, v0, char[]
13 0013: new-array v0, v0, short[]
16 0019: new-array v0, v0, int[]
19 001f: new-array v0, v0, long[]
22 0025: new-array v0, v0, float[]
25 002b: new-array v0, v0, double[]
27 0030: new-array v0, v1, java.lang.Object[]
  /external/webkit/JavaScriptCore/tests/mozilla/ecma/LexicalConventions/
7.3-1.js 44 var array = new Array();
46 array[item] = new TestCase( SECTION,
51 // "\u000A" array[item].actual = "fail";
55 array[item] = new TestCase( SECTION,
56 "// test \\n array[item].actual = \"pass\"",
60 var x = "// test \n array[item].actual = 'pass'"
62 array[0].actual = eval(x);
64 return ( array );
  /external/webkit/JavaScriptCore/tests/mozilla/ecma_3/RegExp/
perlstress-001.js 57 //expectedmatch = Array('.', '.', ''); <<<--- Perl
58 expectedmatch = Array('.', '.', undefined); <<<--- JS
91 var statusmessages = new Array();
93 var patterns = new Array();
95 var strings = new Array();
97 var actualmatches = new Array();
99 var expectedmatches = new Array();
108 expectedmatch = Array('abc');
115 expectedmatch = Array('abc');
122 expectedmatch = Array('abc')
    [all...]
  /external/webkit/JavaScriptCore/tests/mozilla/ecma/Boolean/
15.6.4.2-1.js 48 var array = new Array();
51 array[item++] = new TestCase( SECTION, "new Boolean(1)", "true", (new Boolean(1)).toString() );
52 array[item++] = new TestCase( SECTION, "new Boolean(0)", "false", (new Boolean(0)).toString() );
53 array[item++] = new TestCase( SECTION, "new Boolean(-1)", "true", (new Boolean(-1)).toString() );
54 array[item++] = new TestCase( SECTION, "new Boolean('1')", "true", (new Boolean("1")).toString() );
55 array[item++] = new TestCase( SECTION, "new Boolean('0')", "true", (new Boolean("0")).toString() );
56 array[item++] = new TestCase( SECTION, "new Boolean(true)", "true", (new Boolean(true)).toString() );
57 array[item++] = new TestCase( SECTION, "new Boolean(false)", "false", (new Boolean(false)).toString() );
58 array[item++] = new TestCase( SECTION, "new Boolean('true')", "true", (new Boolean('true')).toStrin (…)
    [all...]
  /external/webkit/JavaScriptCore/tests/mozilla/ecma/FunctionObjects/
15.3.1.1-2.js 51 var array = new Array();
62 array[item++] = new TestCase( SECTION, "myfunc1 = Function('a','b','c'); myfunc.toString = Object.prototype.toString; myfunc.toString()",
66 array[item++] = new TestCase( SECTION, "myfunc1.length", 3, myfunc1.length );
67 array[item++] = new TestCase( SECTION, "myfunc1.prototype.toString()", "[object Object]", myfunc1.prototype.toString() );
69 array[item++] = new TestCase( SECTION, "myfunc1.prototype.constructor", myfunc1, myfunc1.prototype.constructor );
70 array[item++] = new TestCase( SECTION, "myfunc1.arguments", null, myfunc1.arguments );
71 array[item++] = new TestCase( SECTION, "myfunc1(1,2,3)", 6, myfunc1(1,2,3) );
72 array[item++] = new TestCase( SECTION, "var MYPROPS = ''; for ( var p in myfunc1.prototype ) { MYPROPS += p; }; MYPROPS",
76 array[item++] = new TestCase( SECTION, "myfunc2 = Function('a','b','c'); myfunc.toString = Object.prot (…)
    [all...]

Completed in 106 milliseconds

1 2 3 4 5 6 78 91011>>