Home
last modified time | relevance | path

Searched refs:allocation (Results 1 – 17 of 17) sorted by relevance

/cts/tests/tests/rscpp/librscpptest/
Dclear_object.rscript4 rs_allocation allocation;
8 rsClearObject( &allocation );
9 *out = ( NULL == allocation.p ? 1 : 0 );
Dinstance.rscript7 // Set our allocation based on the global input value.
Drs_jni_object.cpp107 sp<Allocation> allocation = Allocation::createTyped(mRS, mIn->getType()); in Java_android_cts_rscpp_RSObjectTest_testClearObjectAllocation() local
108 ms_clear->set_allocation(allocation); in Java_android_cts_rscpp_RSObjectTest_testClearObjectAllocation()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
Dclear_object.rscript4 rs_allocation allocation;
8 rsClearObject( &allocation );
9 *out = ( NULL == allocation.p ? 1 : 0 );
DIsObjectTest.java34 Allocation allocation; field in IsObjectTest
47 allocation = Allocation.createTyped(mRS, type); in setUp()
61 allocation.destroy(); in tearDown()
118 mItem.allocation = allocation; in testIsObjectAllocation()
DSetObjectTest.java33 Allocation allocation; field in SetObjectTest
46 allocation = Allocation.createTyped(mRS, type); in setUp()
62 allocation.destroy(); in tearDown()
118 mItem.allocation = allocation; in testSetObjectAllocation()
Dset_object.rscript5 rs_allocation allocation;
11 rsSetObject(&dst,in->allocation);
12 *out = ( dst.p == in->allocation.p ? 1 : 0 );
Dis_object.rscript5 rs_allocation allocation;
10 *out = rsIsObject(in->allocation)==false ? 0 : 1;
Dinstance.rscript7 // Set our allocation based on the global input value.
DClearObjectTest.java104 Allocation allocation = Allocation.createTyped(mRS, mIn.getType()); in testclearObjectAllocation() local
105 ms_clear.set_allocation(allocation); in testclearObjectAllocation()
118 allocation.destroy(); in testclearObjectAllocation()
DAtomicTest.rscript54 // the folowing functions copy the global to an allocation
Dsingle_source_alloc.rscript26 // allocation and validate each cell. The value in a cell must be gStart +
70 // Store to an allocation based on the vector size and dimensionality being
Dsmall_structs.rscript28 // - modify_* kernels change the allocation of small structs
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2021-0490/
Dpoc.cpp242 struct ion_allocation_data allocation; member
325 iia.allocation.len = MMAP_SIZE; in alloc_handle()
326 iia.allocation.align = kernel_obj_addr; in alloc_handle()
327 iia.allocation.heap_id_mask = 1 << type; in alloc_handle()
328 iia.allocation.flags = ION_FLAG_CACHED | ION_FLAG_CACHED_NEEDS_SYNC; in alloc_handle()
332 return iia.allocation.handle; in alloc_handle()
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
Dlayered_filter_d1new_helper.rsh4 // Need to access global allocation here
6 // This allocation has three float values of red, green, blue
14 // This allocation contains four floats: red, green, blue, alpha
16 // This allocation contains four floats: red, green, blue, alpha
18 // This allocation contains the kernel stack info: only one float per cell
40 //Compute layer matte using global allocation
123 // Use global allocation for filter from back most layer to focus layer
178 // Filter target layer use global allocation using integral image
211 // Use global allocation to filter layer from the
Dlayered_filter_fast_d1new.rscript71 // This is an allocation to store kernel info: 1. offset, 2. radius_x, 3. radius_y
181 // Another version of MarkLayerMask kernel that directly passes input allocation to kernels
266 // Pass input allocation directly to kernel ComputeLayerMatteBehindFocalDepth
311 // Pass input allocation directly into kernel ComputeLayerMatteInFrontOfFocalDepth
434 // Directly pass allocation to kernel FilterLayerBehindFocalDepth
525 // Pass input allocation directly to kernel FilterLayerInFrontOfFocalDepth
631 // Passes allocation for g_sharp_meta from java code
703 // Pass allocation directly to kernel FinalizeFuzzyImageUsingSharpImage
/cts/hostsidetests/sustainedperf/dhrystone/
DRationale256 variables, register allocation etc. occuring in other compilation
262 (e.g., final register allocation is performed after linkage). This