/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/ |
D | BytesTest.java | 37 private static final byte[] ARRAY1 = {(byte) 1}; field in BytesTest 52 assertFalse(Bytes.contains(ARRAY1, (byte) 2)); in testContains() 62 assertEquals(-1, Bytes.indexOf(ARRAY1, (byte) 2)); in testIndexOf() 78 assertEquals(-1, Bytes.indexOf(ARRAY234, ARRAY1)); in testIndexOf_arrayTarget() 79 assertEquals(-1, Bytes.indexOf(ARRAY1, ARRAY234)); in testIndexOf_arrayTarget() 80 assertEquals(0, Bytes.indexOf(ARRAY1, ARRAY1)); in testIndexOf_arrayTarget() 110 assertEquals(-1, Bytes.lastIndexOf(ARRAY1, (byte) 2)); in testLastIndexOf() 126 assertTrue(Arrays.equals(ARRAY1, Bytes.concat(ARRAY1))); in testConcat() 127 assertNotSame(ARRAY1, Bytes.concat(ARRAY1)); in testConcat() 128 assertTrue(Arrays.equals(ARRAY1, Bytes.concat(EMPTY, ARRAY1, EMPTY))); in testConcat() [all …]
|
D | CharsTest.java | 39 private static final char[] ARRAY1 = {(char) 1}; field in CharsTest 98 assertFalse(Chars.contains(ARRAY1, (char) 2)); in testContains() 108 assertEquals(-1, Chars.indexOf(ARRAY1, (char) 2)); in testIndexOf() 124 assertEquals(-1, Chars.indexOf(ARRAY234, ARRAY1)); in testIndexOf_arrayTarget() 125 assertEquals(-1, Chars.indexOf(ARRAY1, ARRAY234)); in testIndexOf_arrayTarget() 126 assertEquals(0, Chars.indexOf(ARRAY1, ARRAY1)); in testIndexOf_arrayTarget() 156 assertEquals(-1, Chars.lastIndexOf(ARRAY1, (char) 2)); in testLastIndexOf() 204 assertTrue(Arrays.equals(ARRAY1, Chars.concat(ARRAY1))); in testConcat() 205 assertNotSame(ARRAY1, Chars.concat(ARRAY1)); in testConcat() 206 assertTrue(Arrays.equals(ARRAY1, Chars.concat(EMPTY, ARRAY1, EMPTY))); in testConcat() [all …]
|
D | ShortsTest.java | 40 private static final short[] ARRAY1 = {(short) 1}; field in ShortsTest 107 assertFalse(Shorts.contains(ARRAY1, (short) 2)); in testContains() 117 assertEquals(-1, Shorts.indexOf(ARRAY1, (short) 2)); in testIndexOf() 133 assertEquals(-1, Shorts.indexOf(ARRAY234, ARRAY1)); in testIndexOf_arrayTarget() 134 assertEquals(-1, Shorts.indexOf(ARRAY1, ARRAY234)); in testIndexOf_arrayTarget() 135 assertEquals(0, Shorts.indexOf(ARRAY1, ARRAY1)); in testIndexOf_arrayTarget() 165 assertEquals(-1, Shorts.lastIndexOf(ARRAY1, (short) 2)); in testLastIndexOf() 213 assertTrue(Arrays.equals(ARRAY1, Shorts.concat(ARRAY1))); in testConcat() 214 assertNotSame(ARRAY1, Shorts.concat(ARRAY1)); in testConcat() 215 assertTrue(Arrays.equals(ARRAY1, Shorts.concat(EMPTY, ARRAY1, EMPTY))); in testConcat() [all …]
|
D | FloatsTest.java | 42 private static final float[] ARRAY1 = {(float) 1}; field in FloatsTest 83 assertFalse(Floats.contains(ARRAY1, (float) 2)); in testContains() 98 assertEquals(-1, Floats.indexOf(ARRAY1, (float) 2)); in testIndexOf() 120 assertEquals(-1, Floats.indexOf(ARRAY234, ARRAY1)); in testIndexOf_arrayTarget() 121 assertEquals(-1, Floats.indexOf(ARRAY1, ARRAY234)); in testIndexOf_arrayTarget() 122 assertEquals(0, Floats.indexOf(ARRAY1, ARRAY1)); in testIndexOf_arrayTarget() 159 assertEquals(-1, Floats.lastIndexOf(ARRAY1, (float) 2)); in testLastIndexOf() 223 assertTrue(Arrays.equals(ARRAY1, Floats.concat(ARRAY1))); in testConcat() 224 assertNotSame(ARRAY1, Floats.concat(ARRAY1)); in testConcat() 225 assertTrue(Arrays.equals(ARRAY1, Floats.concat(EMPTY, ARRAY1, EMPTY))); in testConcat() [all …]
|
D | LongsTest.java | 45 private static final long[] ARRAY1 = {(long) 1}; field in LongsTest 65 assertFalse(Longs.contains(ARRAY1, (long) 2)); in testContains() 75 assertEquals(-1, Longs.indexOf(ARRAY1, (long) 2)); in testIndexOf() 91 assertEquals(-1, Longs.indexOf(ARRAY234, ARRAY1)); in testIndexOf_arrayTarget() 92 assertEquals(-1, Longs.indexOf(ARRAY1, ARRAY234)); in testIndexOf_arrayTarget() 93 assertEquals(0, Longs.indexOf(ARRAY1, ARRAY1)); in testIndexOf_arrayTarget() 123 assertEquals(-1, Longs.lastIndexOf(ARRAY1, (long) 2)); in testLastIndexOf() 171 assertTrue(Arrays.equals(ARRAY1, Longs.concat(ARRAY1))); in testConcat() 172 assertNotSame(ARRAY1, Longs.concat(ARRAY1)); in testConcat() 173 assertTrue(Arrays.equals(ARRAY1, Longs.concat(EMPTY, ARRAY1, EMPTY))); in testConcat() [all …]
|
D | IntsTest.java | 40 private static final int[] ARRAY1 = {(int) 1}; field in IntsTest 99 assertFalse(Ints.contains(ARRAY1, (int) 2)); in testContains() 109 assertEquals(-1, Ints.indexOf(ARRAY1, (int) 2)); in testIndexOf() 125 assertEquals(-1, Ints.indexOf(ARRAY234, ARRAY1)); in testIndexOf_arrayTarget() 126 assertEquals(-1, Ints.indexOf(ARRAY1, ARRAY234)); in testIndexOf_arrayTarget() 127 assertEquals(0, Ints.indexOf(ARRAY1, ARRAY1)); in testIndexOf_arrayTarget() 157 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 | DoublesTest.java | 43 private static final double[] ARRAY1 = {(double) 1}; field in DoublesTest 85 assertFalse(Doubles.contains(ARRAY1, (double) 2)); in testContains() 101 assertEquals(-1, Doubles.indexOf(ARRAY1, (double) 2)); in testIndexOf() 123 assertEquals(-1, Doubles.indexOf(ARRAY234, ARRAY1)); in testIndexOf_arrayTarget() 124 assertEquals(-1, Doubles.indexOf(ARRAY1, ARRAY234)); in testIndexOf_arrayTarget() 125 assertEquals(0, Doubles.indexOf(ARRAY1, ARRAY1)); in testIndexOf_arrayTarget() 162 assertEquals(-1, Doubles.lastIndexOf(ARRAY1, (double) 2)); in testLastIndexOf() 226 assertTrue(Arrays.equals(ARRAY1, Doubles.concat(ARRAY1))); in testConcat() 227 assertNotSame(ARRAY1, Doubles.concat(ARRAY1)); in testConcat() 228 assertTrue(Arrays.equals(ARRAY1, Doubles.concat(EMPTY, ARRAY1, EMPTY))); in testConcat() [all …]
|
D | SignedBytesTest.java | 37 private static final byte[] ARRAY1 = {(byte) 1}; field in SignedBytesTest 126 assertEquals("1", SignedBytes.join(",", ARRAY1)); in testJoin()
|
/external/guava/guava-tests/test/com/google/common/primitives/ |
D | BytesTest.java | 39 private static final byte[] ARRAY1 = {(byte) 1}; field in BytesTest 54 assertFalse(Bytes.contains(ARRAY1, (byte) 2)); in testContains() 64 assertEquals(-1, Bytes.indexOf(ARRAY1, (byte) 2)); in testIndexOf() 80 assertEquals(-1, Bytes.indexOf(ARRAY234, ARRAY1)); in testIndexOf_arrayTarget() 81 assertEquals(-1, Bytes.indexOf(ARRAY1, ARRAY234)); in testIndexOf_arrayTarget() 82 assertEquals(0, Bytes.indexOf(ARRAY1, ARRAY1)); in testIndexOf_arrayTarget() 112 assertEquals(-1, Bytes.lastIndexOf(ARRAY1, (byte) 2)); in testLastIndexOf() 128 assertTrue(Arrays.equals(ARRAY1, Bytes.concat(ARRAY1))); in testConcat() 129 assertNotSame(ARRAY1, Bytes.concat(ARRAY1)); in testConcat() 130 assertTrue(Arrays.equals(ARRAY1, Bytes.concat(EMPTY, ARRAY1, EMPTY))); in testConcat() [all …]
|
D | CharsTest.java | 42 private static final char[] ARRAY1 = {(char) 1}; field in CharsTest 101 assertFalse(Chars.contains(ARRAY1, (char) 2)); in testContains() 111 assertEquals(-1, Chars.indexOf(ARRAY1, (char) 2)); in testIndexOf() 127 assertEquals(-1, Chars.indexOf(ARRAY234, ARRAY1)); in testIndexOf_arrayTarget() 128 assertEquals(-1, Chars.indexOf(ARRAY1, ARRAY234)); in testIndexOf_arrayTarget() 129 assertEquals(0, Chars.indexOf(ARRAY1, ARRAY1)); in testIndexOf_arrayTarget() 159 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 | 44 private static final short[] ARRAY1 = {(short) 1}; field in ShortsTest 111 assertFalse(Shorts.contains(ARRAY1, (short) 2)); in testContains() 121 assertEquals(-1, Shorts.indexOf(ARRAY1, (short) 2)); in testIndexOf() 137 assertEquals(-1, Shorts.indexOf(ARRAY234, ARRAY1)); in testIndexOf_arrayTarget() 138 assertEquals(-1, Shorts.indexOf(ARRAY1, ARRAY234)); in testIndexOf_arrayTarget() 139 assertEquals(0, Shorts.indexOf(ARRAY1, ARRAY1)); in testIndexOf_arrayTarget() 169 assertEquals(-1, Shorts.lastIndexOf(ARRAY1, (short) 2)); in testLastIndexOf() 217 assertTrue(Arrays.equals(ARRAY1, Shorts.concat(ARRAY1))); in testConcat() 218 assertNotSame(ARRAY1, Shorts.concat(ARRAY1)); in testConcat() 219 assertTrue(Arrays.equals(ARRAY1, Shorts.concat(EMPTY, ARRAY1, EMPTY))); in testConcat() [all …]
|
D | LongsTest.java | 48 private static final long[] ARRAY1 = {(long) 1}; field in LongsTest 76 assertFalse(Longs.contains(ARRAY1, (long) 2)); in testContains() 86 assertEquals(-1, Longs.indexOf(ARRAY1, (long) 2)); in testIndexOf() 102 assertEquals(-1, Longs.indexOf(ARRAY234, ARRAY1)); in testIndexOf_arrayTarget() 103 assertEquals(-1, Longs.indexOf(ARRAY1, ARRAY234)); in testIndexOf_arrayTarget() 104 assertEquals(0, Longs.indexOf(ARRAY1, ARRAY1)); in testIndexOf_arrayTarget() 134 assertEquals(-1, Longs.lastIndexOf(ARRAY1, (long) 2)); in testLastIndexOf() 182 assertTrue(Arrays.equals(ARRAY1, Longs.concat(ARRAY1))); in testConcat() 183 assertNotSame(ARRAY1, Longs.concat(ARRAY1)); in testConcat() 184 assertTrue(Arrays.equals(ARRAY1, Longs.concat(EMPTY, ARRAY1, EMPTY))); in testConcat() [all …]
|
D | IntsTest.java | 44 private static final int[] ARRAY1 = {(int) 1}; field in IntsTest 103 assertFalse(Ints.contains(ARRAY1, (int) 2)); in testContains() 113 assertEquals(-1, Ints.indexOf(ARRAY1, (int) 2)); in testIndexOf() 129 assertEquals(-1, Ints.indexOf(ARRAY234, ARRAY1)); in testIndexOf_arrayTarget() 130 assertEquals(-1, Ints.indexOf(ARRAY1, ARRAY234)); in testIndexOf_arrayTarget() 131 assertEquals(0, Ints.indexOf(ARRAY1, ARRAY1)); in testIndexOf_arrayTarget() 161 assertEquals(-1, Ints.lastIndexOf(ARRAY1, (int) 2)); in testLastIndexOf() 209 assertTrue(Arrays.equals(ARRAY1, Ints.concat(ARRAY1))); in testConcat() 210 assertNotSame(ARRAY1, Ints.concat(ARRAY1)); in testConcat() 211 assertTrue(Arrays.equals(ARRAY1, Ints.concat(EMPTY, ARRAY1, EMPTY))); in testConcat() [all …]
|
D | DoublesTest.java | 47 private static final double[] ARRAY1 = {(double) 1}; field in DoublesTest 89 assertFalse(Doubles.contains(ARRAY1, (double) 2)); in testContains() 105 assertEquals(-1, Doubles.indexOf(ARRAY1, (double) 2)); in testIndexOf() 127 assertEquals(-1, Doubles.indexOf(ARRAY234, ARRAY1)); in testIndexOf_arrayTarget() 128 assertEquals(-1, Doubles.indexOf(ARRAY1, ARRAY234)); in testIndexOf_arrayTarget() 129 assertEquals(0, Doubles.indexOf(ARRAY1, ARRAY1)); in testIndexOf_arrayTarget() 166 assertEquals(-1, Doubles.lastIndexOf(ARRAY1, (double) 2)); in testLastIndexOf() 230 assertTrue(Arrays.equals(ARRAY1, Doubles.concat(ARRAY1))); in testConcat() 231 assertNotSame(ARRAY1, Doubles.concat(ARRAY1)); in testConcat() 232 assertTrue(Arrays.equals(ARRAY1, Doubles.concat(EMPTY, ARRAY1, EMPTY))); in testConcat() [all …]
|
D | FloatsTest.java | 47 private static final float[] ARRAY1 = {(float) 1}; field in FloatsTest 88 assertFalse(Floats.contains(ARRAY1, (float) 2)); in testContains() 103 assertEquals(-1, Floats.indexOf(ARRAY1, (float) 2)); in testIndexOf() 125 assertEquals(-1, Floats.indexOf(ARRAY234, ARRAY1)); in testIndexOf_arrayTarget() 126 assertEquals(-1, Floats.indexOf(ARRAY1, ARRAY234)); in testIndexOf_arrayTarget() 127 assertEquals(0, Floats.indexOf(ARRAY1, ARRAY1)); in testIndexOf_arrayTarget() 164 assertEquals(-1, Floats.lastIndexOf(ARRAY1, (float) 2)); in testLastIndexOf() 228 assertTrue(Arrays.equals(ARRAY1, Floats.concat(ARRAY1))); in testConcat() 229 assertNotSame(ARRAY1, Floats.concat(ARRAY1)); in testConcat() 230 assertTrue(Arrays.equals(ARRAY1, Floats.concat(EMPTY, ARRAY1, EMPTY))); in testConcat() [all …]
|
D | SignedBytesTest.java | 40 private static final byte[] ARRAY1 = {(byte) 1}; field in SignedBytesTest 129 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()
|