Home
last modified time | relevance | path

Searched defs:array (Results 76 – 100 of 6340) sorted by relevance

12345678910>>...254

/aosp_15_r20/external/tink/java_src/src/test/java/com/google/crypto/tink/util/
H A DSecretBytesTest.java34 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
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/preprocessor/include/boost/preprocessor/array/
Dinsert.hpp33 # define BOOST_PP_ARRAY_INSERT(array, i, elem) BOOST_PP_ARRAY_INSERT_I(BOOST_PP_DEDUCE_D(), array, … argument
34 # define BOOST_PP_ARRAY_INSERT_I(d, array, i, elem) BOOST_PP_ARRAY_INSERT_D(d, array, i, elem) argument
39 # define BOOST_PP_ARRAY_INSERT_D(d, array, i, elem) BOOST_PP_TUPLE_ELEM(5, 3, BOOST_PP_WHILE_ ##… argument
41 # define BOOST_PP_ARRAY_INSERT_D(d, array, i, elem) BOOST_PP_ARRAY_INSERT_D_I(d, array, i, elem) argument
42 # define BOOST_PP_ARRAY_INSERT_D_I(d, array, i, elem) BOOST_PP_TUPLE_ELEM(5, 3, BOOST_PP_WHILE_ … argument
80 # define BOOST_PP_ARRAY_INSERT(array, i, elem) BOOST_PP_ARRAY_INSERT_I(BOOST_PP_DEDUCE_D(), array, … argument
81 # define BOOST_PP_ARRAY_INSERT_I(d, array, i, elem) BOOST_PP_ARRAY_INSERT_D(d, array, i, elem) argument
87 # define BOOST_PP_ARRAY_INSERT_D(d, array, i, elem) \ argument
90 # define BOOST_PP_ARRAY_INSERT_D(d, array, i, elem) BOOST_PP_TUPLE_ELEM(5, 3, BOOST_PP_WHILE_ ##… argument
93 # define BOOST_PP_ARRAY_INSERT_D(d, array, i, elem) BOOST_PP_ARRAY_INSERT_D_I(d, array, i, elem) argument
[all …]
/aosp_15_r20/frameworks/base/core/java/android/os/
H A DHwBlob.java112 public native final void copyToBoolArray(long offset, boolean[] array, int size); in copyToBoolArray()
123 public native final void copyToInt8Array(long offset, byte[] array, int size); in copyToInt8Array()
134 public native final void copyToInt16Array(long offset, short[] array, int size); in copyToInt16Array()
145 public native final void copyToInt32Array(long offset, int[] array, int size); in copyToInt32Array()
156 public native final void copyToInt64Array(long offset, long[] array, int size); in copyToInt64Array()
167 public native final void copyToFloatArray(long offset, float[] array, int size); in copyToFloatArray()
178 public native final void copyToDoubleArray(long offset, double[] array, int size); in copyToDoubleArray()
345 public static Boolean[] wrapArray(@NonNull boolean[] array) { in wrapArray()
360 public static Long[] wrapArray(@NonNull long[] array) { in wrapArray()
375 public static Byte[] wrapArray(@NonNull byte[] array) { in wrapArray()
[all …]
/aosp_15_r20/frameworks/base/core/java/com/android/internal/util/
H A DQuickSelect.java50 private static int selectImpl(@NonNull int[] array, int left, int right, int k) { in selectImpl()
66 private static int selectImpl(@NonNull long[] array, int left, int right, int k) { in selectImpl()
82 private static <T> int selectImpl(@NonNull T[] array, int left, int right, int k, in selectImpl()
114 private static int partition(@NonNull int[] array, int left, int right, int pivotIndex) { in partition()
128 private static int partition(@NonNull long[] array, int left, int right, int pivotIndex) { in partition()
142 private static <T> int partition(@NonNull T[] array, int left, int right, int pivotIndex, in partition()
163 private static void swap(@NonNull int[] array, int left, int right) { in swap()
169 private static void swap(@NonNull long[] array, int left, int right) { in swap()
175 private static <T> void swap(@NonNull T[] array, int left, int right) { in swap()
212 public static int select(@NonNull int[] array, int start, int length, int k) { in select()
[all …]
/aosp_15_r20/external/apache-commons-lang/src/main/java/org/apache/commons/lang3/builder/
H A DMultilineRecursiveToStringStyle.java128 …tected void appendDetail(final StringBuffer buffer, final String fieldName, final Object[] array) { in appendDetail()
137 …eflectionAppendArrayDetail(final StringBuffer buffer, final String fieldName, final Object array) { in reflectionAppendArrayDetail()
146 …rotected void appendDetail(final StringBuffer buffer, final String fieldName, final long[] array) { in appendDetail()
155 …protected void appendDetail(final StringBuffer buffer, final String fieldName, final int[] array) { in appendDetail()
164 …otected void appendDetail(final StringBuffer buffer, final String fieldName, final short[] array) { in appendDetail()
173 …rotected void appendDetail(final StringBuffer buffer, final String fieldName, final byte[] array) { in appendDetail()
182 …rotected void appendDetail(final StringBuffer buffer, final String fieldName, final char[] array) { in appendDetail()
191 …tected void appendDetail(final StringBuffer buffer, final String fieldName, final double[] array) { in appendDetail()
200 …otected void appendDetail(final StringBuffer buffer, final String fieldName, final float[] array) { in appendDetail()
209 …ected void appendDetail(final StringBuffer buffer, final String fieldName, final boolean[] array) { in appendDetail()
/aosp_15_r20/external/leakcanary2/shark-graph/src/main/java/shark/internal/
H A DHprofInMemoryIndex.kt150 val array = it.second in <lambda>() constant
159 val array = it.second in <lambda>() constant
173 val array = it.second in <lambda>() constant
187 val array = it.second in <lambda>() constant
214 val array = classIndex.getAtIndex(index) in <lambda>() constant
220 val array = instanceIndex.getAtIndex(shiftedIndex) in <lambda>() constant
230 val array = objectArrayIndex.getAtIndex(shiftedIndex) in <lambda>() constant
240 val array = primitiveArrayIndex.getAtIndex(shiftedIndex) in <lambda>() constant
253 val array = classIndex.getAtIndex(index) in <lambda>() constant
258 val array = instanceIndex.getAtIndex(index) in <lambda>() constant
[all …]
/aosp_15_r20/frameworks/base/graphics/java/android/graphics/drawable/
H A DAdaptiveIconDrawable.java249 final ChildDrawable[] array = state.mChildren; in inflate() local
453 final ChildDrawable[] array = state.mChildren; in applyTheme() local
653 final ChildDrawable[] array = mLayerState.mChildren; in setHotspot() local
664 final ChildDrawable[] array = mLayerState.mChildren; in setHotspotBounds() local
691 final ChildDrawable[] array = mLayerState.mChildren; in setVisible() local
705 final ChildDrawable[] array = mLayerState.mChildren; in setDither() local
726 final ChildDrawable[] array = mLayerState.mChildren; in setColorFilter() local
737 final ChildDrawable[] array = mLayerState.mChildren; in setTintList() local
749 final ChildDrawable[] array = mLayerState.mChildren; in setTintBlendMode() local
772 final ChildDrawable[] array = mLayerState.mChildren; in setAutoMirrored() local
[all …]
/aosp_15_r20/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DByteArrayHelpers.java40 public static byte[] toByteArray(byte[] array) { in toByteArray()
50 public static byte[] toByteArray(short[] array) { in toByteArray()
60 public static byte[] toByteArray(char[] array) { in toByteArray()
69 public static byte[] toByteArray(int[] array) { in toByteArray()
78 public static byte[] toByteArray(long[] array) { in toByteArray()
87 public static byte[] toByteArray(float[] array) { in toByteArray()
96 public static byte[] toByteArray(double[] array) { in toByteArray()
111 public static <T> byte[] toByteArray(T array) { in toByteArray()
213 private static <T> byte[] toByteArray(T array, int sizeOfTBits) { in toByteArray()
/aosp_15_r20/external/rust/android-crates-io/crates/arrayvec/tests/
Dtests.rs116 let mut array = ArrayVec::<Bump, 128>::new(); in test_drop() localVariable
126 let mut array = ArrayVec::<_, 3>::new(); in test_drop() localVariable
145 let mut array = ArrayVec::<_, 3>::new(); in test_drop() localVariable
174 let mut array = ArrayVec::<_, 3>::new(); in test_drop() localVariable
214 let array = vec![Bump(flag), Bump(flag)]; in test_drop_panics() localVariable
228 let mut array = ArrayVec::<Bump, 128>::new(); in test_drop_panics() localVariable
244 let mut array = ArrayVec::<Bump, 16>::new(); in test_drop_panics() localVariable
269 let mut array: ArrayVec<_, 5> = range.by_ref().take(5).collect(); in test_extend() localVariable
276 let mut array: ArrayVec<_, 10> = (0..3).collect(); in test_extend() localVariable
295 let mut array: ArrayVec<_, 5> = range.by_ref().take(5).collect(); in test_extend_capacity_panic_2() localVariable
[all …]
/aosp_15_r20/external/javassist/src/test/test/javassist/convert/
H A DArrayAccessReplaceTest.java163 public static Object arrayReadObject(Object array, int index) { in arrayReadObject()
167 public static void arrayWriteObject(Object array, int index, Object element) { in arrayWriteObject()
171 public static byte arrayReadByteOrBoolean(Object array, int index) { in arrayReadByteOrBoolean()
175 public static void arrayWriteByteOrBoolean(Object array, int index, byte element) { in arrayWriteByteOrBoolean()
179 public static char arrayReadChar(Object array, int index) { in arrayReadChar()
183 public static void arrayWriteChar(Object array, int index, char element) { in arrayWriteChar()
187 public static double arrayReadDouble(Object array, int index) { in arrayReadDouble()
191 public static void arrayWriteDouble(Object array, int index, double element) { in arrayWriteDouble()
195 public static float arrayReadFloat(Object array, int index) { in arrayReadFloat()
199 public static void arrayWriteFloat(Object array, int index, float element) { in arrayWriteFloat()
[all …]
/aosp_15_r20/libcore/ojluni/annotations/hiddenapi/java/util/
H A DArrays.java198 public static <T> void parallelPrefix(T[] array, java.util.function.BinaryOperator<T> op) { in parallelPrefix()
203 T[] array, int fromIndex, int toIndex, java.util.function.BinaryOperator<T> op) { in parallelPrefix()
207 public static void parallelPrefix(long[] array, java.util.function.LongBinaryOperator op) { in parallelPrefix()
212 long[] array, int fromIndex, int toIndex, java.util.function.LongBinaryOperator op) { in parallelPrefix()
216 public static void parallelPrefix(double[] array, java.util.function.DoubleBinaryOperator op) { in parallelPrefix()
221 double[] array, in parallelPrefix()
228 public static void parallelPrefix(int[] array, java.util.function.IntBinaryOperator op) { in parallelPrefix()
233 int[] array, int fromIndex, int toIndex, java.util.function.IntBinaryOperator op) { in parallelPrefix()
641 T[] array, java.util.function.IntFunction<? extends T> generator) { in setAll()
646 T[] array, java.util.function.IntFunction<? extends T> generator) { in parallelSetAll()
[all …]
/aosp_15_r20/external/leakcanary2/shark-graph/src/test/java/shark/
H A DJvmHprofParsingTest.kt52 val array = arrayClass.objectArrayInstances.single() in <lambda>() constant
69 val array = arrayClass.objectArrayInstances.single() in <lambda>() constant
85 val array = arrayClass.objectArrayInstances.single { it.readElements().count() == 42 } in <lambda>() constant
101 val array = arrayClass.objectArrayInstances.single { it.readElements().count() == 2 } in <lambda>() constant
117 val array = arrayClass.primitiveArrayInstances.single { in <lambda>() constant
136 val array = arrayClass.objectArrayInstances.single { in <lambda>() constant
/aosp_15_r20/external/fbjni/test/jni/
H A Dprimitive_array_tests.cpp60 alias_ref<jbooleanArray> array) { in testGetSetBooleanArray()
84 alias_ref<jbooleanArray> array) { in testPinBooleanArray()
102 jboolean testGetSetArray(alias_ref<jclass>, alias_ref<JArrayType> array) { in testGetSetArray()
124 jboolean testPinArray(alias_ref<jclass>, alias_ref<JArrayType> array) { in testPinArray()
142 jboolean testPinArrayRegion(alias_ref<jclass>, alias_ref<JArrayType> array) { in testPinArrayRegion()
158 jboolean testPinArrayCritical(alias_ref<jclass>, alias_ref<JArrayType> array) { in testPinArrayCritical()
180 auto array = make_int_array(N); in testIndexOutOfBoundsInRegions() local
215 auto array = input->pin(); in TestBooleanArrayIndexing() local
224 auto array = input->pin(); in TestIntegerArrayIndexing() local
232 auto array = input->pin(); in TestIntegerArraySize() local
[all …]
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/containers/sequences/array/array.cons/
H A Dimplicit_copy.pass.cpp41 Array array = {1.1, 2.2, 3.3}; in tests() local
49 Array array = {1.1, 2.2, 3.3}; in tests() local
56 Array array = {}; in tests() local
65 Array array = {}; in tests() local
72 Array array = {}; in tests() local
80 Array array = {}; in tests() local
89 Array array = {}; in tests() local
96 Array array = {}; in tests() local
103 Array array = {}; in tests() local
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/phoenix/test/algorithm/
Dtransformation2.cpp30 int array[] = {1,2,3}; in rotate_test() local
45 int array[] = {1,2,3}; in rotate_copy_test() local
60 int array[] = {1,2,3}; in random_shuffle_test() local
78 int array[] = {1,2,3}; in partition_test() local
91 int array[] = {1,2,3}; in stable_partition_test() local
104 int array[] = {3,1,2}; in sort_test() local
135 int array[] = {3,1,2}; in stable_sort_test() local
153 int array[] = {2,4,1,3}; in partial_sort_test() local
169 int array[] = {2,4,1,3}; in partial_sort_copy_test() local
/aosp_15_r20/external/libcxx/test/std/algorithms/alg.modifying.operations/alg.partitions/
H A 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
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/algorithms/alg.modifying.operations/alg.partitions/
H A Dstable_partition.pass.cpp43 P array[] = in test() local
72 P array[] = in test() local
112 P array[] = in test() local
141 P array[] = in test() local
170 P array[] = in test() local
199 P array[] = in test() local
228 P array[] = in test() local
257 P array[] = in test() local
320 std::unique_ptr<int> array[size]; in test1() local
/aosp_15_r20/art/test/527-checker-array-access-split/src/
H A DMain.java52 public static int constantIndexGet(int array[]) { in constantIndexGet()
87 public static void constantIndexSet(int array[]) { in constantIndexSet()
120 public static int get(int array[], int index) { in get()
165 public static void set(int array[], int index, int value) { in set()
233 public static void getSet(int array[], int index) { in getSet()
309 public static int[] accrossGC(int array[], int index) { in accrossGC()
403 int[] array = {0, 7, 14, 21, 28, 35, 42}; in canMergeAfterBCE1() local
516 int[] array = {128, 64, 32, 8, 4, 2 }; in canMergeAfterBCE2() local
652 int[] array = {123, 456, 789}; in main() local
/aosp_15_r20/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
H A DLongBufferTest.java51 long array[] = buf.array(); in testArray() local
68 long array[] = buf.array(); in testArrayOffset() local
257 long array[] = new long[1]; in testGetlongArray() local
285 long array[] = new long[buf.capacity()]; in testGetlongArrayintint() local
417 long array[] = new long[1]; in testPutlongArray() local
446 long array[] = new long[buf.capacity()]; in testPutlongArrayintint() local
609 void loadTestData1(long array[], int offset, int length) { in loadTestData1()
615 void loadTestData2(long array[], int offset, int length) { in loadTestData2()
635 void assertContentEquals(LongBuffer buf, long array[], in assertContentEquals()
638 assertEquals(buf.get(i), array[offset + i]); in assertContentEquals() local
H A DIntBufferTest.java51 int array[] = buf.array(); in testArray() local
68 int array[] = buf.array(); in testArrayOffset() local
257 int array[] = new int[1]; in testGetintArray() local
284 int array[] = new int[buf.capacity()]; in testGetintArrayintint() local
416 int array[] = new int[1]; in testPutintArray() local
445 int array[] = new int[buf.capacity()]; in testPutintArrayintint() local
602 void loadTestData1(int array[], int offset, int length) { in loadTestData1()
608 void loadTestData2(int array[], int offset, int length) { in loadTestData2()
628 void assertContentEquals(IntBuffer buf, int array[], in assertContentEquals()
631 assertEquals(buf.get(i), array[offset + i]); in assertContentEquals() local
H A DFloatBufferTest.java51 float array[] = buf.array(); in testArray() local
68 float array[] = buf.array(); in testArrayOffset() local
277 float array[] = new float[1]; in testGetfloatArray() local
306 float array[] = new float[buf.capacity()]; in testGetfloatArrayintint() local
440 float array[] = new float[1]; in testPutfloatArray() local
469 float array[] = new float[buf.capacity()]; in testPutfloatArrayintint() local
626 void loadTestData1(float array[], int offset, int length) { in loadTestData1()
632 void loadTestData2(float array[], int offset, int length) { in loadTestData2()
652 void assertContentEquals(FloatBuffer buf, float array[], in assertContentEquals()
655 assertEquals(buf.get(i), array[offset + i], 0.01); in assertContentEquals() local
H A DShortBufferTest.java50 short array[] = buf.array(); in testArray() local
67 short array[] = buf.array(); in testArrayOffset() local
256 short array[] = new short[1]; in testGetshortArray() local
277 short array[] = new short[buf.capacity()]; in testGetshortArrayintint() local
403 short array[] = new short[1]; in testPutshortArray() local
432 short array[] = new short[buf.capacity()]; in testPutshortArrayintint() local
589 void loadTestData1(short array[], int offset, int length) { in loadTestData1()
595 void loadTestData2(short array[], int offset, int length) { in loadTestData2()
615 void assertContentEquals(ShortBuffer buf, short array[], in assertContentEquals()
618 assertEquals(buf.get(i), array[offset + i]); in assertContentEquals() local
/aosp_15_r20/external/kmod/shared/
H A 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()
/aosp_15_r20/packages/apps/ThemePicker/src/com/android/customization/widget/
DDynamicAdaptiveIconDrawable.java328 final ChildDrawable[] array = state.mChildren; in applyTheme() local
467 final ChildDrawable[] array = mLayerState.mChildren; in setHotspot() local
478 final ChildDrawable[] array = mLayerState.mChildren; in setHotspotBounds() local
505 final ChildDrawable[] array = mLayerState.mChildren; in setVisible() local
519 final ChildDrawable[] array = mLayerState.mChildren; in setDither() local
540 final ChildDrawable[] array = mLayerState.mChildren; in setColorFilter() local
551 final ChildDrawable[] array = mLayerState.mChildren; in setTintList() local
563 final ChildDrawable[] array = mLayerState.mChildren; in setTintMode() local
586 final ChildDrawable[] array = mLayerState.mChildren; in setAutoMirrored() local
602 final ChildDrawable[] array = mLayerState.mChildren; in jumpToCurrentState() local
[all …]
/aosp_15_r20/external/jazzer-api/src/main/java/com/code_intelligence/jazzer/api/
H A DFuzzedDataProvider.java310 default<T> T pickValue(T[] array) { in pickValue()
321 default boolean pickValue(boolean[] array) { in pickValue()
332 default byte pickValue(byte[] array) { in pickValue()
343 default short pickValue(short[] array) { in pickValue()
354 default int pickValue(int[] array) { in pickValue()
365 default long pickValue(long[] array) { in pickValue()
376 default double pickValue(double[] array) { in pickValue()
387 default float pickValue(float[] array) { in pickValue()
398 default char pickValue(char[] array) { in pickValue()
441 default<T> List<T> pickValues(T[] array, int numOfElements) { in pickValues()

12345678910>>...254