/external/webkit/WebCore/manual-tests/resources/ |
ArrayParameterTestApplet.java | 30 public void arrayFunction(String [] array) { 32 for (int i = 0; i < array.length; i++) 33 System.out.println(array[i]); 36 public void booleanFunction(boolean[] array) { 38 for (int i = 0; i < array.length; i++) 39 System.out.println(array[i]); 42 public void byteFunction(byte[] array) { 44 for (int i = 0; i < array.length; i++) 45 System.out.println(array[i]); 48 public void charFunction(char[] array) { [all...] |
/external/v8/test/mjsunit/ |
array-slice.js | 28 // Check that slicing array of holes keeps it as array of holes 30 var array = new Array(10); 32 var sliced = array.slice(); 33 assertEquals(array.length, sliced.length); 41 var array = new Array(7); 44 assertEquals(array, array.slice()) [all...] |
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...] |
/external/webkit/JavaScriptCore/tests/mozilla/ecma/Array/ |
15.4.2.3.js | 24 ECMA Section: 15.4.2.3 new Array() 26 object is set to the origianl Array prototype object, 27 the one that is the initial value of Array.prototype. 29 "Array". The length of the object is set to 0. 38 var TITLE = "The Array Constructor: new Array()"; 46 var array = new Array(); 48 array[item++] = new TestCase( SECTION, "new Array() +''", "", (new Array()) +"" ) [all...] |
15.4.2.2-1.js | 24 ECMA Section: 15.4.2.2 new Array(len) 30 object is set to the original Array prototype object, 31 the one that is the initial value of Array.prototype(0) 35 is set to "Array". 57 var TITLE = "The Array Constructor: new Array( len )"; 65 var array = new Array(); 68 array[item++] = new TestCase( SECTION, "new Array(0)", "", (new Array(0)).toString() ) [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...] |
15.4.1.2.js | 24 ECMA Section: 15.4.1.2 Array(len) 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(len)"; 49 var array = new Array() [all...] |
15.4.1.js | 24 ECMA Section: 15.4.1 The Array Constructor Called as a Function 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 39 var TITLE = "The Array Constructor Called as a Function"; 47 var array = new Array(); 50 array[item++] = new TestCase( SECTION, 51 "Array() +''" [all...] |
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.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.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.2-2.js | 24 ECMA Section: 15.4.2.2 new Array(len) 30 object is set to the original Array prototype object, 31 the one that is the initial value of Array.prototype(0) 35 is set to "Array". 46 This file tests length of the newly constructed array 55 var TITLE = "The Array Constructor: new Array( len )"; 63 var array = new Array(); 66 array[item++] = new TestCase( SECTION, "(new Array(new Number(1073741823))).length", 1, (new Arra (…) [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.5-3.js | 24 ECMA Section: Array.prototype.sort(comparefn) 41 var TITLE = "Array.prototype.sort(comparefn)"; 45 var testcases = new Array(); 64 var array = new Array(); 66 array[array.length] = new Date( TIME_2000 * Math.PI ); 67 array[array.length] = new Date( TIME_2000 * 10 ); 68 array[array.length] = new Date( TIME_1900 + TIME_1900 ) [all...] |
/external/guava/src/com/google/common/collect/ |
ObjectArrays.java | 37 * Returns a new array of the given length with the specified component type. 40 * @param length the length of the new array 42 @GwtIncompatible("Array.newInstance(Class, int)") 49 * Returns a new array of the given length with the same type as a reference 50 * array. 52 * @param reference any array of the desired type 53 * @param length the length of the new array 60 * Returns a new array that contains the concatenated contents of two arrays. 62 * @param first the first array of elements to concatenate 63 * @param second the second array of elements to concatenat [all...] |
/dalvik/libcore/security/src/main/java/org/bouncycastle/util/ |
Arrays.java | 4 * General array utilities. 39 byte[] array, 42 for (int i = 0; i < array.length; i++) 44 array[i] = value; 49 long[] array, 52 for (int i = 0; i < array.length; i++) 54 array[i] = value; 59 short[] array, 62 for (int i = 0; i < array.length; i++) 64 array[i] = value [all...] |
/external/skia/tests/ |
SortTest.cpp | 12 static void rand_array(SkRandom& rand, int array[], int n) { 14 array[j] = rand.nextS() & 0xFF; 19 const int array[], int n) { 21 if (array[j-1] > array[j]) { 24 array[j-1], array[j]); 31 int array[500]; local 35 int count = rand.nextRangeU(1, SK_ARRAY_COUNT(array)); 37 rand_array(rand, array, count) [all...] |
/external/bluetooth/glib/glib/ |
garray.h | 61 * array, while preserving the order. remove_fast will distort the 77 gchar* g_array_free (GArray *array, 79 GArray* g_array_append_vals (GArray *array, 82 GArray* g_array_prepend_vals (GArray *array, 85 GArray* g_array_insert_vals (GArray *array, 89 GArray* g_array_set_size (GArray *array, 91 GArray* g_array_remove_index (GArray *array, 93 GArray* g_array_remove_index_fast (GArray *array, 95 GArray* g_array_remove_range (GArray *array, 98 void g_array_sort (GArray *array, [all...] |
/dalvik/libcore/nio/src/main/java/java/nio/ |
BufferFactory.java | 31 * Returns a new byte buffer based on the specified byte array. 33 * @param array 34 * The byte array 35 * @return A new byte buffer based on the specified byte array. 37 public static ByteBuffer newByteBuffer(byte array[]) { 38 return new ReadWriteHeapByteBuffer(array); 42 * Returns a new array based byte buffer with the specified capacity. 46 * @return A new array based byte buffer with the specified capacity. 53 * Returns a new char buffer based on the specified char array. 55 * @param array [all...] |
/external/dbus/test/data/valid-messages/ |
recursive-types.message | 17 # first dict entry is an array of array of uint32 18 STRING 'mega-uint-array' 19 TYPE ARRAY 20 TYPE ARRAY 21 TYPE ARRAY 41 # second dict entry is an array of strings 42 STRING 'string-array' 43 TYPE ARRAY 45 STRING_ARRAY { 'a', 'string', 'array'} [all...] |
/external/bluetooth/glib/tests/ |
qsort-test.c | 8 guint32 array[SIZE]; variable 22 array[i] = g_random_int (); 24 g_qsort_with_data (array, SIZE, sizeof (guint32), sort, NULL); 27 g_assert (array[i] <= array[i+1]); 30 g_qsort_with_data (array, 0, sizeof (guint32), sort, NULL);
|
/external/webkit/JavaScriptCore/tests/mozilla/ecma/GlobalObject/ |
15.1.2.3-1.js | 75 var array = new Array(); 78 array[item++] = new TestCase( SECTION, "parseFloat.length", 1, parseFloat.length ); 80 array[item++] = new TestCase( SECTION, "parseFloat.length = null; parseFloat.length", 1, eval("parseFloat.length = null; parseFloat.length") ); 81 array[item++] = new TestCase( SECTION, "delete parseFloat.length", false, delete parseFloat.length ); 82 array[item++] = new TestCase( SECTION, "delete parseFloat.length; parseFloat.length", 1, eval("delete parseFloat.length; parseFloat.length") ); 83 array[item++] = new TestCase( SECTION, "var MYPROPS=''; for ( var p in parseFloat ) { MYPROPS += p }; MYPROPS", "", eval("var MYPROPS=''; for ( var p in parseFloat ) { MYPROPS += p }; MYPROPS") ); 85 array[item++] = new TestCase( SECTION, "parseFloat()", Number.NaN, parseFloat() ); 86 array[item++] = new TestCase( SECTION, "parseFloat('')", Number.NaN, parseFloat('') ); 88 array[item++] = new TestCase( SECTION, "parseFloat(' ')", Number.NaN, parseFloat(' ') ) [all...] |
/external/icu4c/test/letest/ |
letest.h | 25 #define ARRAY_SIZE(array) (sizeof array / sizeof array[0]) 31 #define DELETE_ARRAY(array) free((void *) (array)) 33 #define GROW_ARRAY(array,newSize) realloc((void *) (array), (newSize) * sizeof (array)[0])
|
/external/stlport/test/unit/ |
bcompos_test.cpp | 36 int array [6] = { -2, -1, 0, 1, 2, 3 }; local 41 int* p = find_if((int*)array, (int*)array + 6, b); 42 CPPUNIT_ASSERT(p != array + 6); 49 int array [6] = { -2, -1 , 0, 1, 2, 3 }; local 51 int* p = find_if((int*)array, (int*)array + 6, 53 CPPUNIT_ASSERT(p != array + 6);
|
/external/dnsmasq/contrib/dnsmasq_MacOSX/ |
StartupParameters.plist | 10 <array> 12 </array> 14 <array> 16 </array>
|