Searched refs:array2 (Results 1 - 25 of 89) sorted by relevance

1234

/external/clang/test/SemaCXX/
H A Dwarn-self-comparisons.cpp4 void f(int (&array1)[2], int (&array2)[2]) { argument
5 if (array1 == array2) { } // no warning
H A Dnon-empty-class-size-zero.cpp7 int array2[0]; member in struct:X
H A Dc99-variable-length-array-cxx11.cpp22 POD array2[N]; // expected-warning{{variable length arrays are a C99 feature}} local
/external/v8/test/mjsunit/regress/
H A Dregress-crbug-263276.js33 var array2 = []; variable
34 array2.bar = true;
42 bad(array2); // Length is now 1.
43 bad(array2); // Length is now 2.
45 bad(array2); // Length is now 3.
46 assertEquals(3, array2.length);
/external/clang/test/Sema/
H A Dself-comparison.c50 int array2[2]; local
65 return array1 == array2; // expected-warning{{array comparison always evaluates to false}}
66 return array1 != array2; // expected-warning{{array comparison always evaluates to true}}
71 return array1 < array2; // expected-warning{{array comparison always evaluates to a constant}}
72 return array1 <= array2; // expected-warning{{array comparison always evaluates to a constant}}
73 return array1 > array2; // expected-warning{{array comparison always evaluates to a constant}}
74 return array1 >= array2; // expected-warning{{array comparison always evaluates to a constant}}
H A Dvector-ops.c21 int array2[17]; local
23 (void)(array2[v2ua]); // expected-error{{array subscript is not an integer}}
H A Dvector-init.c13 float4 array2[2] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, variable
/external/v8/test/webkit/
H A Ddfg-get-by-val-clobber.js35 var array2 = [5, 6, 7, 8]; variable
39 shouldBe("doAccesses(array1, array2, i % 4, (i + 1) % 4, i)", "" + ((i % 4) + 1));
40 shouldBe("array2[" + ((i + 1) % 4) + "]", "" + i);
43 array2[((i + 1) % 4)] = (i % 4) + 5;
H A Ddfg-inline-arguments-use-from-uninlined-code.js42 var array2 = fuzz(a,b,c);
46 for (var i = 0; i < array2.length; ++i)
47 result.push(array2[i]);
/external/clang/test/CXX/basic/basic.scope/basic.scope.pdecl/
H A Dp9.cpp19 int array2[X2<>::value? 1 : -1]; variable
/external/proguard/src/proguard/util/
H A DArrayUtil.java34 * @param array2 the second array.
38 public static boolean equal(byte[] array1, byte[] array2, int size) argument
42 if (array1[index] != array2[index])
55 * @param array2 the second array.
59 public static boolean equal(short[] array1, short[] array2, int size) argument
63 if (array1[index] != array2[index])
76 * @param array2 the second array.
80 public static boolean equal(int[] array1, int[] array2, int size) argument
84 if (array1[index] != array2[index])
97 * @param array2 th
101 equal(Object[] array1, Object[] array2, int size) argument
122 equalOrNull(Object[] array1, Object[] array2) argument
137 equalOrNull(Object[] array1, Object[] array2, int size) argument
257 compare(byte[] array1, int size1, byte[] array2, int size2) argument
291 compare(short[] array1, int size1, short[] array2, int size2) argument
325 compare(int[] array1, int size1, int[] array2, int size2) argument
359 compare(Comparable[] array1, int size1, Comparable[] array2, int size2) argument
[all...]
/external/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_stackdepot_test.cc62 uptr array2[] = {1, 2, 3, 4, 8, 9}; local
63 StackTrace s2(array2, ARRAY_SIZE(array2));
70 uptr array2[] = {7, 1, 3, 0}; local
75 StackTrace s2(array2, ARRAY_SIZE(array2));
/external/eigen/test/eigen2/
H A Deigen2_map.cpp20 Scalar* array2 = ei_aligned_new<Scalar>(size); local
25 Map<VectorType>(array2, size) = Map<VectorType>(array1, size);
28 VectorType ma2 = Map<VectorType, Aligned>(array2, size);
34 ei_aligned_delete(array2, size);
47 Scalar* array2 = ei_aligned_new<Scalar>(size); local
48 for(int i = 0; i < size; i++) array2[i] = Scalar(1);
53 Map<MatrixType>(array2, rows, cols) = Map<MatrixType>((const Scalar*)array1, rows, cols); // test non-const-correctness support in eigen2
56 MatrixType ma2 = Map<MatrixType, Aligned>(array2, rows, cols);
62 ei_aligned_delete(array2, size);
74 Scalar* array2 local
[all...]
/external/eigen/test/
H A Dmapped_matrix.cpp25 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 local
[all...]
/external/valgrind/drd/tests/
H A Dcustom_alloc.c60 int* array2 __attribute__((unused)) = custom_alloc(sizeof(int) * 10); local
61 array2 = 0; // leak
/external/clang/test/CXX/temp/temp.decls/temp.friend/
H A Dp4.cpp37 int array2[sizeof(X3<int>)]; variable
/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/
H A Dsfinae-1.cpp18 int array2[is_class<char[3]>::value? -1 : 1]; variable
/external/clang/test/Preprocessor/
H A Dline-directive.c93 extern char array2[\
/external/clang/test/SemaTemplate/
H A Dinstantiate-declref-ice.cpp25 int array2[X0<int>::value == sizeof(int)? 1 : -1]; variable
H A Dtemp_class_order.cpp25 int array2[X1<int*, int*>::value == 2? 1 : -1]; variable
H A Dinstantiate-expr-5.cpp34 int array2[__builtin_offsetof(AnonymousUnion<int>, f) == 0? 1 : -1]; local
H A Dms-if-exists.cpp51 int array2[] = { local
/external/clang/test/CXX/temp/temp.decls/temp.class.spec/temp.class.order/
H A Dp2.cpp17 int array2[X<0, 0, int>::value == 2? 1 : -1]; variable
/external/clang/test/Parser/
H A Dms-if-exists.c59 int array2[] = { local
/external/mockftpserver/tags/1.0/src/test/java/org/mockftpserver/test/
H A DAbstractTest.java140 * @param array2 - the second array
142 protected void assertEquals(String message, byte[] array1, byte[] array2) { argument
143 assertTrue("Arrays not equal: " + message, Arrays.equals(array1, array2));
149 * @param array2 - the second array
151 protected void assertEquals(String message, Object[] array1, Object[] array2) { argument
152 assertTrue("Arrays not equal: " + message, Arrays.equals(array1, array2));

Completed in 641 milliseconds

1234