/external/chromium_org/tools/memory_inspector/memory_inspector/core/ |
native_heap.py | 19 def Add(self, allocation): 20 assert(isinstance(allocation, Allocation)) 21 self.allocations += [allocation] 39 class Allocation(object): 40 """A Native allocation, modeled in a size*count fashion. 42 |count| is the number of identical stack_traces which performed the allocation
|
/external/llvm/tools/lli/ |
RemoteMemoryManager.h | 11 // allocation. Iterators are provided for all data and code allocations. 31 struct Allocation { 32 Allocation() {} 33 Allocation(sys::MemoryBlock mb, unsigned a, bool code) 42 // This vector contains Allocation objects for all sections which we have 45 SmallVector<Allocation, 2> AllocatedSections; 47 // This vector contains pointers to Allocation objects for any sections we 51 SmallVector<Allocation, 2> UnmappedSections; 55 DenseMap<uint64_t, Allocation> MappedSections;
|
/external/chromium_org/base/memory/ |
discardable_memory_manager.h | 22 // Allocate and acquire a lock that prevents the allocation from being purged 27 // Release a previously acquired lock on the allocation so that it can be 31 // Explicitly purge this allocation. It is illegal to call this while a lock 32 // is acquired on the allocation. 60 // of all allocation instances (in case they need to be purged), and the total 69 typedef DiscardableMemoryManagerAllocation Allocation; 104 // Adds the given allocation to the manager's collection. 105 void Register(Allocation* allocation, size_t bytes); 107 // Removes the given allocation from the manager's collection [all...] |
/external/chromium_org/chrome/browser/renderer_host/ |
web_cache_manager.h | 53 // manager may decide to adjust its resource allocation, but it will delay 97 // An allocation is the number of bytes a specific renderer should use for 99 typedef std::pair<int,size_t> Allocation; 101 // An allocation strategy is a list of allocations specifying the resources 103 typedef std::list<Allocation> AllocationStrategy; 111 // Recomputes the allocation of cache resources among the renderers. Also 112 // informs the renderers of their new allocation. 118 // The various tactics used as part of an allocation strategy. To decide 123 // Determining a resource allocation strategy amounts to picking a tactic 132 // some extra allocation to store new objects [all...] |
web_cache_manager_unittest.cc | 20 typedef WebCacheManager::Allocation Allocation;
|
/external/lldb/include/lldb/Expression/ |
IRMemoryMap.h | 44 eAllocationPolicyInvalid = 0, ///< It is an error for an allocation to have this policy. 45 eAllocationPolicyHostOnly, ///< This allocation was created in the host and will never make it into the process. 47 eAllocationPolicyMirror, ///< The intent is that this allocation exist both in the host and the process and have 49 eAllocationPolicyProcessOnly ///< The intent is that this allocation exist only in the process. 80 struct Allocation 82 lldb::addr_t m_process_alloc; ///< The (unaligned) base for the remote allocation 83 lldb::addr_t m_process_start; ///< The base address of the allocation in the process 84 size_t m_size; ///< The size of the requested allocation 86 uint8_t m_alignment; ///< The alignment of the requested allocation 93 Allocation (lldb::addr_t process_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) : 75 void Allocation::validateIsInt32() { 80 ALOGE("32 bit integer source does not match allocation type %i", dt); 83 void Allocation::validateIsInt16() { 88 ALOGE("16 bit integer source does not match allocation type %i", dt); 91 void Allocation::validateIsInt8() { 96 ALOGE("8 bit integer source does not match allocation type %i", dt) [all...] |
rsCppStructs.h | 29 * Every row in an RS allocation is guaranteed to be aligned by this amount, and 30 * every row in a user-backed allocation must be aligned by this amount. 44 class Allocation; 218 sp<const Element> ALLOCATION; 281 * from RenderScript kernels. An Allocation provides the backing store for a 284 * An Allocation also contains a set of usage flags that denote how the 285 * Allocation could be used. For example, an Allocation may have usage flags 288 * syncAll(int) in order to ensure that different users of the Allocation have 289 * a consistent view of memory. For example, in the case where an Allocation i [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 | 20 import android.renderscript.Allocation; 22 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...] |
/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 | 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]; 99 static Allocation * createAllocation(Context *rsc, const Type *, uint32_t usages, 102 virtual ~Allocation(); 109 void copyRange1D(Context *rsc, const Allocation *src, int32_t srcOff, int32_t destOff, int32_t len); 137 static Allocation *createFromStream(Context *rsc, IStream *stream); 170 bool hasSameDims(const Allocation *Other) const; 184 const android::renderscript::Allocation *alloc; 196 Allocation(Context *rsc, const Type *, uint32_t usages, RsAllocationMipmapControl mc, void *ptr) [all...] |
/external/lldb/source/Expression/ |
IRMemoryMap.cpp | 203 IRMemoryMap::Allocation::Allocation (lldb::addr_t process_alloc, 255 error.SetErrorString("Couldn't malloc: invalid allocation policy"); 316 m_allocations[aligned_address] = Allocation(allocation_address, 364 error.SetErrorString("Couldn't leak: allocation doesn't exist"); 368 Allocation &allocation = iter->second; local 370 allocation.m_leak = true; 383 error.SetErrorString("Couldn't free: allocation doesn't exist"); 387 Allocation &allocation = iter->second local 445 Allocation &allocation = iter->second; local 575 Allocation &allocation = iter->second; local 706 Allocation &allocation = iter->second; local [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
avrfsdk.h | 43 ULONG64 Allocation;
|
/prebuilts/ndk/9/platforms/android-19/arch-arm/usr/include/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]; 99 static Allocation * createAllocation(Context *rsc, const Type *, uint32_t usages, 102 virtual ~Allocation(); 109 void copyRange1D(Context *rsc, const Allocation *src, int32_t srcOff, int32_t destOff, int32_t len); 137 static Allocation *createFromStream(Context *rsc, IStream *stream); 178 const android::renderscript::Allocation *alloc; 190 Allocation(Context *rsc, const Type *, uint32_t usages, RsAllocationMipmapControl mc, void *ptr);
|
/prebuilts/ndk/9/platforms/android-19/arch-mips/usr/include/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]; 99 static Allocation * createAllocation(Context *rsc, const Type *, uint32_t usages, 102 virtual ~Allocation(); 109 void copyRange1D(Context *rsc, const Allocation *src, int32_t srcOff, int32_t destOff, int32_t len); 137 static Allocation *createFromStream(Context *rsc, IStream *stream); 178 const android::renderscript::Allocation *alloc; 190 Allocation(Context *rsc, const Type *, uint32_t usages, RsAllocationMipmapControl mc, void *ptr);
|
/prebuilts/ndk/9/platforms/android-19/arch-x86/usr/include/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]; 99 static Allocation * createAllocation(Context *rsc, const Type *, uint32_t usages, 102 virtual ~Allocation(); 109 void copyRange1D(Context *rsc, const Allocation *src, int32_t srcOff, int32_t destOff, int32_t len); 137 static Allocation *createFromStream(Context *rsc, IStream *stream); 178 const android::renderscript::Allocation *alloc; 190 Allocation(Context *rsc, const Type *, uint32_t usages, RsAllocationMipmapControl mc, void *ptr);
|
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/ |
turnserver.cc | 70 // Encapsulates a TURN allocation. 71 // The object is created when an allocation request is received, and then 73 // (via HandleChannelData) for this allocation when received by the server. 75 class TurnServer::Allocation : public talk_base::MessageHandler, 78 Allocation(TurnServer* server_, 82 virtual ~Allocation(); 96 sigslot::signal1<Allocation*> SignalDestroyed; 145 // allocation, and self-deletes when its lifetime timer expires. 165 // allocation, and self-deletes when its lifetime timer expires. 296 // This is a channel message; let the allocation handle it 297 Allocation* allocation = FindAllocation(&conn); local 321 Allocation* allocation = FindAllocation(conn); local 415 Allocation* allocation = FindAllocation(conn); local 525 Allocation* allocation = new Allocation(this, local [all...] |
/external/compiler-rt/lib/asan/ |
asan_report.cc | 55 const char *Allocation() { return Magenta(); } 479 Printf("%sfreed by thread T%d%s here:%s\n", d.Allocation(), 487 d.Allocation(), alloc_thread->tid, 491 Printf("%sallocated by thread T%d%s here:%s\n", d.Allocation(), [all...] |
/external/llvm/lib/CodeGen/ |
StackColoring.cpp | 259 const AllocaInst *Allocation = MFI->getObjectAllocation(Slot); 260 if (Allocation) { 262 " with allocation: "<< Allocation->getName()<<"\n"); 477 assert(To && From && "Invalid allocation object");
|
/frameworks/rs/driver/runtime/ |
rs_structs.h | 8 * internal members of the C++ class Allocation owned by librs. Unfortunately, 27 typedef struct Allocation { 57 } lod[16/*android::renderscript::Allocation::MAX_LOD*/];
|
/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...] |
/frameworks/base/rs/java/android/renderscript/ |
Allocation.java | 30 * and from RenderScript kernels. An Allocation provides the backing store for 33 * <p>An Allocation also contains a set of usage flags that denote how the 34 * Allocation could be used. For example, an Allocation may have usage flags 37 * different usages using {@link android.renderscript.Allocation#syncAll} in 38 * order to ensure that different users of the Allocation have a consistent view 39 * of memory. For example, in the case where an Allocation is used as the output 41 * {@link #syncAll syncAll(Allocation.USAGE_SCRIPT)} prior to launching the 44 * <p>An Allocation can be populated with the {@link #copyFrom} routines. For 54 public class Allocation extends BaseObj [all...] |
/prebuilts/ndk/9/platforms/android-19/arch-arm/usr/include/rs/cpp/ |
rsCppStructs.h | 28 * Every row in an RS allocation is guaranteed to be aligned by this amount, and 29 * every row in a user-backed allocation must be aligned by this amount. 43 class Allocation; 217 sp<const Element> ALLOCATION; 280 * from RenderScript kernels. An Allocation provides the backing store for a 283 * An Allocation also contains a set of usage flags that denote how the 284 * Allocation could be used. For example, an Allocation may have usage flags 287 * syncAll(int) in order to ensure that different users of the Allocation have 288 * a consistent view of memory. For example, in the case where an Allocation i [all...] |
/prebuilts/ndk/9/platforms/android-19/arch-mips/usr/include/rs/cpp/ |
rsCppStructs.h | 28 * Every row in an RS allocation is guaranteed to be aligned by this amount, and 29 * every row in a user-backed allocation must be aligned by this amount. 43 class Allocation; 217 sp<const Element> ALLOCATION; 280 * from RenderScript kernels. An Allocation provides the backing store for a 283 * An Allocation also contains a set of usage flags that denote how the 284 * Allocation could be used. For example, an Allocation may have usage flags 287 * syncAll(int) in order to ensure that different users of the Allocation have 288 * a consistent view of memory. For example, in the case where an Allocation i [all...] |