/external/chromium_org/base/memory/ |
H A D | discardable_memory_manager_unittest.cc | 87 void Register(TestAllocationImpl* allocation, size_t bytes) { argument 88 manager_.Register(allocation, bytes); 91 void Unregister(TestAllocationImpl* allocation) { argument 92 manager_.Unregister(allocation); 95 bool IsRegistered(TestAllocationImpl* allocation) const { 96 return manager_.IsRegisteredForTest(allocation); 99 LockStatus Lock(TestAllocationImpl* allocation) { argument 101 if (!manager_.AcquireLock(allocation, &purged)) 106 void Unlock(TestAllocationImpl* allocation) { argument 107 manager_.ReleaseLock(allocation); 110 RegisterAndLock(TestAllocationImpl* allocation, size_t bytes) argument 141 TestAllocationImpl allocation; local 154 TestAllocationImpl allocation; local 164 TestAllocationImpl allocation; local 181 TestAllocationImpl allocation; local 202 TestAllocationImpl allocation; local 225 TestAllocationImpl allocation; local 280 TestAllocationImpl* allocation(unsigned position) { function in class:base::__anon2334::DiscardableMemoryManagerPermutationTest 372 TestAllocationImpl allocation; local 382 TestAllocationImpl allocation; local 395 TestAllocationImpl allocation; local 413 TestAllocationImpl allocation[3]; local 465 TestAllocationImpl allocation; local [all...] |
H A D | discardable_memory_manager.h | 21 // Allocate and acquire a lock that prevents the allocation from being purged 26 // Release a previously acquired lock on the allocation so that it can be 30 // Explicitly purge this allocation. It is illegal to call this while a lock 31 // is acquired on the allocation. 59 // of all allocation instances (in case they need to be purged), and the total 92 // Adds the given allocation to the manager's collection. 93 void Register(Allocation* allocation, size_t bytes); 95 // Removes the given allocation from the manager's collection. 96 void Unregister(Allocation* allocation); 99 // |purged| to indicate whether or not allocation ha [all...] |
H A D | discardable_memory_manager.cc | 63 void DiscardableMemoryManager::Register(Allocation* allocation, size_t bytes) { argument 65 DCHECK(allocations_.Peek(allocation) == allocations_.end()); 66 allocations_.Put(allocation, AllocationInfo(bytes)); 69 void DiscardableMemoryManager::Unregister(Allocation* allocation) { argument 71 AllocationMap::iterator it = allocations_.Peek(allocation); 84 bool DiscardableMemoryManager::AcquireLock(Allocation* allocation, argument 89 AllocationMap::iterator it = allocations_.Get(allocation); 112 *purged = !allocation->AllocateAndAcquireLock(); 122 void DiscardableMemoryManager::ReleaseLock(Allocation* allocation) { argument 126 AllocationMap::iterator it = allocations_.Get(allocation); 183 Allocation* allocation = it->first; local [all...] |
/external/lldb/source/Expression/ |
H A D | IRMemoryMap.cpp | 255 error.SetErrorString("Couldn't malloc: invalid allocation policy"); 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 389 switch (allocation.m_policy) 398 process_sp->DeallocateMemory(allocation.m_process_alloc); // FindSpace allocated this for real 408 process_sp->DeallocateMemory(allocation.m_process_alloc); 441 error.SetErrorString("Couldn't write: no allocation contain 445 Allocation &allocation = iter->second; local 575 Allocation &allocation = iter->second; local 706 Allocation &allocation = iter->second; local [all...] |
/external/valgrind/main/memcheck/tests/ |
H A 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
|
H A 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
|
H A 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
|
H A 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
|
/external/chromium_org/third_party/WebKit/Source/platform/audio/ |
H A D | AudioArray.h | 52 // It's OK to call allocate() multiple times, but data will *not* be copied from an initial allocation 83 T* allocation = static_cast<T*>(fastMalloc(initialSize + extraAllocationBytes)); local 84 if (!allocation) 86 T* alignedData = alignedAddress(allocation, alignment); 88 if (alignedData == allocation || extraAllocationBytes == alignment) { 89 m_allocation = allocation; 96 fastFree(allocation);
|
/external/fio/ |
H A D | gcompat.c | 41 return w->allocation.width; 46 return w->allocation.height;
|
/external/chromium_org/cc/output/ |
H A D | 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), 21 ManagedMemoryPolicy( const gpu::MemoryAllocation& allocation) argument
|
H A D | managed_memory_policy.h | 20 const gpu::MemoryAllocation& allocation);
|
/external/chromium_org/tools/memory_inspector/memory_inspector/classification/ |
H A D | native_heap_classifier.py | 15 rule-1 will match any allocation that has 'foo' in one of its stack frames. 16 rule-2 will match any allocation that has a stack frame matching 'foo' AND a 19 rule-3 will match any allocation in which at least one of the source paths in 21 rule-4 will match any allocation which satisfies both the conditions. 24 instance, filter by library file name or by allocation size. 63 for allocation in nativeheap.allocations: 64 res.AddToMatchingNodes(allocation, 65 [allocation.size, allocation.resident_size]) 76 |threshold| (1.0 = 100%) w.r.t. the total allocation o [all...] |
/external/valgrind/main/massif/tests/ |
H A 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.
|
/external/valgrind/main/memcheck/tests/linux/ |
H A 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/v8/src/heap/ |
H A D | heap.cc | 257 // Have allocation in OLD and LO failed? 501 // If the scratchpad overflowed, we have to iterate over the allocation 503 // TODO(hpayer): We iterate over the whole list of allocation sites when 505 // allocation sites. We could hold the maybe tenured allocation sites 558 "GC: (mode, #visited allocation sites, #active allocation sites, " 570 // TODO(hpayer): If iterating over the allocation sites list becomes a 572 // allocation sites scratchpad). 595 // Process pretenuring feedback and update allocation site 929 AllocationResult allocation; local 1960 AllocationResult allocation = local 1999 AllocationResult allocation; local 2269 AllocationResult allocation = AllocateRaw(Map::kSize, MAP_SPACE, MAP_SPACE); local 2294 AllocationResult allocation = AllocateRaw(Map::kSize, MAP_SPACE, MAP_SPACE); local 2328 AllocationResult allocation = AllocateRaw(size, space, space); local 2370 AllocationResult allocation = AllocatePartialMap(MAP_TYPE, Map::kSize); local 2397 AllocationResult allocation = AllocateEmptyFixedArray(); local 2403 AllocationResult allocation = Allocate(null_map(), OLD_POINTER_SPACE); local 2410 AllocationResult allocation = Allocate(undefined_map(), OLD_POINTER_SPACE); local 2422 AllocationResult allocation = AllocateEmptyFixedArray(); local 2429 AllocationResult allocation = AllocateEmptyConstantPoolArray(); local 2510 AllocationResult allocation = AllocateMap(entry.type, entry.size); local 2630 AllocationResult allocation = AllocateRaw(size, space, OLD_DATA_SPACE); local 2647 AllocationResult allocation = AllocateRaw(size, CELL_SPACE, CELL_SPACE); local 2661 AllocationResult allocation = local 3191 AllocationResult allocation = Allocate(foreign_map(), space); local 3206 AllocationResult allocation = AllocateRaw(size, space, OLD_DATA_SPACE); local 3365 AllocationResult allocation = AllocateRaw(size, space, OLD_DATA_SPACE); local 3411 AllocationResult allocation = AllocateRaw(size, space, OLD_DATA_SPACE); local 3428 AllocationResult allocation = local 3461 AllocationResult allocation; local 3501 AllocationResult allocation = local 3510 AllocationResult allocation = CopyConstantPoolArray(code->constant_pool()); local 3526 AllocationResult allocation = local 3582 AllocationResult allocation = AllocateRaw(size, space, retry_space); local 3644 AllocationResult allocation = AllocateFixedArray(prop_size, pretenure); local 3655 AllocationResult allocation = Allocate(map, space, allocation_site); local 3672 AllocationResult allocation = AllocateJSObjectFromMap( local 3701 AllocationResult allocation = local 3716 AllocationResult allocation = local 3740 AllocationResult allocation; local 3756 AllocationResult allocation = CopyFixedArray(properties); local 3834 AllocationResult allocation = AllocateRaw(size, space, OLD_DATA_SPACE); local 3876 AllocationResult allocation = AllocateRaw(size, space, OLD_DATA_SPACE); local 3900 AllocationResult allocation = AllocateRaw(size, space, OLD_DATA_SPACE); local 3917 AllocationResult allocation = local 3942 AllocationResult allocation = AllocateRawFixedArray(len, TENURED); local 3972 AllocationResult allocation = AllocateRawFixedArray(len, NOT_TENURED); local 3998 AllocationResult allocation = AllocateRawFixedDoubleArray(len, NOT_TENURED); local 4017 AllocationResult allocation = local 4023 AllocationResult allocation = AllocateConstantPoolArray(small); local 4056 AllocationResult allocation = AllocateRawFixedArray(length, pretenure); local 4078 AllocationResult allocation = AllocateRawFixedArray(length, NOT_TENURED); local 4093 AllocationResult allocation = AllocateRawFixedDoubleArray(length, pretenure); local 4115 AllocationResult allocation = AllocateRaw(size, space, OLD_DATA_SPACE); local 4134 AllocationResult allocation = AllocateRaw(size, space, OLD_POINTER_SPACE); local 4160 AllocationResult allocation = AllocateRaw(size, space, OLD_POINTER_SPACE); local 4178 AllocationResult allocation = local 4193 AllocationResult allocation = local 4235 AllocationResult allocation = Allocate(map, space); local [all...] |
H A D | heap-inl.h | 97 AllocationResult allocation = AllocateRaw(size, space, OLD_DATA_SPACE); local 98 if (!allocation.To(&result)) return allocation; 129 AllocationResult allocation = AllocateRaw(size, space, OLD_DATA_SPACE); local 130 if (!allocation.To(&result)) return allocation; 181 AllocationResult allocation; local 183 allocation = new_space_.AllocateRaw(size_in_bytes); 184 if (always_allocate() && allocation.IsRetry() && retry_space != NEW_SPACE) { 187 if (allocation [all...] |
/external/chromium_org/content/common/gpu/ |
H A D | gpu_memory_manager.cc | 108 // allocation on desktop platforms. 278 // Send that allocation to the clients. 288 // Populate and send the allocation to the client 289 MemoryAllocation allocation; local 290 allocation.bytes_limit_when_visible = client_hard_limit_bytes_; 294 allocation.priority_cutoff_when_visible = 302 allocation.priority_cutoff_when_visible = 306 client_state->client_->SetMemoryAllocation(allocation); 316 MemoryAllocation allocation; local 319 allocation [all...] |
H A D | gpu_memory_manager_client.h | 22 // send it allocation information and query its properties). 35 const gpu::MemoryAllocation& allocation) = 0;
|
H A D | texture_image_transport_surface.cc | 122 bool TextureImageTransportSurface::SetBackbufferAllocation(bool allocation) { argument 124 if (backbuffer_suggested_allocation_ == allocation) 126 backbuffer_suggested_allocation_ = allocation; 138 void TextureImageTransportSurface::SetFrontbufferAllocation(bool allocation) { argument 139 if (frontbuffer_suggested_allocation_ == allocation) 141 frontbuffer_suggested_allocation_ = allocation;
|
/external/chromium_org/tools/memory_inspector/memory_inspector/core/ |
H A D | native_heap.py | 22 def Add(self, allocation): 23 assert(isinstance(allocation, Allocation)) 24 self.allocations += [allocation] 62 estimates the resident size of an allocation intersecting the mmaps dump. 67 # or fully, with each allocation. For each of them, the allocation is 70 # The tricky part is that, in the general case, an allocation can span 100 """Records profiling information about a native heap allocation. 103 size: size of the allocation, in bytes. 104 stack_trace: the allocation cal [all...] |
/external/chromium_org/third_party/libsrtp/srtp/crypto/kernel/ |
H A D | 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/clang/test/Sema/ |
H A D | warn-unused-function.c | 50 static void cleanupMalloc(char * const * const allocation) { } argument
|
/external/srtp/crypto/kernel/ |
H A D | 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/libjingle/source/talk/p2p/base/ |
H A D | 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. 145 // allocation, and self-deletes when its lifetime timer expires. 165 // allocation, and self-deletes when its lifetime timer expires. 297 // This is a channel message; let the allocation handle it. 298 Allocation* allocation = FindAllocation(&conn); local 299 if (allocation) { 300 allocation->HandleChannelData(data, size); 330 // existing allocation, th 331 Allocation* allocation = FindAllocation(conn); local 424 Allocation* allocation = FindAllocation(conn); local 534 Allocation* allocation = new Allocation(this, local 591 OnAllocationDestroyed(Allocation* allocation) argument [all...] |