HomeSort by relevance Sort by last modified time
    Searched defs:Allocation (Results 1 - 24 of 24) sorted by null

  /external/llvm/tools/lli/
RecordingMemoryManager.h 11 // allocation. Iterators are provided for all data and code allocations.
28 typedef std::pair<sys::MemoryBlock, unsigned> Allocation;
31 SmallVector<Allocation, 16> AllocatedDataMem;
32 SmallVector<Allocation, 16> AllocatedCodeMem;
44 typedef SmallVectorImpl<Allocation>::const_iterator const_data_iterator;
45 typedef SmallVectorImpl<Allocation>::const_iterator const_code_iterator;
  /external/chromium/chrome/browser/renderer_host/
web_cache_manager.h 51 // manager may decide to adjust its resource allocation, but it will delay
86 // An allocation is the number of bytes a specific renderer should use for
88 typedef std::pair<int,size_t> Allocation;
90 // An allocation strategy is a list of allocations specifying the resources
92 typedef std::list<Allocation> AllocationStrategy;
100 // Recomputes the allocation of cache resources among the renderers. Also
101 // informs the renderers of their new allocation.
107 // The various tactics used as part of an allocation strategy. To decide
112 // Determining a resource allocation strategy amounts to picking a tactic
121 // some extra allocation to store new objects
    [all...]
web_cache_manager_unittest.cc 19 typedef WebCacheManager::Allocation Allocation;
  /external/webkit/Source/JavaScriptCore/heap/
Heap.h 52 enum OperationInProgress { NoOperation, Allocation, Collection };
75 bool isBusy(); // true if an allocation or collection is in progress
  /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...]
  /frameworks/rs/cpp/
