/external/robolectric/src/test/java/com/xtremelabs/robolectric/res/ |
StringArrayResourceLoaderTest.java | 8 import java.util.Arrays; 37 assertThat(Arrays.asList(stringArrayResourceLoader.getArrayValue(R.array.items)), hasItems("foo", "bar")); 42 assertThat(Arrays.asList(stringArrayResourceLoader.getArrayValue(R.array.greetings)), hasItems("hola", "Hello")); 47 assertThat(Arrays.asList(stringArrayResourceLoader.getArrayValue(android.R.array.emailAddressTypes)), hasItems("Home", "Work", "Other", "Custom")); 48 assertThat(Arrays.asList(stringArrayResourceLoader.getArrayValue(R.array.emailAddressTypes)), hasItems("Doggy", "Catty"));
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
RadioGroupTest.java | 9 import java.util.Arrays; 35 assertEquals(Arrays.asList(BUTTON_ID), listener.onCheckedChangedCheckedIds); 36 assertEquals(Arrays.asList(radioGroup), listener.onCheckedChangedGroups); 48 assertEquals(Arrays.asList(BUTTON_ID, -1), listener.onCheckedChangedCheckedIds); 49 assertEquals(Arrays.asList(radioGroup, radioGroup), listener.onCheckedChangedGroups);
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
LoggingPrintStreamTest.java | 24 import java.util.Arrays; 47 assertEquals(Arrays.asList(lines), out.lines); 56 assertEquals(Arrays.asList("4" + o + "2"), out.lines); 65 assertEquals(Arrays.asList("4" + o, "2"), out.lines); 70 assertEquals(Arrays.asList("Name: Bob"), out.lines); 72 assertEquals(Arrays.asList("Name: Bob", "Employer: Google"), out.lines); 86 assertEquals(Arrays.asList("4", "2"), out.lines); 91 assertEquals(Arrays.asList("Foo", "Bar"), out.lines); 93 assertEquals(Arrays.asList("Foo", "Bar", "Tee"), out.lines); 98 assertEquals(Arrays.asList("Foo", "Bar"), out.lines) [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/ |
DSAValidationParameters.java | 3 import org.bouncycastle.util.Arrays; 45 return counter ^ Arrays.hashCode(seed); 63 return Arrays.areEqual(this.seed, other.seed);
|
/external/mockito/cglib-and-asm/src/org/mockito/cglib/util/ |
ParallelSorter.java | 25 * For the efficient sorting of multiple arrays in parallel. 27 * Given two arrays of equal length and varying types, the standard 31 * back into their respective arrays. This is wasteful in both time and 35 * arrays you need to sort, in such a way that both arrays are sorted 56 abstract public ParallelSorter newInstance(Object[] arrays); 59 * Create a new ParallelSorter object for a set of arrays. You may 60 * sort the arrays multiple times via the same ParallelSorter object. 61 * @param arrays An array of arrays to sort. The arrays may be a mi 257 private Object[] arrays; field in class:ParallelSorter.Generator [all...] |
/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/guava/guava-tests/test/com/google/common/primitives/ |
BooleansTest.java | 27 import java.util.Arrays; 92 assertTrue(Arrays.equals(EMPTY, Booleans.concat())); 93 assertTrue(Arrays.equals(EMPTY, Booleans.concat(EMPTY))); 94 assertTrue(Arrays.equals(EMPTY, Booleans.concat(EMPTY, EMPTY, EMPTY))); 95 assertTrue(Arrays.equals(ARRAY_FALSE, Booleans.concat(ARRAY_FALSE))); 97 assertTrue(Arrays.equals(ARRAY_FALSE, Booleans.concat(EMPTY, ARRAY_FALSE, EMPTY))); 98 assertTrue(Arrays.equals( 101 assertTrue(Arrays.equals( 110 assertTrue(Arrays.equals( 138 List<boolean[]> ordered = Arrays.asList [all...] |
BytesTest.java | 26 import java.util.Arrays; 125 assertTrue(Arrays.equals(EMPTY, Bytes.concat())); 126 assertTrue(Arrays.equals(EMPTY, Bytes.concat(EMPTY))); 127 assertTrue(Arrays.equals(EMPTY, Bytes.concat(EMPTY, EMPTY, EMPTY))); 128 assertTrue(Arrays.equals(ARRAY1, Bytes.concat(ARRAY1))); 130 assertTrue(Arrays.equals(ARRAY1, Bytes.concat(EMPTY, ARRAY1, EMPTY))); 131 assertTrue(Arrays.equals( 134 assertTrue(Arrays.equals( 143 assertTrue(Arrays.equals( 164 List<Byte> none = Arrays.<Byte>asList() [all...] |
/external/junit/src/org/junit/internal/runners/ |
InitializationError.java | 3 import java.util.Arrays; 20 this(Arrays.asList(errors));
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/util/ |
Transcript.java | 4 import java.util.Arrays; 21 assertEquals(Arrays.asList(expectedEvents), events);
|
/frameworks/support/v4/jellybean/android/support/v4/app/ |
BundleUtil.java | 6 import java.util.Arrays; 22 Bundle[] typedArray = Arrays.copyOf(array, array.length,
|
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
SSLParametersTest.java | 19 import java.util.Arrays; 38 assertEquals(Arrays.asList(cipherSuites), Arrays.asList(p.getCipherSuites())); 52 assertEquals(Arrays.asList(cipherSuites), Arrays.asList(p.getCipherSuites())); 53 assertEquals(Arrays.asList(protocols), Arrays.asList(p.getProtocols())); 67 assertEquals(Arrays.asList(cipherSuites), Arrays.asList(p.getCipherSuites())); 82 assertEquals(Arrays.asList(protocols), Arrays.asList(p.getProtocols())) [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/nouveau/ |
nouveau_vbo_t.c | 39 /* Functions to turn GL arrays or index buffers into nouveau_array 56 const struct gl_client_array **arrays) 67 const struct gl_client_array *array = arrays[attr]; 79 const struct gl_client_array **arrays) 103 vbo_choose_render_mode(struct gl_context *ctx, const struct gl_client_array **arrays) 112 if (arrays[VERT_ATTRIB_GENERIC0 + i]->StrideB) { 121 vbo_emit_attr(struct gl_context *ctx, const struct gl_client_array **arrays, 126 const struct gl_client_array *array = arrays[attr]; 161 vbo_choose_attrs(struct gl_context *ctx, const struct gl_client_array **arrays) 170 vbo_emit_attr(ctx, arrays, VERT_ATTRIB_COLOR0) 459 const struct gl_client_array **arrays = ctx->Array._DrawArrays; local [all...] |
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
nouveau_vbo_t.c | 39 /* Functions to turn GL arrays or index buffers into nouveau_array 56 const struct gl_client_array **arrays) 67 const struct gl_client_array *array = arrays[attr]; 79 const struct gl_client_array **arrays) 103 vbo_choose_render_mode(struct gl_context *ctx, const struct gl_client_array **arrays) 112 if (arrays[VERT_ATTRIB_GENERIC0 + i]->StrideB) { 121 vbo_emit_attr(struct gl_context *ctx, const struct gl_client_array **arrays, 126 const struct gl_client_array *array = arrays[attr]; 161 vbo_choose_attrs(struct gl_context *ctx, const struct gl_client_array **arrays) 170 vbo_emit_attr(ctx, arrays, VERT_ATTRIB_COLOR0) 459 const struct gl_client_array **arrays = ctx->Array._DrawArrays; local [all...] |
/dalvik/dx/tests/077-dex-code-alignment/ |
info.txt | 2 code arrays are 4-byte aligned within a dex file.
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
DERGeneralString.java | 5 import org.bouncycastle.util.Arrays; 76 return Arrays.clone(string); 97 return Arrays.hashCode(string); 108 return Arrays.areEqual(string, s.string);
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/ |
r200_maos.c | 3 /* Currently, can only use arrays, verts are not implemented, though
|
/external/llvm/test/Other/ |
2009-09-14-function-elements.ll | 3 ; Arrays and structures with function types (not function pointers) are illegal.
|
/external/llvm/test/Verifier/ |
llvm.used-invalid-type2.ll | 4 ; CHECK: Only global arrays can have appending linkage!
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
r200_maos.c | 3 /* Currently, can only use arrays, verts are not implemented, though
|
/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...] |
/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")));
|
/external/chromium_org/ppapi/native_client/src/trusted/plugin/ |
srpc_params.cc | 47 free(arg->arrays.carr); 50 free(arg->arrays.darr); 55 free(arg->arrays.iarr); 58 free(arg->arrays.larr); 64 free(arg->arrays.str); 67 if (arg->arrays.varr) { 69 FreeSrpcArg(&arg->arrays.varr[i]);
|
/external/deqp/doc/testspecs/GLES3/ |
functional.shaders.arrays.txt | 22 + dEQP-GLES3.functional.shaders.arrays.* 27 + Arrays as return values 28 + Arrays as unnamed parameters in function prototypes 30 + Negative tests for illegal multi-dimensional arrays 37 Array tests receive input values and construct different type arrays to 40 Negative tests verify that multidimensional arrays cannot be defined, 41 arrays cannot be formed using C-style array syntax and that given array
|