/external/chromium_org/gpu/command_buffer/client/ |
fenced_allocator_test.cc | 105 allocator_.reset(new FencedAllocator(kBufferSize, 114 EXPECT_TRUE(allocator_->CheckConsistency()); 119 scoped_ptr<FencedAllocator> allocator_; member in class:gpu::FencedAllocatorTest 124 allocator_->CheckConsistency(); 125 EXPECT_FALSE(allocator_->InUse()); 128 FencedAllocator::Offset offset = allocator_->Alloc(kSize); 129 EXPECT_TRUE(allocator_->InUse()); 132 EXPECT_TRUE(allocator_->CheckConsistency()); 134 allocator_->Free(offset); 135 EXPECT_FALSE(allocator_->InUse()) 489 scoped_ptr<FencedAllocatorWrapper> allocator_; member in class:gpu::FencedAllocatorWrapperTest [all...] |
mapped_memory.h | 32 return allocator_.GetLargestFreeSize(); 38 return allocator_.GetLargestFreeOrPendingSize(); 62 return allocator_.Alloc(size); 68 return allocator_.GetOffset(pointer); 76 allocator_.Free(pointer); 86 allocator_.FreePendingToken(pointer, token); 91 allocator_.FreeUnused(); 103 return allocator_.InUse(); 107 return allocator_.bytes_in_use(); 113 FencedAllocatorWrapper allocator_; member in class:gpu::MemoryChunk [all...] |
ring_buffer_test.cc | 131 allocator_.reset(new RingBuffer(kAlignment, kBaseOffset, kBufferSize, 142 scoped_ptr<RingBuffer> allocator_; member in class:gpu::RingBufferTest 148 EXPECT_EQ(kBufferSize, allocator_->GetLargestFreeOrPendingSize()); 149 EXPECT_EQ(kBufferSize, allocator_->GetLargestFreeSizeNoWaiting()); 150 void* pointer = allocator_->Alloc(kSize); 151 EXPECT_GE(kBufferSize, allocator_->GetOffset(pointer) - kBaseOffset + kSize); 152 EXPECT_EQ(kBufferSize, allocator_->GetLargestFreeOrPendingSize()); 153 EXPECT_EQ(kBufferSize - kSize, allocator_->GetLargestFreeSizeNoWaiting()); 155 allocator_->FreePendingToken(pointer, token); 168 void* pointer = allocator_->Alloc(kSize) [all...] |
fenced_allocator.h | 158 : allocator_(size, helper, poll_callback), 172 FencedAllocator::Offset offset = allocator_.Alloc(size); 197 allocator_.Free(GetOffset(pointer)); 208 allocator_.FreePendingToken(GetOffset(pointer), token); 213 allocator_.FreeUnused(); 234 return allocator_.GetLargestFreeSize(); 240 return allocator_.GetLargestFreeOrPendingSize(); 246 return allocator_.CheckConsistency(); 251 return allocator_.InUse(); 254 FencedAllocator &allocator() { return allocator_; } 259 FencedAllocator allocator_; member in class:gpu::FencedAllocatorWrapper [all...] |
/external/chromium_org/base/memory/ |
discardable_memory_ashmem_allocator_unittest.cc | 32 : allocator_(kAllocatorName, kAshmemRegionSizeForTesting) { 35 DiscardableMemoryAshmemAllocator allocator_; member in class:base::internal::DiscardableMemoryAshmemAllocatorTest 48 scoped_ptr<DiscardableAshmemChunk> memory(allocator_.Allocate(size)); 54 scoped_ptr<DiscardableAshmemChunk> memory(allocator_.Allocate(0)); 60 allocator_.Allocate(kMaxAllowedAllocationSize + 1)); 75 allocator_.Allocate(kMaxAllowedAllocationSize)); 93 scoped_ptr<DiscardableAshmemChunk> memory(allocator_.Allocate(size)); 99 scoped_ptr<DiscardableAshmemChunk> memory(allocator_.Allocate(kPageSize)); 106 scoped_ptr<DiscardableAshmemChunk> memory(allocator_.Allocate(kPageSize)); 110 allocator_.Allocate(kPageSize)) [all...] |
discardable_memory_ashmem.cc | 17 allocator_(allocator), 62 ashmem_chunk_ = allocator_->Allocate(bytes_);
|
discardable_memory_ashmem.h | 44 DiscardableMemoryAshmemAllocator* const allocator_; member in class:base::internal::DiscardableMemoryAshmem
|
discardable_memory_ashmem_allocator.cc | 151 allocator_->lock_.AssertAcquired(); 184 AutoLock auto_lock(allocator_->lock_); 225 allocator_(allocator), 238 allocator_->lock_.AssertAcquired(); 297 allocator_->lock_.AssertAcquired(); 350 allocator_->DeleteAshmemRegion_Locked(this); // Deletes |this|. 354 allocator_->lock_.AssertAcquired(); 372 allocator_->lock_.AssertAcquired(); 384 allocator_->lock_.AssertAcquired(); 397 DiscardableMemoryAshmemAllocator* const allocator_; member in class:base::internal::AshmemRegion [all...] |
/external/chromium_org/third_party/tcmalloc/vendor/src/ |
pagemap.h | 134 void* (*allocator_)(size_t); // Memory allocator member in class:TCMalloc_PageMap2 140 allocator_ = allocator; 170 Leaf* leaf = reinterpret_cast<Leaf*>((*allocator_)(sizeof(Leaf))); 229 void* (*allocator_)(size_t); // Memory allocator member in class:TCMalloc_PageMap3 232 Node* result = reinterpret_cast<Node*>((*allocator_)(sizeof(Node))); 243 allocator_ = allocator; 284 Leaf* leaf = reinterpret_cast<Leaf*>((*allocator_)(sizeof(Leaf)));
|
/external/chromium_org/gin/ |
per_isolate_data.h | 67 v8::ArrayBuffer::Allocator* allocator() { return allocator_; } 85 v8::ArrayBuffer::Allocator* allocator_; member in class:gin::PerIsolateData
|
/external/chromium_org/content/renderer/p2p/ |
port_allocator.cc | 107 allocator_(allocator), 149 if (allocator_->config_.legacy_relay) { 156 if (allocator_->config_.relays.empty()) 161 allocator_->config_.relays[0]; 176 allocator_->web_frame_->createAssociatedURLLoader(options)); 260 const P2PPortAllocator::Config& config = allocator_->config_;
|
/art/compiler/optimizing/ |
register_allocator.cc | 30 : allocator_(allocator), 95 interval = LiveInterval::MakeFixedInterval(allocator_, reg, type); 111 registers_array_ = allocator_->AllocArray<size_t>(number_of_registers_); 207 GrowableArray<LiveInterval*> intervals(allocator_, 0); 222 return ValidateIntervals(intervals, spill_slots_.Size(), *codegen_, allocator_, 687 move = new (allocator_) HParallelMove(allocator_); 694 move->AddMove(new (allocator_) MoveOperands(source, destination)); 715 move = new (allocator_) HParallelMove(allocator_); [all...] |
ssa_liveness_analysis.h | 137 : allocator_(allocator), 167 first_range_ = last_range_ = new (allocator_) LiveRange(start_block_position, position, nullptr); 177 first_range_ = new (allocator_) LiveRange(start_block_position, position, first_range_); 179 first_use_ = new (allocator_) UsePosition( 185 first_use_ = new (allocator_) UsePosition( 191 first_range_ = last_range_ = new (allocator_) LiveRange(start, end, first_range_); 198 first_range_ = new (allocator_) LiveRange(start, end, first_range_); 210 first_range_ = last_range_ = new (allocator_) LiveRange(start, end, nullptr); 228 first_range_ = last_range_ = new (allocator_) LiveRange(from, from + 2, nullptr); 353 LiveInterval* new_interval = new (allocator_) LiveInterval(allocator_, type_) 430 ArenaAllocator* const allocator_; member in class:art::LiveInterval [all...] |
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
pagemap.h | 337 void* (*allocator_)(size_t); // Memory allocator member in class:TCMalloc_PageMap2 343 allocator_ = allocator; 373 Leaf* leaf = reinterpret_cast<Leaf*>((*allocator_)(sizeof(Leaf))); 432 void* (*allocator_)(size_t); // Memory allocator member in class:TCMalloc_PageMap3 435 Node* result = reinterpret_cast<Node*>((*allocator_)(sizeof(Node))); 446 allocator_ = allocator; 487 Leaf* leaf = reinterpret_cast<Leaf*>((*allocator_)(sizeof(Leaf)));
|
/external/chromium_org/third_party/libjingle/source/talk/p2p/client/ |
portallocator_unittest.cc | 118 allocator_(new cricket::BasicPortAllocator( 122 allocator_->set_step_delay(cricket::kMinimumStepDelay); 129 return allocator_->SetPortRange(min_port, max_port); 164 allocator_->CreateSession( 218 return *allocator_; 235 for (size_t i = 0; i < allocator_->relays().size(); ++i) { 236 cricket::RelayServerConfig server_config = allocator_->relays()[i]; 258 talk_base::scoped_ptr<cricket::BasicPortAllocator> allocator_; member in class:PortAllocatorTest 311 allocator_->set_step_delay(cricket::kDefaultStepDelay); 667 allocator_->set_flags(allocator().flags() [all...] |
/external/chromium_org/base/containers/ |
stack_container.h | 145 StackContainer() : allocator_(&stack_data_), container_(allocator_) { 176 Allocator allocator_; member in class:base::StackContainer
|
/external/chromium_org/v8/src/ |
splay-tree.h | 39 : root_(NULL), allocator_(allocator) { } 54 AllocationPolicy allocator() { return allocator_; } 195 AllocationPolicy allocator_; member in class:v8::internal::SplayTree
|
string-stream.h | 96 allocator_(allocator), 99 buffer_(allocator_->allocate(kInitialCapacity)) { 160 StringAllocator* allocator_; member in class:v8::internal::V8_FINAL
|
splay-tree-inl.h | 26 root_ = new(allocator_) Node(key, Config::NoValue()); 38 Node* node = new(allocator_) Node(key, Config::NoValue()); 281 List<Node*, Allocator> nodes_to_visit(10, allocator_); 282 nodes_to_visit.Add(root_, allocator_); 286 if (node->left() != NULL) nodes_to_visit.Add(node->left(), allocator_); 287 if (node->right() != NULL) nodes_to_visit.Add(node->right(), allocator_);
|
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/ |
portallocatorsessionproxy_unittest.cc | 106 allocator_(talk_base::Thread::Current(), NULL), 129 cricket::FakePortAllocator allocator_; member in class:PortAllocatorSessionProxyTest
|
rawtransportchannel.cc | 61 allocator_(allocator), 105 allocator_session_ = allocator_->CreateSession(
|
sessionmanager.h | 59 PortAllocator *port_allocator() const { return allocator_; } 200 PortAllocator *allocator_; member in class:cricket::SessionManager
|
/ndk/sources/host-tools/ndk-stack/elff/ |
elf_file.cc | 46 allocator_(NULL), 76 if (allocator_ != NULL) { 77 delete allocator_; 148 allocator_ = new ElfAllocator(); 149 assert(allocator_ != NULL); 150 if (allocator_ == NULL) {
|
/art/compiler/dex/quick/ |
resource_mask.h | 154 : allocator_(allocator) { 160 ArenaAllocator* allocator_; member in class:art::ResourceMaskCache
|
/external/chromium_org/media/cdm/ppapi/ |
cdm_helpers.cc | 69 : buffer_(buffer), buffer_id_(buffer_id), size_(0), allocator_(allocator) { 74 // If still owning the |buffer_|, release it in the |allocator_|. 76 allocator_->Release(buffer_id_);
|