| /external/pigweed/pw_minimal_cpp_stdlib/public/pw_minimal_cpp_stdlib/internal/ |
| D | array.h | 23 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/llvm-libc/src/__support/CPP/ |
| D | array.h | 19 template <class T, size_t N> struct array { struct 23 T Data[N]; 24 using value_type = T; 25 using iterator = T *; 26 using const_iterator = const T *; 27 using reverse_iterator = cpp::reverse_iterator<iterator>; 28 using const_reverse_iterator = cpp::reverse_iterator<const_iterator>; 30 LIBC_INLINE constexpr T *data() { return Data; } in data() 31 LIBC_INLINE constexpr const T *data() const { return Data; } in data() 33 LIBC_INLINE constexpr T &front() { return Data[0]; } in front() [all …]
|
| /external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
| D | CollectionToArrayTester.java | 46 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/android/guava-testlib/src/com/google/common/collect/testing/testers/ |
| D | CollectionToArrayTester.java | 46 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/apache-commons-lang/src/main/java/org/apache/commons/lang3/ |
| D | ArrayUtils.java | 211 public static boolean[] add(final boolean[] array, final boolean element) { in add() 248 public static boolean[] add(final boolean[] array, final int index, final boolean element) { in add() 274 public static byte[] add(final byte[] array, final byte element) { in add() 312 public static byte[] add(final byte[] array, final int index, final byte element) { in add() 338 public static char[] add(final char[] array, final char element) { in add() 377 public static char[] add(final char[] array, final int index, final char element) { in add() 404 public static double[] add(final double[] array, final double element) { in add() 442 public static double[] add(final double[] array, final int index, final double element) { in add() 468 public static float[] add(final float[] array, final float element) { in add() 506 public static float[] add(final float[] array, final int index, final float element) { in add() [all …]
|
| D | ArraySorter.java | 36 public static byte[] sort(final byte[] array) { in sort() 48 public static char[] sort(final char[] array) { in sort() 60 public static double[] sort(final double[] array) { in sort() 72 public static float[] sort(final float[] array) { in sort() 84 public static int[] sort(final int[] array) { in sort() 96 public static long[] sort(final long[] array) { in sort() 108 public static short[] sort(final short[] array) { in sort() 121 public static <T> T[] sort(final T[] array) { in sort() 136 public static <T> T[] sort(final T[] array, final Comparator<? super T> comparator) { in sort()
|
| /external/caliper/examples/src/main/java/examples/ |
| D | CopyArrayBenchmark.java | 50 @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/apache-commons-lang/src/test/java/org/apache/commons/lang3/ |
| D | ArrayUtilsTest.java | 77 final String[] array = ArrayUtils.toArray("foo", "bar"); in testArrayCreation() local 87 … final Number[] array = ArrayUtils.<Number>toArray(Integer.valueOf(42), Double.valueOf(Math.PI)); in testArrayCreationWithDifferentTypes() local 90 assertEquals(Double.valueOf(Math.PI), array[1]); in testArrayCreationWithDifferentTypes() local 204 final Object[] array = {"0", "1", "2", "3", null, "0"}; in testContains() local 217 final Object[] array = {"0", "1", "2", "3", null, "0"}; in testContainsAny() local 242 final Object[] array = new LANG1261ChildObject[]{new LANG1261ChildObject()}; in testContains_LANG_1261() local 273 char[] array = null; in testContainsChar() local 286 double[] array = null; in testContainsDouble() local 307 double[] array = null; in testContainsDoubleTolerance() local 319 float[] array = null; in testContainsFloat() local [all …]
|
| D | ArrayUtilsRemoveTest.java | 452 char[] array; in testRemoveCharArray() local 472 double[] array; in testRemoveDoubleArray() local 530 char[] array; in testRemoveElementCharArray() local 550 double[] array; in testRemoveElementDoubleArray() local 570 float[] array; in testRemoveElementFloatArray() local 589 int[] array; in testRemoveElementIntArray() local 609 long[] array; in testRemoveElementLongArray() local 628 Object[] array; in testRemoveElementObjectArray() local 647 short[] array; in testRemoveElementShortArray() local 666 float[] array; in testRemoveFloatArray() local [all …]
|
| D | ArrayUtilsRemoveMultipleTest.java | 187 char[] array; in testRemoveAllCharArray() local 259 double[] array; in testRemoveAllDoubleArray() local 331 float[] array; in testRemoveAllFloatArray() local 403 int[] array; in testRemoveAllIntArray() local 481 long[] array; in testRemoveAllLongArray() local 629 Object[] array; in testRemoveAllObjectArray() local 697 short[] array; in testRemoveAllShortArray() local 879 char[] array; in testRemoveElementCharArray() local 935 double[] array; in testRemoveElementDoubleArray() local 991 float[] array; in testRemoveElementFloatArray() local [all …]
|
| /external/skia/tests/ |
| D | SkSLMemoryLayoutTest.cpp | 379 auto array = SkSL::Type::MakeArrayType(context, "float[4]", *context.fTypes.fFloat, 4); in DEF_TEST() local 386 auto array = SkSL::Type::MakeArrayType(context, "half[4]", *context.fTypes.fHalf, 4); in DEF_TEST() local 393 auto array = SkSL::Type::MakeArrayType(context, "float2[4]", *context.fTypes.fFloat2, 4); in DEF_TEST() local 400 auto array = SkSL::Type::MakeArrayType(context, "float3[4]", *context.fTypes.fFloat3, 4); in DEF_TEST() local 407 auto array = SkSL::Type::MakeArrayType(context, "float4[4]", *context.fTypes.fFloat4, 4); in DEF_TEST() local 414 auto array = SkSL::Type::MakeArrayType(context, "mat3[4]", *context.fTypes.fFloat3x3, 4); in DEF_TEST() local 501 auto array = SkSL::Type::MakeArrayType(context, "A[3]", *structA, 3); in DEF_TEST() local 671 auto array = SkSL::Type::MakeArrayType(context, "float[4]", *context.fTypes.fFloat, 4); in DEF_TEST() local 678 auto array = SkSL::Type::MakeArrayType(context, "half[4]", *context.fTypes.fHalf, 4); in DEF_TEST() local 685 auto array = SkSL::Type::MakeArrayType(context, "float2[4]", *context.fTypes.fFloat2, 4); in DEF_TEST() local [all …]
|
| /external/sdv/vsomeip/third_party/boost/phoenix/test/algorithm/ |
| D | querying.cpp | 51 int array[] = {1,2,3}; in find_test() local 79 int array[] = {1,2,3}; in find_if_test() local 88 int array[] = {1,2,3,1,2,3,1}; in find_end_test() local 100 int array[] = {1,2,3}; in find_first_of_test() local 112 int array[] = {0,1,3,4,4}; in adjacent_find_test() local 121 int array[] = {1,1,0,1,1}; in count_test() local 129 int array[] = {1,2,3,4,5}; in count_if_test() local 137 int array[] = {1,1,0,1,1}; in distance_test() local 146 int array[] = {1,2,3,4,5}; in mismatch_test() local 164 int array[] = {1,2,3}; in equal_test() local [all …]
|
| D | transformation1.cpp | 58 int array[] = {1,2,3}; in copy_test() local 73 int array[] = {1,2,3}; in copy_backward_test() local 99 int array[] = {1,2,3}; in transform_test() local 121 int array[] = {1,2,3}; in replace_test() local 133 int array[] = {1,2,3}; in replace_if_test() local 173 int array[] = {0,0,0}; in fill_test() local 185 int array[] = {0,0,0}; in fill_n_test() local 210 int array[3]; in generate_test() local 222 int array[] = {0,0,1}; in generate_n_test() local 235 int array[] = {1,2,3}; in remove_test() local [all …]
|
| /external/tink/java_src/src/test/java/com/google/crypto/tink/util/ |
| D | SecretBytesTest.java | 34 SecretBytes array = SecretBytes.copyFrom(plainArray, InsecureSecretKeyAccess.get()); in testBasicWorks() local 41 SecretBytes array = SecretBytes.copyFrom(plainArray, InsecureSecretKeyAccess.get()); in testSize() local 53 SecretBytes array = SecretBytes.randomBytes(16); in testSecretAccessNull_toByteArray_throws() local 60 SecretBytes array = SecretBytes.copyFrom(plainArray, InsecureSecretKeyAccess.get()); in testImmutability_inputCopied() local 69 SecretBytes array = SecretBytes.copyFrom(plainArray, InsecureSecretKeyAccess.get()); in testImmutability_outputCopied() local 77 SecretBytes array = SecretBytes.randomBytes(8); in testEqualsSecretBytes_bitflips_different() local 90 SecretBytes array = SecretBytes.randomBytes(16); in testEqualsSecretBytes_lengths_different() local 100 SecretBytes array = SecretBytes.randomBytes(16); in testEqualsSecretBytes_equals() local 109 SecretBytes array = SecretBytes.randomBytes(16); in testRandomBytes_alwaysDifferent() local
|
| /external/sdv/vsomeip/third_party/boost/preprocessor/include/boost/preprocessor/array/ |
| D | enum.hpp | 27 # define BOOST_PP_ARRAY_ENUM_NOT_EMPTY(array) BOOST_PP_ARRAY_ENUM_I(BOOST_PP_TUPLE_REM_CTOR,… argument 31 # define BOOST_PP_ARRAY_ENUM_NOT_EMPTY(array) BOOST_PP_ARRAY_ENUM_I(array) argument 32 # define BOOST_PP_ARRAY_ENUM_I(array) BOOST_PP_TUPLE_REM_CTOR ## array argument 34 # define BOOST_PP_ARRAY_ENUM_NOT_EMPTY(array) BOOST_PP_TUPLE_REM_CTOR array argument 36 # define BOOST_PP_ARRAY_ENUM_EMPTY(array) argument 37 # define BOOST_PP_ARRAY_ENUM(array) BOOST_PP_IF(BOOST_PP_ARRAY_SIZE(array),BOOST_PP_ARRAY_ENUM_N… argument 39 # define BOOST_PP_ARRAY_ENUM(array) BOOST_PP_ARRAY_ENUM_I(BOOST_PP_TUPLE_REM_CTOR, array) argument 43 # define BOOST_PP_ARRAY_ENUM(array) BOOST_PP_ARRAY_ENUM_I(array) argument 44 # define BOOST_PP_ARRAY_ENUM_I(array) BOOST_PP_TUPLE_REM_CTOR ## array argument 46 # define BOOST_PP_ARRAY_ENUM(array) BOOST_PP_TUPLE_REM_CTOR array argument
|
| /external/zxing/core/src/test/java/com/google/zxing/common/ |
| D | BitArrayTestCase.java | 31 BitArray array = new BitArray(33); in testGetSet() local 41 BitArray array = new BitArray(32); in testGetNextSet1() local 53 BitArray array = new BitArray(33); in testGetNextSet2() local 67 BitArray array = new BitArray(63); in testGetNextSet3() local 85 BitArray array = new BitArray(63); in testGetNextSet4() local 105 BitArray array = new BitArray(1 + r.nextInt(100)); in testGetNextSet5() local 126 BitArray array = new BitArray(64); in testSetBulk() local 138 BitArray array = new BitArray(64); in testSetRange() local 149 BitArray array = new BitArray(32); in testClear() local 161 BitArray array = new BitArray(32); in testFlip() local [all …]
|
| /external/kmod/shared/ |
| D | array.h | 9 struct array { struct 10 void **array; member 16 void array_init(struct array *array, size_t step); argument
|
| D | array.c | 30 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/apache-commons-lang/src/test/java/org/apache/commons/lang3/builder/ |
| D | ToStringBuilderTest.java | 146 Object[] array = { null, base, new int[] { 3, 6 } }; in testReflectionObjectArray() local 155 long[] array = { 1, 2, -3, 4 }; in testReflectionLongArray() local 164 int[] array = { 1, 2, -3, 4 }; in testReflectionIntArray() local 173 short[] array = { 1, 2, -3, 4 }; in testReflectionShortArray() local 191 char[] array = { 'A', '2', '_', 'D' }; in testReflectionCharArray() local 200 double[] array = { 1.0, 2.9876, -3.00001, 4.3 }; in testReflectionDoubleArray() local 209 float[] array = { 1.0f, 2.9876f, -3.00001f, 4.3f }; in testReflectionFloatArray() local 229 float[][] array = { { 1.0f, 2.29686f }, null, { Float.NaN } }; in testReflectionFloatArrayArray() local 239 long[][] array = { { 1, 2 }, null, { 5 } }; in testReflectionLongArrayArray() local 248 int[][] array = { { 1, 2 }, null, { 5 } }; in testReflectionIntArrayArray() local [all …]
|
| /external/apache-commons-lang/src/main/java/org/apache/commons/lang3/builder/ |
| D | ToStringBuilder.java | 278 public ToStringBuilder append(final boolean[] array) { in append() 302 public ToStringBuilder append(final byte[] array) { in append() 326 public ToStringBuilder append(final char[] array) { in append() 350 public ToStringBuilder append(final double[] array) { in append() 374 public ToStringBuilder append(final float[] array) { in append() 398 public ToStringBuilder append(final int[] array) { in append() 422 public ToStringBuilder append(final long[] array) { in append() 446 public ToStringBuilder append(final Object[] array) { in append() 470 public ToStringBuilder append(final short[] array) { in append() 496 public ToStringBuilder append(final String fieldName, final boolean[] array) { in append() [all …]
|
| /external/clang/test/Sema/ |
| D | warn-char-subscripts.c | 4 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/llvm-libc/test/src/stdlib/ |
| D | qsort_test.cpp | 27 int array[25] = {10, 23, 33, 35, 55, 70, 71, 100, 110, in TEST() local 62 int array[25] = {25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, in TEST() local 73 int array[25] = {100, 100, 100, 100, 100, 100, 100, 100, 100, in TEST() local 85 int array[25] = {10, 23, 8, 35, 55, 45, 40, 100, 110, 123, 90, 80, 70, in TEST() local 119 int array[7] = {10, 40, 45, 55, 35, 23, 60}; in TEST() local 134 int array[6] = {10, 10, 20, 20, 5, 5}; in TEST() local 148 int array[10] = {20, 10, 10, 10, 10, 20, 21, 21, 21, 21}; in TEST() local 166 int array[10] = {20, 30, 30, 30, 30, 20, 21, 21, 21, 21}; in TEST() local 184 int array[3] = {14999024, 0, 3}; in TEST() local 195 int array[3] = {3, 14999024, 0}; in TEST() local [all …]
|
| /external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/extractor/src/test/java/com/google/android/exoplayer2/util/ |
| D | ParsableNalUnitBitArrayTest.java | 35 ParsableNalUnitBitArray array = in readNoEscaping() local 47 ParsableNalUnitBitArray array = new ParsableNalUnitBitArray(NO_ESCAPING_TEST_DATA, 0, 4); in readNoEscapingTruncated() local 61 ParsableNalUnitBitArray array = in readAllEscaping() local 73 ParsableNalUnitBitArray array = in readMix() local 87 ParsableNalUnitBitArray array = new ParsableNalUnitBitArray(createByteArray(0x9E), 0, 1); in readExpGolomb() local 103 ParsableNalUnitBitArray array = in readExpGolombWithEscaping() local 114 ParsableNalUnitBitArray array = new ParsableNalUnitBitArray(createByteArray(0, 0), 0, 2); in reset() local
|
| /external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/extractor/src/test/java/com/google/android/exoplayer2/util/ |
| D | ParsableNalUnitBitArrayTest.java | 35 ParsableNalUnitBitArray array = in readNoEscaping() local 47 ParsableNalUnitBitArray array = new ParsableNalUnitBitArray(NO_ESCAPING_TEST_DATA, 0, 4); in readNoEscapingTruncated() local 61 ParsableNalUnitBitArray array = in readAllEscaping() local 73 ParsableNalUnitBitArray array = in readMix() local 87 ParsableNalUnitBitArray array = new ParsableNalUnitBitArray(createByteArray(0x9E), 0, 1); in readExpGolomb() local 103 ParsableNalUnitBitArray array = in readExpGolombWithEscaping() local 114 ParsableNalUnitBitArray array = new ParsableNalUnitBitArray(createByteArray(0, 0), 0, 2); in reset() local
|
| /external/compiler-rt/test/asan/TestCases/ |
| D | strtoll_strict.c | 33 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
|