HomeSort by relevance Sort by last modified time
    Searched refs:Arrays (Results 1 - 25 of 1910) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/apache-xml/src/main/java/org/apache/xml/serializer/utils/
XMLChar.java 21 import java.util.Arrays;
104 Arrays.fill(CHARS, 35, 38, (byte) 49 ); // Fill 3 of value (byte) 49
106 Arrays.fill(CHARS, 39, 45, (byte) 49 ); // Fill 6 of value (byte) 49
107 Arrays.fill(CHARS, 45, 47, (byte) -71 ); // Fill 2 of value (byte) -71
109 Arrays.fill(CHARS, 48, 58, (byte) -71 ); // Fill 10 of value (byte) -71
115 Arrays.fill(CHARS, 63, 65, (byte) 49 ); // Fill 2 of value (byte) 49
116 Arrays.fill(CHARS, 65, 91, (byte) -3 ); // Fill 26 of value (byte) -3
117 Arrays.fill(CHARS, 91, 93, (byte) 33 ); // Fill 2 of value (byte) 33
122 Arrays.fill(CHARS, 97, 123, (byte) -3 ); // Fill 26 of value (byte) -3
123 Arrays.fill(CHARS, 123, 183, (byte) 33 ); // Fill 60 of value (byte) 33
    [all...]
XML11Char.java 21 import java.util.Arrays;
91 Arrays.fill(XML11CHARS, 1, 9, (byte) 17 ); // Fill 8 of value (byte) 17
94 Arrays.fill(XML11CHARS, 11, 13, (byte) 17 ); // Fill 2 of value (byte) 17
96 Arrays.fill(XML11CHARS, 14, 32, (byte) 17 ); // Fill 18 of value (byte) 17
98 Arrays.fill(XML11CHARS, 33, 38, (byte) 33 ); // Fill 5 of value (byte) 33
100 Arrays.fill(XML11CHARS, 39, 45, (byte) 33 ); // Fill 6 of value (byte) 33
101 Arrays.fill(XML11CHARS, 45, 47, (byte) -87 ); // Fill 2 of value (byte) -87
103 Arrays.fill(XML11CHARS, 48, 58, (byte) -87 ); // Fill 10 of value (byte) -87
107 Arrays.fill(XML11CHARS, 61, 65, (byte) 33 ); // Fill 4 of value (byte) 33
108 Arrays.fill(XML11CHARS, 65, 91, (byte) -19 ); // Fill 26 of value (byte) -19
    [all...]
  /external/conscrypt/src/main/java/org/conscrypt/util/
Arrays.java 20 * Compatibility utility for Arrays.
22 public final class Arrays {
23 private Arrays() {
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/h264/model/
HRDParameters.java 23 import java.util.Arrays;
44 ", bit_rate_value_minus1=" + Arrays.toString(bit_rate_value_minus1) +
45 ", cpb_size_value_minus1=" + Arrays.toString(cpb_size_value_minus1) +
46 ", cbr_flag=" + Arrays.toString(cbr_flag) +
ScalingMatrix.java 23 import java.util.Arrays;
33 "ScalingList4x4=" + (ScalingList4x4 == null ? null : Arrays.asList(ScalingList4x4)) + "\n" +
34 ", ScalingList8x8=" + (ScalingList8x8 == null ? null : Arrays.asList(ScalingList8x8)) + "\n" +
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
Arrays2Test.java 21 import java.util.Arrays;
33 * java.util.Arrays#binarySearch(double[], double)
42 int result = Arrays.binarySearch(specials, specials[i]);
47 -4, Arrays.binarySearch(specials, -1d));
49 -8, Arrays.binarySearch(specials, 1d));
53 * java.util.Arrays#binarySearch(float[], float)
62 int result = Arrays.binarySearch(specials, specials[i]);
67 -4, Arrays.binarySearch(specials, -1f));
69 -8, Arrays.binarySearch(specials, 1f));
73 * java.util.Arrays#equals(double[], double[]
    [all...]
ArraysTest.java 21 import java.util.Arrays;
69 * java.util.Arrays#asList(java.lang.Object[])
73 // java.util.Arrays.asList(java.lang.Object [])
74 List convertedList = Arrays.asList(objectArray);
89 convertedList = Arrays.asList(myArray);
97 Arrays.asList((Object[]) null);
105 * java.util.Arrays#binarySearch(byte[], byte)
108 // Test for method int java.util.Arrays.binarySearch(byte [], byte)
111 Arrays.binarySearch(byteArray, counter) == counter);
113 -1, Arrays.binarySearch(intArray, (byte) -1))
    [all...]
  /external/easymock/src/org/easymock/internal/matchers/
ArrayEquals.java 18 import java.util.Arrays;
35 return Arrays.equals((boolean[]) expected, (boolean[]) actual);
38 return Arrays.equals((byte[]) expected, (byte[]) actual);
41 return Arrays.equals((char[]) expected, (char[]) actual);
44 return Arrays.equals((double[]) expected, (double[]) actual);
47 return Arrays.equals((float[]) expected, (float[]) actual);
50 return Arrays.equals((int[]) expected, (int[]) actual);
53 return Arrays.equals((long[]) expected, (long[]) actual);
56 return Arrays.equals((short[]) expected, (short[]) actual);
59 return Arrays.equals((Object[]) expected, (Object[]) actual);
    [all...]
  /external/apache-xml/src/main/java/org/apache/xml/utils/
