/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/ |
TestNativeAtan2.java | 21 import android.renderscript.Allocation; 54 Allocation inNumerator = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x2139aa61fb6dcb4fl, false); 55 Allocation inDenominator = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xf6634dcb634c16d0l, false); 57 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 66 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 78 private void verifyResultsNativeAtan2FloatFloatFloat(Allocation inNumerator, Allocation inDenominator, Allocation out, boolean relaxed) [all...] |
TestNativeAtan2pi.java | 21 import android.renderscript.Allocation; 54 Allocation inNumerator = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xc2172a04694fc108l, false); 55 Allocation inDenominator = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xd63229f70853dc01l, false); 57 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 66 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 78 private void verifyResultsNativeAtan2piFloatFloatFloat(Allocation inNumerator, Allocation inDenominator, Allocation out, boolean relaxed) [all...] |
TestNativeDivide.java | 21 import android.renderscript.Allocation; 54 Allocation inLeftVector = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x73477387751754efl, false); 55 Allocation inRightVector = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x5ed4412e19040daal, false); 57 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 66 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 78 private void verifyResultsNativeDivideFloatFloatFloat(Allocation inLeftVector, Allocation inRightVector, Allocation out, boolean relaxed) [all...] |
TestNativeHypot.java | 21 import android.renderscript.Allocation; 54 Allocation inA = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x3d61f129bdf66001l, false); 55 Allocation inB = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x3d61f129bdf66002l, false); 57 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 66 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 78 private void verifyResultsNativeHypotFloatFloatFloat(Allocation inA, Allocation inB, Allocation out, boolean relaxed) [all...] |
TestNativePowr.java | 21 import android.renderscript.Allocation; 54 Allocation inBase = createRandomFloatAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x22637077834d1839l, 0, 256); 55 Allocation inExponent = createRandomFloatAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xef7b0ab4f9181f0fl, -15, 15); 57 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 66 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 78 private void verifyResultsNativePowrFloatFloatFloat(Allocation inBase, Allocation inExponent, Allocation out, boolean relaxed) [all...] |
TestPow.java | 21 import android.renderscript.Allocation; 54 Allocation inBase = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x377b8a6622b91eel, false); 55 Allocation inExponent = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x8bdde8de49a5f734l, false); 57 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 66 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 78 private void verifyResultsPowFloatFloatFloat(Allocation inBase, Allocation inExponent, Allocation out, boolean relaxed) [all...] |
TestPown.java | 21 import android.renderscript.Allocation; 54 Allocation inBase = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xe020952d622f0405l, false); 55 Allocation inExponent = createRandomAllocation(mRS, Element.DataType.SIGNED_32, 1, 0x9c3888e9096b9f1bl, false); 57 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 66 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 78 private void verifyResultsPownFloatIntFloat(Allocation inBase, Allocation inExponent, Allocation out, boolean relaxed) [all...] |
TestPowr.java | 21 import android.renderscript.Allocation; 54 Allocation inBase = createRandomFloatAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x432f9eac0c490ca4l, 0, 3000); 55 Allocation inExponent = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x7ee76eaeab21ab0al, false); 57 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 66 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 78 private void verifyResultsPowrFloatFloatFloat(Allocation inBase, Allocation inExponent, Allocation out, boolean relaxed) [all...] |
TestRemainder.java | 21 import android.renderscript.Allocation; 54 Allocation inNumerator = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xd47c3f07317ea229l, false); 55 Allocation inDenominator = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xb246eb0ee2ebe35al, false); 57 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 66 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 78 private void verifyResultsRemainderFloatFloatFloat(Allocation inNumerator, Allocation inDenominator, Allocation out, boolean relaxed) [all...] |
TestConvert.java | 21 import android.renderscript.Allocation; 53 Allocation inV = createRandomFloatAllocation(mRS, Element.DataType.FLOAT_32, 2, 0xfb5215c44e1f6ac6l, -1.6163412428744576259e+38, 1.6163412428744576259e+38); 55 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); 63 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); 73 private void verifyResultsConvertFloat2Float2(Allocation inV, Allocation out, boolean relaxed) { 125 Allocation inV = createRandomFloatAllocation(mRS, Element.DataType.FLOAT_32, 3, 0xfb53dedf443a8ba4l, -1.6163412428744576259e+38, 1.6163412428744576259e+38); 127 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 3), INPUTSIZE) [all...] |
TestFmax.java | 21 import android.renderscript.Allocation; 54 Allocation inA = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xe6ec75a46e6fdd7al, false); 55 Allocation inB = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xe6ec75a46e6fdd7bl, false); 57 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 66 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 78 private void verifyResultsFmaxFloatFloatFloat(Allocation inA, Allocation inB, Allocation out, boolean relaxed) [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
GetElementAt.java | 19 import android.renderscript.Allocation; 28 private Allocation mOut; 29 private Allocation gIn; 53 public void forEach(int testId, Allocation mOut) throws RSRuntimeException { 76 gIn = Allocation.createSized(mRS, Element.U32(mRS), INPUTSIZE); 78 mOut = Allocation.createTyped(mRS, gIn.getType()); 97 gIn = Allocation.createTyped(mRS, type); 99 mOut = Allocation.createTyped(mRS, gIn.getType());
|
/cts/tests/tests/rscpp/src/android/cts/rscpp/ |
RS3DLUTTest.java | 54 Allocation rsInput = Allocation.createTyped(mRS, build.create()); 55 Allocation rsOutput = Allocation.createTyped(mRS, build.create()); 62 Allocation cube = Allocation.createTyped(mRS, buildCube.create()); 72 Allocation rsCppOutput = Allocation.createTyped(mRS, build.create());
|
/external/compiler-rt/test/scudo/ |
malloc.cpp | 4 // Tests that a regular workflow of allocation, memory fill and free works as 5 // intended. Also tests that a zero-sized allocation succeeds.
|
/external/e2fsprogs/tests/f_ea_value_crash/ |
expect.1 | 4 Inode 12 extended attribute is corrupt (allocation collision). Clear? yes 6 Inode 13 extended attribute is corrupt (allocation collision). Clear? yes
|
/frameworks/rs/support/java/src/android/support/v8/renderscript/ |
ScriptIntrinsicYuvToRGB.java | 23 * The input allocation is supplied in NV21 format as a U8 28 private Allocation mInput; 61 * Set the input yuv allocation, must be {@link Element#U8}. 63 * @param ain The input allocation. 65 public void setInput(Allocation ain) { 73 * @param aout Output allocation. Must match creation element 76 public void forEach(Allocation aout) { 77 forEach(0, (Allocation) null, aout, null);
|
/frameworks/rs/tests/cpp_api/cppbasic-getpointer/ |
compute.cpp | 32 sp<Allocation> a1 = Allocation::createSized(rs, e, 1000); 33 printf("Allocation %p\n", a1.get()); 35 sp<Allocation> ain = Allocation::createTyped(rs, t, RS_ALLOCATION_USAGE_SCRIPT | RS_ALLOCATION_USAGE_SHARED); 36 sp<Allocation> aout = Allocation::createTyped(rs, t, RS_ALLOCATION_USAGE_SCRIPT | RS_ALLOCATION_USAGE_SHARED); 37 printf("Allocation %p %p\n", ain.get(), aout.get());
|
/frameworks/rs/tests/java_api/RSTest_CompatLib/src/com/android/rs/test/ |
UT_alloc.java | 40 Allocation A = Allocation.createTyped(RS, typeBuilder.create()); 46 Allocation AFaces = Allocation.createTyped(RS, typeBuilder.create()); 49 Allocation ALOD = Allocation.createTyped(RS, typeBuilder.create()); 52 Allocation AFacesLOD = Allocation.createTyped(RS, typeBuilder.create());
|
UT_blur_validation.java | 19 import android.support.v8.renderscript.Allocation; 32 private Allocation input1D, output1D; 33 private Allocation input2D, output2D; 56 input1D = Allocation.createSized(RS, 59 Allocation.USAGE_SCRIPT); 61 output1D = Allocation.createTyped(RS, input1D.getType()); 68 input2D = Allocation.createTyped(RS, ty); 69 output2D = Allocation.createTyped(RS, ty);
|
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
UT_alloc.java | 40 Allocation A = Allocation.createTyped(RS, typeBuilder.create()); 46 Allocation AFaces = Allocation.createTyped(RS, typeBuilder.create()); 49 Allocation ALOD = Allocation.createTyped(RS, typeBuilder.create()); 52 Allocation AFacesLOD = Allocation.createTyped(RS, typeBuilder.create());
|
/frameworks/rs/tests/java_api/RsTest/src/com/android/rs/test/ |
UT_blur_validation.java | 18 import android.renderscript.Allocation; 31 private Allocation input1D, output1D; 32 private Allocation input2D, output2D; 55 input1D = Allocation.createSized(RS, 58 Allocation.USAGE_SCRIPT); 60 output1D = Allocation.createTyped(RS, input1D.getType()); 67 input2D = Allocation.createTyped(RS, ty); 68 output2D = Allocation.createTyped(RS, ty);
|
/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/ |
UT_alloc.java | 40 Allocation A = Allocation.createTyped(RS, typeBuilder.create()); 46 Allocation AFaces = Allocation.createTyped(RS, typeBuilder.create()); 49 Allocation ALOD = Allocation.createTyped(RS, typeBuilder.create()); 52 Allocation AFacesLOD = Allocation.createTyped(RS, typeBuilder.create());
|
/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/ |
UT_alloc.java | 40 Allocation A = Allocation.createTyped(RS, typeBuilder.create()); 46 Allocation AFaces = Allocation.createTyped(RS, typeBuilder.create()); 49 Allocation ALOD = Allocation.createTyped(RS, typeBuilder.create()); 52 Allocation AFacesLOD = Allocation.createTyped(RS, typeBuilder.create());
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/ |
Buffer.java | 21 import android.renderscript.Allocation; 30 private Allocation mAllocation; 41 // TODO: recreate the allocation when the RS context changes 42 mAllocation = Allocation.createFromBitmap(rs, mBitmap, 43 Allocation.MipmapControl.MIPMAP_NONE, 44 Allocation.USAGE_SHARED | Allocation.USAGE_SCRIPT); 68 public Allocation getAllocation() {
|
/frameworks/rs/ |
rs_hal.h | 80 class Allocation; 121 RS_BASE_OBJ(Allocation) rs_allocation; 172 const Allocation * ain, 173 Allocation * aout, 179 const Allocation ** ains, size_t inLen, 180 Allocation *aout, 202 Allocation *data); 211 const Allocation ** ains, 213 Allocation * aout, 221 bool (*init)(const Context *rsc, Allocation *alloc, bool forceZero) 314 } allocation; member in struct:android::renderscript::__anon39768 [all...] |