Searched defs:allocation (Results 1 - 25 of 31) sorted by relevance

12

/external/chromium_org/cc/output/
H A Dmanaged_memory_policy.cc22 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
/external/chromium_org/third_party/WebKit/Source/wtf/
H A DBitVector.cpp83 void* allocation = partitionAllocGeneric(Partitions::getBufferPartition(), size); local
84 OutOfLineBits* result = new (NotNull, allocation) OutOfLineBits(numBits);
/external/clang/test/Sema/
H A Dwarn-unused-function.c50 static void cleanupMalloc(char * const * const allocation) { } argument
/external/chromium_org/base/memory/
H A Ddiscardable_memory_manager.cc63 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...]
H A Ddiscardable_memory_manager_unittest.cc87 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...]
/external/chromium_org/content/common/gpu/client/
H A Dcontext_provider_command_buffer.cc179 const gpu::MemoryAllocation& allocation) {
185 memory_policy_changed_callback_.Run(cc::ManagedMemoryPolicy(allocation));
178 OnMemoryAllocationChanged( const gpu::MemoryAllocation& allocation) argument
H A Dcommand_buffer_proxy_impl.cc112 const gpu::MemoryAllocation& allocation) {
114 memory_allocation_changed_callback_.Run(allocation);
111 OnSetMemoryAllocation( const gpu::MemoryAllocation& allocation) argument
/external/chromium_org/third_party/WebKit/Source/platform/audio/
H A DAudioArray.h52 // 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/chromium_org/components/web_cache/browser/
H A Dweb_cache_manager.cc90 // Revise our allocation strategy to account for this new renderer.
118 // it is given a fair cache allocation, but we defer this for a bit in
223 NOTREACHED() << "Unknown cache allocation tactic";
265 // We succeeded in computing an allocation strategy.
292 // Record the allocation in our strategy.
299 // Inform each render process of its cache allocation.
300 AllocationStrategy::const_iterator allocation = strategy.begin(); local
301 while (allocation != strategy.end()) {
303 content::RenderProcessHost::FromID(allocation->first);
306 size_t capacity = allocation
[all...]
/external/chromium_org/content/common/gpu/
H A Dgpu_memory_manager.cc108 // 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 Dgpu_memory_manager_unittest.cc48 MemoryAllocation allocation; member in struct:content::ClientAssignmentCollector::ClientMemoryStat
60 const MemoryAllocation& allocation) {
62 client_memory_stats_for_last_manage_[client].allocation = allocation;
208 // Expect memory allocation to set suggest_have_frontbuffer/backbuffer
210 // Expect memory allocation to be shared according to share groups for stubs
238 // Expect memory allocation to set suggest_have_frontbuffer/backbuffer
240 // Expect memory allocation to be shared according to share groups for stubs
360 // Expect memory allocation of the stubs without surface to share memory
361 // allocation wit
59 AddClientStat(GpuMemoryManagerClient* client, const MemoryAllocation& allocation) argument
[all...]
H A Dtexture_image_transport_surface.cc122 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;
H A Dgpu_command_buffer_stub.cc1058 const gpu::MemoryAllocation& allocation) {
1060 !allocation.Equals(last_memory_allocation_)) {
1062 route_id_, allocation));
1066 last_memory_allocation_ = allocation;
1057 SetMemoryAllocation( const gpu::MemoryAllocation& allocation) argument
/external/chromium_org/third_party/webrtc/modules/bitrate_controller/
H A Dbitrate_controller_impl.cc358 uint32_t allocation = std::min(remainder, it->second->min_bitrate_); local
359 it->first->OnNetworkChanged(allocation, fraction_loss, rtt);
360 remainder -= allocation;
/external/chromium_org/v8/test/cctest/
H A Dtest-spaces.cc415 { AllocationResult allocation = lo->AllocateRaw(lo_size, NOT_EXECUTABLE); local
416 if (allocation.IsRetry()) break;
H A Dtest-mark-compact.cc143 AllocationResult allocation; local
145 allocation = heap->AllocateFixedArray(arraysize);
146 } while (!allocation.IsRetry());
152 allocation = heap->AllocateMap(JS_OBJECT_TYPE, JSObject::kHeaderSize);
153 } while (!allocation.IsRetry());
H A Dtest-heap.cc763 // We just initialized the VM, no heap allocation failure yet.
985 // Increase the chance of 'bump-the-pointer' allocation in old space.
2684 // Test regular array literals allocation.
3583 v8::internal::AllocationResult allocation = local
3586 v8::internal::FreeListNode::cast(allocation.ToObjectChecked());
3645 AllocationResult allocation = CcTest::heap()->new_space()->AllocateRaw( local
3647 CHECK(allocation.To(&obj));
3833 // Warm-up with inline allocation enabled.
3836 // Run test with inline allocation disabled.
3840 // Run test with inline allocation r
[all...]
/external/lldb/source/Expression/
H A DIRMemoryMap.cpp255 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...]
H A DIRExecutionUnit.cpp91 IRExecutionUnit::FreeNow (lldb::addr_t allocation) argument
93 if (allocation == LLDB_INVALID_ADDRESS)
98 Free(allocation, err);
/external/chromium_org/third_party/tcmalloc/vendor/src/
H A Dheap-profile-table.cc140 // Make malloc and mmap allocation maps.
157 void HeapProfileTable::DeallocateAllocationMap(AllocationMap* allocation) { argument
158 if (allocation != NULL) {
160 dealloc_(allocation);
617 // tied to the allocation map that belongs in this module and is
688 // Perhaps also log the allocation stack trace (unsymbolized)
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/
H A Dturnserver.cc70 // 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...]
/external/chromium_org/v8/src/heap/
H A Dheap-inl.h97 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/clang/lib/CodeGen/
H A DCGExprCXX.cpp626 // Don't allow allocation of fewer elements than we have initializers.
648 // allocation fails.
846 // We know this can't overflow; we check this when doing the allocation.
1012 /// to a replaceable global allocation function.
1039 // Find the allocation or deallocation function that we're calling.
1207 // 1. Build a call to the allocation function.
1214 // The allocation size is the first argument.
1232 // We start at 1 here because the first argument (the allocation size)
1239 // Emit the allocation call. If the allocator is a global placement
1251 // Emit a null check on the allocation resul
1262 llvm::Value *allocation = RV.getScalarVal(); local
[all...]
/external/chromium_org/v8/src/
H A Dparser.cc3790 CallRuntime* allocation = factory()->NewCallRuntime( local
3797 Token::INIT_VAR, init_proxy, allocation, RelocInfo::kNoPosition);
/external/chromium_org/v8/src/arm64/
H A Dlithium-codegen-arm64.cc2860 // Use the fast case closure allocation code that allocates in new
3816 Label* allocation_entry() { return &allocation; }
3819 Label allocation; member in class:v8::internal::DeferredMathAbsTagged
4585 // Slow case: call the runtime system to do the number allocation.

Completed in 493 milliseconds

12