/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
TestNativeDivide.java | 21 import android.renderscript.Allocation; 44 Allocation inLhs = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xe2845ef0c23d02del, false); 45 Allocation inRhs = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xe2845ef0c23d2e34l, false); 47 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 55 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 64 private void verifyResultsNativeDivideFloatFloatFloat(Allocation inLhs, Allocation inRhs, Allocation out, boolean relaxed) [all...] |
TestNativeHypot.java | 21 import android.renderscript.Allocation; 44 Allocation inX = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x3d61f129bdf66018l, false); 45 Allocation inY = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x3d61f129bdf66019l, false); 47 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 55 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 64 private void verifyResultsNativeHypotFloatFloatFloat(Allocation inX, Allocation inY, Allocation out, boolean relaxed) [all...] |
TestNativePowr.java | 21 import android.renderscript.Allocation; 44 Allocation inV = createRandomFloatAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x3c3550bdff7a10c2l, 0, 256); 45 Allocation inY = createRandomFloatAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x3c3550bdff7a10c5l, -15, 15); 47 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 55 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 64 private void verifyResultsNativePowrFloatFloatFloat(Allocation inV, Allocation inY, Allocation out, boolean relaxed) [all...] |
TestNativeRootn.java | 21 import android.renderscript.Allocation; 44 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x6693fe5c237ac0f1l, false); 45 Allocation inN = createRandomAllocation(mRS, Element.DataType.SIGNED_32, 1, 0x6693fe5c237ac0e9l, false); 47 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 55 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 64 private void verifyResultsNativeRootnFloatIntFloat(Allocation inV, Allocation inN, Allocation out, boolean relaxed) [all...] |
TestNextafter.java | 21 import android.renderscript.Allocation; 44 Allocation inX = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xa3b02393ad412958l, false); 45 Allocation inY = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xa3b02393ad412959l, false); 47 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 55 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 64 private void verifyResultsNextafterFloatFloatFloat(Allocation inX, Allocation inY, Allocation out, boolean relaxed) [all...] |
TestPow.java | 21 import android.renderscript.Allocation; 44 Allocation inX = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x470aeab18312445bl, false); 45 Allocation inY = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x470aeab18312445cl, false); 47 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 55 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 64 private void verifyResultsPowFloatFloatFloat(Allocation inX, Allocation inY, Allocation out, boolean relaxed) [all...] |
TestPown.java | 21 import android.renderscript.Allocation; 44 Allocation inX = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xde633e0d2c462948l, false); 45 Allocation inY = createRandomAllocation(mRS, Element.DataType.SIGNED_32, 1, 0xde633e0d2c462949l, false); 47 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 55 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 64 private void verifyResultsPownFloatIntFloat(Allocation inX, Allocation inY, Allocation out, boolean relaxed) [all...] |
TestPowr.java | 21 import android.renderscript.Allocation; 44 Allocation inX = createRandomFloatAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x616e17ec158f6a8dl, 0, 3000); 45 Allocation inY = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x616e17ec158f6a8el, false); 47 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 55 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 64 private void verifyResultsPowrFloatFloatFloat(Allocation inX, Allocation inY, Allocation out, boolean relaxed) [all...] |
TestRemainder.java | 21 import android.renderscript.Allocation; 44 Allocation inX = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x27d6330966022888l, false); 45 Allocation inY = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x27d6330966022889l, false); 47 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 55 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 64 private void verifyResultsRemainderFloatFloatFloat(Allocation inX, Allocation inY, Allocation out, boolean relaxed) [all...] |
TestRootn.java | 21 import android.renderscript.Allocation; 44 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x37d0d9514daae0ccl, false); 45 Allocation inN = createRandomAllocation(mRS, Element.DataType.SIGNED_32, 1, 0x37d0d9514daae0c4l, false); 47 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 55 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 64 private void verifyResultsRootnFloatIntFloat(Allocation inV, Allocation inN, Allocation out, boolean relaxed) [all...] |
ImageProcessingTest.java | 19 import android.renderscript.Allocation; 63 private Allocation a1, a2; 73 a1 = Allocation.createTyped(mRS, t); 74 a2 = Allocation.createTyped(mRS, t); 81 Allocation a1_copy, a2_copy; 82 a1_copy = Allocation.createTyped(mRS, a1.getType()); 83 a2_copy = Allocation.createTyped(mRS, a2.getType()); 104 Allocation a1_copy, a2_copy; 105 a1_copy = Allocation.createTyped(mRS, a1.getType()); 106 a2_copy = Allocation.createTyped(mRS, a2.getType()) [all...] |
ScriptGroupTest.java | 20 import android.renderscript.Allocation; 22 import android.renderscript.Allocation.MipmapControl; 49 Allocation a1_copy, a2_copy; 50 a1_copy = Allocation.createTyped(mRS, connect); 51 a2_copy = Allocation.createTyped(mRS, connect); 79 Allocation a1_copy, a2_copy; 81 a1_copy = Allocation.createTyped(mRS, connect); 82 a2_copy = Allocation.createTyped(mRS, connect); 114 Allocation a1_copy, a2_copy; 115 a1_copy = Allocation.createTyped(mRS, connect) [all...] |
/ndk/docs/renderscript/ |
classandroid_1_1RSC_1_1Allocation.html | 6 <title>android::RSC::Allocation Class Reference</title> 28 <li class="navelem"><a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> </li> 37 <div class="title">android::RSC::Allocation Class Reference</div> </div> 40 <!-- doxytag: class="android::RSC::Allocation" --><!-- doxytag: inherits="android::RSC::BaseObj" --> 43 Inheritance diagram for android::RSC::Allocation:</div> 58 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Allocation.html#a46890b1ca1cbb54c39b0958d515c782f">copy1DRangeFrom</a> (uint32_t off, size_t count, sp< const <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > data, uint32_t dataOff)</td></tr> 64 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Allocation.html#a4cfe1bb1dac8dfde86f542f97e6d2e67">copy2DRangeFrom</a> (uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, sp< const <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > data, uint32_t dataXoff, uint32_t dataYoff)</td></tr> 70 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Allocation.html#acfc9d84ddfbbc02bdba706a1b63afd6b">copy3DRangeFrom</a> (uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t w, uint32_t h, uint32_t d, sp< const <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > data, uint32_t dataXoff, uint32_t dataYoff, uint32_t dataZoff)</td></tr> 73 <tr><td class="memItemLeft" align="right" valign="top">static sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Allocation.html#a983b914efa208763b4b58db62586f138">createTyped</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs, sp< const <a class="el" href="classandroid_1_1RSC_1_1Type.html">Type</a> > type, RsAllocationMipmapControl mipmaps, uint32_t usage)</td></tr> 74 <tr><td class="memItemLeft" align="right" valign="top">static sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RS (…) [all...] |
/external/chromium_org/tools/memory_inspector/memory_inspector/core/ |
native_heap.py | 19 self.allocations = [] # list of individual |Allocation|s. 22 def Add(self, allocation): 23 assert(isinstance(allocation, Allocation)) 24 self.allocations += [allocation] 59 """Updates the |Allocation|.|resident_size|s by looking at mmap stats. 62 estimates the resident size of an allocation intersecting the mmaps dump. 67 # or fully, with each allocation. For each of them, the allocation is 70 # The tricky part is that, in the general case, an allocation can spa [all...] |
/external/chromium_org/third_party/tcmalloc/vendor/src/ |
heap-profile-table.h | 62 int32 allocs; // Number of allocation calls 74 // Info we can return about an allocation. 76 size_t object_size; // size of the allocation 77 const void* const* call_stack; // call stack that made the allocation call 83 // Info we return about an allocation context. 84 // An allocation context is a unique caller stack trace 85 // of an allocation operation. 101 // allocation for passing to RecordAlloc() below. 106 // and the memory allocation function. 109 // Record an allocation at 'ptr' of 'bytes' bytes. 'stack_depth [all...] |
/cts/tests/tests/rscpp/src/android/cts/rscpp/ |
RSLUTTest.java | 46 Allocation rsInput = Allocation.createTyped(mRS, build.create()); 47 Allocation rsOutput = Allocation.createTyped(mRS, build.create()); 61 Allocation rsCppOutput = Allocation.createTyped(mRS, build.create());
|
/frameworks/rs/ |
rsProgram.h | 43 Allocation **textures; 50 Allocation **constants; 66 void bindAllocation(Context *, Allocation *, uint32_t slot); 70 void bindTexture(Context *, uint32_t slot, Allocation *); 74 ObjectBaseRef<Allocation> *mTextures; 76 ObjectBaseRef<Allocation> *mConstants;
|
/prebuilts/ndk/9/platforms/android-19/arch-arm/usr/include/rs/ |
rsProgram.h | 43 Allocation **textures; 50 Allocation **constants; 66 void bindAllocation(Context *, Allocation *, uint32_t slot); 70 void bindTexture(Context *, uint32_t slot, Allocation *); 74 ObjectBaseRef<Allocation> *mTextures; 76 ObjectBaseRef<Allocation> *mConstants;
|
/prebuilts/ndk/9/platforms/android-19/arch-mips/usr/include/rs/ |
rsProgram.h | 43 Allocation **textures; 50 Allocation **constants; 66 void bindAllocation(Context *, Allocation *, uint32_t slot); 70 void bindTexture(Context *, uint32_t slot, Allocation *); 74 ObjectBaseRef<Allocation> *mTextures; 76 ObjectBaseRef<Allocation> *mConstants;
|
/prebuilts/ndk/9/platforms/android-19/arch-x86/usr/include/rs/ |
rsProgram.h | 43 Allocation **textures; 50 Allocation **constants; 66 void bindAllocation(Context *, Allocation *, uint32_t slot); 70 void bindTexture(Context *, uint32_t slot, Allocation *); 74 ObjectBaseRef<Allocation> *mTextures; 76 ObjectBaseRef<Allocation> *mConstants;
|
/frameworks/rs/cpp/ |
ScriptIntrinsics.cpp | 47 void ScriptIntrinsic3DLUT::forEach(sp<Allocation> ain, sp<Allocation> aout) { 55 void ScriptIntrinsic3DLUT::setLUT(sp<Allocation> lut) { 62 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "setLUT Allocation must be 3D"); 81 void ScriptIntrinsicBlend::forEachClear(sp<Allocation> in, sp<Allocation> out) { 89 void ScriptIntrinsicBlend::forEachSrc(sp<Allocation> in, sp<Allocation> out) { 97 void ScriptIntrinsicBlend::forEachDst(sp<Allocation> in, sp<Allocation> out) [all...] |
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/rs/ |
AllocationInfo.java | 24 import android.renderscript.Allocation; 31 * Abstract the information necessary to create new {@link Allocation allocations} with 38 * to {@link Allocation#USAGE_IO_SCRIPT}.</p> 54 * from an existing {@link Allocation}. 56 * @param allocation {@link Allocation} 60 * @throws NullPointerException if allocation was {@code null}. 62 public static AllocationInfo newInstance(Allocation allocation) { 63 checkNotNull("allocation", allocation) [all...] |
/external/chromium_org/third_party/sqlite/src/src/ |
mem2.c | 13 ** This file contains low-level memory allocation drivers for when 16 ** information to each allocation in order to help detect and fix memory 19 ** This file contains implementations of the low-level memory allocation 43 ** Each memory allocation looks like this: 46 ** | Title | backtrace pointers | MemBlockHdr | allocation | EndGuard | 49 ** The application code sees only a pointer to the allocation. We have 50 ** to back up from the allocation pointer to find the MemBlockHdr. The 51 ** MemBlockHdr tells us the size of the allocation and the number of 56 i64 iSize; /* Size of this allocation */ 61 u8 eType; /* Allocation type code * [all...] |
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis5/ |
Visualization5RS.java | 70 private Allocation[] mTextures; 77 protected Allocation mPointAlloc; 82 private Allocation mLineIdxAlloc; 168 mTextures = new Allocation[8]; 169 mTextures[0] = Allocation.createFromBitmapResource(mRS, mResources, R.drawable.background, 170 Allocation.MipmapControl.MIPMAP_ON_SYNC_TO_TEXTURE, 171 Allocation.USAGE_GRAPHICS_TEXTURE); 173 mTextures[1] = Allocation.createFromBitmapResource(mRS, mResources, R.drawable.frame, 174 Allocation.MipmapControl.MIPMAP_ON_SYNC_TO_TEXTURE, 175 Allocation.USAGE_GRAPHICS_TEXTURE) [all...] |
/frameworks/rs/java/tests/Balls/src/com/example/android/rs/balls/ |
BallsRS.java | 39 private Allocation mGridCache; 43 Allocation.USAGE_SCRIPT | 44 Allocation.USAGE_GRAPHICS_CONSTANTS); 72 private Allocation loadTexture(int id) { 73 final Allocation allocation = local 74 Allocation.createFromBitmapResource(mRS, mRes, 75 id, Allocation.MipmapControl.MIPMAP_NONE, 76 Allocation.USAGE_GRAPHICS_TEXTURE); 77 return allocation; [all...] |