/cts/tests/tests/jni/src/android/jni/cts/ |
JniInstanceTest.java | 116 short[] array = target.returnShortArray(); local 117 assertSame(short[].class, array.getClass()); 118 assertEquals(3, array.length); 119 assertEquals(10, array[0]); 120 assertEquals(20, array[1]); 121 assertEquals(30, array[2]); 128 String[] array = target.returnStringArray(); local 129 assertSame(String[].class, array.getClass()); 130 assertEquals(100, array.length); 131 assertEquals("blort", array[0]) [all...] |
JniStaticTest.java | 108 short[] array = StaticNonce.returnShortArray(); local 109 assertSame(short[].class, array.getClass()); 110 assertEquals(3, array.length); 111 assertEquals(10, array[0]); 112 assertEquals(20, array[1]); 113 assertEquals(30, array[2]); 120 String[] array = StaticNonce.returnStringArray(); local 121 assertSame(String[].class, array.getClass()); 122 assertEquals(100, array.length); 123 assertEquals("blort", array[0]) [all...] |
/external/webkit/JavaScriptCore/tests/mozilla/ecma/Expressions/ |
11.6.1-3.js | 85 var array = new Array(); 94 array[item++] = new TestCase( SECTION, 99 array[item++] = new TestCase( SECTION, 104 array[item++] = new TestCase( SECTION, 109 array[item++] = new TestCase( SECTION, 114 array[item++] = new TestCase( SECTION, 119 array[item++] = new TestCase( SECTION, 129 array[item++] = new TestCase( SECTION, 134 array[item++] = new TestCase( SECTION [all...] |
11.13.1.js | 50 var array = new Array(); 53 array[item++] = new TestCase( SECTION, "SOMEVAR = true", true, SOMEVAR = true ); 56 return ( array );
|
/dalvik/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/ |
WrappedByteBufferTest.java | 51 byte array[] = new byte[BUFFER_LENGTH]; 53 ByteBuffer.wrap(array, -1, 0); 59 ByteBuffer.wrap(array, BUFFER_LENGTH + 1, 0); 65 ByteBuffer.wrap(array, 0, -1); 71 ByteBuffer.wrap(array, 0, BUFFER_LENGTH + 1); 77 ByteBuffer.wrap(array, 1, Integer.MAX_VALUE); 83 ByteBuffer.wrap(array, Integer.MAX_VALUE, 1);
|
WrappedCharBufferTest1.java | 51 char array[] = new char[BUFFER_LENGTH]; local 53 CharBuffer.wrap(array, -1, 0); 59 CharBuffer.wrap(array, BUFFER_LENGTH + 1, 0); 65 CharBuffer.wrap(array, 0, -1); 71 CharBuffer.wrap(array, 0, BUFFER_LENGTH + 1); 77 CharBuffer.wrap(array, Integer.MAX_VALUE, 1); 83 CharBuffer.wrap(array, 1, Integer.MAX_VALUE);
|
/external/quake/tools/ |
dumpms2.py | 22 import array namespace 26 a = array.array('i') 31 a = array.array('f') 43 vertexOrder = array.array('i')
|
/external/webkit/JavaScriptCore/tests/mozilla/ecma/Date/ |
15.9.2.2-2.js | 45 // all tests must call a function that returns an array of TestCase objects. 49 var array = new Array(); 53 array[item++] = new TestCase( SECTION, "Date(1999,11,15,59,59)", (new Date()).toString(), Date(1999,11,15,59,59)); 54 array[item++] = new TestCase( SECTION, "Date(1999,11,16,0,0,0)", (new Date()).toString(), Date(1999,11,16,0,0,0)); 55 array[item++] = new TestCase( SECTION, "Date(1999,11,31,23,59,59)", (new Date()).toString(), Date(1999,11,31,23,59,59) ); 56 array[item++] = new TestCase( SECTION, "Date(2000,0,1,0,0,0)", (new Date()).toString(), Date(2000,0,0,0,0,0) ); 57 array[item++] = new TestCase( SECTION, "Date(2000,0,1,0,0,1)", (new Date()).toString(), Date(2000,0,0,0,0,1) ); 62 array[item++] = new TestCase( SECTION, "Date(1899,11,31,23,59,59)", (new Date()).toString(), Date(1899,11,31,23,59,59)); 63 array[item++] = new TestCase( SECTION, "Date(1900,0,1,0,0,0)", (new Date()).toString(), Date (…) [all...] |
/external/guava/src/com/google/common/primitives/ |
generate.sh | 134 * {@code array}. 136 * @param array an array of {@code primtyp} values, possibly empty 138 * @return {@code true} if {@code array[i] == target} for some value of {@code 141 public static boolean contains(primtyp[] array, primtyp target) { 142 for (primtyp value : array) { 152 * {@code array}. 154 * @param array an array of {@code primtyp} values, possibly empty 156 * @return the least index {@code i} for which {@code array[i] == target}, o [all...] |
/external/v8/test/mjsunit/ |
array-indexing.js | 28 var array = [1,2,3,1,2,3,1,2,3,1,2,3]; variable 31 // Array.prototype.indexOf. 36 assertEquals(array.indexOf(4), -1); 37 assertEquals(array.indexOf(3, array.length), -1); 39 assertEquals(array.indexOf(3), 2); 41 assertEquals(array.indexOf(1, -17), 0); 43 assertEquals(array.indexOf(1, -11), 3); 45 assertEquals(array.indexOf(1, 1), 3); 46 assertEquals(array.indexOf(1, 3), 3) [all...] |
/external/icu4c/common/ |
unistr_props.cpp | 32 UChar *array = getArrayStart(); local 43 U16_PREV(array, 0, i, c); 60 U16_NEXT(array, i, length, c);
|
/external/icu4c/layout/ |
OpenTypeUtilities.h | 25 static le_int32 search(le_uint16 value, const le_uint16 array[], le_int32 count); 26 static le_int32 search(le_uint32 value, const le_uint32 array[], le_int32 count); 27 static void sort(le_uint16 *array, le_int32 count);
|
/external/skia/tests/ |
UtilsTest.cpp | 10 int i, array[kSEARCH_COUNT]; local 14 array[i] = rand.nextS(); 17 SkTHeapSort<int>(array, kSEARCH_COUNT); 20 REPORTER_ASSERT(reporter, array[i-1] <= array[i]); 25 int index = SkTSearch<int>(array, kSEARCH_COUNT, array[i], sizeof(int)); 33 int index = SkTSearch<int>(array, kSEARCH_COUNT, value, sizeof(int)); 37 index < kSEARCH_COUNT && array[index] == value); 42 REPORTER_ASSERT(reporter, value < array[index]) [all...] |
/external/stlport/test/unit/ |
ostmit_test.cpp | 34 int array [] = { 1, 5, 2, 4 }; local 47 copy(array, array + 4, iter2);
|
/external/webkit/JavaScriptCore/tests/mozilla/ecma/LexicalConventions/ |
7.2-2-n.js | 74 var array = new Array(); 77 array[0] = new TestCase( "7.2", "<cr>a", "error", ""); 79 return ( array );
|
7.2-3-n.js | 76 var array = new Array(); 79 array[0] = new TestCase( "7.2", "<cr>a", "error", ""); 81 return ( array );
|
7.2-4-n.js | 76 var array = new Array(); 79 array[0] = new TestCase( "7.2", "a = \\nb", "error", ""); 81 return ( array );
|
7.2-5-n.js | 79 var array = new Array(); 82 array[0] = new TestCase( "7.2", "<cr>a", "error", ""); 84 return ( array );
|
/external/webkit/JavaScriptCore/tests/mozilla/ecma/Number/ |
15.7.3.1-3.js | 46 var array = new Array(); 49 array[item++] = new TestCase( 56 return ( array );
|
15.7.3.2-1.js | 46 var array = new Array(); 49 array[item++] = new TestCase( SECTION, "Number.MAX_VALUE", 1.7976931348623157e308, Number.MAX_VALUE ); 52 return ( array );
|
15.7.3.2-4.js | 43 var array = new Array(); 45 array[item++] = new TestCase( 52 return ( array );
|
15.7.3.3-4.js | 45 var array = new Array(); 47 array[item++] = new TestCase( 54 return ( array );
|
15.7.3.6-4.js | 44 var array = new Array(); 47 array[item++] = new TestCase( 54 return ( array );
|
/external/webkit/JavaScriptCore/tests/mozilla/ecma/Statements/ |
12.6.2-1.js | 47 var array = new Array(); 48 array[0] = new TestCase( "12.6.2-1", "for statement", 99, "" ); 49 return ( array );
|
12.6.2-2.js | 46 var array = new Array(); 47 array[0] = new TestCase( SECTION, "for statement", 99, "" ); 48 return ( array );
|