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

1 2 3 4 5 6 78 91011>>

  /dalvik/libcore/support/src/test/java/tests/support/
Support_Proxy_I2.java 22 int[] array(long[] f); method in interface:Support_Proxy_I2
  /dalvik/tests/049-show-object/src/
Main.java 27 Object[] array = new Object[5]; local
28 showObject(array);
31 array = niftyStrings;
32 showObject(array);
  /external/stlport/test/unit/
reviter_test.cpp 35 int array [] = { 1, 5, 2, 3 }; local
37 vector<int> v(array, array + 4);
50 int array [] = { 1, 5, 2, 3 }; local
52 vector<int> v(array, array + 4);
63 int array [] = { 1, 5, 2, 3 }; local
65 list<int> v(array, array + 4);
ptr2_test.cpp 71 int array [3] = { 1, 2, 3 }; local
73 int* p = find_if((int*)array, (int*)array + 3, pointer_to_unary_function<int, bool>(even));
74 CPPUNIT_ASSERT(p != array+3);
79 int array [3] = { 1, 2, 3 }; local
81 int* p = find_if((int*)array, (int*)array + 3, ptr_fun(even));
82 CPPUNIT_ASSERT(p != array+3);
  /external/webkit/JavaScriptCore/tests/mozilla/ecma/Array/
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.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.5.2-1.js 24 ECMA Section: Array.length
27 The length property of this Array object is always numerically greater
28 than the name of every property whose name is an array index.
38 var TITLE = "Array.length";
45 var array = new Array();
48 array[item++] = new TestCase( SECTION,
49 "var A = new Array(); A.length",
51 eval("var A = new Array(); A.length") );
53 array[item++] = new TestCase( SECTION
    [all...]
  /external/webkit/JavaScriptCore/tests/mozilla/ecma/LexicalConventions/
7.1-3.js 54 var array = new Array();
56 array[item++] = new TestCase( SECTION, "'var'+'\u000B'+'MYVAR1=10;MYVAR1'", 10, eval('var'+'\u000B'+'MYVAR1=10;MYVAR1') );
57 array[item++] = new TestCase( SECTION, "'var'+'\u0009'+'MYVAR2=10;MYVAR2'", 10, eval('var'+'\u0009'+'MYVAR2=10;MYVAR2') );
58 array[item++] = new TestCase( SECTION, "'var'+'\u000C'+'MYVAR3=10;MYVAR3'", 10, eval('var'+'\u000C'+'MYVAR3=10;MYVAR3') );
59 array[item++] = new TestCase( SECTION, "'var'+'\u0020'+'MYVAR4=10;MYVAR4'", 10, eval('var'+'\u0020'+'MYVAR4=10;MYVAR4') );
63 array[item++] = new TestCase( SECTION,
68 array[item++] = new TestCase( SECTION,
72 array[item++] = new TestCase( SECTION,
78 return ( array );
    [all...]
  /external/webkit/JavaScriptCore/tests/mozilla/ecma/Number/
15.7.4.3-1.js 45 var array = new Array();
49 array[item++] = new TestCase("15.7.4.1", "Number.prototype.valueOf()", 0, "Number.prototype.valueOf()" );
51 array[item++] = new TestCase("15.7.4.1", "(new Number(1)).valueOf()", 1, "(new Number(1)).valueOf()" );
52 array[item++] = new TestCase("15.7.4.1", "(new Number(-1)).valueOf()", -1, "(new Number(-1)).valueOf()" );
53 array[item++] = new TestCase("15.7.4.1", "(new Number(0)).valueOf()", 0, "(new Number(0)).valueOf()" );
54 array[item++] = new TestCase("15.7.4.1", "(new Number(Number.POSITIVE_INFINITY)).valueOf()", Number.POSITIVE_INFINITY, "(new Number(Number.POSITIVE_INFINITY)).valueOf()" );
55 array[item++] = new TestCase("15.7.4.1", "(new Number(Number.NaN)).valueOf()", Number.NaN, "(new Number(Number.NaN)).valueOf()" );
56 array[item++] = new TestCase("15.7.4.1", "(new Number()).valueOf()", 0, "(new Number()).valueOf()" );
58 return ( array );
    [all...]
  /external/webkit/JavaScriptCore/tests/mozilla/ecma/Statements/
12.10-1.js 79 var array = new Array();
85 array[item++] = new TestCase( SECTION,
93 array[item++] = new TestCase(
99 array[item++] = new TestCase(
105 array[item++] = new TestCase(
111 array[item++] = new TestCase(
118 array[item++] = new TestCase(
126 array[item++] = new TestCase(
132 return ( array );
    [all...]
  /external/webkit/JavaScriptCore/tests/mozilla/ecma/String/
15.5.4.2-1.js 50 var array = new Array();
52 array[item++] = new TestCase( SECTION, "String.prototype.toString()", "", String.prototype.toString() );
53 array[item++] = new TestCase( SECTION, "(new String()).toString()", "", (new String()).toString() );
54 array[item++] = new TestCase( SECTION, "(new String(\"\")).toString()", "", (new String("")).toString() );
55 array[item++] = new TestCase( SECTION, "(new String( String() )).toString()","", (new String(String())).toString() );
56 array[item++] = new TestCase( SECTION, "(new String( \"h e l l o\" )).toString()", "h e l l o", (new String("h e l l o")).toString() );
57 array[item++] = new TestCase( SECTION, "(new String( 0 )).toString()", "0", (new String(0)).toString() );
58 return ( array );
60 function test( array ) {
    [all...]
15.5.4.8-3.js 27 Returns an Array object into which substrings of the result of converting
30 occurrences are not part of any substring in the returned array, but serve
34 up into individual characters; the length of the result array equals the
37 If the separator is not supplied, then the result array contains just one
43 2. Create a new Array object of length 0 and call it A.
90 var array = new Array();
94 var EXPECT = new Array();
98 array[item++] = new TestCase( SECTION,
103 array[item++] = new TestCase( SECTION
    [all...]
  /external/webkit/WebCore/html/canvas/
WebGLArray.cpp 47 void WebGLArray::setImpl(WebGLArray* array, unsigned byteOffset, ExceptionCode& ec)
49 if (byteOffset + array->byteLength() > byteLength()) {
55 memcpy(base + byteOffset, array->baseAddress(), array->byteLength());
  /external/webkit/JavaScriptCore/tests/mozilla/ecma/TypeConversion/
9.3-1.js 75 var array = new Array();
79 array[item++] = new TestCase( SECTION, "Number(new Number())", 0, Number(new Number()) );
80 array[item++] = new TestCase( SECTION, "Number(new Number(Number.NaN))",Number.NaN, Number(new Number(Number.NaN)) );
81 array[item++] = new TestCase( SECTION, "Number(new Number(0))", 0, Number(new Number(0)) );
82 array[item++] = new TestCase( SECTION, "Number(new Number(null))", 0, Number(new Number(null)) );
83 // array[item++] = new TestCase( SECTION, "Number(new Number(void 0))", Number.NaN, Number(new Number(void 0)) );
84 array[item++] = new TestCase( SECTION, "Number(new Number(true))", 1, Number(new Number(true)) );
85 array[item++] = new TestCase( SECTION, "Number(new Number(false))", 0, Number(new Number(false)) );
89 array[item++] = new TestCase( SECTION, "Number(new Boolean(true))", 1, Number(new Boolean(true)) (…)
    [all...]
  /external/webkit/JavaScriptCore/tests/mozilla/ecma/Types/
8.6.2.1-1.js 64 var array = new Array();
67 array[item++] = new TestCase( SECTION, "var OBJ = new MyValuelessObject(true); OBJ.valueOf()", true, eval("var OBJ = new MyValuelessObject(true); OBJ.valueOf()") );
68 // array[item++] = new TestCase( SECTION, "var OBJ = new MyProtoValuelessObject(true); OBJ + ''", "undefined", eval("var OBJ = new MyProtoValuelessObject(); OBJ + ''") );
69 array[item++] = new TestCase( SECTION, "var OBJ = new MyProtolessObject(true); OBJ.valueOf()", true, eval("var OBJ = new MyProtolessObject(true); OBJ.valueOf()") );
70 array[item++] = new TestCase( SECTION, "var OBJ = new MyObject(true); OBJ.valueOf()", true, eval("var OBJ = new MyObject(true); OBJ.valueOf()") );
72 array[item++] = new TestCase( SECTION, "var OBJ = new MyValuelessObject(Number.POSITIVE_INFINITY); OBJ.valueOf()", Number.POSITIVE_INFINITY, eval("var OBJ = new MyValuelessObject(Number.POSITIVE_INFINITY); OBJ.valueOf()") );
73 // array[item++] = new TestCase( SECTION, "var OBJ = new MyProtoValuelessObject(Number.POSITIVE_INFINITY); OBJ + ''", "undefined", eval("var OBJ = new MyProtoValuelessObject(); OBJ + ''") );
74 array[item++] = new TestCase( SECTION, "var OBJ = new MyProtolessObject(Number.POSITIVE_INFINITY); OBJ.valueOf()", Number.POSITIVE_INFINITY, eval("var OBJ = new MyProtolessObject(Number.POSITIVE_INFINITY); OBJ.valueOf()") );
75 array[item++] = new TestCase( SECTION, "var OBJ = new MyObject(Number.POSITIVE_INFINITY); OBJ.valueOf() (…)
    [all...]
  /frameworks/base/tests/CoreTests/android/core/
ReflectArrayTest.java 21 import java.lang.reflect.Array;
25 * Test java.lang.reflect.Array methods.
31 Object intArray = Array.newInstance(Integer.TYPE, 2);
33 int[] array = (int[]) intArray; local
34 array[0] = 5;
35 Array.setInt(intArray, 1, 6);
37 assertEquals(5, Array.getInt(intArray, 0));
38 assertEquals(6, array[1]);
41 array[2] = 27;
47 assertEquals(2, array.length)
65 String[] array = (String[]) strArray; local
    [all...]
  /external/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...]
  /dalvik/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/
WrappedDoubleBufferTest.java 49 double array[] = new double[20]; local
51 DoubleBuffer.wrap(array, -1, 0);
57 DoubleBuffer.wrap(array, 21, 0);
63 DoubleBuffer.wrap(array, 0, -1);
69 DoubleBuffer.wrap(array, 0, 21);
75 DoubleBuffer.wrap(array, Integer.MAX_VALUE, 1);
81 DoubleBuffer.wrap(array, 1, Integer.MAX_VALUE);
92 DoubleBuffer buf = DoubleBuffer.wrap(array, 2, 16);
WrappedFloatBufferTest.java 49 float array[] = new float[20]; local
51 FloatBuffer.wrap(array, -1, 0);
57 FloatBuffer.wrap(array, 21, 0);
63 FloatBuffer.wrap(array, 0, -1);
69 FloatBuffer.wrap(array, 0, 21);
75 FloatBuffer.wrap(array, Integer.MAX_VALUE, 1);
81 FloatBuffer.wrap(array, 1, Integer.MAX_VALUE);
92 FloatBuffer buf = FloatBuffer.wrap(array, 2, 16);
WrappedIntBufferTest.java 49 int array[] = new int[20]; local
51 IntBuffer.wrap(array, -1, 0);
57 IntBuffer.wrap(array, 21, 0);
63 IntBuffer.wrap(array, 0, -1);
69 IntBuffer.wrap(array, 0, 21);
75 IntBuffer.wrap(array, Integer.MAX_VALUE, 1);
81 IntBuffer.wrap(array, 1, Integer.MAX_VALUE);
92 IntBuffer buf = IntBuffer.wrap(array, 2, 16);
WrappedLongBufferTest.java 49 long array[] = new long[20]; local
51 LongBuffer.wrap(array, -1, 0);
57 LongBuffer.wrap(array, 21, 0);
63 LongBuffer.wrap(array, 0, -1);
69 LongBuffer.wrap(array, 0, 21);
75 LongBuffer.wrap(array, Integer.MAX_VALUE, 1);
81 LongBuffer.wrap(array, 1, Integer.MAX_VALUE);
92 LongBuffer buf = LongBuffer.wrap(array, 2, 16);
WrappedShortBufferTest.java 49 short array[] = new short[20]; local
51 ShortBuffer.wrap(array, -1, 0);
57 ShortBuffer.wrap(array, 21, 0);
63 ShortBuffer.wrap(array, 0, -1);
69 ShortBuffer.wrap(array, 0, 21);
75 ShortBuffer.wrap(array, Integer.MAX_VALUE, 1);
81 ShortBuffer.wrap(array, 1, Integer.MAX_VALUE);
92 ShortBuffer buf = ShortBuffer.wrap(array, 2, 16);
  /dalvik/tests/058-enum-order/src/
Main.java 26 Muffin[] array = Muffin.class.getEnumConstants(); local
27 for (Muffin m : array) {
  /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

Completed in 332 milliseconds

1 2 3 4 5 6 78 91011>>