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

1 2 3 4 5 6 78 91011>>

  /frameworks/rs/
rsProgram.cpp 40 mTextures = new ObjectBaseRef<Allocation>[mHal.state.texturesCount];
44 mConstants = new ObjectBaseRef<Allocation>[mHal.state.constantsCount];
46 mHal.state.textures = new Allocation*[mHal.state.texturesCount];
51 mHal.state.constants = new Allocation*[mHal.state.constantsCount];
139 void Program::bindAllocation(Context *rsc, Allocation *alloc, uint32_t slot) {
144 rsc->setError(RS_ERROR_BAD_SHADER, "Cannot bind allocation");
150 rsc->setError(RS_ERROR_BAD_SHADER, "Cannot bind allocation");
168 void Program::bindTexture(Context *rsc, uint32_t slot, Allocation *a) {
204 p->bindAllocation(rsc, static_cast<Allocation *>(constants), slot);
209 p->bindTexture(rsc, slot, static_cast<Allocation *>(a))
    [all...]
rsAllocation.h 40 class Allocation : public ObjectBase {
41 // The graphics equivalent of malloc. The allocation contains a structure of elements.
80 static Allocation * createAllocation(Context *rsc, const Type *, uint32_t usages,
83 virtual ~Allocation();
90 void copyRange1D(Context *rsc, const Allocation *src, int32_t srcOff, int32_t destOff, int32_t len);
118 static Allocation *createFromStream(Context *rsc, IStream *stream);
158 Allocation(Context *rsc, const Type *, uint32_t usages, RsAllocationMipmapControl mc, void *ptr);
rsScriptC_Lib.cpp 158 Allocation *in, Allocation *out,
164 void rsrAllocationSyncAll(Context *rsc, Script *sc, Allocation *a, RsAllocationUsageType usage) {
168 void rsrAllocationCopy1DRange(Context *rsc, Allocation *dstAlloc,
172 Allocation *srcAlloc,
179 void rsrAllocationCopy2DRange(Context *rsc, Allocation *dstAlloc,
183 Allocation *srcAlloc,
  /packages/wallpapers/Galaxy4/src/com/android/galaxy4/
GalaxyRS.java 6 import android.renderscript.Allocation;
48 private Allocation mCloudAllocation;
49 private Allocation mStaticStarAllocation;
50 private Allocation mStaticStar2Allocation;
51 private Allocation mBgAllocation;
108 private Allocation loadTexture(int id) {
109 final Allocation allocation = Allocation.createFromBitmapResource(mRS, mRes, id); local
110 return allocation;
    [all...]
  /sdk/ddms/libs/ddmlib/src/com/android/ddmlib/
NativeAllocationInfo.java 27 * Stores native allocation information.
74 * @param allocations the allocation count
83 * Adds a stack call address for this allocation.
91 * Returns the total size of this allocation.
98 * Returns whether the allocation happened in a child of the zygote
106 * Returns the allocation count.
121 * Returns the stack call of this allocation as raw addresses.
122 * @return the list of addresses where the allocation happened.
129 * Sets the resolved stack call for this allocation.
263 * lower level of the libc, but the actual method that performed the allocation
    [all...]
  /external/qemu/memcheck/
memcheck_malloc_map.c 28 /* Allocation descriptor stored in the map. */
33 /* Allocation descriptor for this entry. */
41 /* Gets address of the beginning of an allocation block for the given entry in
44 * adesc - Entry in the allocation descriptors map.
46 * Address of the beginning of an allocation block for the given entry in the
55 /* Gets address of the end of an allocation block for the given entry in
58 * adesc - Entry in the allocation descriptors map.
60 * Address of the end of an allocation block for the given entry in the map.
72 /* Compare routine for the allocation descriptors map.
101 /* Inserts new (or replaces existing) entry into allocation descriptors map
    [all...]
memcheck_util.h 81 // Helpers for transfering memory allocation information.
84 /* Copies memory allocation descriptor from the guest's address space to the
98 /* Copies memory allocation descriptor from the emulator's memory to the guest's
126 /* Copies memory allocation query descriptor from the guest's address space to
141 /* Fails allocation request (TRACE_DEV_REG_MALLOC event).
142 * Allocation request failure is reported by zeroing 'libc_pid' filed in the
143 * allocation descriptor in the guest's address space.
145 * guest_address - Allocation descriptor address in the guest's address space,
159 /* Fails memory allocation query request (TRACE_DEV_REG_QUERY_MALLOC event).
188 * This routine is called after new entry is inserted into allocation map, s
    [all...]
  /external/webkit/Source/JavaScriptCore/jit/
ExecutableAllocator.h 85 CRASH(); // Allocation is too large
103 typedef PageAllocation Allocation;
105 class Allocation {
107 Allocation(void* base, size_t size)
121 typedef Vector<Allocation, 2> AllocationList;
147 void tryShrink(void* allocation, size_t oldSize, size_t newSize)
149 if (static_cast<char*>(allocation) + oldSize != m_freePtr)
151 m_freePtr = static_cast<char*>(allocation) + roundUpAllocationSize(newSize, sizeof(void*));
164 static Allocation systemAlloc(size_t n);
165 static void systemRelease(Allocation& alloc)
    [all...]
  /external/clang/test/Analysis/
unix-fns.c 62 char* foo = malloc(0); // expected-warning{{Call to 'malloc' has an allocation size of 0 bytes}}
74 char *foo = calloc(0, 42); // expected-warning{{Call to 'calloc' has an allocation size of 0 bytes}}
80 char *foo = calloc(42, 0); // expected-warning{{Call to 'calloc' has an allocation size of 0 bytes}}
92 char *foo = realloc(ptr, 0); // expected-warning{{Call to 'realloc' has an allocation size of 0 bytes}}
104 char *foo = alloca(0); // expected-warning{{Call to 'alloca' has an allocation size of 0 bytes}}
116 char *foo2 = __builtin_alloca(0); // expected-warning{{Call to 'alloca' has an allocation size of 0 bytes}}
128 char *foo = valloc(0); // expected-warning{{Call to 'valloc' has an allocation size of 0 bytes}}
  /external/icu4c/tools/genrb/
ustr.c 28 #define ALLOCATION(minSize) (minSize < 0x80 ? 0x80 : (2 * minSize + 0x80) & ~(0x80 - 1))
48 ustr_resize(s, ALLOCATION(length), status);
87 ustr_resize(dst, ALLOCATION(src->fLength), status);
108 ustr_resize(s, ALLOCATION(len), status);
135 ustr_resize(dst, ALLOCATION(dst->fLength + n), status);
155 ustr_resize(dst, ALLOCATION(dst->fLength + 1), status);
187 ustr_resize(dst, ALLOCATION(dst->fLength + len), status);
  /frameworks/support/renderscript/v8/rs_support/
rsAllocation.h 37 class Allocation : public ObjectBase {
38 // The graphics equivalent of malloc. The allocation contains a structure of elements.
77 static Allocation * createAllocation(Context *rsc, const Type *, uint32_t usages,
80 virtual ~Allocation();
87 void copyRange1D(Context *rsc, const Allocation *src, int32_t srcOff, int32_t destOff, int32_t len);
115 static Allocation *createFromStream(Context *rsc, IStream *stream);
149 Allocation(Context *rsc, const Type *, uint32_t usages, RsAllocationMipmapControl mc, void *ptr);
rsScriptC_Lib.cpp 158 Allocation *in, Allocation *out,
164 void rsrAllocationSyncAll(Context *rsc, Script *sc, Allocation *a, RsAllocationUsageType usage) {
168 void rsrAllocationCopy1DRange(Context *rsc, Allocation *dstAlloc,
172 Allocation *srcAlloc,
179 void rsrAllocationCopy2DRange(Context *rsc, Allocation *dstAlloc,
183 Allocation *srcAlloc,
  /frameworks/base/docs/html/guide/topics/renderscript/
advanced.jd 23 <a href="#mem-allocation">Memory Allocation APIs</a>
73 <li>Memory allocation request features</li>
341 lets you specify the memory space of this memory allocation. There are four memory space
345 <li>{@link android.renderscript.Allocation#USAGE_SCRIPT}: Allocates in the script memory
348 <li>{@link android.renderscript.Allocation#USAGE_GRAPHICS_TEXTURE}: Allocates in the
351 <li>{@link android.renderscript.Allocation#USAGE_GRAPHICS_VERTEX}: Allocates in the vertex
354 <li>{@link android.renderscript.Allocation#USAGE_GRAPHICS_CONSTANTS}: Allocates in the
364 Allocation.USAGE_SCRIPT | Allocation.USAGE_GRAPHICS_VERTEX)
    [all...]
  /frameworks/base/graphics/java/android/renderscript/
Script.java 149 protected void forEach(int slot, Allocation ain, Allocation aout, FieldPacker v) {
181 public void bindAllocation(Allocation va, int slot) {
292 protected Allocation mAllocation;
295 mAllocation = Allocation.createSized(rs, mElement, dimx, Allocation.USAGE_SCRIPT);
299 mAllocation = Allocation.createSized(rs, mElement, dimx, Allocation.USAGE_SCRIPT | usages);
313 public Allocation getAllocation() {
  /frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
TorusTest.java 26 import android.renderscript.Allocation.MipmapControl;
65 private Allocation mTexTorus;
98 mTests[index].testName = Allocation.createFromString(mRS,
100 Allocation.USAGE_SCRIPT);
103 Allocation.USAGE_SCRIPT);
231 private Allocation loadTextureRGB(int id) {
232 return Allocation.createFromBitmapResource(mRS, mRes, id,
233 Allocation.MipmapControl.MIPMAP_ON_SYNC_TO_TEXTURE,
234 Allocation.USAGE_GRAPHICS_TEXTURE);
TextTest.java 48 mTests[index].testName = Allocation.createFromString(mRS,
50 Allocation.USAGE_SCRIPT);
53 Allocation.USAGE_SCRIPT);
  /frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/
Script.java 149 protected void forEach(int slot, Allocation ain, Allocation aout, FieldPacker v) {
181 public void bindAllocation(Allocation va, int slot) {
292 protected Allocation mAllocation;
295 mAllocation = Allocation.createSized(rs, mElement, dimx, Allocation.USAGE_SCRIPT);
299 mAllocation = Allocation.createSized(rs, mElement, dimx, Allocation.USAGE_SCRIPT | usages);
313 public Allocation getAllocation() {
  /external/chromium/chrome/browser/ui/gtk/infobars/
extension_infobar_gtk.cc 77 GtkAllocation* allocation) {
78 gfx::Size new_size(allocation->width, allocation->height);
  /external/icu4c/common/
cmemory.c 9 * File cmemory.c ICU Heap allocation.
10 * All ICU heap allocation, both for C and C++ new of ICU
13 * If you have a need to replace ICU allocation, this is the
  /external/llvm/lib/CodeGen/
LiveDebugVariables.h 14 // allocation.
16 // After register allocation new DBG_VALUE instructions are emitted to reflect
53 /// that happened during register allocation.
  /external/valgrind/main/memcheck/tests/
origin2-not-quite.stderr.exp 6 Uninitialised value was created by a heap allocation
16 Uninitialised value was created by a heap allocation
26 Uninitialised value was created by a stack allocation
  /external/webkit/Source/JavaScriptCore/runtime/
RopeImpl.h 43 void* allocation; local
44 if (tryFastMalloc(sizeof(RopeImpl) + (fiberCount - 1) * sizeof(Fiber)).getValue(allocation))
45 return adoptRef(new (allocation) RopeImpl(fiberCount));
  /frameworks/base/tests/RenderScriptTests/ImageProcessing/src/com/android/rs/image/
GroupTest.java 21 import android.renderscript.Allocation;
35 private Allocation mScratchPixelsAllocation1;
78 mScratchPixelsAllocation1 = Allocation.createTyped(mRS, connect);
  /frameworks/rs/cpp/
RenderScript.h 32 class Allocation;
36 friend class Allocation;
89 Element *ALLOCATION;
  /packages/wallpapers/Basic/src/com/android/wallpaper/grass/
GrassRS.java 58 //private Allocation mBladesBuffer;
59 private Allocation mBladesIndicies;
202 mBladesIndicies = Allocation.createSized(mRS, Element.U16(mRS), mIndicies);
255 private Allocation generateTextureAlpha() {
261 final Allocation allocation = Allocation.createTyped(mRS, builder.create(), local
262 Allocation.USAGE_GRAPHICS_TEXTURE);
267 AllocationAdapter a = AllocationAdapter.create2D(mRS, allocation);
275 return allocation;
    [all...]

Completed in 755 milliseconds

1 2 3 4 5 6 78 91011>>