HomeSort by relevance Sort by last modified time
    Searched full:allocation (Results 1 - 25 of 2659) 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
  /frameworks/base/libs/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...]
  /prebuilt/sdk/14/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...]
  /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:__anon3229::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...]
gtk_chrome_shrinkable_hbox_unittest.cc 61 // Check if all children's size allocation are inside the |box_|'s boundary.
78 int x = box_->allocation.x + border_width;
79 int width = box_->allocation.width - border_width * 2;
131 GtkAllocation allocation = { 0, 0, 0, 200 }; local
138 allocation.width = width;
140 // cause queue resize, so it's necessary to do another size allocation to
142 gtk_widget_size_allocate(box_, &allocation);
143 gtk_widget_size_allocate(box_, &allocation);
151 allocation.width = width;
154 // allocation to emulate the queue resize
    [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
  /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...]
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...]
ForEachTest.java 19 import android.renderscript.Allocation;
62 Allocation badOut = Allocation.createTyped(mRS, t);
66 Allocation in = Allocation.createTyped(mRS, t);
68 Allocation out = Allocation.createTyped(mRS, t);
81 in = Allocation.createTyped(mRS, t);
83 out = Allocation.createTyped(mRS, t);
96 in = Allocation.createTyped(mRS, t)
    [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/libs/rs/driver/
rsdAllocation.h 57 android::renderscript::Allocation *alloc,
60 android::renderscript::Allocation *alloc);
63 const android::renderscript::Allocation *alloc,
66 const android::renderscript::Allocation *alloc,
69 const android::renderscript::Allocation *alloc);
72 const android::renderscript::Allocation *alloc,
76 const android::renderscript::Allocation *alloc,
81 const android::renderscript::Allocation *alloc,
87 const android::renderscript::Allocation *dstAlloc,
89 const android::renderscript::Allocation *srcAlloc
    [all...]
  /frameworks/base/libs/rs/
rsAllocation.cpp 24 Allocation::Allocation(Context *rsc, const Type *type, uint32_t usages,
37 Allocation * Allocation::createAllocation(Context *rsc, const Type *type, uint32_t usages,
39 Allocation *a = new Allocation(rsc, type, usages, mc);
41 if (!rsc->mHal.funcs.allocation.init(rsc, a, type->getElement()->getHasReferences())) {
42 rsc->setError(RS_ERROR_FATAL_DRIVER, "Allocation::Allocation, alloc failure");
49 void Allocation::updateCache()
    [all...]
rs_hal.h 29 class Allocation;
87 const Allocation * ain,
88 Allocation * aout,
110 bool (*init)(const Context *rsc, Allocation *alloc, bool forceZero);
111 void (*destroy)(const Context *rsc, Allocation *alloc);
113 void (*resize)(const Context *rsc, const Allocation *alloc, const Type *newType,
115 void (*syncAll)(const Context *rsc, const Allocation *alloc, RsAllocationUsageType src);
116 void (*markDirty)(const Context *rsc, const Allocation *alloc);
118 void (*data1D)(const Context *rsc, const Allocation *alloc,
121 void (*data2D)(const Context *rsc, const Allocation *alloc
157 } allocation; member in struct:android::renderscript::__anon14761
    [all...]
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;
  /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());
  /frameworks/base/graphics/java/android/renderscript/
Allocation.java 30 * Memory allocation class for renderscript. An allocation combines a
46 * For example, when creating a allocation for a texture, the user can
49 * synchronization if a script modifies an allocation used by other targets it must
55 * memory types. A {@link android.renderscript.Allocation#syncAll syncAll()}
59 * <p>Allocation data is uploaded in one of two primary ways. For simple
66 public class Allocation extends BaseObj {
70 Allocation mAdaptedAllocation;
88 * The usage of the allocation. These signal to renderscript
89 * where to place the allocation in memory
    [all...]
  /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());
  /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...]
  /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}}
  /dalvik/vm/
AllocTracker.h 17 * Allocation tracking and reporting.
29 * Enable allocation tracking. Does nothing if tracking is already enabled.
34 * Disable allocation tracking. Does nothing if tracking is not enabled.
39 * If allocation tracking is enabled, add a new entry to the set.
49 * Generate a DDM packet with all of the tracked allocation data.
  /frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/
FBOSyncRS.java 54 private Allocation mGridImage;
55 private Allocation mOffscreen;
56 private Allocation mOffscreenDepth;
57 private Allocation mAllocPV;
58 private Allocation mReadBackTest;
61 private Allocation mTextAlloc;
118 mGridImage = Allocation.createFromBitmapResource(mRS, mRes, R.drawable.robot,
119 Allocation.MipmapControl.MIPMAP_ON_SYNC_TO_TEXTURE,
120 Allocation.USAGE_GRAPHICS_TEXTURE);
126 mTextAlloc = Allocation.createFromString(mRS, allocString, Allocation.USAGE_SCRIPT)
    [all...]
  /development/samples/RenderScript/Balls/src/com/example/android/rs/balls/
BallsRS.java 41 Allocation.USAGE_SCRIPT |
42 Allocation.USAGE_GRAPHICS_CONSTANTS);
70 private Allocation loadTexture(int id) {
71 final Allocation allocation = local
72 Allocation.createFromBitmapResource(mRS, mRes,
73 id, Allocation.MipmapControl.MIPMAP_NONE,
74 Allocation.USAGE_GRAPHICS_TEXTURE);
75 return allocation;
105 mPoints = new ScriptField_Point(mRS, PART_COUNT, Allocation.USAGE_SCRIPT)
    [all...]

Completed in 1281 milliseconds

1 2 3 4 5 6 7 8 91011>>