| /external/valgrind/memcheck/tests/ |
| custom_alloc.c | 104 int* array2 __attribute__((unused)) = custom_alloc(sizeof(int) * 10); local 105 array2 = 0; // leak
|
| /libcore/benchmarks/src/benchmarks/ |
| DeepArrayOpsBenchmark.java | 28 private Object[] array2; field in class:DeepArrayOpsBenchmark 35 array2 = new Object[arrayLength * 13]; 38 array2[i] = new IntWrapper(i); 41 array2[i + 1] = new16ElementObjectarray(); 44 array2[i + 2] = new boolean[16]; 47 array2[i + 3] = new byte[16]; 50 array2[i + 4] = new char[16]; 53 array2[i + 5] = new short[16]; 56 array2[i + 6] = new float[16]; 59 array2[i + 7] = new long[16] [all...] |
| /external/clang/test/SemaTemplate/ |
| ext-vector-type.cpp | 92 int array2[X0<float2>::value == 2? 1 : -1]; member in namespace:Deduction
|
| instantiate-expr-5.cpp | 34 int array2[__builtin_offsetof(AnonymousUnion<int>, f) == 0? 1 : -1]; local
|
| deduction.cpp | 81 int array2[is_same<Replace<vector<_1>, int, float>::type, vector<int> >::value? 1 : -1]; variable
|
| default-arguments.cpp | 95 int array2[is_same<__typeof(x2_deep_nontype), variable
|
| /external/eigen/test/ |
| mapped_matrix.cpp | 25 Scalar* array2 = internal::aligned_new<Scalar>(size); local 30 Map<VectorType, Aligned>(array2, size) = Map<VectorType,Aligned>(array1, size); 33 VectorType ma2 = Map<VectorType, Aligned>(array2, size); 43 internal::aligned_delete(array2, size); 57 Scalar* array2 = internal::aligned_new<Scalar>(size); local 58 for(int i = 0; i < size; i++) array2[i] = Scalar(1); 63 Map<MatrixType>(array2, rows, cols) = Map<MatrixType>(array1, rows, cols); 66 MatrixType ma2 = Map<MatrixType, Aligned>(array2, rows, cols); 72 internal::aligned_delete(array2, size); 85 Scalar* array2 = internal::aligned_new<Scalar>(size) local 124 Scalar* array2 = reinterpret_cast<Scalar*>(sizeof(Scalar)\/2+std::size_t(array1)); local [all...] |
| geo_parametrizedline.cpp | 70 EIGEN_ALIGN16 Scalar array2[8]; local 75 Line4u *p2 = ::new(reinterpret_cast<void*>(array2)) Line4u;
|
| geo_quaternion.cpp | 185 EIGEN_ALIGN16 Scalar array2[4]; local 191 MQuaternionA mq2(array2); 195 // std::cerr << array1 << " " << array2 << " " << array3 << "\n"; 236 EIGEN_ALIGN16 Scalar array2[4]; local 241 QuaternionUA *q2 = ::new(reinterpret_cast<void*>(array2)) QuaternionUA;
|
| geo_hyperplane.cpp | 149 EIGEN_ALIGN16 Scalar array2[4]; local 154 Plane3u *p2 = ::new(reinterpret_cast<void*>(array2)) Plane3u;
|
| /libcore/luni/src/test/java/libcore/java/lang/reflect/ |
| OldAndroidArrayTest.java | 108 String[][] array2 = (String[][]) strStrStrArray; local
|
| /external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
| ObjectArraysTest.java | 85 Integer[] array2 = ObjectArrays.arraysCopyOf(array1, array1.length); local 88 Object[] target = ObjectArrays.toArrayImpl(list, array2); 97 assertTrue(Arrays.equals(expectedArray2, array2)); 157 private static boolean arrayEquals(Object[] array1, Object[] array2) { 158 assertSame(array1.getClass(), array2.getClass()); 159 return Arrays.equals(array1, array2);
|
| /external/guava/guava-tests/test/com/google/common/collect/ |
| ObjectArraysTest.java | 156 Integer[] array2 = ObjectArrays.arraysCopyOf(array1, array1.length); local 159 Object[] target = ObjectArrays.toArrayImpl(list, array2); 168 assertTrue(Arrays.equals(expectedArray2, array2)); 228 private static boolean arrayEquals(Object[] array1, Object[] array2) { 229 assertSame(array1.getClass(), array2.getClass()); 230 return Arrays.equals(array1, array2);
|
| /frameworks/base/core/tests/coretests/src/android/view/inputmethod/ |
| SparseRectFArrayTest.java | 97 final SparseRectFArray array2 = builder.build(); local 100 assertEquals(expectedRect, array2.get(i)); 102 assertEquals(i, array2.getFlags(i, 0x1234 /* valueIfKeyNotFound */)); 103 assertEquals(i, array2.getFlags(i, 0x4321 /* valueIfKeyNotFound */)); 105 assertEquals(0x1234, array2.getFlags(i, 0x1234 /* valueIfKeyNotFound */)); 106 assertEquals(0x4321, array2.getFlags(i, 0x4321 /* valueIfKeyNotFound */)); 109 assertEqualRects(array, array2);
|
| /ndk/tests/device/test-gnustl-full/unit/ |
| list_test.cpp | 58 int array2 [] = { 1, 4 }; local 61 list<int> l2(array2, array2 + 2); 98 int array2 [] = { 4, 9 }; local 101 list<int> l2(array2, array2 + 2); 151 int array2 [] = { 2, 4 }; local 154 list<int> l2(array2, array2 + 2);
|
| vector_test.cpp | 237 int array2 [] = { 9, 16 }; local 254 // Insert contents of array2 before fourth element. 255 v.insert(v.begin() + 3, array2, array2 + 2);
|
| /ndk/tests/device/test-stlport/unit/ |
| list_test.cpp | 58 int array2 [] = { 1, 4 }; local 61 list<int> l2(array2, array2 + 2); 98 int array2 [] = { 4, 9 }; local 101 list<int> l2(array2, array2 + 2); 151 int array2 [] = { 2, 4 }; local 154 list<int> l2(array2, array2 + 2);
|
| vector_test.cpp | 237 int array2 [] = { 9, 16 }; local 254 // Insert contents of array2 before fourth element. 255 v.insert(v.begin() + 3, array2, array2 + 2);
|
| /art/test/045-reflect-array/src/ |
| Main.java | 232 String[][] array2 = (String[][]) strStrStrArray; local
|
| /external/clang/test/Analysis/ |
| misc-ps.c | 121 int array2[] = { 1, 2, 3, 0 }; local 122 int *array[] = { array1, array2 };
|
| /external/clang/test/CXX/expr/expr.const/ |
| p5-0x.cpp | 74 int array2[incomplete]; // expected-error {{non-integer type}} variable
|
| /external/clang/test/SemaCXX/ |
| c99-variable-length-array.cpp | 18 POD array2[N]; // expected-warning{{variable length arrays are a C99 feature}} local 39 int array2[T::value]; // expected-warning{{variable length arrays are a C99 feature}} local
|
| array-bounds.cpp | 61 int array2[] = { 0, 1, 2 }; // expected-note 2 {{declared here}} local 63 array2[3] = 0; // expected-warning {{array index 3 is past the end of the array (which contains 3 elements)}} 64 array2[2+2] = 0; // expected-warning {{array index 4 is past the end of the array (which contains 3 elements)}}
|
| constant-expression.cpp | 113 int array2[recurse2]; // expected-warning {{variable length array}} expected-warning {{integer constant expression}} variable
|
| /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/common/ |
| ResizableIntArrayTests.java | 39 int[] array2 = null, array3 = null; local 46 array2 = src.getPrimitiveArray(); 54 assertSame("array after add " + i, array2, src.getPrimitiveArray()); 119 final int[] array2 = src.getPrimitiveArray(); local 121 assertNotSame("array after reset", array, array2); 132 assertSame("array after add " + i, array2, src.getPrimitiveArray()); 150 final int[] array2 = src.getPrimitiveArray(); local 152 assertNotSame("array after larger setLength", array, array2); 153 assertEquals("array length after larger setLength", largerLength, array2.length); 167 assertSame("array after smaller setLength", array2, array3) 207 final int[] array2 = dst.getPrimitiveArray(); local [all...] |