Home
last modified time | relevance | path

Searched refs:array2 (Results 1 – 25 of 108) sorted by relevance

12345

/external/v8/test/webkit/
Ddfg-get-by-val-clobber-expected.txt29 PASS doAccesses(array1, array2, i % 4, (i + 1) % 4, i) is 1
30 PASS array2[1] is 0
32 PASS doAccesses(array1, array2, i % 4, (i + 1) % 4, i) is 2
33 PASS array2[2] is 1
35 PASS doAccesses(array1, array2, i % 4, (i + 1) % 4, i) is 3
36 PASS array2[3] is 2
38 PASS doAccesses(array1, array2, i % 4, (i + 1) % 4, i) is 4
39 PASS array2[0] is 3
41 PASS doAccesses(array1, array2, i % 4, (i + 1) % 4, i) is 1
42 PASS array2[1] is 4
[all …]
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]);
Ddfg-get-by-val-clobber.js35 var array2 = [5, 6, 7, 8]; variable
43 array2[((i + 1) % 4)] = (i % 4) + 5;
/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-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/eigen/test/eigen2/
Deigen2_map.cpp20 Scalar* array2 = ei_aligned_new<Scalar>(size); in map_class_vector() local
25 Map<VectorType>(array2, size) = Map<VectorType>(array1, size); in map_class_vector()
28 VectorType ma2 = Map<VectorType, Aligned>(array2, size); in map_class_vector()
34 ei_aligned_delete(array2, size); in map_class_vector()
47 Scalar* array2 = ei_aligned_new<Scalar>(size); in map_class_matrix() local
48 for(int i = 0; i < size; i++) array2[i] = Scalar(1); in map_class_matrix()
53 …Map<MatrixType>(array2, rows, cols) = Map<MatrixType>((const Scalar*)array1, rows, cols); // test … in map_class_matrix()
56 MatrixType ma2 = Map<MatrixType, Aligned>(array2, rows, cols); in map_class_matrix()
62 ei_aligned_delete(array2, size); in map_class_matrix()
74 Scalar* array2 = ei_aligned_new<Scalar>(size); in map_static_methods() local
[all …]
/external/clang/test/Sema/
Dself-comparison.c50 int array2[2]; in array_comparisons() local
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()
72 return array1 <= array2; // expected-warning{{array comparison always evaluates to a constant}} in array_comparisons()
73 return array1 > array2; // expected-warning{{array comparison always evaluates to a constant}} in array_comparisons()
74 return array1 >= array2; // expected-warning{{array comparison always evaluates to a constant}} in array_comparisons()
Dvector-ops.c21 int array2[17]; in test1() local
23 (void)(array2[v2ua]); // expected-error{{array subscript is not an integer}} in test1()
/external/eigen/test/
Dmapped_matrix.cpp25 Scalar* array2 = internal::aligned_new<Scalar>(size); in map_class_vector() local
30 Map<VectorType, Aligned>(array2, size) = Map<VectorType,Aligned>(array1, size); in map_class_vector()
33 VectorType ma2 = Map<VectorType, Aligned>(array2, size); in map_class_vector()
43 internal::aligned_delete(array2, size); in map_class_vector()
57 Scalar* array2 = internal::aligned_new<Scalar>(size); in map_class_matrix() local
58 for(int i = 0; i < size; i++) array2[i] = Scalar(1); in map_class_matrix()
63 Map<MatrixType>(array2, rows, cols) = Map<MatrixType>(array1, rows, cols); in map_class_matrix()
66 MatrixType ma2 = Map<MatrixType, Aligned>(array2, rows, cols); in map_class_matrix()
72 internal::aligned_delete(array2, size); in map_class_matrix()
85 Scalar* array2 = internal::aligned_new<Scalar>(size); in map_static_methods() local
[all …]
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_stackdepot_test.cc62 uptr array2[] = {1, 2, 3, 4, 8, 9}; in TEST() local
63 StackTrace s2(array2, ARRAY_SIZE(array2)); in TEST()
70 uptr array2[] = {7, 1, 3, 0}; in TEST() local
75 StackTrace s2(array2, ARRAY_SIZE(array2)); in TEST()
/external/lldb/test/lang/objc/foundation/
Dmain.m106 NSArray *array2 = [NSArray arrayWithObjects: array1, @"array2 object2", @"array2 object3", nil];
111 // expression [array2 count]
112 // expression array2.count
119 obj = [array2 objectAtIndex: 0];
120 obj = [array2 objectAtIndex: 1];
121 obj = [array2 objectAtIndex: 2];
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DObjectArraysTest.java85 Integer[] array2 = ObjectArrays.arraysCopyOf(array1, array1.length); in doTestToArrayImpl2() local
88 Object[] target = ObjectArrays.toArrayImpl(list, array2); in doTestToArrayImpl2()
97 assertTrue(Arrays.equals(expectedArray2, array2)); 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.java156 Integer[] array2 = ObjectArrays.arraysCopyOf(array1, array1.length); in doTestToArrayImpl2() local
159 Object[] target = ObjectArrays.toArrayImpl(list, array2); in doTestToArrayImpl2()
168 assertTrue(Arrays.equals(expectedArray2, array2)); 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/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/llvm/test/CodeGen/X86/
Datom-fixup-lea3.ll11 ;int test(int n, int * array, int * m, int * array2)
17 ; *m += array2[j++];
23 define i32 @test(i32 %n, i32* nocapture %array, i32* nocapture %m, i32* nocapture %array2) #0 {
37 %arrayidx = getelementptr inbounds i32, i32* %array2, i32 %j.09
/external/llvm/test/Transforms/SeparateConstOffsetFromGEP/AMDGPU/
Dsplit-gep-and-gvn-addrspace-addressing-modes.ll35 @array2 = internal addrspace(2) constant [4096 x [4 x float]] zeroinitializer, align 4
40 …ntptr inbounds [4096 x [4 x float]], [4096 x [4 x float]] addrspace(2)* @array2, i64 0, i64 %{{[a-…
43 ; IR: getelementptr inbounds [4096 x [4 x float]], [4096 x [4 x float]] addrspace(2)* @array2, i64 …
44 ; IR: getelementptr inbounds [4096 x [4 x float]], [4096 x [4 x float]] addrspace(2)* @array2, i64 …
48 …%tmp2 = getelementptr inbounds [4096 x [4 x float]], [4096 x [4 x float]] addrspace(2)* @array2, i…
53 …%tmp8 = getelementptr inbounds [4096 x [4 x float]], [4096 x [4 x float]] addrspace(2)* @array2, i…
58 …%tmp14 = getelementptr inbounds [4096 x [4 x float]], [4096 x [4 x float]] addrspace(2)* @array2, …
61 …%tmp18 = getelementptr inbounds [4096 x [4 x float]], [4096 x [4 x float]] addrspace(2)* @array2, …
/external/v8/test/mjsunit/wasm/
Dtest-wasm-module-builder.js134 var array2 = new Uint8Array(buffer2, kPad, buffer.byteLength);
135 for (var i = 0; i < array2.byteLength; i++) {
136 array2[i] = array[i];
138 var instance = Wasm.instantiateModule(array2);
/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/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()
/external/mockftpserver/tags/2.0-rc1/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.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.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/MockFtpServer/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/2.0.2/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()

12345