/external/guava/guava-tests/test/com/google/common/primitives/ |
D | BytesTest.java | 37 private static final byte[] ARRAY1 = {(byte) 1}; field in BytesTest 50 assertFalse(Bytes.contains(ARRAY1, (byte) 2)); in testContains() 60 assertEquals(-1, Bytes.indexOf(ARRAY1, (byte) 2)); in testIndexOf() 73 assertEquals(-1, Bytes.indexOf(ARRAY234, ARRAY1)); in testIndexOf_arrayTarget() 74 assertEquals(-1, Bytes.indexOf(ARRAY1, ARRAY234)); in testIndexOf_arrayTarget() 75 assertEquals(0, Bytes.indexOf(ARRAY1, ARRAY1)); in testIndexOf_arrayTarget() 103 assertEquals(-1, Bytes.lastIndexOf(ARRAY1, (byte) 2)); in testLastIndexOf() 117 assertTrue(Arrays.equals(ARRAY1, Bytes.concat(ARRAY1))); in testConcat() 118 assertNotSame(ARRAY1, Bytes.concat(ARRAY1)); in testConcat() 119 assertTrue(Arrays.equals(ARRAY1, Bytes.concat(EMPTY, ARRAY1, EMPTY))); in testConcat() [all …]
|
D | CharsTest.java | 41 private static final char[] ARRAY1 = {(char) 1}; field in CharsTest 97 assertFalse(Chars.contains(ARRAY1, (char) 2)); in testContains() 107 assertEquals(-1, Chars.indexOf(ARRAY1, (char) 2)); in testIndexOf() 120 assertEquals(-1, Chars.indexOf(ARRAY234, ARRAY1)); in testIndexOf_arrayTarget() 121 assertEquals(-1, Chars.indexOf(ARRAY1, ARRAY234)); in testIndexOf_arrayTarget() 122 assertEquals(0, Chars.indexOf(ARRAY1, ARRAY1)); in testIndexOf_arrayTarget() 150 assertEquals(-1, Chars.lastIndexOf(ARRAY1, (char) 2)); in testLastIndexOf() 207 assertTrue(Arrays.equals(ARRAY1, Chars.concat(ARRAY1))); in testConcat() 208 assertNotSame(ARRAY1, Chars.concat(ARRAY1)); in testConcat() 209 assertTrue(Arrays.equals(ARRAY1, Chars.concat(EMPTY, ARRAY1, EMPTY))); in testConcat() [all …]
|
D | ShortsTest.java | 42 private static final short[] ARRAY1 = {(short) 1}; field in ShortsTest 108 assertFalse(Shorts.contains(ARRAY1, (short) 2)); in testContains() 118 assertEquals(-1, Shorts.indexOf(ARRAY1, (short) 2)); in testIndexOf() 132 assertEquals(-1, Shorts.indexOf(ARRAY234, ARRAY1)); in testIndexOf_arrayTarget() 133 assertEquals(-1, Shorts.indexOf(ARRAY1, ARRAY234)); in testIndexOf_arrayTarget() 134 assertEquals(0, Shorts.indexOf(ARRAY1, ARRAY1)); in testIndexOf_arrayTarget() 168 assertEquals(-1, Shorts.lastIndexOf(ARRAY1, (short) 2)); in testLastIndexOf() 229 assertTrue(Arrays.equals(ARRAY1, Shorts.concat(ARRAY1))); in testConcat() 230 assertNotSame(ARRAY1, Shorts.concat(ARRAY1)); in testConcat() 231 assertTrue(Arrays.equals(ARRAY1, Shorts.concat(EMPTY, ARRAY1, EMPTY))); in testConcat() [all …]
|
D | IntsTest.java | 42 private static final int[] ARRAY1 = {(int) 1}; field in IntsTest 98 assertFalse(Ints.contains(ARRAY1, (int) 2)); in testContains() 108 assertEquals(-1, Ints.indexOf(ARRAY1, (int) 2)); in testIndexOf() 121 assertEquals(-1, Ints.indexOf(ARRAY234, ARRAY1)); in testIndexOf_arrayTarget() 122 assertEquals(-1, Ints.indexOf(ARRAY1, ARRAY234)); in testIndexOf_arrayTarget() 123 assertEquals(0, Ints.indexOf(ARRAY1, ARRAY1)); in testIndexOf_arrayTarget() 149 assertEquals(-1, Ints.lastIndexOf(ARRAY1, (int) 2)); in testLastIndexOf() 205 assertTrue(Arrays.equals(ARRAY1, Ints.concat(ARRAY1))); in testConcat() 206 assertNotSame(ARRAY1, Ints.concat(ARRAY1)); in testConcat() 207 assertTrue(Arrays.equals(ARRAY1, Ints.concat(EMPTY, ARRAY1, EMPTY))); in testConcat() [all …]
|
D | FloatsTest.java | 45 private static final float[] ARRAY1 = {(float) 1}; field in FloatsTest 96 assertFalse(Floats.contains(ARRAY1, (float) 2)); in testContains() 111 assertEquals(-1, Floats.indexOf(ARRAY1, (float) 2)); in testIndexOf() 130 assertEquals(-1, Floats.indexOf(ARRAY234, ARRAY1)); in testIndexOf_arrayTarget() 131 assertEquals(-1, Floats.indexOf(ARRAY1, ARRAY234)); in testIndexOf_arrayTarget() 132 assertEquals(0, Floats.indexOf(ARRAY1, ARRAY1)); in testIndexOf_arrayTarget() 174 assertEquals(-1, Floats.lastIndexOf(ARRAY1, (float) 2)); in testLastIndexOf() 251 assertTrue(Arrays.equals(ARRAY1, Floats.concat(ARRAY1))); in testConcat() 252 assertNotSame(ARRAY1, Floats.concat(ARRAY1)); in testConcat() 253 assertTrue(Arrays.equals(ARRAY1, Floats.concat(EMPTY, ARRAY1, EMPTY))); in testConcat() [all …]
|
D | LongsTest.java | 46 private static final long[] ARRAY1 = {(long) 1}; field in LongsTest 69 assertFalse(Longs.contains(ARRAY1, (long) 2)); in testContains() 79 assertEquals(-1, Longs.indexOf(ARRAY1, (long) 2)); in testIndexOf() 92 assertEquals(-1, Longs.indexOf(ARRAY234, ARRAY1)); in testIndexOf_arrayTarget() 93 assertEquals(-1, Longs.indexOf(ARRAY1, ARRAY234)); in testIndexOf_arrayTarget() 94 assertEquals(0, Longs.indexOf(ARRAY1, ARRAY1)); in testIndexOf_arrayTarget() 122 assertEquals(-1, Longs.lastIndexOf(ARRAY1, (long) 2)); in testLastIndexOf() 179 assertTrue(Arrays.equals(ARRAY1, Longs.concat(ARRAY1))); in testConcat() 180 assertNotSame(ARRAY1, Longs.concat(ARRAY1)); in testConcat() 181 assertTrue(Arrays.equals(ARRAY1, Longs.concat(EMPTY, ARRAY1, EMPTY))); in testConcat() [all …]
|
D | DoublesTest.java | 46 private static final double[] ARRAY1 = {(double) 1}; field in DoublesTest 101 assertFalse(Doubles.contains(ARRAY1, (double) 2)); in testContains() 116 assertEquals(-1, Doubles.indexOf(ARRAY1, (double) 2)); in testIndexOf() 136 assertEquals(-1, Doubles.indexOf(ARRAY234, ARRAY1)); in testIndexOf_arrayTarget() 137 assertEquals(-1, Doubles.indexOf(ARRAY1, ARRAY234)); in testIndexOf_arrayTarget() 138 assertEquals(0, Doubles.indexOf(ARRAY1, ARRAY1)); in testIndexOf_arrayTarget() 180 assertEquals(-1, Doubles.lastIndexOf(ARRAY1, (double) 2)); in testLastIndexOf() 266 assertTrue(Arrays.equals(ARRAY1, Doubles.concat(ARRAY1))); in testConcat() 267 assertNotSame(ARRAY1, Doubles.concat(ARRAY1)); in testConcat() 268 assertTrue(Arrays.equals(ARRAY1, Doubles.concat(EMPTY, ARRAY1, EMPTY))); in testConcat() [all …]
|
D | SignedBytesTest.java | 38 private static final byte[] ARRAY1 = {(byte) 1}; field in SignedBytesTest 127 assertEquals("1", SignedBytes.join(",", ARRAY1)); in testJoin()
|
/external/guava/android/guava-tests/test/com/google/common/primitives/ |
D | BytesTest.java | 37 private static final byte[] ARRAY1 = {(byte) 1}; field in BytesTest 50 assertFalse(Bytes.contains(ARRAY1, (byte) 2)); in testContains() 60 assertEquals(-1, Bytes.indexOf(ARRAY1, (byte) 2)); in testIndexOf() 73 assertEquals(-1, Bytes.indexOf(ARRAY234, ARRAY1)); in testIndexOf_arrayTarget() 74 assertEquals(-1, Bytes.indexOf(ARRAY1, ARRAY234)); in testIndexOf_arrayTarget() 75 assertEquals(0, Bytes.indexOf(ARRAY1, ARRAY1)); in testIndexOf_arrayTarget() 103 assertEquals(-1, Bytes.lastIndexOf(ARRAY1, (byte) 2)); in testLastIndexOf() 117 assertTrue(Arrays.equals(ARRAY1, Bytes.concat(ARRAY1))); in testConcat() 118 assertNotSame(ARRAY1, Bytes.concat(ARRAY1)); in testConcat() 119 assertTrue(Arrays.equals(ARRAY1, Bytes.concat(EMPTY, ARRAY1, EMPTY))); in testConcat() [all …]
|
D | CharsTest.java | 41 private static final char[] ARRAY1 = {(char) 1}; field in CharsTest 97 assertFalse(Chars.contains(ARRAY1, (char) 2)); in testContains() 107 assertEquals(-1, Chars.indexOf(ARRAY1, (char) 2)); in testIndexOf() 120 assertEquals(-1, Chars.indexOf(ARRAY234, ARRAY1)); in testIndexOf_arrayTarget() 121 assertEquals(-1, Chars.indexOf(ARRAY1, ARRAY234)); in testIndexOf_arrayTarget() 122 assertEquals(0, Chars.indexOf(ARRAY1, ARRAY1)); in testIndexOf_arrayTarget() 150 assertEquals(-1, Chars.lastIndexOf(ARRAY1, (char) 2)); in testLastIndexOf() 207 assertTrue(Arrays.equals(ARRAY1, Chars.concat(ARRAY1))); in testConcat() 208 assertNotSame(ARRAY1, Chars.concat(ARRAY1)); in testConcat() 209 assertTrue(Arrays.equals(ARRAY1, Chars.concat(EMPTY, ARRAY1, EMPTY))); in testConcat() [all …]
|
D | ShortsTest.java | 42 private static final short[] ARRAY1 = {(short) 1}; field in ShortsTest 108 assertFalse(Shorts.contains(ARRAY1, (short) 2)); in testContains() 118 assertEquals(-1, Shorts.indexOf(ARRAY1, (short) 2)); in testIndexOf() 132 assertEquals(-1, Shorts.indexOf(ARRAY234, ARRAY1)); in testIndexOf_arrayTarget() 133 assertEquals(-1, Shorts.indexOf(ARRAY1, ARRAY234)); in testIndexOf_arrayTarget() 134 assertEquals(0, Shorts.indexOf(ARRAY1, ARRAY1)); in testIndexOf_arrayTarget() 168 assertEquals(-1, Shorts.lastIndexOf(ARRAY1, (short) 2)); in testLastIndexOf() 229 assertTrue(Arrays.equals(ARRAY1, Shorts.concat(ARRAY1))); in testConcat() 230 assertNotSame(ARRAY1, Shorts.concat(ARRAY1)); in testConcat() 231 assertTrue(Arrays.equals(ARRAY1, Shorts.concat(EMPTY, ARRAY1, EMPTY))); in testConcat() [all …]
|
D | IntsTest.java | 42 private static final int[] ARRAY1 = {(int) 1}; field in IntsTest 98 assertFalse(Ints.contains(ARRAY1, (int) 2)); in testContains() 108 assertEquals(-1, Ints.indexOf(ARRAY1, (int) 2)); in testIndexOf() 121 assertEquals(-1, Ints.indexOf(ARRAY234, ARRAY1)); in testIndexOf_arrayTarget() 122 assertEquals(-1, Ints.indexOf(ARRAY1, ARRAY234)); in testIndexOf_arrayTarget() 123 assertEquals(0, Ints.indexOf(ARRAY1, ARRAY1)); in testIndexOf_arrayTarget() 149 assertEquals(-1, Ints.lastIndexOf(ARRAY1, (int) 2)); in testLastIndexOf() 205 assertTrue(Arrays.equals(ARRAY1, Ints.concat(ARRAY1))); in testConcat() 206 assertNotSame(ARRAY1, Ints.concat(ARRAY1)); in testConcat() 207 assertTrue(Arrays.equals(ARRAY1, Ints.concat(EMPTY, ARRAY1, EMPTY))); in testConcat() [all …]
|
D | FloatsTest.java | 45 private static final float[] ARRAY1 = {(float) 1}; field in FloatsTest 96 assertFalse(Floats.contains(ARRAY1, (float) 2)); in testContains() 111 assertEquals(-1, Floats.indexOf(ARRAY1, (float) 2)); in testIndexOf() 130 assertEquals(-1, Floats.indexOf(ARRAY234, ARRAY1)); in testIndexOf_arrayTarget() 131 assertEquals(-1, Floats.indexOf(ARRAY1, ARRAY234)); in testIndexOf_arrayTarget() 132 assertEquals(0, Floats.indexOf(ARRAY1, ARRAY1)); in testIndexOf_arrayTarget() 174 assertEquals(-1, Floats.lastIndexOf(ARRAY1, (float) 2)); in testLastIndexOf() 251 assertTrue(Arrays.equals(ARRAY1, Floats.concat(ARRAY1))); in testConcat() 252 assertNotSame(ARRAY1, Floats.concat(ARRAY1)); in testConcat() 253 assertTrue(Arrays.equals(ARRAY1, Floats.concat(EMPTY, ARRAY1, EMPTY))); in testConcat() [all …]
|
D | LongsTest.java | 46 private static final long[] ARRAY1 = {(long) 1}; field in LongsTest 69 assertFalse(Longs.contains(ARRAY1, (long) 2)); in testContains() 79 assertEquals(-1, Longs.indexOf(ARRAY1, (long) 2)); in testIndexOf() 92 assertEquals(-1, Longs.indexOf(ARRAY234, ARRAY1)); in testIndexOf_arrayTarget() 93 assertEquals(-1, Longs.indexOf(ARRAY1, ARRAY234)); in testIndexOf_arrayTarget() 94 assertEquals(0, Longs.indexOf(ARRAY1, ARRAY1)); in testIndexOf_arrayTarget() 122 assertEquals(-1, Longs.lastIndexOf(ARRAY1, (long) 2)); in testLastIndexOf() 179 assertTrue(Arrays.equals(ARRAY1, Longs.concat(ARRAY1))); in testConcat() 180 assertNotSame(ARRAY1, Longs.concat(ARRAY1)); in testConcat() 181 assertTrue(Arrays.equals(ARRAY1, Longs.concat(EMPTY, ARRAY1, EMPTY))); in testConcat() [all …]
|
D | DoublesTest.java | 46 private static final double[] ARRAY1 = {(double) 1}; field in DoublesTest 101 assertFalse(Doubles.contains(ARRAY1, (double) 2)); in testContains() 116 assertEquals(-1, Doubles.indexOf(ARRAY1, (double) 2)); in testIndexOf() 136 assertEquals(-1, Doubles.indexOf(ARRAY234, ARRAY1)); in testIndexOf_arrayTarget() 137 assertEquals(-1, Doubles.indexOf(ARRAY1, ARRAY234)); in testIndexOf_arrayTarget() 138 assertEquals(0, Doubles.indexOf(ARRAY1, ARRAY1)); in testIndexOf_arrayTarget() 180 assertEquals(-1, Doubles.lastIndexOf(ARRAY1, (double) 2)); in testLastIndexOf() 266 assertTrue(Arrays.equals(ARRAY1, Doubles.concat(ARRAY1))); in testConcat() 267 assertNotSame(ARRAY1, Doubles.concat(ARRAY1)); in testConcat() 268 assertTrue(Arrays.equals(ARRAY1, Doubles.concat(EMPTY, ARRAY1, EMPTY))); in testConcat() [all …]
|
D | SignedBytesTest.java | 38 private static final byte[] ARRAY1 = {(byte) 1}; field in SignedBytesTest 127 assertEquals("1", SignedBytes.join(",", ARRAY1)); in testJoin()
|
/external/arm-neon-tests/ |
D | ref_vldX_lane.c | 101 #define ARRAY1(V, T, W, N) VECT_VAR_DECL(V,T,W,N)[1]={42} in exec_vldX_lane() macro 104 ARRAY1(V##_pad,T,W,N) in exec_vldX_lane()
|
/external/llvm-project/llvm/test/Analysis/BasicAA/ |
D | featuretest.ll | 53 ; CHECK-NEXT: [[ARRAY1:%.*]] = alloca [100 x i32], align 4 54 ; CHECK-NEXT: [[ARRAY1_SUB:%.*]] = getelementptr inbounds [100 x i32], [100 x i32]* [[ARRAY1]], … 56 ; CHECK-NEXT: [[P2:%.*]] = getelementptr inbounds [100 x i32], [100 x i32]* [[ARRAY1]], i64 0, i…
|