XML11Char.java 21 import java.util.Arrays;
86 Arrays.fill(XML11CHARS, 1, 9, (byte) 17 ); // Fill 8 of value (byte) 17
89 Arrays.fill(XML11CHARS, 11, 13, (byte) 17 ); // Fill 2 of value (byte) 17
91 Arrays.fill(XML11CHARS, 14, 32, (byte) 17 ); // Fill 18 of value (byte) 17
93 Arrays.fill(XML11CHARS, 33, 38, (byte) 33 ); // Fill 5 of value (byte) 33
95 Arrays.fill(XML11CHARS, 39, 45, (byte) 33 ); // Fill 6 of value (byte) 33
96 Arrays.fill(XML11CHARS, 45, 47, (byte) -87 ); // Fill 2 of value (byte) -87
98 Arrays.fill(XML11CHARS, 48, 58, (byte) -87 ); // Fill 10 of value (byte) -87
102 Arrays.fill(XML11CHARS, 61, 65, (byte) 33 ); // Fill 4 of value (byte) 33
103 Arrays.fill(XML11CHARS, 65, 91, (byte) -19 ); // Fill 26 of value (byte) -1
    [all...]
  /external/conscrypt/src/main/java/org/conscrypt/
ByteArray.java 19 import java.util.Arrays;
30 this.hashCode = Arrays.hashCode(bytes);
44 return Arrays.equals(bytes, lhs.bytes);
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/
BaseViewRuleTest.java 19 import java.util.Arrays;
37 assertEquals("foo", BaseViewRule.join('|', Arrays.asList("foo")));
39 assertEquals("foo,bar", BaseViewRule.join(',', Arrays.asList("foo", "bar")));
40 assertEquals("foo|bar", BaseViewRule.join('|', Arrays.asList("foo", "bar")));
  /libcore/luni/src/test/java/libcore/java/net/
