HomeSort by relevance Sort by last modified time
    Searched full:allocation (Results 1 - 25 of 3375) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /dalvik/tests/080-oom-throw/
expected.txt 1 Array allocation failed
2 Instance allocation failed
info.txt 1 Inject memory allocation failures for NEW_ARRAY and NEW_INSTANCE and make sure
  /prebuilts/sdk/renderscript/include/
rs_allocation.rsh 18 * \brief Allocation routines
27 * Returns the Allocation for a given pointer. The pointer should point within
28 * a valid allocation. The results are undefined if the pointer is not from a
29 * valid allocation.
35 * Query the dimension of an allocation.
37 * @return uint32_t The X dimension of the allocation.
43 * Query the dimension of an allocation.
45 * @return uint32_t The Y dimension of the allocation.
51 * Query the dimension of an allocation.
53 * @return uint32_t The Z dimension of the allocation
    [all...]
  /frameworks/base/graphics/java/android/renderscript/
ScriptIntrinsicBlend.java 45 private void blend(int id, Allocation ain, Allocation aout) {
61 public void forEachClear(Allocation ain, Allocation aout) {
81 public void forEachSrc(Allocation ain, Allocation aout) {
101 public void forEachDst(Allocation ain, Allocation aout) {
120 public void forEachSrcOver(Allocation ain, Allocation aout)
    [all...]
Path.java 38 Allocation mVertexBuffer;
39 Allocation mLoopBuffer;
44 Path(int id, RenderScript rs, Primitive p, Allocation vtx, Allocation loop, float q) {
52 public Allocation getVertexAllocation() {
56 public Allocation getLoopAllocation() {
69 public static Path createStaticPath(RenderScript rs, Primitive p, float quality, Allocation vtx) {
75 public static Path createStaticPath(RenderScript rs, Primitive p, float quality, Allocation vtx, Allocation loops) {
79 public static Path createDynamicPath(RenderScript rs, Primitive p, float quality, Allocation vtx)
    [all...]
Allocation.java 32 * Memory allocation class for renderscript. An allocation combines a
48 * For example, when creating a allocation for a texture, the user can
51 * synchronization if a script modifies an allocation used by other targets it must
57 * memory types. A {@link android.renderscript.Allocation#syncAll syncAll()}
61 * <p>Allocation data is uploaded in one of two primary ways. For simple
73 public class Allocation extends BaseObj {
77 Allocation mAdaptedAllocation;
97 * The usage of the allocation. These signal to renderscript
98 * where to place the allocation in memory
    [all...]
  /frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/
ScriptIntrinsicBlend.java 45 private void blend(int id, Allocation ain, Allocation aout) {
61 public void forEachClear(Allocation ain, Allocation aout) {
81 public void forEachSrc(Allocation ain, Allocation aout) {
101 public void forEachDst(Allocation ain, Allocation aout) {
120 public void forEachSrcOver(Allocation ain, Allocation aout)
    [all...]
  /external/chromium/chrome/browser/ui/gtk/
gtk_expanded_container_unittest.cc 78 GtkAllocation allocation = { 0, 0, 50, 100 }; local
79 gtk_widget_size_allocate(expanded_, &allocation);
81 EXPECT_EQ(0, child1->allocation.x);
82 EXPECT_EQ(0, child1->allocation.y);
83 EXPECT_EQ(50, child1->allocation.width);
84 EXPECT_EQ(100, child1->allocation.height);
86 EXPECT_EQ(10, child2->allocation.x);
87 EXPECT_EQ(20, child2->allocation.y);
88 EXPECT_EQ(50, child2->allocation.width);
89 EXPECT_EQ(100, child2->allocation.height)
111 GtkAllocation allocation = { 10, 10, 50, 100 }; local
137 GtkAllocation allocation = { 0, 0, 300, 100 }; local
    [all...]
  /external/stlport/test/eh/
mwerks_nosgi_debug_prefix.h 4 #define _STLP_DEBUG_UNINITIALIZED 1 // enable the use of allocation debugging
mwerks_debug_prefix.h 4 #define _STLP_DEBUG 1 // enable the use of allocation debugging
  /frameworks/rs/tests/
compute.cpp 5 #include "Allocation.h"
31 sp<Allocation> a1 = Allocation::createSized(rs, e, 1000);
32 printf("Allocation %p\n", a1.get());
34 sp<Allocation> ain = Allocation::createTyped(rs, t);
35 sp<Allocation> aout = Allocation::createTyped(rs, t);
36 printf("Allocation %p %p\n", ain.get(), aout.get());
  /frameworks/rs/scriptc/
rs_allocation.rsh 18 * \brief Allocation routines
27 * Returns the Allocation for a given pointer. The pointer should point within
28 * a valid allocation. The results are undefined if the pointer is not from a
29 * valid allocation.
38 * Query the dimension of an allocation.
40 * @return uint32_t The X dimension of the allocation.
46 * Query the dimension of an allocation.
48 * @return uint32_t The Y dimension of the allocation.
54 * Query the dimension of an allocation.
56 * @return uint32_t The Z dimension of the allocation
    [all...]
  /frameworks/support/renderscript/v8/rs_support/scriptc/
rs_allocation.rsh 18 * \brief Allocation routines
27 * Returns the Allocation for a given pointer. The pointer should point within
28 * a valid allocation. The results are undefined if the pointer is not from a
29 * valid allocation.
38 * Query the dimension of an allocation.
40 * @return uint32_t The X dimension of the allocation.
46 * Query the dimension of an allocation.
48 * @return uint32_t The Y dimension of the allocation.
54 * Query the dimension of an allocation.
56 * @return uint32_t The Z dimension of the allocation
    [all...]
  /frameworks/rs/
rsAllocation.cpp 28 Allocation::Allocation(Context *rsc, const Type *type, uint32_t usages,
41 Allocation * Allocation::createAllocation(Context *rsc, const Type *type, uint32_t usages,
43 Allocation *a = new Allocation(rsc, type, usages, mc, ptr);
45 if (!rsc->mHal.funcs.allocation.init(rsc, a, type->getElement()->getHasReferences())) {
46 rsc->setError(RS_ERROR_FATAL_DRIVER, "Allocation::Allocation, alloc failure");
54 void Allocation::updateCache()
    [all...]
rs_hal.h 31 class Allocation;
110 const Allocation * ain,
111 Allocation * aout,
131 Allocation *data);
140 bool (*init)(const Context *rsc, Allocation *alloc, bool forceZero);
141 void (*destroy)(const Context *rsc, Allocation *alloc);
143 void (*resize)(const Context *rsc, const Allocation *alloc, const Type *newType,
145 void (*syncAll)(const Context *rsc, const Allocation *alloc, RsAllocationUsageType src);
146 void (*markDirty)(const Context *rsc, const Allocation *alloc);
148 int32_t (*initSurfaceTexture)(const Context *rsc, const Allocation *alloc)
210 } allocation; member in struct:android::renderscript::__anon18762
    [all...]
  /frameworks/support/renderscript/v8/rs_support/
rsAllocation.cpp 25 Allocation::Allocation(Context *rsc, const Type *type, uint32_t usages,
38 Allocation * Allocation::createAllocation(Context *rsc, const Type *type, uint32_t usages,
40 Allocation *a = new Allocation(rsc, type, usages, mc, ptr);
42 if (!rsc->mHal.funcs.allocation.init(rsc, a, type->getElement()->getHasReferences())) {
43 rsc->setError(RS_ERROR_FATAL_DRIVER, "Allocation::Allocation, alloc failure");
51 void Allocation::updateCache()
    [all...]
rs_hal.h 31 class Allocation;
110 const Allocation * ain,
111 Allocation * aout,
131 Allocation *data);
140 bool (*init)(const Context *rsc, Allocation *alloc, bool forceZero);
141 void (*destroy)(const Context *rsc, Allocation *alloc);
143 void (*resize)(const Context *rsc, const Allocation *alloc, const Type *newType,
145 void (*syncAll)(const Context *rsc, const Allocation *alloc, RsAllocationUsageType src);
146 void (*markDirty)(const Context *rsc, const Allocation *alloc);
148 int32_t (*initSurfaceTexture)(const Context *rsc, const Allocation *alloc)
210 } allocation; member in struct:android::renderscript::__anon18791
    [all...]
  /frameworks/base/tests/RenderScriptTests/SurfaceTexture/src/com/example/android/rs/sto/
SurfaceTextureOpaqueRS.java 35 private Allocation mSto;
36 private Allocation mSto2;
37 private Allocation mRto;
47 mSto = Allocation.createTyped(mRS, tb.create(), Allocation.USAGE_GRAPHICS_TEXTURE |
48 Allocation.USAGE_IO_INPUT);
49 mRto = Allocation.createTyped(mRS, tb.create(), Allocation.USAGE_GRAPHICS_RENDER_TARGET |
50 Allocation.USAGE_IO_OUTPUT);
51 mSto2 = Allocation.createTyped(mRS, tb.create(), Allocation.USAGE_GRAPHICS_TEXTURE
    [all...]
  /frameworks/rs/driver/
rsdAllocation.h 59 } lod[android::renderscript::Allocation::MAX_LOD];
72 android::renderscript::Allocation *alloc,
75 android::renderscript::Allocation *alloc);
78 const android::renderscript::Allocation *alloc,
81 const android::renderscript::Allocation *alloc,
84 const android::renderscript::Allocation *alloc);
86 const android::renderscript::Allocation *alloc);
88 android::renderscript::Allocation *alloc, ANativeWindow *nw);
90 android::renderscript::Allocation *alloc);
92 android::renderscript::Allocation *alloc)
    [all...]
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
AllocationTest.java 22 import android.renderscript.Allocation;
24 import android.renderscript.Allocation.MipmapControl;
48 Allocation.createTyped(mRS, typeBuilder.create());
59 Allocation.createTyped(mRS, typeBuilder.setX(8).create(),
61 Allocation.USAGE_GRAPHICS_TEXTURE);
62 Allocation.createTyped(mRS, typeBuilder.setY(8).create(),
64 Allocation.USAGE_GRAPHICS_TEXTURE);
66 Allocation.createTyped(mRS, typeBuilder.create(),
68 Allocation.USAGE_GRAPHICS_TEXTURE |
69 Allocation.USAGE_SCRIPT)
    [all...]
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...]
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...]
  /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/RenderScriptTests/tests/src/com/android/rs/test/
UT_alloc.java 40 Allocation A = Allocation.createTyped(RS, typeBuilder.create());
45 Allocation AFaces = Allocation.createTyped(RS, typeBuilder.create());
48 Allocation ALOD = Allocation.createTyped(RS, typeBuilder.create());
51 Allocation AFacesLOD = Allocation.createTyped(RS, typeBuilder.create());

Completed in 966 milliseconds

1 2 3 4 5 6 7 8 91011>>