/prebuilts/sdk/renderscript/lib/mips/ |
libRSSupport.so | |
/frameworks/base/graphics/java/android/renderscript/ |
Allocation.java | 35 * and from RenderScript kernels. An Allocation provides the backing store for 38 * <p>An Allocation also contains a set of usage flags that denote how the 39 * Allocation could be used. For example, an Allocation may have usage flags 42 * different usages using {@link android.renderscript.Allocation#syncAll} in 43 * order to ensure that different users of the Allocation have a consistent view 44 * of memory. For example, in the case where an Allocation is used as the output 46 * {@link #syncAll syncAll(Allocation.USAGE_SCRIPT)} prior to launching the 49 * <p>An Allocation can be populated with the {@link #copyFrom} routines. For 59 public class Allocation extends BaseObj [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
ForEachTest.java | 19 import android.renderscript.Allocation; 62 Allocation badOut = Allocation.createTyped(mRS, t); 67 Allocation in = Allocation.createTyped(mRS, t); 69 Allocation out = Allocation.createTyped(mRS, t); 81 in = Allocation.createTyped(mRS, t); 83 out = Allocation.createTyped(mRS, t); 95 in = Allocation.createTyped(mRS, t) [all...] |
KernelTest.java | 19 import android.renderscript.Allocation; 62 Allocation badOut = Allocation.createTyped(mRS, t); 67 Allocation in = Allocation.createTyped(mRS, t); 69 Allocation out = Allocation.createTyped(mRS, t); 81 in = Allocation.createTyped(mRS, t); 83 out = Allocation.createTyped(mRS, t); 95 in = Allocation.createTyped(mRS, t) [all...] |
SampleTest.java | 22 import android.renderscript.Allocation; 23 import android.renderscript.Allocation.MipmapControl; 34 Allocation mAlloc_RGBA_1D; 35 Allocation mAlloc_RGBA_2D; 44 mAlloc_RGBA_1D = Allocation.createTyped(mRS, b.setX(8).create(), 45 Allocation.MipmapControl.MIPMAP_FULL, 46 Allocation.USAGE_SCRIPT); 47 mAlloc_RGBA_2D = Allocation.createTyped(mRS, b.setX(8).setY(8).create(), 48 Allocation.MipmapControl.MIPMAP_FULL, 49 Allocation.USAGE_SCRIPT) [all...] |
YuvTest.java | 28 Allocation ay; 29 Allocation au; 30 Allocation av; 64 ay = Allocation.createTyped(mRS, tb.create()); 69 au = Allocation.createTyped(mRS, tb.create()); 70 av = Allocation.createTyped(mRS, tb.create()); 77 public Allocation makeOutput() { 82 return Allocation.createTyped(mRS, t); 91 Allocation aout = makeOutput(); 92 Allocation aref = makeOutput() [all...] |
AllocationResize.java | 20 import android.renderscript.Allocation; 27 private Allocation mIn; 28 private Allocation mOut; 32 public void forEach(int testId, Allocation mIn, Allocation mOut) throws RSRuntimeException { 38 mIn = Allocation.createSized(mRS, Element.I32(mRS), INPUTSIZE/2); 39 mOut = Allocation.createSized(mRS, Element.I32(mRS), INPUTSIZE*2);
|
InitTest.java | 19 import android.renderscript.Allocation; 25 private Allocation mIn; 26 private Allocation mOut; 30 public void forEach(int testId, Allocation mIn, Allocation mOut) throws RSRuntimeException { 39 mIn = Allocation.createSized(mRS, Element.F32(mRS), INPUTSIZE); 40 mOut= Allocation.createSized(mRS, Element.F32(mRS), INPUTSIZE);
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
AllocationThunker.java | 29 class AllocationThunker extends Allocation { 30 android.renderscript.Allocation mN; 31 //Allocation mAdaptedAllocation; 33 android.renderscript.Allocation getNObj() { 37 static android.renderscript.Allocation.MipmapControl 42 return android.renderscript.Allocation.MipmapControl.MIPMAP_NONE; 44 return android.renderscript.Allocation.MipmapControl.MIPMAP_FULL; 46 return android.renderscript.Allocation.MipmapControl.MIPMAP_ON_SYNC_TO_TEXTURE; 67 AllocationThunker(RenderScript rs, Type t, int usage, android.renderscript.Allocation na) { 126 public void copyFrom(Allocation a) [all...] |
Allocation.java | 32 * and from RenderScript kernels. An Allocation provides the backing store for 35 * <p>An Allocation also contains a set of usage flags that denote how the 36 * Allocation could be used. For example, an Allocation may have usage flags 40 * {@link android.support.v8.renderscript.Allocation#syncAll} in 41 * order to ensure that different users of the Allocation have a consistent view 42 * of memory. For example, in the case where an Allocation is used as the output 44 * {@link #syncAll syncAll(Allocation.USAGE_SCRIPT)} prior to launching the 47 * <p>An Allocation can be populated with the {@link #copyFrom} routines. For 59 public class Allocation extends BaseObj [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/rsg/src/android/renderscriptgraphics/cts/ |
ProgramFragmentTest.java | 21 import android.renderscript.Allocation; 32 Allocation mConstMatrix; 33 Allocation mConstComplex; 34 Allocation mConstExtra; 36 Allocation mTex2D; 37 Allocation mTexCube; 45 mTex2D = Allocation.createTyped(mRS, typeB.create(), 46 Allocation.USAGE_SCRIPT | 47 Allocation.USAGE_GRAPHICS_TEXTURE); 49 mTexCube = Allocation.createTyped(mRS, typeB.create() [all...] |
/dalvik/tests/080-oom-throw/ |
info.txt | 1 Inject memory allocation failures for NEW_ARRAY and NEW_INSTANCE and make sure
|
/external/stlport/test/eh/ |
mwerks_debug_prefix.h | 4 #define _STLP_DEBUG 1 // enable the use of allocation debugging
|
/external/valgrind/main/massif/tests/ |
one.c | 3 // A test for a single allocation. There are two .post.exp* files, for each
|
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
ErrorCalculator.java | 26 import android.renderscript.Allocation; 39 private Allocation mIdealPixelsAllocation; 40 private Allocation mGivenPixelsAllocation; 41 private Allocation mOutputPixelsAllocation; 43 private final Allocation mInputRowsAllocation; 44 private final Allocation mOutputRegionsAllocation; 65 mInputRowsAllocation = Allocation.createSized(mRS, Element.I32(mRS), rowIndices.length, 66 Allocation.USAGE_SCRIPT); 68 mOutputRegionsAllocation = Allocation.createSized(mRS, Element.I32(mRS), 69 mOutputRowRegions.length, Allocation.USAGE_SCRIPT) [all...] |
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
UT_mesh.java | 35 Allocation vAlloc0 = Allocation.createSized(RS, Element.F32(RS), 10); 36 Allocation vAlloc1 = Allocation.createSized(RS, Element.F32_2(RS), 10); 38 Allocation iAlloc0 = Allocation.createSized(RS, Element.I16(RS), 10); 39 Allocation iAlloc2 = Allocation.createSized(RS, Element.I16(RS), 10);
|
/external/chromium/chrome/browser/ui/gtk/ |
gtk_expanded_container.cc | 22 GtkAllocation* allocation; member in struct:__anon5044::SizeAllocateData 43 child_requisition.width = data->allocation->width - data->border_width * 2; 44 child_requisition.height = data->allocation->height - data->border_width * 2; 70 child_allocation.x += data->allocation->x; 71 child_allocation.y += data->allocation->y; 114 GtkAllocation* allocation); 143 GtkAllocation* allocation) { 144 widget->allocation = *allocation; 148 allocation->x [all...] |
/frameworks/rs/cpp/ |
rsCppStructs.h | 28 * Every row in an RS allocation is guaranteed to be aligned by this amount, and 29 * every row in a user-backed allocation must be aligned by this amount. 43 class Allocation; 213 sp<const Element> ALLOCATION; 275 * from RenderScript kernels. An Allocation provides the backing store for a 278 * An Allocation also contains a set of usage flags that denote how the 279 * Allocation could be used. For example, an Allocation may have usage flags 282 * syncAll(int) in order to ensure that different users of the Allocation have 283 * a consistent view of memory. For example, in the case where an Allocation i [all...] |
/external/chromium_org/ui/base/gtk/ |
gtk_expanded_container.cc | 24 GtkAllocation* allocation; member in struct:__anon16600::SizeAllocateData 45 child_requisition.width = data->allocation->width - data->border_width * 2; 46 child_requisition.height = data->allocation->height - data->border_width * 2; 72 child_allocation.x += data->allocation->x; 73 child_allocation.y += data->allocation->y; 116 GtkAllocation* allocation); 145 GtkAllocation* allocation) { 146 gtk_widget_set_allocation(widget, allocation); 150 allocation->x, 151 allocation->y [all...] |
/frameworks/rs/cpu_ref/ |
rsCpuIntrinsic.h | 34 const Allocation * ain, 35 Allocation * aout, 43 virtual void preLaunch(uint32_t slot, const Allocation * ain, 44 Allocation * aout, const void * usr, 46 virtual void postLaunch(uint32_t slot, const Allocation * ain, 47 Allocation * aout, const void * usr, 53 virtual void setGlobalBind(uint32_t slot, Allocation *data);
|
/frameworks/rs/ |
rsFBOCache.h | 26 class Allocation; 36 void bindColorTarget(Context *rsc, Allocation *a, uint32_t slot); 37 void bindDepthTarget(Context *, Allocation *a); 47 Allocation **colorTargets; 49 Allocation *depthTarget; 56 ObjectBaseRef<Allocation> *mColorTargets; 57 ObjectBaseRef<Allocation> mDepthTarget;
|
/external/qemu/memcheck/ |
memcheck_malloc_map.h | 20 * intersect in any part. Allocation descriptor maps are instantiated one per 34 /* Allocation descriptors map. */ 44 /* Initializes allocation descriptors map. 46 * map - Allocation descriptors map to initialize. 50 /* Inserts new (or replaces existing) entry in the allocation descriptors map. 58 * map - Allocation descriptors map where to insert new, or replace existing 60 * desc - Allocation descriptor to insert to the map. 73 /* Finds an entry in the allocation descriptors map that matches the given 76 * map - Allocation descriptors map where to search for an entry. 80 * memory allocation descriptor for that entry [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
ImageFilterRS.java | 45 float scaleFactor, int quality, Allocation in) {} 46 protected void bindScriptValues(Allocation in) {} 59 protected Allocation getInPixelsAllocation() { 64 protected Allocation getOutPixelsAllocation() { 70 public void apply(Allocation in, Allocation out) { 108 protected void run(Allocation in, Allocation out) {} 154 protected static Allocation convertBitmap(RenderScript RS, Bitmap bitmap) { 155 return Allocation.createFromBitmap(RS, bitmap [all...] |
/external/clang/test/Analysis/ |
malloc-overflow.c | 9 return malloc(n * sizeof(int)); // expected-warning {{the computation of the size of the memory allocation may overflow}} 14 return malloc(sizeof(int) * n); // // expected-warning {{the computation of the size of the memory allocation may overflow}} 29 return malloc(s->n * sizeof(int)); // expected-warning {{the computation of the size of the memory allocation may overflow}} 35 return malloc(s2.n * sizeof(int)); // expected-warning {{the computation of the size of the memory allocation may overflow}} 40 return malloc((n + 1) * sizeof(int)); // expected-warning {{the computation of the size of the memory allocation may overflow}} 62 int * x = malloc(n * sizeof(int)); // expected-warning {{the computation of the size of the memory allocation may overflow}} 70 int * x = malloc(n * sizeof(int)); // expected-warning {{the computation of the size of the memory allocation may overflow}} 79 int * x = malloc(n * sizeof(int)); // expected-warning {{the computation of the size of the memory allocation may overflow}} 112 return malloc(n * sizeof(int)); // expected-warning {{the computation of the size of the memory allocation may overflow}}
|