Home
last modified time | relevance | path

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

12345678910>>...59

/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/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/kmod/shared/
Darray.h9 struct array { struct
10 void **array; member
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/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
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
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
/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.c41 _eglGrowArray(_EGLArray *array) in _eglGrowArray()
70 _EGLArray *array; in _eglCreateArray() local
90 _eglDestroyArray(_EGLArray *array, void (*free_cb)(void *)) in _eglDestroyArray()
106 _eglAppendArray(_EGLArray *array, void *elem) in _eglAppendArray()
119 _eglEraseArray(_EGLArray *array, EGLint i, void (*free_cb)(void *)) in _eglEraseArray()
135 _eglFindArray(_EGLArray *array, void *elem) in _eglFindArray()
153 _eglFilterArray(_EGLArray *array, void **data, EGLint size, in _eglFilterArray()
181 _eglFlattenArray(_EGLArray *array, void *buffer, EGLint elem_size, EGLint size, in _eglFlattenArray()
/external/minigbm/
Dhelpers_array.c23 struct drv_array *array; in drv_array_init() local
34 void *drv_array_append(struct drv_array *array, void *data) in drv_array_append()
53 void drv_array_remove(struct drv_array *array, uint32_t idx) in drv_array_remove()
76 void *drv_array_at_idx(struct drv_array *array, uint32_t idx) in drv_array_at_idx()
82 uint32_t drv_array_size(struct drv_array *array) in drv_array_size()
87 void drv_array_destroy(struct drv_array *array) in drv_array_destroy()
/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/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/oj-libjdwp/src/share/back/
DArrayReferenceImpl.c37 jarray array = inStream_readArrayRef(env, in); in length() local
71 jarray array, jint index, jint length) in writeBooleanComponents()
88 jarray array, jint index, jint length) in writeByteComponents()
105 jarray array, jint index, jint length) in writeCharComponents()
122 jarray array, jint index, jint length) in writeShortComponents()
139 jarray array, jint index, jint length) in writeIntComponents()
156 jarray array, jint index, jint length) in writeLongComponents()
173 jarray array, jint index, jint length) in writeFloatComponents()
190 jarray array, jint index, jint length) in writeDoubleComponents()
207 jarray array, jint index, jint length) in writeObjectComponents()
[all …]
/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 …]
DDoubles.java120 public static boolean contains(double[] array, double target) { in contains()
139 public static int indexOf(double[] array, double target) { in indexOf()
145 double[] array, double target, int start, int end) { in indexOf()
168 public static int indexOf(double[] array, double[] target) { in indexOf()
197 public static int lastIndexOf(double[] array, double target) { in lastIndexOf()
203 double[] array, double target, int start, int end) { in lastIndexOf()
221 public static double min(double... array) { in min()
239 public static double max(double... array) { in max()
324 double[] array, int minLength, int padding) { in ensureCapacity()
353 public static String join(String separator, double... array) { in join()
[all …]

12345678910>>...59