ProxySelectorTest.java 24 import java.util.Arrays;
66 assertEquals(Arrays.asList(Proxy.NO_PROXY), proxySelector.select(ftpUri));
67 assertEquals(Arrays.asList(Proxy.NO_PROXY), proxySelector.select(httpUri));
68 assertEquals(Arrays.asList(Proxy.NO_PROXY), proxySelector.select(httpsUri));
69 assertEquals(Arrays.asList(Proxy.NO_PROXY), proxySelector.select(socketUri));
70 assertEquals(Arrays.asList(Proxy.NO_PROXY), proxySelector.select(otherUri));
79 assertEquals(Arrays.asList(new Proxy(Proxy.Type.HTTP, createUnresolved("a", 80))),
81 assertEquals(Arrays.asList(new Proxy(Proxy.Type.HTTP, createUnresolved("b", 80))),
83 assertEquals(Arrays.asList(new Proxy(Proxy.Type.HTTP, createUnresolved("c", 443))),
85 assertEquals(Arrays.asList(Proxy.NO_PROXY), proxySelector.select(otherUri))
    [all...]
  /frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/java/
Objects.java 19 import java.util.Arrays;
46 * the result of {@link Arrays#equals} if both arguments are primitive arrays,
47 * the result of {@link Arrays#deepEquals} if both arguments are arrays of reference types,
54 return Arrays.deepEquals((Object[]) a, (Object[]) b);
56 return Arrays.equals((boolean[]) a, (boolean[]) b);
58 return Arrays.equals((byte[]) a, (byte[]) b);
60 return Arrays.equals((char[]) a, (char[]) b);
62 return Arrays.equals((double[]) a, (double[]) b)
    [all...]
  /libcore/luni/src/main/java/java/util/
Objects.java 19 import java.util.Arrays;
41 * the result of {@link Arrays#equals} if both arguments are primitive arrays,
42 * the result of {@link Arrays#deepEquals} if both arguments are arrays of reference types,
49 return Arrays.deepEquals((Object[]) a, (Object[]) b);
51 return Arrays.equals((boolean[]) a, (boolean[]) b);
53 return Arrays.equals((byte[]) a, (byte[]) b);
55 return Arrays.equals((char[]) a, (char[]) b);
57 return Arrays.equals((double[]) a, (double[]) b)
    [all...]
  /libcore/luni/src/test/java/libcore/java/util/concurrent/
CopyOnWriteArrayListTest.java 19 import java.util.Arrays;
37 list.addAll(Arrays.asList("a", "b", "c", "d", "e"));
54 list.addAll(Arrays.asList("a", "b", "c", "d", "e"));
66 list.addAll(Arrays.asList("a", "b", "c", "d", "e"));
78 list.addAll(Arrays.asList("a", "b", "c", "d", "e"));
81 list.addAll(Arrays.asList("A", "B", "C", "D", "E"));
91 list.addAll(Arrays.asList("a", "b", "c", "d", "e"));
93 list.removeAll(Arrays.asList());
94 assertEquals(Arrays.asList("a", "b", "c", "d", "e"), list);
96 list.removeAll(Arrays.asList("e"))
    [all...]
  /external/replicaisland/src/com/replica/replicaisland/
StandardSorter.java 19 import java.util.Arrays;
26 Arrays.sort(array, 0, count, comparator);
  /libcore/luni/src/test/java/libcore/java/lang/reflect/
GenericExceptionsTest.java 24 import java.util.Arrays;
32 assertEquals(Arrays.<Type>asList(IOException.class),
33 Arrays.asList(method.getGenericExceptionTypes()));
38 assertEquals(Arrays.<Type>asList(IOException.class),
39 Arrays.asList(method.getGenericExceptionTypes()));
44 assertEquals(Arrays.<Type>asList(IOException.class),
45 Arrays.asList(constructor.getGenericExceptionTypes()));
50 assertEquals(Arrays.<Type>asList(IOException.class),
51 Arrays.asList(constructor.getGenericExceptionTypes()));
59 assertEquals(Arrays.<Type>asList(Throwable.class), Arrays.asList(typeVariable.getBounds()))
    [all...]
  /external/mockito/src/org/mockito/internal/matchers/
ArrayEquals.java 9 import java.util.Arrays;
26 return Arrays.equals((boolean[]) wanted, (boolean[]) actual);
28 return Arrays.equals((byte[]) wanted, (byte[]) actual);
30 return Arrays.equals((char[]) wanted, (char[]) actual);
32 return Arrays.equals((double[]) wanted, (double[]) actual);
34 return Arrays.equals((float[]) wanted, (float[]) actual);
36 return Arrays.equals((int[]) wanted, (int[]) actual);
38 return Arrays.equals((long[]) wanted, (long[]) actual);
40 return Arrays.equals((short[]) wanted, (short[]) actual);
42 return Arrays.equals((Object[]) wanted, (Object[]) actual)
    [all...]
  /libcore/luni/src/main/java/libcore/util/
Objects.java 21 import java.util.Arrays;
64 sb.append(Arrays.toString((boolean[]) value));
66 sb.append(Arrays.toString((byte[]) value));
68 sb.append(Arrays.toString((char[]) value));
70 sb.append(Arrays.toString((double[]) value));
72 sb.append(Arrays.toString((float[]) value));
74 sb.append(Arrays.toString((int[]) value));
76 sb.append(Arrays.toString((long[]) value));
78 sb.append(Arrays.toString((short[]) value));
80 sb.append(Arrays.toString((Object[]) value))
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
GCMParameterSpecTest.java 19 import java.util.Arrays;
80 assertEquals(Arrays.toString(TEST_IV), Arrays.toString(actual));
88 Arrays.equals(spec.getIV(), actual));
89 assertEquals(Arrays.toString(TEST_IV), Arrays.toString(spec.getIV()));
94 assertEquals(Arrays.toString(Arrays.copyOfRange(TEST_IV, 2, 6)),
95 Arrays.toString(spec.getIV()));
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
DHValidationParameters.java 3 import org.bouncycastle.util.Arrays;
43 return Arrays.areEqual(this.seed, other.seed);
48 return counter ^ Arrays.hashCode(seed);
DSAValidationParameters.java 3 import org.bouncycastle.util.Arrays;
45 return counter ^ Arrays.hashCode(seed);
63 return Arrays.areEqual(this.seed, other.seed);
  /frameworks/base/tools/preload/
Policy.java 17 import java.util.Arrays;
42 private static final Set<String> SERVICES = new HashSet<String>(Arrays.asList(
62 = new HashSet<String>(Arrays.asList(
  /libcore/luni/src/main/java/org/apache/harmony/security/x509/
Extension.java 27 import java.util.Arrays;
204 return Arrays.equals(extnID, extension.extnID)
206 && Arrays.equals(extnValue, extension.extnValue);
210 return (Arrays.hashCode(extnID) * 37 + (critical ? 1 : 0)) * 37 + Arrays.hashCode(extnValue);
252 if (Arrays.equals(extnID, SUBJ_KEY_ID)) {
254 } else if (Arrays.equals(extnID, KEY_USAGE)) {
256 } else if (Arrays.equals(extnID, SUBJECT_ALT_NAME)) {
259 } else if (Arrays.equals(extnID, ISSUER_ALTERNATIVE_NAME)) {
262 } else if (Arrays.equals(extnID, BASIC_CONSTRAINTS))
    [all...]
  /external/chromium_org/sync/android/javatests/src/org/chromium/sync/notifier/
InvalidationClientNameProviderTest.java 12 import java.util.Arrays;
32 assertTrue("Expected returned IDs to be consistent", Arrays.equals(id1, id2));
43 Arrays.equals(id2, id3));
55 assertTrue("Custom generators should return consistent IDs", Arrays.equals(id, id2));

Completed in 718 milliseconds

1 2 3 4 5 6 7 8 91011>>