/libcore/luni/src/test/java/libcore/dalvik/system/ |
VMRuntimeTest.java | 19 import java.lang.reflect.Array; 32 Object array = VMRuntime.getRuntime().newNonMovableArray(componentType, -1); local 38 Object array = VMRuntime.getRuntime().newNonMovableArray(componentType, Integer.MIN_VALUE); local 45 Object array = VMRuntime.getRuntime().newNonMovableArray(componentType, i); local 46 assertTrue(array.getClass().isArray()); 47 assertEquals(array.getClass().getComponentType(), componentType); 48 assertEquals(Array.getLength(array), i); 55 Object array = VMRuntime.getRuntime().newNonMovableArray(null, 0); local 62 Object array = VMRuntime.getRuntime().newNonMovableArray(void.class, 0) local 86 Object array = VMRuntime.getRuntime().newUnpaddedArray(componentType, -1); local 92 Object array = VMRuntime.getRuntime().newUnpaddedArray(componentType, Integer.MIN_VALUE); local 99 Object array = VMRuntime.getRuntime().newUnpaddedArray(componentType, i); local 109 Object array = VMRuntime.getRuntime().newUnpaddedArray(null, 0); local 116 Object array = VMRuntime.getRuntime().newUnpaddedArray(void.class, 0); local [all...] |
/libcore/support/src/test/java/tests/support/ |
Support_Proxy_I1.java | 23 int[] array(long[] f); method in interface:Support_Proxy_I1
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
ParcelableSparseArray.java | 39 final ParcelableSparseArray array = new ParcelableSparseArray(); 40 final ClassLoader loader = array.getClass().getClassLoader(); 43 array.put(source.readInt(), source.readParcelable(loader)); 45 return array;
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/containers/sequences/array/array.data/ |
data_const.pass.cpp | 10 // <array> 14 #include <array> 19 // std::array is explicitly allowed to be initialized with A a = { init-list };. 27 typedef std::array<T, 3> C; 36 typedef std::array<T, 0> C; 43 typedef std::array<int, 5> C;
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/experimental/utilities/tuple/ |
tuple_size_v.pass.cpp | 18 #include <array> 37 test<std::array<int, 1>, 1>(); 41 test<std::array<int, 2>, 2>(); 44 test<std::array<int, 3>, 3>();
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/tuple/tuple.tuple/tuple.helper/ |
tuple_size_v.pass.cpp | 18 #include <array> 35 test<std::array<int, 1>, 1>(); 39 test<std::array<int, 2>, 2>(); 42 test<std::array<int, 3>, 3>();
|
/art/runtime/entrypoints/quick/ |
quick_fillarray_entrypoints.cc | 20 #include "mirror/array.h" 25 * Handle fill array data by copying appropriate part of dex file into array. 27 extern "C" int artHandleFillArrayDataFromCode(uint32_t payload_offset, mirror::Array* array, 34 bool success = FillArrayData(array, payload);
|
/art/test/081-hot-exceptions/src/ |
Main.java | 19 int[] array; field in class:Main.ArrayObj 22 return array[i];
|
/art/test/461-get-reference-vreg/src/ |
Main.java | 34 Object a = array[0]; 61 static Object[] array = new Object[] { new Object() }; field in class:Main
|
/art/test/501-null-constant-dce/src/ |
Main.java | 25 int[] array = new int[7]; local 26 Object[] arguments = { array };
|
/art/test/573-checker-checkcast-regression/src/ |
Main.java | 20 Object[] array = { new Integer(1), new Integer(2), new Integer(3) }; local 21 int result = test(array, 0, 2);
|
/art/test/622-checker-bce-regressions/src/ |
Main.java | 22 static int[] array = new int[10]; field in class:Main 46 expectEquals(8, doNotVisitAfterForwardBCE(array));
|
/art/test/668-aiobe/src/ |
Main.java | 22 double[] array = new double[5]; local 26 m.invoke(null, array, 42);
|
/external/clang/test/CXX/temp/temp.spec/temp.expl.spec/ |
p15.cpp | 28 static unsigned array[17]; member in struct:rdar9422013::X::Inner 32 template<> unsigned X<1>::Inner::array[]; // okay member in class:rdar9422013::X::Inner
|
/external/clang/test/CodeGen/ |
globalinit.c | 49 static int array[]; variable 50 static int array[4]; variable
|
/external/clang/test/SemaTemplate/ |
instantiate-sizeof.cpp | 33 struct foo { int array[10]; }; member in struct:bar::foo 34 int baz() { return sizeof(foo::array); }
|
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/javax/net/ssl/ |
SSLServerSocketTest.java | 50 String[] array = new String[] {socket.getEnabledCipherSuites()[0]}; local 51 String originalFirstElement = array[0]; 52 socket.setEnabledCipherSuites(array); 53 array[0] = "Modified after having been set"; 70 String[] array = new String[] {socket.getEnabledProtocols()[0]}; local 71 String originalFirstElement = array[0]; 72 socket.setEnabledProtocols(array); 73 array[0] = "Modified after having been set";
|
/external/python/cpython3/Include/ |
pymacro.h | 46 /* Get the number of elements in a visible array 58 &a[0] degrades to a pointer: a different type from an array */ 59 #define Py_ARRAY_LENGTH(array) \ 60 (sizeof(array) / sizeof((array)[0]) \ 61 + Py_BUILD_ASSERT_EXPR(!__builtin_types_compatible_p(typeof(array), \ 62 typeof(&(array)[0])))) 64 #define Py_ARRAY_LENGTH(array) \ 65 (sizeof(array) / sizeof((array)[0]) [all...] |
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
ShadowColorMatrixColorFilter.java | 19 public void __constructor__(float[] array) { 20 this.matrix = new ColorMatrix(array);
|
/external/robolectric-shadows/utils/src/main/java/org/robolectric/util/ |
Util.java | 43 public static <T> T[] reverse(T[] array) { 44 for (int i = 0; i < array.length / 2; i++) { 45 int destI = array.length - i - 1; 46 T o = array[destI]; 47 array[destI] = array[i]; 48 array[i] = o; 50 return array;
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
substr_op_test.py | 32 position = np.array(1, dtype) 33 length = np.array(3, dtype) 43 position = np.array(0, dtype) 44 length = np.array(2, dtype) 54 position = np.array(1, dtype) 55 length = np.array(3, dtype) 67 position = np.array(1, dtype) 68 length = np.array(4, dtype) 81 position = np.array([[1, 2, 3], [1, 2, 3], [1, 2, 3]], dtype) 82 length = np.array([[2, 3, 4], [4, 3, 2], [5, 5, 5]], dtype [all...] |
/external/zopfli/src/zopfli/ |
hash.h | 56 Updates the hash values based on the current position in the array. All calls 59 void ZopfliUpdateHash(const unsigned char* array, size_t pos, size_t end, 67 void ZopfliWarmupHash(const unsigned char* array, size_t pos, size_t end,
|
/frameworks/base/core/jni/ |
android_nio_utils.h | 28 * (and releasePointer if array is returned non-null) must be done in the 33 * @param array REQUIRED. Output. If on return it is set to non-null, then 34 * nio_releasePointer must be called with the array 40 void* nio_getPointer(JNIEnv *env, jobject buffer, jarray *array); 43 * Call this if android_nio_getPointer returned non-null in its array parameter. 44 * Pass that array and the returned pointer when you are done accessing the 45 * pointer. If called (i.e. array is non-null), it must be called in the same 49 * @param buffer The array returned from android_nio_getPointer (!= null) 54 void nio_releasePointer(JNIEnv *env, jarray array, void *pointer,
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
ReadOnlyDoubleBufferTest.java | 43 buf.array(); 81 double array[] = new double[1]; local 83 buf.put(array); 97 double array[] = new double[1]; local 99 buf.put(array, 0, array.length); 117 buf.put(array, -1, array.length);
|
ReadOnlyFloatBufferTest.java | 42 buf.array(); 82 float array[] = new float[1]; local 84 buf.put(array); 98 float array[] = new float[1]; local 100 buf.put(array, 0, array.length); 118 buf.put(array, -1, array.length);
|