/external/clang/test/SemaCXX/ |
warn-self-comparisons.cpp | 4 void f(int (&array1)[2], int (&array2)[2]) { 5 if (array1 == array2) { } // no warning
|
non-empty-class-size-zero.cpp | 6 int array1[0]; member in struct:X
|
c99-variable-length-array-cxx11.cpp | 21 int array1[N]; // expected-warning{{variable length arrays are a C99 feature}} local
|
/external/clang/test/Sema/ |
self-comparison.c | 49 int array1[2]; local 55 return array1 == array1; // expected-warning{{self-comparison always evaluates to true}} 56 return array1 != array1; // expected-warning{{self-comparison always evaluates to false}} 57 return array1 < array1; // expected-warning{{self-comparison always evaluates to false}} 58 return array1 <= array1; // expected-warning{{self-comparison always evaluates to true}} 59 return array1 > array1; // expected-warning{{self-comparison always evaluates to false} [all...] |
vector-ops.c | 20 int array1[v2ua]; // expected-error{{size of array has non-integer type 'v2u' (vector of 2 'unsigned int' values)}} local
|
/external/clang/test/Lexer/ |
utf8-char-literal.cpp | 6 int array1['\xF1' != u'\xf1'? 1 : -1]; variable 7 int array1['ñ' != u'\xf1'? 1 : -1]; // expected-error {{character too large for enclosing character literal type}} variable
|
/ndk/tests/device/test-gnustl-full/unit/ |
insert_test.cpp | 33 char const* array1 [] = { "laurie", "jennifer", "leisa" }; local 36 deque<char const*> names(array1, array1 + 3); 49 copy(array1, array1 + 3, itd); 57 char const* array1 [] = { "laurie", "jennifer", "leisa" }; local 60 deque<char const*> names(array1, array1 + 3);
|
/ndk/tests/device/test-stlport/unit/ |
insert_test.cpp | 33 char const* array1 [] = { "laurie", "jennifer", "leisa" }; local 36 deque<char const*> names(array1, array1 + 3); 49 copy(array1, array1 + 3, itd); 57 char const* array1 [] = { "laurie", "jennifer", "leisa" }; local 60 deque<char const*> names(array1, array1 + 3);
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/ |
KeyGeneratorThread.java | 41 byte[] array1 = k.getEncoded(); 45 for (int i = 0; i < array1.length; i++) { 46 if (array1[i] == array2[i]) { 50 if (matches > array1.length / 2) { 57 array1 = k.getEncoded(); 62 for (int i = 0; i < array1.length; i++) { 63 if (array1[i] == array2[i]) {
|
/art/test/554-checker-rtp-checkcast/src/ |
Main.java | 59 int[] array1 = new int[20]; local 62 int[] catch_phi = array1;
|
/external/v8/test/mjsunit/ |
keyed-load-dictionary-stub.js | 17 var array1 = generate_dictionary_array(); 18 get_accessor(array1, 1); 19 get_accessor(array1, 2);
|
/external/eigen/test/eigen2/ |
eigen2_map.cpp | 19 Scalar* array1 = ei_aligned_new<Scalar>(size); local 24 Map<VectorType, Aligned>(array1, size) = VectorType::Random(size); 25 Map<VectorType>(array2, size) = Map<VectorType>(array1, size); 26 Map<VectorType>(array3unaligned, size) = Map<VectorType>((const Scalar*)array1, size); // test non-const-correctness support in eigen2 27 VectorType ma1 = Map<VectorType>(array1, size); 33 ei_aligned_delete(array1, size); 45 Scalar* array1 = ei_aligned_new<Scalar>(size); local 46 for(int i = 0; i < size; i++) array1[i] = Scalar(1); 52 Map<MatrixType, Aligned>(array1, rows, cols) = MatrixType::Ones(rows,cols); 53 Map<MatrixType>(array2, rows, cols) = Map<MatrixType>((const Scalar*)array1, rows, cols); // test non-const-correctness support in eigen 73 Scalar* array1 = ei_aligned_new<Scalar>(size); local [all...] |
/art/compiler/utils/ |
dedupe_set_test.cc | 62 const std::vector<uint8_t>* array1; local 66 array1 = deduplicator.Add(self, test1); 67 ASSERT_NE(array1, nullptr); 68 ASSERT_TRUE(std::equal(test1.begin(), test1.end(), array1->begin())); 76 ASSERT_EQ(array2, array1); 86 ASSERT_NE(array3, array1);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/ |
NameDistance.java | 65 byte[] array1, array2; 69 array1 = bytes2; 72 array1 = bytes1; 75 int length1 = array1.length; 78 for (int i = 0; i < array1.length; i++) { 79 if (array1[i] != array2[i]) { 112 byte c1 = array1[i]; 144 if (array1[i] != array2[j]) {
|
/external/eigen/test/ |
mapped_matrix.cpp | 24 Scalar* array1 = internal::aligned_new<Scalar>(size); local 29 Map<VectorType, Aligned>(array1, size) = VectorType::Random(size); 30 Map<VectorType, Aligned>(array2, size) = Map<VectorType,Aligned>(array1, size); 31 Map<VectorType>(array3unaligned, size) = Map<VectorType>(array1, size); 32 VectorType ma1 = Map<VectorType, Aligned>(array1, size); 42 internal::aligned_delete(array1, size); 55 Scalar* array1 = internal::aligned_new<Scalar>(size); local 56 for(int i = 0; i < size; i++) array1[i] = Scalar(1); 62 Map<MatrixType, Aligned>(array1, rows, cols) = MatrixType::Ones(rows,cols); 63 Map<MatrixType>(array2, rows, cols) = Map<MatrixType>(array1, rows, cols) 84 Scalar* array1 = internal::aligned_new<Scalar>(size); local 123 Scalar* array1 = internal::aligned_new<Scalar>((size+1)*(size+1)+1); local [all...] |
/external/clang/test/CXX/basic/basic.scope/basic.scope.pdecl/ |
p9.cpp | 14 int array1[X1<>::value? 1 : -1]; variable
|
/external/clang/test/PCH/Inputs/ |
arc.h | 24 typedef int array1[sizeof((BRIDGE CFTypeRef)CreateSomething())]; typedef
|
/external/proguard/src/proguard/util/ |
ArrayUtil.java | 33 * @param array1 the first array. 38 public static boolean equal(byte[] array1, byte[] array2, int size) 42 if (array1[index] != array2[index]) 54 * @param array1 the first array. 59 public static boolean equal(short[] array1, short[] array2, int size) 63 if (array1[index] != array2[index]) 75 * @param array1 the first array. 80 public static boolean equal(int[] array1, int[] array2, int size) 84 if (array1[index] != array2[index]) 96 * @param array1 the first array [all...] |
/external/compiler-rt/lib/sanitizer_common/tests/ |
sanitizer_stackdepot_test.cc | 59 uptr array1[] = {1, 2, 3, 4, 7}; local 60 StackTrace s1(array1, ARRAY_SIZE(array1)); 69 uptr array1[] = {1, 2, 3, 4, 5}; local 74 StackTrace s1(array1, ARRAY_SIZE(array1));
|
/external/clang/test/SemaTemplate/ |
instantiate-enum.cpp | 11 int array1[adder<long, 3, 4>::value == 7? 1 : -1]; variable
|
instantiate-declref-ice.cpp | 21 int array1[X0<int>::value == sizeof(int)? 1 : -1]; variable
|
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
ObjectArraysTest.java | 82 private void doTestToArrayImpl2(List<Integer> list, Integer[] array1, 84 Integer[] starting = ObjectArrays.arraysCopyOf(array1, array1.length); 85 Integer[] array2 = ObjectArrays.arraysCopyOf(array1, array1.length); 86 Object[] reference = list.toArray(array1); 96 assertTrue(Arrays.equals(expectedArray1, array1)); 157 private static boolean arrayEquals(Object[] array1, Object[] array2) { 158 assertSame(array1.getClass(), array2.getClass()); 159 return Arrays.equals(array1, array2) [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
ObjectArraysTest.java | 153 private void doTestToArrayImpl2(List<Integer> list, Integer[] array1, 155 Integer[] starting = ObjectArrays.arraysCopyOf(array1, array1.length); 156 Integer[] array2 = ObjectArrays.arraysCopyOf(array1, array1.length); 157 Object[] reference = list.toArray(array1); 167 assertTrue(Arrays.equals(expectedArray1, array1)); 228 private static boolean arrayEquals(Object[] array1, Object[] array2) { 229 assertSame(array1.getClass(), array2.getClass()); 230 return Arrays.equals(array1, array2) [all...] |
/external/clang/test/CXX/temp/temp.decls/temp.friend/ |
p4.cpp | 21 int array1[sizeof(X2<float>)]; // expected-note{{instantiation of}} variable
|
/external/clang/test/CXX/temp/temp.decls/temp.class.spec/ |
p6.cpp | 21 int array1[X0<int>::Inner0<int*>::value == 1? 1 : -1]; variable 75 int array1[Outer<int>::Inner<int, float>::value? -1 : 1]; member in namespace:rdar8651930
|