Home
last modified time | relevance | path

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

12345678910>>...79

/external/pigweed/pw_minimal_cpp_stdlib/public/internal/
Darray.h23 struct array { struct
24 using value_type = T;
25 using size_type = decltype(kSize);
26 using difference_type =
28 using reference = value_type&;
29 using const_reference = const value_type&;
30 using pointer = value_type*;
31 using const_pointer = const value_type*;
32 using iterator = T*;
33 using const_iterator = const T*;
[all …]
/external/guava/android/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
58 Object[] array = collection.toArray(); in testToArray_isPlainObjectArray() local
64 E[] array = collection.toArray(empty); in testToArray_emptyArray() local
68 expectArrayContentsAnyOrder(createSamplesArray(), array); in testToArray_emptyArray() local
74 E[] array = collection.toArray(empty); in testToArray_emptyArray_ordered() local
78 expectArrayContentsInOrder(getOrderedElements(), array); in testToArray_emptyArray_ordered() local
83 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 …]
/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
58 Object[] array = collection.toArray(); in testToArray_isPlainObjectArray() local
64 E[] array = collection.toArray(empty); in testToArray_emptyArray() local
68 expectArrayContentsAnyOrder(createSamplesArray(), array); in testToArray_emptyArray() local
74 E[] array = collection.toArray(empty); in testToArray_emptyArray_ordered() local
78 expectArrayContentsInOrder(getOrderedElements(), array); in testToArray_emptyArray_ordered() local
83 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 …]
/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; 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/exoplayer/tree/library/common/src/test/java/com/google/android/exoplayer2/util/
DParsableNalUnitBitArrayTest.java36 ParsableNalUnitBitArray array = in readNoEscaping() local
48 ParsableNalUnitBitArray array = new ParsableNalUnitBitArray(NO_ESCAPING_TEST_DATA, 0, 4); in readNoEscapingTruncated() local
62 ParsableNalUnitBitArray array = in readAllEscaping() local
74 ParsableNalUnitBitArray array = in readMix() local
88 ParsableNalUnitBitArray array = new ParsableNalUnitBitArray(createByteArray(0x9E), 0, 1); in readExpGolomb() local
104 ParsableNalUnitBitArray array = in readExpGolombWithEscaping() local
115 ParsableNalUnitBitArray array = new ParsableNalUnitBitArray(createByteArray(0, 0), 0, 2); in reset() local
/external/llvm-project/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/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
/external/llvm-project/compiler-rt/test/asan/TestCases/
Dstrtoll_strict.c34 void test1(char *array, char *endptr) { in test1()
41 void test2(char *array, char *endptr) { in test2()
49 void test3(char *array, char *endptr) { in test3()
58 void test4(char *array, char *endptr) { in test4()
64 void test5(char *array, char *endptr) { in test5()
73 void test6(char *array, char *endptr) { in test6()
82 void test7(char *array, char *endptr) { in test7()
91 char* array = array0 + 8; in main() local
Dstrtol_strict.c32 void test1(char *array, char *endptr) { in test1()
39 void test2(char *array, char *endptr) { in test2()
47 void test3(char *array, char *endptr) { in test3()
65 void test4(char *array, char *endptr) { in test4()
80 void test5(char *array, char *endptr) { in test5()
89 void test6(char *array, char *endptr) { in test6()
98 void test7(char *array, char *endptr) { in test7()
107 char* array = array0 + 8; 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/llvm-project/libcxx/test/std/containers/sequences/array/array.cons/
Dimplicit_copy.pass.cpp45 Array array = {1.1, 2.2, 3.3}; in tests() local
53 Array array = {1.1, 2.2, 3.3}; in tests() local
60 Array array = {}; in tests() local
69 Array array = {}; in tests() local
76 Array array = {}; in tests() local
84 Array array = {}; in tests() local
93 Array array = {}; in tests() local
100 Array array = {}; in tests() local
107 Array array = {}; in tests() local
/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/llvm-project/libcxx/test/std/algorithms/alg.modifying.operations/alg.partitions/
Dstable_partition.pass.cpp41 P array[] = in test() local
70 P array[] = in test() local
110 P array[] = in test() local
139 P array[] = in test() local
168 P array[] = in test() local
197 P array[] = in test() local
226 P array[] = in test() local
255 P array[] = in test() local
297 std::unique_ptr<int> array[size]; in test1() local
/external/llvm-project/lldb/source/Host/macosx/cfcpp/
DCFCMutableArray.cpp35 CFMutableArrayRef array = get(); in GetCount() local
43 CFMutableArrayRef array = get(); in GetCountOfValue() local
50 CFMutableArrayRef array = get(); in GetCountOfValue() local
57 CFMutableArrayRef array = get(); in GetValueAtIndex() local
68 CFMutableArrayRef array = get(); in SetValueAtIndex() local
80 CFMutableArrayRef array = get(); in AppendValue() local
98 CFMutableArrayRef array = get(); in AppendCStringAsCFString() local
116 CFMutableArrayRef array = get(); in AppendFileSystemRepresentationAsCFString() local
/external/guava/android/guava/src/com/google/common/primitives/
DChars.java127 public static boolean contains(char[] array, char target) { in contains()
144 public static int indexOf(char[] array, char target) { in indexOf()
149 private static int indexOf(char[] array, char target, int start, int end) { in indexOf()
168 public static int indexOf(char[] array, char[] target) { in indexOf()
195 public static int lastIndexOf(char[] array, char target) { in lastIndexOf()
200 private static int lastIndexOf(char[] array, char target, int start, int end) { in lastIndexOf()
217 public static char min(char... array) { in min()
236 public static char max(char... array) { in max()
341 public static char[] ensureCapacity(char[] array, int minLength, int padding) { in ensureCapacity()
355 public static String join(String separator, char... array) { in join()
[all …]
DFloats.java113 public static boolean contains(float[] array, float target) { in contains()
131 public static int indexOf(float[] array, float target) { in indexOf()
136 private static int indexOf(float[] array, float target, int start, int end) { in indexOf()
157 public static int indexOf(float[] array, float[] target) { in indexOf()
185 public static int lastIndexOf(float[] array, float target) { in lastIndexOf()
190 private static int lastIndexOf(float[] array, float target, int start, int end) { in lastIndexOf()
210 public static float min(float... array) { in min()
230 public static float max(float... array) { in max()
335 public static float[] ensureCapacity(float[] array, int minLength, int padding) { in ensureCapacity()
353 public static String join(String separator, float... array) { in join()
[all …]
/external/guava/guava/src/com/google/common/primitives/
DFloats.java113 public static boolean contains(float[] array, float target) { in contains()
131 public static int indexOf(float[] array, float target) { in indexOf()
136 private static int indexOf(float[] array, float target, int start, int end) { in indexOf()
157 public static int indexOf(float[] array, float[] target) { in indexOf()
185 public static int lastIndexOf(float[] array, float target) { in lastIndexOf()
190 private static int lastIndexOf(float[] array, float target, int start, int end) { in lastIndexOf()
210 public static float min(float... array) { in min()
230 public static float max(float... array) { in max()
335 public static float[] ensureCapacity(float[] array, int minLength, int padding) { in ensureCapacity()
353 public static String join(String separator, float... array) { in join()
[all …]
DChars.java127 public static boolean contains(char[] array, char target) { in contains()
144 public static int indexOf(char[] array, char target) { in indexOf()
149 private static int indexOf(char[] array, char target, int start, int end) { in indexOf()
168 public static int indexOf(char[] array, char[] target) { in indexOf()
195 public static int lastIndexOf(char[] array, char target) { in lastIndexOf()
200 private static int lastIndexOf(char[] array, char target, int start, int end) { in lastIndexOf()
217 public static char min(char... array) { in min()
236 public static char max(char... array) { in max()
341 public static char[] ensureCapacity(char[] array, int minLength, int padding) { in ensureCapacity()
355 public static String join(String separator, char... array) { in join()
[all …]
/external/llvm-project/lldb/test/API/lang/cpp/non-type-template-param/
Dmain.cpp1 template <int Size> struct array { struct
3 array() {} in array() argument

12345678910>>...79