HomeSort by relevance Sort by last modified time
    Searched full:allocation (Results 1 - 25 of 3166) 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/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.
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...]
  /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...]
gtk_expanded_container.cc 22 GtkAllocation* allocation; member in struct:__anon3625::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/base/graphics/java/android/renderscript/
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...]
  /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/
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;
90 const Allocation * ain,
91 Allocation * aout,
120 bool (*init)(const Context *rsc, Allocation *alloc, bool forceZero);
121 void (*destroy)(const Context *rsc, Allocation *alloc);
123 void (*resize)(const Context *rsc, const Allocation *alloc, const Type *newType,
125 void (*syncAll)(const Context *rsc, const Allocation *alloc, RsAllocationUsageType src);
126 void (*markDirty)(const Context *rsc, const Allocation *alloc);
128 int32_t (*initSurfaceTexture)(const Context *rsc, const Allocation *alloc);
129 void (*setSurfaceTexture)(const Context *rsc, Allocation *alloc, ANativeWindow *sur)
172 } allocation; member in struct:android::renderscript::__anon17383
    [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...]
  /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...]
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...]
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...]
  /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());
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);
  /frameworks/base/tests/RenderScriptTests/tests_v14/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());
  /frameworks/rs/cpp/
Allocation.cpp 25 #include "Allocation.h"
30 void * Allocation::getIDSafe() const {
37 void Allocation::updateCacheInfo(sp<const Type> t) {
50 Allocation::Allocation(void *id, RenderScript *rs, sp<const Type> t, uint32_t usage) :
80 void Allocation::validateIsInt32() {
85 ALOGE("32 bit integer source does not match allocation type %i", dt);
88 void Allocation::validateIsInt16() {
93 ALOGE("16 bit integer source does not match allocation type %i", dt);
96 void Allocation::validateIsInt8()
    [all...]
Script.h 24 #include "Allocation.h"
32 class Allocation;
39 void forEach(uint32_t slot, sp<const Allocation> in, sp<const Allocation> out,
41 void bindAllocation(sp<Allocation> va, uint32_t slot) const;
70 sp<Allocation> mAllocation;
83 sp<const Allocation> getAllocation() {
  /development/samples/RenderScript/HelloCompute/src/com/example/android/rs/hellocompute/
HelloCompute.java 24 import android.renderscript.Allocation;
32 private Allocation mInAllocation;
33 private Allocation mOutAllocation;
58 mInAllocation = Allocation.createFromBitmap(mRS, mBitmapIn,
59 Allocation.MipmapControl.MIPMAP_NONE,
60 Allocation.USAGE_SCRIPT);
61 mOutAllocation = Allocation.createTyped(mRS, mInAllocation.getType());

Completed in 520 milliseconds

1 2 3 4 5 6 7 8 91011>>