/art/test/526-checker-caller-callee-regs/ |
info.txt | 1 Test allocation of caller and callee saved registers.
|
/art/test/529-long-split/ |
info.txt | 2 during register allocation.
|
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-mmix/ |
greg-1.s | 1 # Have a single GREG register allocation.
|
greg-2.s | 1 # Have another GREG register allocation.
|
greg-3.s | 1 # Have yet another GREG register allocation.
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapcomparers/ |
BaseRenderScriptComparer.java | 4 import android.renderscript.Allocation; 12 private Allocation mRowInputs; 13 private Allocation mRowOutputs; 23 public abstract boolean verifySameRowsRS(Resources resources, Allocation ideal, 24 Allocation given, int offset, int stride, int width, int height, 25 RenderScript renderScript, Allocation inputAllocation, Allocation outputAllocation); 27 public boolean verifySameRS(Resources resources, Allocation ideal, 28 Allocation given, int offset, int stride, int width, int height, 44 * Sums the values in the output Allocation [all...] |
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
ScriptIntrinsicBlend.java | 22 * {@link android.support.v8.renderscript.Allocation} objects. 54 private void blend(int id, Allocation ain, Allocation aout) { 70 public void forEachClear(Allocation ain, Allocation aout) { 90 public void forEachSrc(Allocation ain, Allocation aout) { 111 public void forEachDst(Allocation ain, Allocation aout) { 130 public void forEachSrcOver(Allocation ain, Allocation aout) [all...] |
/frameworks/compile/slang/tests/P_reduce_general_accumulator/ |
ScriptC_reduce_general_accumulator.java.expect | 55 for (Allocation tempIn : mTempIns) { 68 private result_int(Allocation out) { 74 private Allocation[] mTempIns; 75 private Allocation mOut; 87 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length); 92 result.mTempIns = new Allocation[]{ain1}; 97 public result_int reduce_my_half(Allocation ain1) { 102 public result_int reduce_my_half(Allocation ain1, Script.LaunchOptions sc) { 107 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1) [all...] |
/frameworks/base/rs/java/android/renderscript/ |
ScriptIntrinsicBlend.java | 21 * Intrinsic kernels for blending two {@link android.renderscript.Allocation} objects. 43 private void blend(int id, Allocation ain, Allocation aout, Script.LaunchOptions opt) { 59 public void forEachClear(Allocation ain, Allocation aout) { 70 public void forEachClear(Allocation ain, Allocation aout, Script.LaunchOptions opt) { 90 public void forEachSrc(Allocation ain, Allocation aout) { 101 public void forEachSrc(Allocation ain, Allocation aout, Script.LaunchOptions opt) [all...] |
/frameworks/compile/slang/tests/P_reduce_general_input/ |
ScriptC_reduce_general_input.java.expect | 123 for (Allocation tempIn : mTempIns) { 136 private result_int(Allocation out) { 142 private Allocation[] mTempIns; 143 private Allocation mOut; 155 Allocation ain1 = Allocation.createSized(mRSLocal, __F16, in1.length); 160 result.mTempIns = new Allocation[]{ain1}; 165 public result_int reduce_my_half_0(Allocation ain1) { 170 public result_int reduce_my_half_0(Allocation ain1, Script.LaunchOptions sc) { 175 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1) [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
ClearObjectTest.java | 19 import android.renderscript.Allocation; 42 public void forEach(int testId, Allocation mIn, Allocation mOut) throws RSRuntimeException { 64 Allocation mIn = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum); 65 Allocation mOut = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum); 80 Allocation mOut = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum); 81 Allocation mIn = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum) 98 Allocation allocation = Allocation.createTyped(mRS, mIn.getType()); local [all...] |
KernelInputTest.java | 19 import android.renderscript.Allocation; 51 * are never reflected back to the input Allocation. 55 * After running the forEach kernel, the input Allocation is checked 69 Allocation ain = Allocation.createSized(mRS, Element.I8(mRS), 1); 70 Allocation tmp = Allocation.createSized(mRS, Element.I8(mRS), 1); 82 Allocation ain = Allocation.createSized(mRS, Element.I8_2(mRS), 1); 83 Allocation tmp = Allocation.createSized(mRS, Element.I8_2(mRS), 1) [all...] |
instance.rs | 7 // Set our allocation based on the global input value.
|
AllocationCreateAllocationsTest.java | 22 import android.renderscript.Allocation; 36 Allocation[] createAllocationsHelper(int usage, int numAlloc) { 39 return Allocation.createAllocations(mRS, t, usage, numAlloc); 43 int usage = Allocation.USAGE_SCRIPT; 46 Allocation[] allocArray; 52 int usage = Allocation.USAGE_IO_INPUT; 55 Allocation[] allocArray; 68 int usage = Allocation.USAGE_SCRIPT | Allocation.USAGE_IO_INPUT; 69 Allocation[] allocArray = createAllocationsHelper(usage, numAlloc) [all...] |
/frameworks/compile/slang/tests/P_reduce_general_result/ |
ScriptC_reduce_general_result.java.expect | 126 for (Allocation tempIn : mTempIns) { 139 private resultArray7_bool(Allocation out) { 145 private Allocation[] mTempIns; 146 private Allocation mOut; 162 for (Allocation tempIn : mTempIns) { 175 private resultArray7_char(Allocation out) { 181 private Allocation[] mTempIns; 182 private Allocation mOut; 203 for (Allocation tempIn : mTempIns) { 216 private resultArray7_char2(Allocation out) [all...] |
/frameworks/rs/ |
rsAllocation.cpp | 29 Allocation::Allocation(Context *rsc, const Type *type, uint32_t usages, 43 Allocation::Allocation(Context *rsc, const Allocation *alloc, const Type *type) 55 void Allocation::operator delete(void* ptr) { 57 Allocation *a = (Allocation*) ptr; 62 Allocation * Allocation::createAllocationStrided(Context *rsc, const Type *type, uint32_t usages [all...] |
/cts/tests/camera/src/android/hardware/camera2/cts/rs/ |
AllocationCache.java | 20 import android.renderscript.Allocation; 33 * Cache {@link Allocation} objects based on their type and usage. 35 * <p>This avoids expensive re-allocation of objects when they are used over and over again 46 private final HashMap<AllocationKey, List<Allocation>> mAllocationMap = 47 new HashMap<AllocationKey, List<Allocation>>(); 71 * Try to lookup a compatible Allocation from the cache, create one if none exist. 77 public Allocation getOrCreateTyped(Type type, int usage) { 83 List<Allocation> list = mAllocationMap.get(key); 86 Allocation alloc = list.remove(list.size() - 1); 100 return Allocation.createTyped(mRS, type, usage) [all...] |
BlockingInputAllocation.java | 22 import android.renderscript.Allocation; 28 * An {@link Allocation} wrapper that can be used to block until new buffers are available. 30 * <p>Can only be used only with {@link Allocation#USAGE_IO_INPUT} usage Allocations.</p> 40 private final Allocation mAllocation; 45 * Wrap an existing Allocation with this {@link BlockingInputAllocation}. 50 * @param allocation A non-{@code null} {@link Allocation allocation} 54 * If {@code allocation} was {@code null} 56 * If {@code allocation}'s usage did not have one of USAGE_IO_INPUT or USAGE_IO_OUTPU [all...] |
/cts/tests/tests/rscpp/librscpptest/ |
instance.rs | 7 // Set our allocation based on the global input value.
|
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
instance.rs | 7 // Set our allocation based on the global input value.
|
/frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
instance.rs | 7 // Set our allocation based on the global input value.
|
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
UT_foreach_multi.java | 26 private Allocation Ain0; 27 private Allocation Ain1; 28 private Allocation Ain2; 29 private Allocation Ain3; 31 private Allocation Out0; 32 private Allocation Out1; 33 private Allocation Out2; 34 private Allocation Out3; 52 Ain0 = Allocation.createTyped(RS, type32Builder.create()); 56 Ain1 = Allocation.createTyped(RS, type32Builder.create()) [all...] |
/frameworks/base/docs/html/sdk/api_diff/21/changes/ |
android.renderscript.ScriptIntrinsicBlend.html | 86 <A NAME="android.renderscript.ScriptIntrinsicBlend.forEachAdd_added(android.renderscript.Allocation, android.renderscript.Allocation, android.renderscript.Script.LaunchOptions)"></A> 87 <nobr><code>void</code> <A HREF="../../../../reference/android/renderscript/ScriptIntrinsicBlend.html#forEachAdd(android.renderscript.Allocation, android.renderscript.Allocation, android.renderscript.Script.LaunchOptions)" target="_top"><code>forEachAdd</code></A>(<code>Allocation,</nobr> Allocation<nobr>,</nobr> LaunchOptions<nobr><nobr></code>)</nobr> 93 <A NAME="android.renderscript.ScriptIntrinsicBlend.forEachClear_added(android.renderscript.Allocation, android.renderscript.Allocation, android.renderscript.Script.LaunchOptions)"></A> 94 <nobr><code>void</code> <A HREF="../../../../reference/android/renderscript/ScriptIntrinsicBlend.html#forEachClear(android.renderscript.Allocation, android.renderscript.Allocation, android.renderscript.Script.LaunchOptions)" target="_top"><code>forEachClear</code></A>(<code>All (…) [all...] |
/frameworks/compile/slang/tests/P_reduce_general_examples/ |
ScriptC_reduce_general_examples.java.expect | 68 for (Allocation tempIn : mTempIns) { 81 private resultArray256_uint(Allocation out) { 87 private Allocation[] mTempIns; 88 private Allocation mOut; 104 for (Allocation tempIn : mTempIns) { 117 private result_float(Allocation out) { 123 private Allocation[] mTempIns; 124 private Allocation mOut; 140 for (Allocation tempIn : mTempIns) { 153 private result_int(Allocation out) [all...] |
/frameworks/compile/slang/tests/P_reduce_general_examples_backward/ |
ScriptC_reduce_general_examples_backward.java.expect | 68 for (Allocation tempIn : mTempIns) { 81 private resultArray256_uint(Allocation out) { 87 private Allocation[] mTempIns; 88 private Allocation mOut; 104 for (Allocation tempIn : mTempIns) { 117 private result_float(Allocation out) { 123 private Allocation[] mTempIns; 124 private Allocation mOut; 140 for (Allocation tempIn : mTempIns) { 153 private result_int(Allocation out) [all...] |