/external/chromium_org/base/memory/ |
D | discardable_memory_manager_unittest.cc | 96 void Register(TestAllocationImpl* allocation, size_t bytes) { in Register() argument 97 manager_.Register(allocation, bytes); in Register() 100 void Unregister(TestAllocationImpl* allocation) { in Unregister() argument 101 manager_.Unregister(allocation); in Unregister() 104 bool IsRegistered(TestAllocationImpl* allocation) const { in IsRegistered() 105 return manager_.IsRegisteredForTest(allocation); in IsRegistered() 108 LockStatus Lock(TestAllocationImpl* allocation) { in Lock() argument 110 if (!manager_.AcquireLock(allocation, &purged)) in Lock() 115 void Unlock(TestAllocationImpl* allocation) { in Unlock() argument 116 manager_.ReleaseLock(allocation); in Unlock() [all …]
|
D | discardable_memory_manager.cc | 80 void DiscardableMemoryManager::Register(Allocation* allocation, size_t bytes) { in Register() argument 87 DCHECK(allocations_.Peek(allocation) == allocations_.end()); in Register() 88 allocations_.Put(allocation, AllocationInfo(bytes)); in Register() 91 void DiscardableMemoryManager::Unregister(Allocation* allocation) { in Unregister() argument 93 AllocationMap::iterator it = allocations_.Peek(allocation); in Unregister() 106 bool DiscardableMemoryManager::AcquireLock(Allocation* allocation, in AcquireLock() argument 111 AllocationMap::iterator it = allocations_.Get(allocation); in AcquireLock() 134 *purged = !allocation->AllocateAndAcquireLock(); in AcquireLock() 144 void DiscardableMemoryManager::ReleaseLock(Allocation* allocation) { in ReleaseLock() argument 148 AllocationMap::iterator it = allocations_.Get(allocation); in ReleaseLock() [all …]
|
D | discardable_memory_manager.h | 105 void Register(Allocation* allocation, size_t bytes); 108 void Unregister(Allocation* allocation); 113 bool AcquireLock(Allocation* allocation, bool* purged); 117 void ReleaseLock(Allocation* allocation); 124 bool IsRegisteredForTest(Allocation* allocation) const; 128 bool CanBePurgedForTest(Allocation* allocation) const;
|
/external/lldb/source/Expression/ |
D | IRMemoryMap.cpp | 368 Allocation &allocation = iter->second; in Leak() local 370 allocation.m_leak = true; in Leak() 387 Allocation &allocation = iter->second; in Free() local 389 switch (allocation.m_policy) in Free() 398 … process_sp->DeallocateMemory(allocation.m_process_alloc); // FindSpace allocated this for real in Free() 408 process_sp->DeallocateMemory(allocation.m_process_alloc); in Free() 445 Allocation &allocation = iter->second; in WriteMemory() local 447 uint64_t offset = process_address - allocation.m_process_start; in WriteMemory() 451 switch (allocation.m_policy) in WriteMemory() 458 if (!allocation.m_data.GetByteSize()) in WriteMemory() [all …]
|
/external/valgrind/main/memcheck/tests/ |
D | origin4-many.stderr.exp | 3 Uninitialised value was created by a heap allocation 9 Uninitialised value was created by a heap allocation 15 Uninitialised value was created by a heap allocation 21 Uninitialised value was created by a heap allocation 27 Uninitialised value was created by a heap allocation 33 Uninitialised value was created by a heap allocation 39 Uninitialised value was created by a heap allocation 45 Uninitialised value was created by a heap allocation 51 Uninitialised value was created by a heap allocation
|
D | 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
|
D | origin3-no.stderr.exp | 6 Uninitialised value was created by a heap allocation 16 Uninitialised value was created by a stack allocation 24 Uninitialised value was created by a heap allocation 34 Uninitialised value was created by a heap allocation 44 Uninitialised value was created by a heap allocation
|
D | 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/valgrind/main/massif/tests/ |
D | basic2.post.exp | 39 00.00% (0B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 45 98.04% (3,600B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 52 98.04% (7,600B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 59 98.04% (10,800B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 66 98.04% (14,400B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 73 98.04% (11,200B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 80 98.04% (8,000B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 87 98.04% (4,800B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 94 98.04% (1,600B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
|
D | ignoring.post.exp | 40 99.22% (1,024B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 48 98.46% (512B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 61 98.46% (512B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 87 97.96% (768B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 102 97.96% (768B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 117 97.96% (768B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 132 97.96% (768B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 147 97.96% (768B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 163 97.96% (768B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 183 97.96% (768B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. [all …]
|
D | peak.post.exp | 42 86.32% (1,616B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 54 89.33% (3,216B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 66 90.39% (4,816B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 78 90.93% (6,416B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 90 91.26% (8,016B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 102 91.48% (9,616B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 114 91.63% (11,216B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 126 91.75% (12,816B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 138 91.85% (14,416B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 150 91.92% (16,016B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. [all …]
|
D | long-time.post.exp | 40 100.00% (2,300,000B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 56 100.00% (900,000B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 85 00.00% (0B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 96 00.00% (0B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 107 100.00% (2,300,000B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 122 100.00% (1,900,000B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 137 00.00% (0B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 151 100.00% (900,000B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 169 100.00% (1,100,000B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 187 100.00% (900,000B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. [all …]
|
D | peak2.post.exp | 42 86.32% (1,616B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 54 89.33% (3,216B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 66 90.39% (4,816B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 78 90.93% (6,416B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 90 91.26% (8,016B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 102 91.48% (9,616B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 114 91.63% (11,216B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 126 91.75% (12,816B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 138 91.85% (14,416B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 150 91.92% (16,016B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. [all …]
|
D | basic.post.exp | 48 98.04% (3,600B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 64 98.04% (7,600B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 80 98.04% (11,600B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 94 98.04% (14,400B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 110 98.04% (10,400B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 126 98.04% (6,400B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 142 98.04% (2,400B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
|
/external/chromium_org/v8/src/ |
D | heap.cc | 942 AllocationResult allocation; in ReserveSpace() local 944 allocation = new_space()->AllocateRaw(sizes[space]); in ReserveSpace() 946 allocation = paged_space(space)->AllocateRaw(sizes[space]); in ReserveSpace() 949 if (!allocation.To(&node)) { in ReserveSpace() 1999 AllocationResult allocation; in EvacuateObject() local 2003 allocation = heap->old_data_space()->AllocateRaw(allocation_size); in EvacuateObject() 2006 allocation = heap->old_pointer_space()->AllocateRaw(allocation_size); in EvacuateObject() 2010 if (allocation.To(&target)) { in EvacuateObject() 2035 AllocationResult allocation = in EvacuateObject() local 2038 HeapObject* target = HeapObject::cast(allocation.ToObjectChecked()); in EvacuateObject() [all …]
|
D | heap-inl.h | 109 { AllocationResult allocation = AllocateRaw(size, space, OLD_DATA_SPACE); in AllocateOneByteInternalizedString() local 110 if (!allocation.To(&result)) return allocation; in AllocateOneByteInternalizedString() 140 { AllocationResult allocation = AllocateRaw(size, space, OLD_DATA_SPACE); in AllocateTwoByteInternalizedString() local 141 if (!allocation.To(&result)) return allocation; in AllocateTwoByteInternalizedString() 195 AllocationResult allocation; in AllocateRaw() local 197 allocation = new_space_.AllocateRaw(size_in_bytes); in AllocateRaw() 199 allocation.IsRetry() && in AllocateRaw() 203 if (profiler->is_tracking_allocations() && allocation.To(&object)) { in AllocateRaw() 206 return allocation; in AllocateRaw() 211 allocation = old_pointer_space_->AllocateRaw(size_in_bytes); in AllocateRaw() [all …]
|
/external/chromium_org/third_party/WebKit/Source/platform/audio/ |
D | AudioArray.h | 83 T* allocation = static_cast<T*>(fastMalloc(initialSize + extraAllocationBytes)); in allocate() local 84 if (!allocation) in allocate() 86 T* alignedData = alignedAddress(allocation, alignment); in allocate() 88 if (alignedData == allocation || extraAllocationBytes == alignment) { in allocate() 89 m_allocation = allocation; in allocate() 96 fastFree(allocation); in allocate()
|
/external/chromium_org/third_party/sqlite/src/test/ |
D | memsubsys2.test | 12 # This file contains tests of the memory allocation subsystem. 75 # allocation. 109 set ::allocation [sqlite3_malloc 100000] 110 expr {$::allocation!="0"} 119 sqlite3_free $::allocation 147 set ::allocation [sqlite3_malloc 100000] 148 expr {$::allocation!="0"} 157 sqlite3_free $::allocation
|
/external/chromium_org/tools/memory_inspector/memory_inspector/classification/ |
D | native_heap_classifier.py | 63 for allocation in nativeheap.allocations: 64 res.AddToMatchingNodes(allocation, [allocation.total_size]) 184 def Match(self, allocation): argument 188 for frame in allocation.stack_trace.frames: 202 for frame in allocation.stack_trace.frames:
|
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/ |
D | turnserver.cc | 297 Allocation* allocation = FindAllocation(&conn); in OnInternalPacket() local 298 if (allocation) { in OnInternalPacket() 299 allocation->HandleChannelData(data, size); in OnInternalPacket() 321 Allocation* allocation = FindAllocation(conn); in HandleStunMessage() local 323 if (!allocation) { in HandleStunMessage() 326 key = allocation->key(); in HandleStunMessage() 336 if (!allocation && msg.type() == STUN_ALLOCATE_REQUEST) { in HandleStunMessage() 339 } else if (allocation && in HandleStunMessage() 341 msg.transaction_id() == allocation->transaction_id())) { in HandleStunMessage() 346 allocation->username()) { in HandleStunMessage() [all …]
|
/external/chromium_org/content/common/gpu/ |
D | gpu_memory_manager.cc | 289 MemoryAllocation allocation; in AssignSurfacesAllocations() local 290 allocation.bytes_limit_when_visible = client_hard_limit_bytes_; in AssignSurfacesAllocations() 294 allocation.priority_cutoff_when_visible = in AssignSurfacesAllocations() 302 allocation.priority_cutoff_when_visible = in AssignSurfacesAllocations() 306 client_state->client_->SetMemoryAllocation(allocation); in AssignSurfacesAllocations() 316 MemoryAllocation allocation; in AssignNonSurfacesAllocations() local 319 allocation.bytes_limit_when_visible = client_hard_limit_bytes_; in AssignNonSurfacesAllocations() 320 allocation.priority_cutoff_when_visible = in AssignNonSurfacesAllocations() 324 client_state->client_->SetMemoryAllocation(allocation); in AssignNonSurfacesAllocations()
|
D | image_transport_surface_fbo_mac.cc | 95 bool ImageTransportSurfaceFBO::SetBackbufferAllocation(bool allocation) { in SetBackbufferAllocation() argument 96 if (backbuffer_suggested_allocation_ == allocation) in SetBackbufferAllocation() 98 backbuffer_suggested_allocation_ = allocation; in SetBackbufferAllocation() 103 void ImageTransportSurfaceFBO::SetFrontbufferAllocation(bool allocation) { in SetFrontbufferAllocation() argument 104 if (frontbuffer_suggested_allocation_ == allocation) in SetFrontbufferAllocation() 106 frontbuffer_suggested_allocation_ = allocation; in SetFrontbufferAllocation()
|
/external/valgrind/main/memcheck/tests/linux/ |
D | rfcomm.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
|
/external/chromium_org/tools/memory_inspector/memory_inspector/core/ |
D | native_heap.py | 19 def Add(self, allocation): argument 20 assert(isinstance(allocation, Allocation)) 21 self.allocations += [allocation]
|
/external/chromium_org/cc/output/ |
D | managed_memory_policy.cc | 22 const gpu::MemoryAllocation& allocation) in ManagedMemoryPolicy() argument 23 : bytes_limit_when_visible(allocation.bytes_limit_when_visible), in ManagedMemoryPolicy() 24 priority_cutoff_when_visible(allocation.priority_cutoff_when_visible), in ManagedMemoryPolicy()
|