Home
last modified time | relevance | path

Searched defs:alloc (Results 1 – 16 of 16) sorted by relevance

/cts/tests/tests/renderscript/src/android/renderscript/cts/
DAllocationCopyPaddedTest.java36 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in test_AllocationPadded_Byte3_1D() local
65 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in test_AllocationPadded_Byte3_2D() local
95 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in test_AllocationPadded_Byte3_3D() local
126 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in test_AllocationPadded_Short3_1D_Helper() local
163 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in test_AllocationPadded_Short3_2D_Helper() local
201 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in test_AllocationPadded_Short3_3D_Helper() local
237 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in test_AllocationPadded_Int3_1D() local
269 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in test_AllocationPadded_Int3_2D() local
302 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in test_AllocationPadded_Int3_3D() local
333 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in test_AllocationPadded_Float3_1D() local
[all …]
DSmallStructsTest.java157 Allocation alloc = (Allocation) scriptFieldClass.getMethod("getAllocation") in testSmallStructsOfCharArray() local
217 Allocation alloc = (Allocation) scriptFieldClass.getMethod("getAllocation") in testSmallStructsOfHeterogeneousTypes() local
DAllocationByteBufferTest.java56 Allocation alloc = createTypedAllocation(dt, size, dimX, dimY); in testByteBufferHelper() local
91 Allocation alloc = Allocation.createTyped(mRS, t); in test1DWrite() local
111 Allocation alloc = Allocation.createTyped(mRS, t); in test2DWrite() local
DGetSetTest.java144 private void verify(byte[] a1, byte[] a2, Allocation alloc, String s, int vsize) { in verify()
158 private void verify(short[] a1, short[] a2, Allocation alloc, String s, int vsize) { in verify()
172 private void verify(int[] a1, int[] a2, Allocation alloc, String s, int vsize) { in verify()
186 private void verify(long[] a1, long[] a2, Allocation alloc, String s, int vsize) { in verify()
200 private void verify(float[] a1, float[] a2, Allocation alloc, String s, int vsize) { in verify()
214 private void verify(double[] a1, double[] a2, Allocation alloc, String s, int vsize) { in verify()
DRSBaseCompute.java114 Allocation alloc = Allocation.createSized(rs, element, INPUTSIZE); in createRandomAllocation() local
178 Allocation alloc = Allocation.createSized(rs, element, INPUTSIZE); in createRandomFloatAllocation() local
203 Allocation alloc = Allocation.createSized(rs, element, INPUTSIZE); in createRandomIntegerAllocation() local
DReduceTest.java98 Allocation alloc; in createInputAllocation() local
122 Allocation alloc[] = new Allocation[numAllocs]; in createInputAllocations() local
DAllocationCopyToTest.java25 private Allocation alloc; field in AllocationCopyToTest
/cts/tests/tests/graphics/src/android/graphics/cts/
DBitmapTest.java873 int alloc = mBitmap.getAllocationByteCount(); in testGetAllocationByteCount() local
874 assertEquals(mBitmap.getByteCount(), alloc); in testGetAllocationByteCount() local
878 assertEquals(mBitmap.getByteCount(), alloc); in testGetAllocationByteCount() local
879 assertEquals(mBitmap.getAllocationByteCount(), alloc); in testGetAllocationByteCount() local
884 assertEquals(mBitmap.getAllocationByteCount(), alloc); in testGetAllocationByteCount() local
1008 int alloc = mBitmap.getAllocationByteCount(); in testReconfigure() local
1012 assertEquals(mBitmap.getAllocationByteCount(), alloc); in testReconfigure() local
1013 assertEquals(mBitmap.getByteCount() * 8, alloc); in testReconfigure() local
1242 int alloc = mBitmap.getAllocationByteCount(); in testSetConfig() local
1246 assertEquals(mBitmap.getAllocationByteCount(), alloc); in testSetConfig() local
[all …]
/cts/tests/camera/src/android/hardware/camera2/cts/rs/
DAllocationCache.java86 Allocation alloc = list.remove(list.size() - 1); in getOrCreateTyped() local
DAllocationInfo.java430 Allocation alloc = createAllocation(); in createBlockingInputAllocation() local
/cts/tests/tests/rscpp/librscpptest/
Drs_jni_script.cpp60 sp<Allocation> alloc = Allocation::createTyped(mRS, t); in Java_android_cts_rscpp_RSScriptTest_testSet() local
Drs_jni_allocation.cpp151 sp<Allocation> alloc = nullptr; in helperCopy1D() local
243 sp<Allocation> alloc = nullptr; in helperCopy2D() local
335 sp<Allocation> alloc = nullptr; in helperCopy3D() local
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8429/
Dpoc.c115 struct nvmap_alloc_handle alloc = {0}; in trigger_nvmap_alloc() local
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8460/
Dpoc.c131 struct nvmap_alloc_handle alloc = {0}; in main() local
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8482/
Dpoc.c140 struct nvmap_alloc_handle alloc = { in main() local
/cts/tests/tests/security/jni/
Dandroid_security_cts_cve_2019_2213_Test.c1850 u64 alloc = proc + 0x1c0; in set_up_w128() local