/frameworks/rs/support/java/src/android/support/v8/renderscript/ |
Allocation.java | 31 * and from RenderScript kernels. An Allocation provides the backing store for 34 * <p>An Allocation also contains a set of usage flags that denote how the 35 * Allocation could be used. For example, an Allocation may have usage flags 39 * {@link android.support.v8.renderscript.Allocation#syncAll} in 40 * order to ensure that different users of the Allocation have a consistent view 41 * of memory. For example, in the case where an Allocation is used as the output 43 * {@link #syncAll syncAll(Allocation.USAGE_SCRIPT)} prior to launching the 46 * <p>An Allocation can be populated with the {@link #copyFrom} routines. For 58 public class Allocation extends BaseObj [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
ForEachTest.java | 19 import android.renderscript.Allocation; 60 Allocation badOut = Allocation.createTyped(mRS, t); 65 Allocation in = Allocation.createTyped(mRS, t); 67 Allocation out = Allocation.createTyped(mRS, t); 81 in = Allocation.createTyped(mRS, t); 83 out = Allocation.createTyped(mRS, t); 97 in = Allocation.createTyped(mRS, t) [all...] |
KernelTest.java | 19 import android.renderscript.Allocation; 60 Allocation badOut = Allocation.createTyped(mRS, t); 65 Allocation in = Allocation.createTyped(mRS, t); 67 Allocation out = Allocation.createTyped(mRS, t); 81 in = Allocation.createTyped(mRS, t); 83 out = Allocation.createTyped(mRS, t); 97 in = Allocation.createTyped(mRS, t) [all...] |
AllocationTest.java | 20 import android.renderscript.Allocation; 22 import android.renderscript.Allocation.MipmapControl; 48 Allocation.createTyped(mRS, typeBuilder.create()).destroy(); 59 Allocation.createTyped(mRS, typeBuilder.setX(8).create(), 61 Allocation.USAGE_GRAPHICS_TEXTURE).destroy(); 62 Allocation.createTyped(mRS, typeBuilder.setY(8).create(), 64 Allocation.USAGE_GRAPHICS_TEXTURE).destroy(); 66 Allocation.createTyped(mRS, typeBuilder.create(), 68 Allocation.USAGE_GRAPHICS_TEXTURE | 69 Allocation.USAGE_SCRIPT).destroy() [all...] |
/art/test/080-oom-throw/ |
info.txt | 1 Inject memory allocation failures for NEW_ARRAY and NEW_INSTANCE and make sure
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/d1new/ |
ImageBuffersForRenderScriptd1new.java | 20 import android.renderscript.Allocation; 37 * Global allocation for images and meta data that are bound with memory in Render Script 41 public Allocation sharpRGBAAllocation; 42 public Allocation fuzzyRGBAAllocation; 43 public Allocation integralRGBAAllocation; 45 public Allocation sharpActualDepthAllocation; 46 public Allocation sharpDilatedDepthAllocation; 47 public Allocation sharpActiveAllocation; 48 public Allocation sharpMatteAllocation; 74 sharpRGBAAllocation = Allocation.createSized [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Framework/Guid/MemoryAllocationHob/ |
MemoryAllocationHob.c | 29 EFI_GUID_STRING(&gEfiHobMemeryAllocBspStoreGuid, "BSP Store HOB", "HOB for BSP Store Memory Allocation");
30 EFI_GUID_STRING(&gEfiHobMemeryAllocStackGuid, "Stack HOB", "HOB for Stack Memory Allocation");
31 EFI_GUID_STRING(&gEfiHobMemeryAllocModuleGuid, "Memry Allocation Module HOB", "HOB for Memory Allocation Module");
|
/device/linaro/bootloader/edk2/MdePkg/Library/PeiMemoryAllocationLib/ |
PeiMemoryAllocationLib.uni | 2 // Instance of Memory Allocation Library using PEI Services.
4 // Memory Allocation Library that uses PEI Services to allocate memory.
19 #string STR_MODULE_ABSTRACT #language en-US "Instance of Memory Allocation Library using PEI Services"
21 #string STR_MODULE_DESCRIPTION #language en-US "Memory Allocation Library that uses PEI Services to allocate memory. Free operations are ignored."
|
/device/linaro/bootloader/edk2/MdePkg/Library/SmmMemoryAllocationLib/ |
SmmMemoryAllocationLib.uni | 2 // Instance of Memory Allocation Library using SMM Services Table.
4 // Memory Allocation Library that uses services from the SMM Services Table to
19 #string STR_MODULE_ABSTRACT #language en-US "Instance of Memory Allocation Library using SMM Services Table"
21 #string STR_MODULE_DESCRIPTION #language en-US "This Memory Allocation Library uses services from the SMM Services Table to allocate and free memory."
|
/device/linaro/bootloader/edk2/MdePkg/Library/UefiDevicePathLib/ |
UefiDevicePathLib.uni | 2 // Instance of Device Path Library based on Memory Allocation Library.
4 // Device Path Library that layers on top of the Memory Allocation Library.
18 #string STR_MODULE_ABSTRACT #language en-US "Instance of Device Path Library based on Memory Allocation Library"
20 #string STR_MODULE_DESCRIPTION #language en-US "This Device Path Library layers on top of the Memory Allocation Library."
|
/device/linaro/bootloader/edk2/MdePkg/Library/UefiMemoryAllocationLib/ |
UefiMemoryAllocationLib.uni | 2 // Instance of Memory Allocation Library using EFI Boot Services.
4 // Memory Allocation Library that uses EFI Boot Services to allocate
19 #string STR_MODULE_ABSTRACT #language en-US "Instance of Memory Allocation Library using EFI Boot Services"
21 #string STR_MODULE_DESCRIPTION #language en-US "This Memory Allocation Library uses EFI Boot Services to allocate and free memory."
|
/external/valgrind/massif/tests/ |
one.c | 3 // A test for a single allocation. There are two .post.exp* files, for each
|
/frameworks/base/rs/java/android/renderscript/ |
ScriptIntrinsicBlur.java | 21 * specified radius to all elements of an allocation. 27 private Allocation mInput; 34 * Create an intrinsic for applying a blur to an allocation. The 59 * @param ain The input allocation 61 public void setInput(Allocation ain) { 63 throw new RSIllegalArgumentException("Input set to a 1D Allocation"); 85 * allocation. 87 * @param aout Output allocation. Must match creation element 90 public void forEach(Allocation aout) { 92 throw new RSIllegalArgumentException("Output is a 1D Allocation"); [all...] |
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
ErrorCalculator.java | 23 import android.renderscript.Allocation; 36 private Allocation mIdealPixelsAllocation; 37 private Allocation mGivenPixelsAllocation; 38 private Allocation mOutputPixelsAllocation; 40 private Allocation mInputRowsAllocation; 41 private Allocation mOutputRegionsAllocation; 62 mInputRowsAllocation = Allocation.createSized(mRS, Element.I32(mRS), rowIndices.length, 63 Allocation.USAGE_SCRIPT); 65 mOutputRegionsAllocation = Allocation.createSized(mRS, Element.I32(mRS), 66 mOutputRowRegions.length, Allocation.USAGE_SCRIPT) [all...] |
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/d1new/ |
ImageBuffersForRenderScriptd1new.java | 4 import android.support.v8.renderscript.Allocation; 25 * Global allocation for images and meta data that are bound with memory in Render Script 29 public Allocation sharpRGBAAllocation; 30 public Allocation fuzzyRGBAAllocation; 31 public Allocation integralRGBAAllocation; 33 public Allocation sharpActualDepthAllocation; 34 public Allocation sharpDilatedDepthAllocation; 35 public Allocation sharpActiveAllocation; 36 public Allocation sharpMatteAllocation; 51 sharpRGBAAllocation = Allocation.createSized [all...] |
/prebuilts/go/darwin-x86/test/ |
notinheap2.go | 25 // Heap allocation is not okay. 31 y = new(nih) // ERROR "heap allocation disallowed" 32 z = make([]nih, 1) // ERROR "heap allocation disallowed" 33 z = append(z, x) // ERROR "heap allocation disallowed"
|
/prebuilts/go/linux-x86/test/ |
notinheap2.go | 25 // Heap allocation is not okay. 31 y = new(nih) // ERROR "heap allocation disallowed" 32 z = make([]nih, 1) // ERROR "heap allocation disallowed" 33 z = append(z, x) // ERROR "heap allocation disallowed"
|
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-mmix/ |
bpo-5.s | 1 # A section with a symbol and a BPO allocation.
|
bpo-6.s | 1 # A section with a symbol and a BPO allocation.
|
/frameworks/rs/tests/lldb/java/SingleSource/src/com/android/rs/singlesource/ |
MainActivity.java | 28 private Allocation mAllocIn1; 29 private Allocation mAllocIn2; 30 private Allocation mAllocOut; 50 // create the first input allocation 51 mAllocIn1 = Allocation.createSized(mRS, Element.F32(mRS), 4); 55 // create second input allocation 56 mAllocIn2 = Allocation.createSized(mRS, Element.F32(mRS), 4); 60 // create output allocation 61 mAllocOut = Allocation.createSized(mRS, Element.F32(mRS), 4); 63 // setup the global output allocation [all...] |
/system/chre/util/tests/ |
memory_pool_test.cc | 56 size_t *allocation; member in struct:AllocationExpectedValuePair 72 AllocationExpectedValuePair allocation = { local 73 .allocation = memoryPool.allocate(), 77 *allocation.allocation = j; 78 allocations.push_back(allocation); 91 // Verify the expected value and free the allocation. 92 ASSERT_EQ(*allocations[deallocateIndex].allocation, 94 memoryPool.deallocate(allocations[deallocateIndex].allocation); 96 // Remove the freed allocation from the allocation list [all...] |
/frameworks/rs/cpu_ref/ |
rsCpuIntrinsic.h | 37 const Allocation *ains[RS_KERNEL_INPUT_LIMIT]; 50 const Allocation ** ain, 52 Allocation * aout, 61 void preLaunch(uint32_t slot, const Allocation ** ains, 62 uint32_t inLen, Allocation * aout, const void * usr, 64 void postLaunch(uint32_t slot, const Allocation ** ains, 65 uint32_t inLen, Allocation * aout, 74 void setGlobalBind(uint32_t slot, Allocation *data) override;
|
/cts/tests/tests/rscpp/librscpptest/ |
rs_jni_foreach.cpp | 52 sp<Allocation> in = Allocation::createTyped(mRS, t); 54 sp<Allocation> out = Allocation::createTyped(mRS, t); 60 in = Allocation::createTyped(mRS, t); 62 out = Allocation::createTyped(mRS, t); 68 in = Allocation::createTyped(mRS, t); 70 out = Allocation::createTyped(mRS, t); 76 in = Allocation::createTyped(mRS, t); 78 out = Allocation::createTyped(mRS, t) [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Library/DxeCoreMemoryAllocationLib/ |
DxeCoreMemoryAllocationLib.uni | 2 // Memory Allocation Library instance dedicated to DXE Core.
4 // The implementation borrows the DxeCore Memory Allocation services as the primitive
5 // for memory allocation instead of using UEFI boot servces in an indirect way.
20 #string STR_MODULE_ABSTRACT #language en-US "Memory Allocation Library instance dedicated to DXE Core"
22 #string STR_MODULE_DESCRIPTION #language en-US "The implementation borrows the DxeCore Memory Allocation services as the primitive for memory allocation instead of using UEFI boot services in an indirect way. It is assumed that this library instance must be linked with DxeCore in this package."
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/ |
PiSmmCoreMemoryAllocationLib.uni | 2 // Memory Allocation Library instance dedicated to SMM Core.
4 // The implementation borrows the SMM Core Memory Allocation services as the primitive
5 // for memory allocation instead of using SMM System Table servces in an indirect way.
20 #string STR_MODULE_ABSTRACT #language en-US "Memory Allocation Library instance dedicated to SMM Core"
22 #string STR_MODULE_DESCRIPTION #language en-US "The implementation borrows the SMM Core Memory Allocation services as the primitive for memory allocation instead of using SMM System Table services in an indirect way. This library is only intended to be linked with the SMM Core that resides in this same package."
|