/frameworks/base/rs/java/android/renderscript/ |
Mesh.java | 30 * allocation that is provided separately, as multiple allocation 88 Allocation[] mVertexBuffers; 89 Allocation[] mIndexBuffers; 110 * @return vertex data allocation at the given index 113 public Allocation getVertexAllocation(int slot) { 131 * @param slot locaton within the list of index set allocation 132 * @return allocation containing primtive index data or null if 136 public Allocation getIndexSetAllocation(int slot) { 162 mVertexBuffers = new Allocation[vtxCount] [all...] |
ScriptIntrinsicHistogram.java | 25 private Allocation mOut; 58 * output allocation. The output allocation may be a narrower 69 public void forEach(Allocation ain) { 75 * output allocation. The output allocation may be a narrower 87 public void forEach(Allocation ain, Script.LaunchOptions opt) { 137 * @param aout The output allocation 139 public void setOutput(Allocation aout) { 165 * output allocation. The dot product of the input channel an [all...] |
/frameworks/base/tests/RenderScriptTests/MiscSamples/src/com/example/android/rs/miscsamples/ |
RsRenderStatesRS.java | 101 private Allocation mTexTorus; 102 private Allocation mTexOpaque; 103 private Allocation mTexTransparent; 104 private Allocation mTexChecker; 105 private Allocation mTexCube; 116 private Allocation mTextAlloc; 298 private Allocation loadTextureRGB(int id) { 299 return Allocation.createFromBitmapResource(mRS, mRes, id, 300 Allocation.MipmapControl.MIPMAP_ON_SYNC_TO_TEXTURE, 301 Allocation.USAGE_GRAPHICS_TEXTURE) [all...] |
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/ |
FullscreenBlur.java | 29 import android.renderscript.Allocation.MipmapControl;
62 int usage = Allocation.USAGE_GRAPHICS_TEXTURE | Allocation.USAGE_GRAPHICS_RENDER_TARGET;
63 sRenderTargetBlur0Color = new TextureRenderTarget(Allocation.createTyped(rs, renderType, usage));
64 sRenderTargetBlur1Color = new TextureRenderTarget(Allocation.createTyped(rs, renderType, usage));
65 sRenderTargetBlur2Color = new TextureRenderTarget(Allocation.createTyped(rs, renderType, usage));
70 usage = Allocation.USAGE_GRAPHICS_RENDER_TARGET;
71 sRenderTargetBlur0Depth = new TextureRenderTarget(Allocation.createTyped(rs, renderType, usage));
72 sRenderTargetBlur1Depth = new TextureRenderTarget(Allocation.createTyped(rs, renderType, usage));
73 sRenderTargetBlur2Depth = new TextureRenderTarget(Allocation.createTyped(rs, renderType, usage)); [all...] |
/frameworks/rs/ |
rsAllocation.h | 46 class Allocation : public ObjectBase { 47 // The graphics equivalent of malloc. The allocation contains a structure of elements. 82 } lod[android::renderscript::Allocation::MAX_LOD]; 101 static Allocation * createAllocation(Context *rsc, const Type *, uint32_t usages, 104 virtual ~Allocation(); 111 void copyRange1D(Context *rsc, const Allocation *src, int32_t srcOff, int32_t destOff, int32_t len); 139 static Allocation *createFromStream(Context *rsc, IStream *stream); 172 bool hasSameDims(const Allocation *Other) const; 186 const android::renderscript::Allocation *alloc; 198 Allocation(Context *rsc, const Type *, uint32_t usages, RsAllocationMipmapControl mc, void *ptr) [all...] |
rsAdapter.cpp | 28 Adapter1D::Adapter1D(Context *rsc, Allocation *a) : ObjectBase(rsc) { 62 Allocation * alloc = static_cast<Allocation *>(valloc); 99 Adapter2D::Adapter2D(Context *rsc, Allocation *a) : ObjectBase(rsc) { 136 Allocation * alloc = static_cast<Allocation *>(valloc);
|
rsScript.h | 102 void setSlot(uint32_t slot, Allocation *a); 113 const Allocation * ain, 114 Allocation * aout, 121 const Allocation** ains, 123 Allocation* aout, 140 ObjectBaseRef<Allocation> *mSlots;
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
ScriptCThunker.java | 70 void thunkBindAllocation(Allocation va, int slot) { 71 android.renderscript.Allocation nva = null; 100 void thunkForEach(int slot, Allocation ain, Allocation aout, FieldPacker v) { 101 android.renderscript.Allocation nin = null; 102 android.renderscript.Allocation nout = null; 120 void thunkForEach(int slot, Allocation ain, Allocation aout, FieldPacker v, 131 android.renderscript.Allocation nin = null; 132 android.renderscript.Allocation nout = null [all...] |
ScriptIntrinsicLUT.java | 29 private Allocation mTables; 56 si.mTables = Allocation.createSized(rs, Element.U8(rs), 1024); 130 * @param ain Input allocation 131 * @param aout Output allocation 133 public void forEach(Allocation ain, Allocation aout) {
|
/external/llvm/tools/lli/ |
RemoteMemoryManager.cpp | 11 // allocation. Iterators are provided for all data and code allocations. 26 for (SmallVector<Allocation, 2>::iterator 41 AllocatedSections.push_back( Allocation(Block, Alignment, true) ); 43 UnmappedSections.push_back( Allocation(Block, Alignment, true) ); 57 AllocatedSections.push_back( Allocation(Block, Alignment, false) ); 59 UnmappedSections.push_back( Allocation(Block, Alignment, false) ); 94 SmallVector<std::pair<Allocation, uint64_t>, 16> Offsets; 99 Allocation &Section = UnmappedSections[i]; 109 Offsets.push_back(std::pair<Allocation,uint64_t>(Section, CurOffset)); 116 Allocation &Section = UnmappedSections[i] [all...] |
/external/chromium_org/courgette/ |
memory_allocator.h | 115 // STL exceptions on allocation failure. Instead it returns NULL. 116 // A file allocation will be made if either the requested memory size exceeds 117 // |kMaxHeapAllocationSize| or if a heap allocation fails. 120 // allocation. This can happen because these resources are too small, or 134 // Each allocation is tagged with a single byte so that we know how to 141 // 5MB is the maximum heap allocation size that we'll attempt. 182 // We use the first byte of each allocation to mark the allocation type. 183 // However, so that the allocation is properly aligned, we allocate an 185 // to mark the allocation type [all...] |
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/rs/ |
BitmapUtils.java | 20 import android.renderscript.Allocation; 48 Allocation sums = Allocation.createSized(rs, Element.I32_4(rs), COLOR_BIT_DEPTH); 50 // Setup input allocation (ARGB 8888 bitmap). 51 Allocation input = Allocation.createFromBitmap(rs, bmap);
|
ScriptYuvToRgb.java | 28 * Convert {@link ImageFormat#YUV_420_888 flexible-YUV} {@link Allocation allocations} into 29 * a {@link ElementInfo#RGBA_8888 RGBA_8888} {@link Allocation allocation}.
|
/cts/tests/tests/rscpp/src/android/cts/rscpp/ |
RSBlendTest.java | 54 Allocation rsInput = Allocation.createTyped(mRS, build.create()); 55 Allocation rsOutput = Allocation.createTyped(mRS, build.create()); 113 Allocation rsCppOutput = Allocation.createTyped(mRS, build.create());
|
/external/chromium_org/third_party/libsrtp/srtp/crypto/kernel/ |
alloc.c | 4 * memory allocation and deallocation 48 /* the debug module for memory allocation */ 77 debug_print(mod_alloc, "allocation failed (asked for %d bytes)\n", size); 102 debug_print(mod_alloc, "allocation failed (asked for %d bytes)\n", size); 115 #else /* we need to define our own memory allocation routines */ 117 #error no memory allocation defined yet
|
/external/chromium_org/third_party/sqlite/src/src/ |
mem1.c | 13 ** This file contains low-level memory allocation drivers for when 17 ** This file contains implementations of the low-level memory allocation 30 ** Like malloc(), but remember the size of the allocation 80 ** Like realloc(). Resize an allocation previously obtained from 108 ** Round up a request size to the next valid allocation size. 133 ** Populate the low-level memory allocation function pointers in
|
/external/srtp/crypto/kernel/ |
alloc.c | 4 * memory allocation and deallocation 48 /* the debug module for memory allocation */ 77 debug_print(mod_alloc, "allocation failed (asked for %d bytes)\n", size); 102 debug_print(mod_alloc, "allocation failed (asked for %d bytes)\n", size); 115 #else /* we need to define our own memory allocation routines */ 117 #error no memory allocation defined yet
|
/external/valgrind/main/memcheck/tests/ |
origin1-yes.stderr.exp | 5 Uninitialised value was created by a stack allocation 12 Uninitialised value was created by a stack allocation 19 Uninitialised value was created by a stack allocation 26 Uninitialised value was created by a heap allocation 34 Uninitialised value was created by a heap allocation 42 Uninitialised value was created by a heap allocation
|
/frameworks/rs/driver/ |
rsdBcc.h | 40 const android::renderscript::Allocation * ain, 41 android::renderscript::Allocation * aout, 49 const android::renderscript::Allocation ** ains, 51 android::renderscript::Allocation * aout, 78 uint32_t slot, android::renderscript::Allocation *data); 96 android::renderscript::Allocation * rsdScriptGetAllocationForPointer(
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
ScriptTest.java | 21 import android.renderscript.Allocation; 51 Allocation a = Allocation.createTyped(mRS, tb.create());
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapcomparers/ |
BitmapComparer.java | 19 import android.renderscript.Allocation; 42 public boolean verifySameRS(Resources resources, Allocation ideal, 43 Allocation given, int offset, int stride, int width, int height,
|
/external/bison/darwin-lib/ |
alloca.h | 2 /* Memory allocation on the stack. 31 - in inline functions - the allocation may actually last until the 34 the stack is, and when the stack cannot fulfill the memory allocation
|
/external/bison/lib/ |
alloca.in.h | 1 /* Memory allocation on the stack. 30 - in inline functions - the allocation may actually last until the 33 the stack is, and when the stack cannot fulfill the memory allocation
|
/external/bison/linux-lib/ |
alloca.h | 2 /* Memory allocation on the stack. 31 - in inline functions - the allocation may actually last until the 34 the stack is, and when the stack cannot fulfill the memory allocation
|
/external/chromium_org/cc/output/ |
managed_memory_policy.cc | 22 const gpu::MemoryAllocation& allocation) 23 : bytes_limit_when_visible(allocation.bytes_limit_when_visible), 24 priority_cutoff_when_visible(allocation.priority_cutoff_when_visible),
|