Home
last modified time | relevance | path

Searched refs:array1 (Results 1 – 25 of 99) sorted by relevance

1234

/external/v8/test/webkit/
Ddfg-get-by-val-clobber-expected.txt29 PASS doAccesses(array1, array2, i % 4, (i + 1) % 4, i) is 1
31 PASS doAccesses(array1, array1, i % 4, 0, i) is 0
32 PASS doAccesses(array1, array2, i % 4, (i + 1) % 4, i) is 2
34 PASS doAccesses(array1, array1, i % 4, 0, i) is 2
35 PASS doAccesses(array1, array2, i % 4, (i + 1) % 4, i) is 3
37 PASS doAccesses(array1, array1, i % 4, 0, i) is 3
38 PASS doAccesses(array1, array2, i % 4, (i + 1) % 4, i) is 4
40 PASS doAccesses(array1, array1, i % 4, 0, i) is 4
41 PASS doAccesses(array1, array2, i % 4, (i + 1) % 4, i) is 1
43 PASS doAccesses(array1, array1, i % 4, 0, i) is 4
[all …]
Ddfg-inline-arguments-use-from-uninlined-code.js41 var array1 = bar(a,b,c);
44 for (var i = 0; i < array1.length; ++i)
45 result.push(array1[i]);
Ddfg-get-by-val-clobber.js34 var array1 = [1, 2, 3, 4]; variable
50 array1[0] = 1;
/external/clang/test/Sema/
Dself-comparison.c49 int array1[2]; in array_comparisons() local
55 return array1 == array1; // expected-warning{{self-comparison always evaluates to true}} in array_comparisons()
56 return array1 != array1; // expected-warning{{self-comparison always evaluates to false}} in array_comparisons()
57 return array1 < array1; // expected-warning{{self-comparison always evaluates to false}} in array_comparisons()
58 return array1 <= array1; // expected-warning{{self-comparison always evaluates to true}} in array_comparisons()
59 return array1 > array1; // expected-warning{{self-comparison always evaluates to false}} in array_comparisons()
60 return array1 >= array1; // expected-warning{{self-comparison always evaluates to true}} in array_comparisons()
65 return array1 == array2; // expected-warning{{array comparison always evaluates to false}} in array_comparisons()
66 return array1 != array2; // expected-warning{{array comparison always evaluates to true}} in array_comparisons()
71 return array1 < array2; // expected-warning{{array comparison always evaluates to a constant}} in array_comparisons()
[all …]
/external/eigen/test/eigen2/
Deigen2_map.cpp19 Scalar* array1 = ei_aligned_new<Scalar>(size); in map_class_vector() local
24 Map<VectorType, Aligned>(array1, size) = VectorType::Random(size); in map_class_vector()
25 Map<VectorType>(array2, size) = Map<VectorType>(array1, size); in map_class_vector()
26 …Map<VectorType>(array3unaligned, size) = Map<VectorType>((const Scalar*)array1, size); // test non… in map_class_vector()
27 VectorType ma1 = Map<VectorType>(array1, size); in map_class_vector()
33 ei_aligned_delete(array1, size); in map_class_vector()
45 Scalar* array1 = ei_aligned_new<Scalar>(size); in map_class_matrix() local
46 for(int i = 0; i < size; i++) array1[i] = Scalar(1); in map_class_matrix()
52 Map<MatrixType, Aligned>(array1, rows, cols) = MatrixType::Ones(rows,cols); in map_class_matrix()
53 …Map<MatrixType>(array2, rows, cols) = Map<MatrixType>((const Scalar*)array1, rows, cols); // test … in map_class_matrix()
[all …]
/external/eigen/test/
Dmapped_matrix.cpp24 Scalar* array1 = internal::aligned_new<Scalar>(size); in map_class_vector() local
29 Map<VectorType, Aligned>(array1, size) = VectorType::Random(size); in map_class_vector()
30 Map<VectorType, Aligned>(array2, size) = Map<VectorType,Aligned>(array1, size); in map_class_vector()
31 Map<VectorType>(array3unaligned, size) = Map<VectorType>(array1, size); in map_class_vector()
32 VectorType ma1 = Map<VectorType, Aligned>(array1, size); in map_class_vector()
42 internal::aligned_delete(array1, size); in map_class_vector()
55 Scalar* array1 = internal::aligned_new<Scalar>(size); in map_class_matrix() local
56 for(int i = 0; i < size; i++) array1[i] = Scalar(1); in map_class_matrix()
62 Map<MatrixType, Aligned>(array1, rows, cols) = MatrixType::Ones(rows,cols); in map_class_matrix()
63 Map<MatrixType>(array2, rows, cols) = Map<MatrixType>(array1, rows, cols); in map_class_matrix()
[all …]
/external/proguard/src/proguard/util/
DArrayUtil.java38 public static boolean equal(byte[] array1, byte[] array2, int size) in equal() argument
42 if (array1[index] != array2[index]) in equal()
59 public static boolean equal(short[] array1, short[] array2, int size) in equal() argument
63 if (array1[index] != array2[index]) in equal()
80 public static boolean equal(int[] array1, int[] array2, int size) in equal() argument
84 if (array1[index] != array2[index]) in equal()
101 public static boolean equal(Object[] array1, Object[] array2, int size) in equal() argument
105 if (!array1[index].equals(array2[index])) in equal()
122 public static boolean equalOrNull(Object[] array1, Object[] array2) in equalOrNull() argument
124 return array1 == null ? array2 == null : in equalOrNull()
[all …]
/external/v8/test/mjsunit/regress/
Dregress-swapelements.js37 var array1 = new Array(size); variable
41 array1.splice(0, 1);
48 array1[i] = new Item(i);
49 array1[i].toString = myToString;
51 array1.sort();
Dregress-crbug-263276.js30 var array1 = []; variable
31 array1.foo = true;
40 bad(array1);
41 bad(array1);
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DObjectArraysTest.java82 private void doTestToArrayImpl2(List<Integer> list, Integer[] array1, in doTestToArrayImpl2() argument
84 Integer[] starting = ObjectArrays.arraysCopyOf(array1, array1.length); in doTestToArrayImpl2()
85 Integer[] array2 = ObjectArrays.arraysCopyOf(array1, array1.length); in doTestToArrayImpl2()
86 Object[] reference = list.toArray(array1); in doTestToArrayImpl2()
96 assertTrue(Arrays.equals(expectedArray1, array1)); in doTestToArrayImpl2()
157 private static boolean arrayEquals(Object[] array1, Object[] array2) { in arrayEquals() argument
158 assertSame(array1.getClass(), array2.getClass()); in arrayEquals()
159 return Arrays.equals(array1, array2); in arrayEquals()
/external/guava/guava-tests/test/com/google/common/collect/
DObjectArraysTest.java153 private void doTestToArrayImpl2(List<Integer> list, Integer[] array1, in doTestToArrayImpl2() argument
155 Integer[] starting = ObjectArrays.arraysCopyOf(array1, array1.length); in doTestToArrayImpl2()
156 Integer[] array2 = ObjectArrays.arraysCopyOf(array1, array1.length); in doTestToArrayImpl2()
157 Object[] reference = list.toArray(array1); in doTestToArrayImpl2()
167 assertTrue(Arrays.equals(expectedArray1, array1)); in doTestToArrayImpl2()
228 private static boolean arrayEquals(Object[] array1, Object[] array2) { in arrayEquals() argument
229 assertSame(array1.getClass(), array2.getClass()); in arrayEquals()
230 return Arrays.equals(array1, array2); in arrayEquals()
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_stackdepot_test.cc59 uptr array1[] = {1, 2, 3, 4, 7}; in TEST() local
60 StackTrace s1(array1, ARRAY_SIZE(array1)); in TEST()
69 uptr array1[] = {1, 2, 3, 4, 5}; in TEST() local
74 StackTrace s1(array1, ARRAY_SIZE(array1)); in TEST()
/external/eigen/doc/
DQuickReference.dox396 array1 * array2 array1 / array2 array1 *= array2 array1 /= array2
397 array1 + scalar array1 - scalar array1 += scalar array1 -= scalar
400 array1 < array2 array1 > array2 array1 < scalar array1 > scalar
401 array1 <= array2 array1 >= array2 array1 <= scalar array1 >= scalar
402 array1 == array2 array1 != array2 array1 == scalar array1 != scalar
405 array1.min(array2)
406 array1.max(array2)
407 array1.abs2()
408 array1.abs() abs(array1)
409 array1.sqrt() sqrt(array1)
[all …]
/external/v8/test/mjsunit/
Dkeyed-load-dictionary-stub.js17 var array1 = generate_dictionary_array(); variable
18 get_accessor(array1, 1);
19 get_accessor(array1, 2);
/external/clang/test/SemaCXX/
Dwarn-self-comparisons.cpp4 void f(int (&array1)[2], int (&array2)[2]) { in f()
5 if (array1 == array2) { } // no warning in f()
/external/clang/test/Lexer/
Dutf8-char-literal.cpp6 int array1['\xF1' != u'\xf1'? 1 : -1]; variable
7 int array1['ñ' != u'\xf1'? 1 : -1]; // expected-error {{character too large for enclosing characte… variable
/external/mockftpserver/tags/1.0/src/test/java/org/mockftpserver/test/
DAbstractTest.java142 protected void assertEquals(String message, byte[] array1, byte[] array2) { in assertEquals() argument
143 assertTrue("Arrays not equal: " + message, Arrays.equals(array1, array2)); in assertEquals()
151 protected void assertEquals(String message, Object[] array1, Object[] array2) { in assertEquals() argument
152 assertTrue("Arrays not equal: " + message, Arrays.equals(array1, array2)); in assertEquals()
/external/mockftpserver/tags/2.0.1/src/test/java/org/mockftpserver/test/
DAbstractTest.java156 protected void assertEquals(String message, byte[] array1, byte[] array2) { in assertEquals() argument
157 assertTrue("Arrays not equal: " + message, Arrays.equals(array1, array2)); in assertEquals()
166 protected void assertEquals(String message, Object[] array1, Object[] array2) { in assertEquals() argument
167 assertTrue("Arrays not equal: " + message, Arrays.equals(array1, array2)); in assertEquals()
/external/mockftpserver/tags/2.x_Before_IDEA/src/test/java/org/mockftpserver/test/
DAbstractTest.java151 protected void assertEquals(String message, byte[] array1, byte[] array2) { in assertEquals() argument
152 assertTrue("Arrays not equal: " + message, Arrays.equals(array1, array2)); in assertEquals()
160 protected void assertEquals(String message, Object[] array1, Object[] array2) { in assertEquals() argument
161 assertTrue("Arrays not equal: " + message, Arrays.equals(array1, array2)); in assertEquals()
/external/mockftpserver/tags/1.2.2/src/test/java/org/mockftpserver/test/
DAbstractTest.java151 protected void assertEquals(String message, byte[] array1, byte[] array2) { in assertEquals() argument
152 assertTrue("Arrays not equal: " + message, Arrays.equals(array1, array2)); in assertEquals()
160 protected void assertEquals(String message, Object[] array1, Object[] array2) { in assertEquals() argument
161 assertTrue("Arrays not equal: " + message, Arrays.equals(array1, array2)); in assertEquals()
/external/mockftpserver/tags/2.4/src/test/java/org/mockftpserver/test/
DAbstractTestCase.java157 protected void assertEquals(String message, byte[] array1, byte[] array2) { in assertEquals() argument
158 assertTrue("Arrays not equal: " + message, Arrays.equals(array1, array2)); in assertEquals()
167 protected void assertEquals(String message, Object[] array1, Object[] array2) { in assertEquals() argument
168 assertTrue("Arrays not equal: " + message, Arrays.equals(array1, array2)); in assertEquals()
/external/mockftpserver/tags/1.2.3/src/test/java/org/mockftpserver/test/
DAbstractTest.java151 protected void assertEquals(String message, byte[] array1, byte[] array2) { in assertEquals() argument
152 assertTrue("Arrays not equal: " + message, Arrays.equals(array1, array2)); in assertEquals()
160 protected void assertEquals(String message, Object[] array1, Object[] array2) { in assertEquals() argument
161 assertTrue("Arrays not equal: " + message, Arrays.equals(array1, array2)); in assertEquals()
/external/mockftpserver/tags/2.0/src/test/java/org/mockftpserver/test/
DAbstractTest.java156 protected void assertEquals(String message, byte[] array1, byte[] array2) { in assertEquals() argument
157 assertTrue("Arrays not equal: " + message, Arrays.equals(array1, array2)); in assertEquals()
166 protected void assertEquals(String message, Object[] array1, Object[] array2) { in assertEquals() argument
167 assertTrue("Arrays not equal: " + message, Arrays.equals(array1, array2)); in assertEquals()
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/test/java/org/mockftpserver/test/
DAbstractTest.java156 protected void assertEquals(String message, byte[] array1, byte[] array2) { in assertEquals() argument
157 assertTrue("Arrays not equal: " + message, Arrays.equals(array1, array2)); in assertEquals()
166 protected void assertEquals(String message, Object[] array1, Object[] array2) { in assertEquals() argument
167 assertTrue("Arrays not equal: " + message, Arrays.equals(array1, array2)); in assertEquals()
/external/mockftpserver/tags/1.2/src/test/java/org/mockftpserver/test/
DAbstractTest.java151 protected void assertEquals(String message, byte[] array1, byte[] array2) { in assertEquals() argument
152 assertTrue("Arrays not equal: " + message, Arrays.equals(array1, array2)); in assertEquals()
160 protected void assertEquals(String message, Object[] array1, Object[] array2) { in assertEquals() argument
161 assertTrue("Arrays not equal: " + message, Arrays.equals(array1, array2)); in assertEquals()

1234