Allocation.cpp 23 void * Allocation::getIDSafe() const {
27 void Allocation::updateCacheInfo(sp<const Type> t) {
40 Allocation::Allocation(void *id, sp<RS> rs, sp<const Type> t, uint32_t usage) :
72 void Allocation::validateIsInt32() {
77 ALOGE("32 bit integer source does not match allocation type %i", dt);
80 void Allocation::validateIsInt16() {
85 ALOGE("16 bit integer source does not match allocation type %i", dt);
88 void Allocation::validateIsInt8() {
93 ALOGE("8 bit integer source does not match allocation type %i", dt)
    [all...]
rsCppStructs.h 27 // Every row in an RS allocation is guaranteed to be aligned by this amount
28 // Every row in a user-backed allocation must be aligned by this amount
41 class Allocation;
97 Element *ALLOCATION;
180 class Allocation : public BaseObj {
184 android::sp<Allocation> mAdaptedAllocation;
205 Allocation(void *id, sp<RS> rs, sp<const Type> t, uint32_t usage);
229 void copy1DRangeFrom(uint32_t off, size_t count, sp<const Allocation> data, uint32_t dataOff);
243 sp<const Allocation> data, uint32_t dataXoff, uint32_t dataYoff);
256 static sp<Allocation> createTyped(sp<RS> rs, sp<const Type> type
    [all...]
  /frameworks/native/libs/binder/
MemoryDealer.cpp 112 class Allocation : public MemoryBase {
114 Allocation(const sp<MemoryDealer>& dealer,
116 virtual ~Allocation();
164 Allocation::Allocation(
175 Allocation::~Allocation()
182 * and could alias some real allocation (their offset is zero). */
244 memory = new Allocation(this, heap(), offset, size);
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
AllocationTest.java 22 import android.renderscript.Allocation;
24 import android.renderscript.Allocation.MipmapControl;
50 Allocation.createTyped(mRS, typeBuilder.create());
61 Allocation.createTyped(mRS, typeBuilder.setX(8).create(),
63 Allocation.USAGE_GRAPHICS_TEXTURE);
64 Allocation.createTyped(mRS, typeBuilder.setY(8).create(),
66 Allocation.USAGE_GRAPHICS_TEXTURE);
68 Allocation.createTyped(mRS, typeBuilder.create(),
70 Allocation.USAGE_GRAPHICS_TEXTURE |
71 Allocation.USAGE_SCRIPT)
    [all...]
  /frameworks/rs/
rsAllocation.cpp 30 Allocation::Allocation(Context *rsc, const Type *type, uint32_t usages,
44 void Allocation::operator delete(void* ptr) {
46 Allocation *a = (Allocation*) ptr;
51 Allocation * Allocation::createAllocation(Context *rsc, const Type *type, uint32_t usages,
53 // Allocation objects must use allocator specified by the driver
54 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Allocation), 0);
57 rsc->setError(RS_ERROR_FATAL_DRIVER, "Couldn't allocate memory for Allocation");
    [all...]
rsAllocation.h 37 class Allocation : public ObjectBase {
38 // The graphics equivalent of malloc. The allocation contains a structure of elements.
73 } lod[android::renderscript::Allocation::MAX_LOD];
85 static Allocation * createAllocation(Context *rsc, const Type *, uint32_t usages,
88 virtual ~Allocation();
95 void copyRange1D(Context *rsc, const Allocation *src, int32_t srcOff, int32_t destOff, int32_t len);
123 static Allocation *createFromStream(Context *rsc, IStream *stream);
162 Allocation(Context *rsc, const Type *, uint32_t usages, RsAllocationMipmapControl mc, void *ptr);
  /external/compiler-rt/lib/asan/
asan_report.cc 65 const char *Allocation() { return Magenta(); }
352 Printf("%sfreed by thread T%d%s here:%s\n", d.Allocation(),
360 d.Allocation(), alloc_thread->tid(),
368 Printf("%sallocated by thread T%d%s here:%s\n", d.Allocation(),
  /external/llvm/lib/CodeGen/
StackColoring.cpp 270 const AllocaInst *Allocation = MFI->getObjectAllocation(Slot);
271 if (Allocation) {
273 " with allocation: "<< Allocation->getName()<<"\n");
506 assert(To && From && "Invalid allocation object");
  /frameworks/compile/libbcc/lib/Renderscript/runtime/
rs_structs.h 8 * internal members of the C++ class Allocation owned by librs. Unfortunately,
27 typedef struct Allocation {
53 } lod[16/*android::renderscript::Allocation::MAX_LOD*/];
  /frameworks/base/graphics/java/android/renderscript/
Allocation.java 34 * and from RenderScript kernels. An Allocation provides the backing store for
37 * <p>An Allocation also contains a set of usage flags that denote how the
38 * Allocation could be used. For example, an Allocation may have usage flags
41 * different usages using {@link android.renderscript.Allocation#syncAll} in
42 * order to ensure that different users of the Allocation have a consistent view
43 * of memory. For example, in the case where an Allocation is used as the output
45 * {@link #syncAll syncAll(Allocation.USAGE_SCRIPT)} prior to launching the
48 * <p>An Allocation can be populated with the {@link #copyFrom} routines. For
58 public class Allocation extends BaseObj
    [all...]
  /frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
Allocation.java 32 * and from RenderScript kernels. An Allocation provides the backing store for
35 * <p>An Allocation also contains a set of usage flags that denote how the
36 * Allocation could be used. For example, an Allocation may have usage flags
40 * {@link android.support.v8.renderscript.Allocation#syncAll} in
41 * order to ensure that different users of the Allocation have a consistent view
42 * of memory. For example, in the case where an Allocation is used as the output
44 * {@link #syncAll syncAll(Allocation.USAGE_SCRIPT)} prior to launching the
47 * <p>An Allocation can be populated with the {@link #copyFrom} routines. For
59 public class Allocation extends BaseObj
    [all...]
  /prebuilts/sdk/renderscript/lib/
javalib.jar 
  /prebuilts/sdk/11/
android.jar 
  /prebuilts/sdk/12/
android.jar 
  /prebuilts/sdk/14/
android.jar 
  /prebuilts/sdk/15/
android.jar 
  /prebuilts/sdk/17/
android.jar 
  /prebuilts/sdk/18/
android.jar 
  /prebuilts/sdk/current/
android.jar 

Completed in 356 milliseconds