Home
last modified time | relevance | path

Searched defs:array (Results 1 – 25 of 1102) sorted by relevance

12345678910>>...45

/external/guava/guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/testers/
DCollectionToArrayTester.java43 Object[] array = collection.toArray(); in testToArray_noArgs() local
44 expectArrayContentsAnyOrder(createSamplesArray(), array); in testToArray_noArgs() local
56 Object[] array = collection.toArray(); in testToArray_isPlainObjectArray() local
62 E[] array = collection.toArray(empty); in testToArray_emptyArray() local
66 expectArrayContentsAnyOrder(createSamplesArray(), array); in testToArray_emptyArray() local
72 E[] array = collection.toArray(empty); in testToArray_emptyArray_ordered() local
76 expectArrayContentsInOrder(getOrderedElements(), array); in testToArray_emptyArray_ordered() local
81 Object[] array = collection.toArray(in); in testToArray_emptyArrayOfObject() local
86 expectArrayContentsAnyOrder(createSamplesArray(), array); in testToArray_emptyArrayOfObject() local
90 E[] array = getSubjectGenerator().createArray(getNumElements()); in testToArray_rightSizedArray() local
[all …]
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
DCollectionToArrayTester.java46 Object[] array = collection.toArray(); in testToArray_noArgs() local
47 expectArrayContentsAnyOrder(createSamplesArray(), array); in testToArray_noArgs() local
59 Object[] array = collection.toArray(); in testToArray_isPlainObjectArray() local
65 E[] array = collection.toArray(empty); in testToArray_emptyArray() local
69 expectArrayContentsAnyOrder(createSamplesArray(), array); in testToArray_emptyArray() local
75 E[] array = collection.toArray(empty); in testToArray_emptyArray_ordered() local
79 expectArrayContentsInOrder(getOrderedElements(), array); in testToArray_emptyArray_ordered() local
84 Object[] array = collection.toArray(in); in testToArray_emptyArrayOfObject() local
89 expectArrayContentsAnyOrder(createSamplesArray(), array); in testToArray_emptyArrayOfObject() local
93 E[] array = getSubjectGenerator().createArray(getNumElements()); in testToArray_rightSizedArray() local
[all …]
DSetCreationTester.java44 E[] array = createArrayWithNullElement(); in testCreateWithDuplicates_nullDuplicatesNotRejected() local
56 E[] array = createSamplesArray(); in testCreateWithDuplicates_nonNullDuplicatesNotRejected() local
69 E[] array = createArrayWithNullElement(); in testCreateWithDuplicates_nullDuplicatesRejected() local
81 E[] array = createSamplesArray(); in testCreateWithDuplicates_nonNullDuplicatesRejected() local
/external/caliper/examples/src/main/java/examples/
DCopyArrayBenchmark.java50 @Override Object[] copy(Object[] array) { in copy()
53 @Override boolean[] copy(boolean[] array) { in copy()
56 @Override byte[] copy(byte[] array) { in copy()
59 @Override char[] copy(char[] array) { in copy()
62 @Override double[] copy(double[] array) { in copy()
65 @Override float[] copy(float[] array) { in copy()
68 @Override int[] copy(int[] array) { in copy()
71 @Override long[] copy(long[] array) { in copy()
74 @Override short[] copy(short[] array) { in copy()
79 @Override Object[] copy(Object[] array) { in copy()
[all …]
/external/kmod/shared/
Darray.h9 struct array { struct
10 void **array; argument
16 void array_init(struct array *array, size_t step); argument
Darray.c30 static int array_realloc(struct array *array, size_t new_total) in array_realloc()
40 void array_init(struct array *array, size_t step) in array_init()
49 int array_append(struct array *array, const void *element) in array_append()
64 int array_append_unique(struct array *array, const void *element) in array_append_unique()
74 void array_pop(struct array *array) { in array_pop()
83 void array_free_array(struct array *array) { in array_free_array()
90 void array_sort(struct array *array, int (*cmp)(const void *a, const void *b)) in array_sort()
95 int array_remove_at(struct array *array, unsigned int pos) in array_remove_at()
/external/proguard/src/proguard/util/
DArrayUtil.java151 public static int hashCode(byte[] array, int size) in hashCode()
170 public static int hashCode(short[] array, int size) in hashCode()
189 public static int hashCode(int[] array, int size) in hashCode()
208 public static int hashCode(Object[] array, int size) in hashCode()
227 public static int hashCodeOrNull(Object[] array) in hashCodeOrNull()
240 public static int hashCodeOrNull(Object[] array, int size) in hashCodeOrNull()
385 public static boolean[] extendArray(boolean[] array, int size) in extendArray()
412 public static boolean[] ensureArraySize(boolean[] array, in ensureArraySize()
445 public static byte[] add(byte[] array, int size, byte element) in add()
464 public static byte[] insert(byte[] array, int size, int index, byte element) in insert()
[all …]
/external/clang/test/Sema/
Dwarn-char-subscripts.c4 int array[1] = { 0 }; in t1() local
10 int array[1] = { 0 }; in t2() local
16 int *array = 0; in t3() local
22 int *array = 0; in t4() local
29 int *array = 0; in t5() local
34 int array[1] = { 0 }; in t6() local
40 int array[1] = { 0 }; in t7() local
47 int array[1] = { 0 }; in t8() local
54 int array[1] = { 0 }; in t9() local
61 int array[1] = { 0 }; in t10() local
/external/compiler-rt/test/asan/TestCases/
Dstrtoll_strict.c33 void test1(char *array, char *endptr) { in test1()
40 void test2(char *array, char *endptr) { in test2()
48 void test3(char *array, char *endptr) { in test3()
57 void test4(char *array, char *endptr) { in test4()
63 void test5(char *array, char *endptr) { in test5()
72 void test6(char *array, char *endptr) { in test6()
81 void test7(char *array, char *endptr) { in test7()
90 char* array = array0 + 8; in main() local
Dstrtol_strict.c31 void test1(char *array, char *endptr) { in test1()
38 void test2(char *array, char *endptr) { in test2()
46 void test3(char *array, char *endptr) { in test3()
64 void test4(char *array, char *endptr) { in test4()
79 void test5(char *array, char *endptr) { in test5()
88 void test6(char *array, char *endptr) { in test6()
97 void test7(char *array, char *endptr) { in test7()
106 char* array = array0 + 8; in main() local
Datoi_strict.c17 void test1(char *array) { in test1()
25 void test2(char *array) { in test2()
32 void test3(char *array) { in test3()
42 char *array = (char*)malloc(10); in main() local
Datoll_strict.c20 void test1(char *array) { in test1()
28 void test2(char *array) { in test2()
35 void test3(char *array) { in test3()
45 char *array = (char*)malloc(10); in main() local
Datol_strict.c17 void test1(char *array) { in test1()
25 void test2(char *array) { in test2()
32 void test3(char *array) { in test3()
42 char *array = (char*)malloc(10); in main() local
/external/eigen/unsupported/Eigen/CXX11/src/util/
DEmulateArray.h44 EIGEN_STRONG_INLINE array() { } in array() function
46 EIGEN_STRONG_INLINE array(const T& v) { in array() function
51 EIGEN_STRONG_INLINE array(const T& v1, const T& v2) { in array() function
57 EIGEN_STRONG_INLINE array(const T& v1, const T& v2, const T& v3) { in array() function
64 EIGEN_STRONG_INLINE array(const T& v1, const T& v2, const T& v3, in array() function
73 EIGEN_STRONG_INLINE array(const T& v1, const T& v2, const T& v3, const T& v4, in array() function
83 EIGEN_STRONG_INLINE array(const T& v1, const T& v2, const T& v3, const T& v4, in array() function
94 EIGEN_STRONG_INLINE array(const T& v1, const T& v2, const T& v3, const T& v4, in array() function
106 EIGEN_STRONG_INLINE array( in array() function
122 EIGEN_STRONG_INLINE array(std::initializer_list<T> l) { in array() function
[all …]
/external/libcxx/test/std/algorithms/alg.modifying.operations/alg.partitions/
Dstable_partition.pass.cpp42 P array[] = in test() local
71 P array[] = in test() local
111 P array[] = in test() local
140 P array[] = in test() local
169 P array[] = in test() local
198 P array[] = in test() local
227 P array[] = in test() local
256 P array[] = in test() local
298 std::unique_ptr<int> array[size]; in test1() local
/external/mesa3d/src/egl/main/
Deglarray.c40 _eglGrowArray(_EGLArray *array) in _eglGrowArray()
69 _EGLArray *array; in _eglCreateArray() local
89 _eglDestroyArray(_EGLArray *array, void (*free_cb)(void *)) in _eglDestroyArray()
105 _eglAppendArray(_EGLArray *array, void *elem) in _eglAppendArray()
118 _eglEraseArray(_EGLArray *array, EGLint i, void (*free_cb)(void *)) in _eglEraseArray()
134 _eglFindArray(_EGLArray *array, void *elem) in _eglFindArray()
152 _eglFilterArray(_EGLArray *array, void **data, EGLint size, in _eglFilterArray()
190 _eglFlattenArray(_EGLArray *array, void *buffer, EGLint elem_size, EGLint size, in _eglFlattenArray()
/external/clang/test/SemaCXX/
Dstatic-array-member.cpp4 static int array[]; member
10 int X0::array[sizeof(X0) * 2]; member in X0
14 static T array[]; member
18 T X1<T, N>::array[N]; member in X1<T, N>
/external/r8/src/test/examples/arrayaccess/
DArrayAccess.java23 char[] array = new char[i + 2]; in loadStoreChar() local
30 short[] array = new short[i + 2]; in loadStoreShort() local
37 float[] array = new float[i + 2]; in loadStoreFloat() local
44 double[] array = new double[i + 2]; in loadStoreDouble() local
51 Object[] array = new Object[i + 2]; in loadStoreObject() local
58 Object[][] array = new Object[i + 2][]; in loadStoreArray() local
/external/guava/guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/
DChars.java129 public static boolean contains(char[] array, char target) { in contains()
147 public static int indexOf(char[] array, char target) { in indexOf()
153 char[] array, char target, int start, int end) { in indexOf()
173 public static int indexOf(char[] array, char[] target) { in indexOf()
201 public static int lastIndexOf(char[] array, char target) { in lastIndexOf()
207 char[] array, char target, int start, int end) { in lastIndexOf()
224 public static char min(char... array) { in min()
243 public static char max(char... array) { in max()
294 char[] array, int minLength, int padding) { in ensureCapacity()
318 public static String join(String separator, char... array) { in join()
[all …]
DFloats.java112 public static boolean contains(float[] array, float target) { in contains()
131 public static int indexOf(float[] array, float target) { in indexOf()
137 float[] array, float target, int start, int end) { in indexOf()
160 public static int indexOf(float[] array, float[] target) { in indexOf()
189 public static int lastIndexOf(float[] array, float target) { in lastIndexOf()
195 float[] array, float target, int start, int end) { in lastIndexOf()
213 public static float min(float... array) { in min()
231 public static float max(float... array) { in max()
316 float[] array, int minLength, int padding) { in ensureCapacity()
345 public static String join(String separator, float... array) { in join()
[all …]
DDoubles.java115 public static boolean contains(double[] array, double target) { in contains()
134 public static int indexOf(double[] array, double target) { in indexOf()
140 double[] array, double target, int start, int end) { in indexOf()
163 public static int indexOf(double[] array, double[] target) { in indexOf()
192 public static int lastIndexOf(double[] array, double target) { in lastIndexOf()
198 double[] array, double target, int start, int end) { in lastIndexOf()
216 public static double min(double... array) { in min()
234 public static double max(double... array) { in max()
319 double[] array, int minLength, int padding) { in ensureCapacity()
348 public static String join(String separator, double... array) { in join()
[all …]
/external/kmod/testsuite/
Dtest-array.c31 struct array array; in test_array_append1() local
48 struct array array; in test_array_append2() local
70 struct array array; in test_array_append_unique() local
102 struct array array; in test_array_sort() local
131 struct array array; in test_array_remove_at() local
171 struct array array; in test_array_pop() local
/external/guava/guava/src/com/google/common/primitives/
DFloats.java116 public static boolean contains(float[] array, float target) { in contains()
135 public static int indexOf(float[] array, float target) { in indexOf()
141 float[] array, float target, int start, int end) { in indexOf()
164 public static int indexOf(float[] array, float[] target) { in indexOf()
193 public static int lastIndexOf(float[] array, float target) { in lastIndexOf()
199 float[] array, float target, int start, int end) { in lastIndexOf()
217 public static float min(float... array) { in min()
235 public static float max(float... array) { in max()
320 float[] array, int minLength, int padding) { in ensureCapacity()
349 public static String join(String separator, float... array) { in join()
[all …]
DChars.java131 public static boolean contains(char[] array, char target) { in contains()
149 public static int indexOf(char[] array, char target) { in indexOf()
155 char[] array, char target, int start, int end) { in indexOf()
175 public static int indexOf(char[] array, char[] target) { in indexOf()
203 public static int lastIndexOf(char[] array, char target) { in lastIndexOf()
209 char[] array, char target, int start, int end) { in lastIndexOf()
226 public static char min(char... array) { in min()
245 public static char max(char... array) { in max()
345 char[] array, int minLength, int padding) { in ensureCapacity()
369 public static String join(String separator, char... array) { in join()
[all …]
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DObjectArrays.java59 public static <T> T[] concat(@Nullable T element, T[] array) { in concat()
75 public static <T> T[] concat(T[] array, @Nullable T element) { in concat()
113 static <T> T[] toArrayImpl(Collection<?> c, T[] array) { in toArrayImpl()
179 private static Object[] fillArray(Iterable<?> elements, Object[] array) { in fillArray()
190 static void swap(Object[] array, int i, int j) { in swap()
196 static Object[] checkElementsNotNull(Object... array) { in checkElementsNotNull()
200 static Object[] checkElementsNotNull(Object[] array, int length) { in checkElementsNotNull()

12345678910>>...45