allocator_ 138 base/containers/stack_container.h StackContainer() : allocator_(&stack_data_), container_(allocator_) { allocator_ 169 base/containers/stack_container.h Allocator allocator_; allocator_ 206 base/memory/discardable_memory_allocator_android.cc allocator_->lock_.AssertAcquired(); allocator_ 239 base/memory/discardable_memory_allocator_android.cc AutoLock auto_lock(allocator_->lock_); allocator_ 280 base/memory/discardable_memory_allocator_android.cc allocator_(allocator), allocator_ 293 base/memory/discardable_memory_allocator_android.cc allocator_->lock_.AssertAcquired(); allocator_ 352 base/memory/discardable_memory_allocator_android.cc allocator_->lock_.AssertAcquired(); allocator_ 405 base/memory/discardable_memory_allocator_android.cc allocator_->DeleteAshmemRegion_Locked(this); // Deletes |this|. allocator_ 409 base/memory/discardable_memory_allocator_android.cc allocator_->lock_.AssertAcquired(); allocator_ 427 base/memory/discardable_memory_allocator_android.cc allocator_->lock_.AssertAcquired(); allocator_ 439 base/memory/discardable_memory_allocator_android.cc allocator_->lock_.AssertAcquired(); allocator_ 452 base/memory/discardable_memory_allocator_android.cc DiscardableMemoryAllocator* const allocator_; allocator_ 32 base/memory/discardable_memory_allocator_android_unittest.cc : allocator_(kAllocatorName, kAshmemRegionSizeForTesting) { allocator_ 35 base/memory/discardable_memory_allocator_android_unittest.cc DiscardableMemoryAllocator allocator_; allocator_ 47 base/memory/discardable_memory_allocator_android_unittest.cc scoped_ptr<DiscardableMemory> memory(allocator_.Allocate(size)); allocator_ 53 base/memory/discardable_memory_allocator_android_unittest.cc scoped_ptr<DiscardableMemory> memory(allocator_.Allocate(0)); allocator_ 59 base/memory/discardable_memory_allocator_android_unittest.cc allocator_.Allocate(kMaxAllowedAllocationSize + 1)); allocator_ 74 base/memory/discardable_memory_allocator_android_unittest.cc allocator_.Allocate(kMaxAllowedAllocationSize)); allocator_ 93 base/memory/discardable_memory_allocator_android_unittest.cc scoped_ptr<DiscardableMemory> memory(allocator_.Allocate(size)); allocator_ 99 base/memory/discardable_memory_allocator_android_unittest.cc scoped_ptr<DiscardableMemory> memory(allocator_.Allocate(kPageSize)); allocator_ 106 base/memory/discardable_memory_allocator_android_unittest.cc scoped_ptr<DiscardableMemory> memory(allocator_.Allocate(kPageSize)); allocator_ 109 base/memory/discardable_memory_allocator_android_unittest.cc scoped_ptr<DiscardableMemory> memory_lock(allocator_.Allocate(kPageSize)); allocator_ 114 base/memory/discardable_memory_allocator_android_unittest.cc memory = allocator_.Allocate(kPageSize); allocator_ 122 base/memory/discardable_memory_allocator_android_unittest.cc scoped_ptr<DiscardableMemory> memory(allocator_.Allocate(kPageSize)); allocator_ 129 base/memory/discardable_memory_allocator_android_unittest.cc memory = allocator_.Allocate(kPageSize); allocator_ 135 base/memory/discardable_memory_allocator_android_unittest.cc scoped_ptr<DiscardableMemory> memory1(allocator_.Allocate(3 * kPageSize)); allocator_ 137 base/memory/discardable_memory_allocator_android_unittest.cc scoped_ptr<DiscardableMemory> memory2(allocator_.Allocate(2 * kPageSize)); allocator_ 139 base/memory/discardable_memory_allocator_android_unittest.cc scoped_ptr<DiscardableMemory> memory3(allocator_.Allocate(1 * kPageSize)); allocator_ 145 base/memory/discardable_memory_allocator_android_unittest.cc memory1 = allocator_.Allocate(1 * kPageSize); allocator_ 153 base/memory/discardable_memory_allocator_android_unittest.cc scoped_ptr<DiscardableMemory> memory1(allocator_.Allocate(kPageSize)); allocator_ 155 base/memory/discardable_memory_allocator_android_unittest.cc scoped_ptr<DiscardableMemory> memory2(allocator_.Allocate(kPageSize)); allocator_ 157 base/memory/discardable_memory_allocator_android_unittest.cc scoped_ptr<DiscardableMemory> memory3(allocator_.Allocate(kPageSize)); allocator_ 159 base/memory/discardable_memory_allocator_android_unittest.cc scoped_ptr<DiscardableMemory> memory4(allocator_.Allocate(kPageSize)); allocator_ 167 base/memory/discardable_memory_allocator_android_unittest.cc memory1 = allocator_.Allocate(3 * kPageSize); allocator_ 172 base/memory/discardable_memory_allocator_android_unittest.cc scoped_ptr<DiscardableMemory> memory1(allocator_.Allocate(4 * kPageSize)); allocator_ 174 base/memory/discardable_memory_allocator_android_unittest.cc scoped_ptr<DiscardableMemory> memory2(allocator_.Allocate(4 * kPageSize)); allocator_ 178 base/memory/discardable_memory_allocator_android_unittest.cc memory1 = allocator_.Allocate(2 * kPageSize); allocator_ 182 base/memory/discardable_memory_allocator_android_unittest.cc memory2 = allocator_.Allocate(6 * kPageSize); allocator_ 189 base/memory/discardable_memory_allocator_android_unittest.cc scoped_ptr<DiscardableMemory> memory1(allocator_.Allocate(4 * kPageSize)); allocator_ 191 base/memory/discardable_memory_allocator_android_unittest.cc scoped_ptr<DiscardableMemory> memory2(allocator_.Allocate(4 * kPageSize)); allocator_ 195 base/memory/discardable_memory_allocator_android_unittest.cc memory1 = allocator_.Allocate(2 * kPageSize); allocator_ 196 base/memory/discardable_memory_allocator_android_unittest.cc scoped_ptr<DiscardableMemory> memory3(allocator_.Allocate(2 * kPageSize)); allocator_ 203 base/memory/discardable_memory_allocator_android_unittest.cc memory2 = allocator_.Allocate(6 * kPageSize); allocator_ 210 base/memory/discardable_memory_allocator_android_unittest.cc scoped_ptr<DiscardableMemory> memory1(allocator_.Allocate(4 * kPageSize)); allocator_ 212 base/memory/discardable_memory_allocator_android_unittest.cc scoped_ptr<DiscardableMemory> memory2(allocator_.Allocate(4 * kPageSize)); allocator_ 215 base/memory/discardable_memory_allocator_android_unittest.cc memory1 = allocator_.Allocate(2 * kPageSize); allocator_ 216 base/memory/discardable_memory_allocator_android_unittest.cc scoped_ptr<DiscardableMemory> memory3(allocator_.Allocate(2 * kPageSize)); allocator_ 227 base/memory/discardable_memory_allocator_android_unittest.cc memory2 = allocator_.Allocate(2 * kPageSize); allocator_ 235 base/memory/discardable_memory_allocator_android_unittest.cc scoped_ptr<DiscardableMemory> memory_1(allocator_.Allocate(64 * 1024)); allocator_ 237 base/memory/discardable_memory_allocator_android_unittest.cc scoped_ptr<DiscardableMemory> memory_2(allocator_.Allocate(32 * 1024)); allocator_ 242 base/memory/discardable_memory_allocator_android_unittest.cc memory_2 = allocator_.Allocate(size); allocator_ 246 base/memory/discardable_memory_allocator_android_unittest.cc scoped_ptr<DiscardableMemory> memory_3(allocator_.Allocate(size)); allocator_ 256 base/memory/discardable_memory_allocator_android_unittest.cc scoped_ptr<DiscardableMemory> memory1(allocator_.Allocate(size)); allocator_ 261 base/memory/discardable_memory_allocator_android_unittest.cc allocator_.Allocate(kAshmemRegionSizeForTesting)); allocator_ 266 base/memory/discardable_memory_allocator_android_unittest.cc scoped_ptr<DiscardableMemory> memory3(allocator_.Allocate(kPageSize)); allocator_ 275 base/memory/discardable_memory_allocator_android_unittest.cc scoped_ptr<DiscardableMemory> memory1(allocator_.Allocate(kPageSize)); allocator_ 278 base/memory/discardable_memory_allocator_android_unittest.cc scoped_ptr<DiscardableMemory> memory2(allocator_.Allocate(4 * kPageSize)); allocator_ 282 base/memory/discardable_memory_allocator_android_unittest.cc memory2 = allocator_.Allocate(kPageSize); allocator_ 291 base/memory/discardable_memory_allocator_android_unittest.cc scoped_ptr<DiscardableMemory> memory3(allocator_.Allocate(4 * kPageSize)); allocator_ 297 base/memory/discardable_memory_allocator_android_unittest.cc memory3 = allocator_.Allocate((3 + 4) * kPageSize); allocator_ 112 content/renderer/p2p/port_allocator.cc allocator_(allocator), allocator_ 154 content/renderer/p2p/port_allocator.cc if (allocator_->config_.legacy_relay) { allocator_ 161 content/renderer/p2p/port_allocator.cc if (allocator_->config_.relays.empty()) allocator_ 166 content/renderer/p2p/port_allocator.cc allocator_->config_.relays[0]; allocator_ 181 content/renderer/p2p/port_allocator.cc allocator_->web_frame_->createAssociatedURLLoader(options)); allocator_ 265 content/renderer/p2p/port_allocator.cc const P2PPortAllocator::Config& config = allocator_->config_; allocator_ 113 content/renderer/p2p/port_allocator.h P2PPortAllocator* allocator_; allocator_ 23 gin/per_isolate_data.cc allocator_(allocator), allocator_ 67 gin/per_isolate_data.h v8::ArrayBuffer::Allocator* allocator() { return allocator_; } allocator_ 85 gin/per_isolate_data.h v8::ArrayBuffer::Allocator* allocator_; allocator_ 156 gpu/command_buffer/client/fenced_allocator.h : allocator_(size, helper, poll_callback), allocator_ 170 gpu/command_buffer/client/fenced_allocator.h FencedAllocator::Offset offset = allocator_.Alloc(size); allocator_ 195 gpu/command_buffer/client/fenced_allocator.h allocator_.Free(GetOffset(pointer)); allocator_ 206 gpu/command_buffer/client/fenced_allocator.h allocator_.FreePendingToken(GetOffset(pointer), token); allocator_ 211 gpu/command_buffer/client/fenced_allocator.h allocator_.FreeUnused(); allocator_ 232 gpu/command_buffer/client/fenced_allocator.h return allocator_.GetLargestFreeSize(); allocator_ 238 gpu/command_buffer/client/fenced_allocator.h return allocator_.GetLargestFreeOrPendingSize(); allocator_ 244 gpu/command_buffer/client/fenced_allocator.h return allocator_.CheckConsistency(); allocator_ 249 gpu/command_buffer/client/fenced_allocator.h return allocator_.InUse(); allocator_ 252 gpu/command_buffer/client/fenced_allocator.h FencedAllocator &allocator() { return allocator_; } allocator_ 254 gpu/command_buffer/client/fenced_allocator.h size_t bytes_in_use() const { return allocator_.bytes_in_use(); } allocator_ 257 gpu/command_buffer/client/fenced_allocator.h FencedAllocator allocator_; allocator_ 105 gpu/command_buffer/client/fenced_allocator_test.cc allocator_.reset(new FencedAllocator(kBufferSize, allocator_ 114 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_TRUE(allocator_->CheckConsistency()); allocator_ 119 gpu/command_buffer/client/fenced_allocator_test.cc scoped_ptr<FencedAllocator> allocator_; allocator_ 124 gpu/command_buffer/client/fenced_allocator_test.cc allocator_->CheckConsistency(); allocator_ 125 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_FALSE(allocator_->InUse()); allocator_ 128 gpu/command_buffer/client/fenced_allocator_test.cc FencedAllocator::Offset offset = allocator_->Alloc(kSize); allocator_ 129 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_TRUE(allocator_->InUse()); allocator_ 132 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_TRUE(allocator_->CheckConsistency()); allocator_ 134 gpu/command_buffer/client/fenced_allocator_test.cc allocator_->Free(offset); allocator_ 135 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_FALSE(allocator_->InUse()); allocator_ 136 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_TRUE(allocator_->CheckConsistency()); allocator_ 141 gpu/command_buffer/client/fenced_allocator_test.cc FencedAllocator::Offset offset = allocator_->Alloc(0); allocator_ 143 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_FALSE(allocator_->InUse()); allocator_ 144 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_TRUE(allocator_->CheckConsistency()); allocator_ 149 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_TRUE(allocator_->CheckConsistency()); allocator_ 158 gpu/command_buffer/client/fenced_allocator_test.cc offsets[i] = allocator_->Alloc(kSize); allocator_ 161 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_TRUE(allocator_->CheckConsistency()); allocator_ 165 gpu/command_buffer/client/fenced_allocator_test.cc FencedAllocator::Offset offset_failed = allocator_->Alloc(kSize); allocator_ 167 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_TRUE(allocator_->CheckConsistency()); allocator_ 170 gpu/command_buffer/client/fenced_allocator_test.cc allocator_->Free(offsets[0]); allocator_ 171 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_TRUE(allocator_->CheckConsistency()); allocator_ 172 gpu/command_buffer/client/fenced_allocator_test.cc offsets[0] = allocator_->Alloc(kSize/2); allocator_ 175 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_TRUE(allocator_->CheckConsistency()); allocator_ 178 gpu/command_buffer/client/fenced_allocator_test.cc offset_failed = allocator_->Alloc(kSize); allocator_ 180 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_TRUE(allocator_->CheckConsistency()); allocator_ 184 gpu/command_buffer/client/fenced_allocator_test.cc allocator_->Free(offsets[i]); allocator_ 185 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_TRUE(allocator_->CheckConsistency()); allocator_ 191 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_TRUE(allocator_->CheckConsistency()); allocator_ 200 gpu/command_buffer/client/fenced_allocator_test.cc offsets[i] = allocator_->Alloc(kSize); allocator_ 203 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_TRUE(allocator_->CheckConsistency()); allocator_ 207 gpu/command_buffer/client/fenced_allocator_test.cc FencedAllocator::Offset offset_failed = allocator_->Alloc(kSize); allocator_ 209 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_TRUE(allocator_->CheckConsistency()); allocator_ 213 gpu/command_buffer/client/fenced_allocator_test.cc allocator_->FreePendingToken(offsets[0], token); allocator_ 214 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_TRUE(allocator_->CheckConsistency()); allocator_ 223 gpu/command_buffer/client/fenced_allocator_test.cc offsets[0] = allocator_->Alloc(kSize); allocator_ 226 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_TRUE(allocator_->CheckConsistency()); allocator_ 232 gpu/command_buffer/client/fenced_allocator_test.cc allocator_->Free(offsets[i]); allocator_ 233 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_TRUE(allocator_->CheckConsistency()); allocator_ 239 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_TRUE(allocator_->CheckConsistency()); allocator_ 248 gpu/command_buffer/client/fenced_allocator_test.cc offsets[i] = allocator_->Alloc(kSize); allocator_ 251 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_TRUE(allocator_->CheckConsistency()); allocator_ 253 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_TRUE(allocator_->InUse()); allocator_ 256 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_EQ(0u, allocator_->GetLargestFreeSize()); allocator_ 260 gpu/command_buffer/client/fenced_allocator_test.cc allocator_->FreePendingToken(offsets[0], token); allocator_ 261 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_TRUE(allocator_->CheckConsistency()); allocator_ 267 gpu/command_buffer/client/fenced_allocator_test.cc allocator_->FreeUnused(); allocator_ 270 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_EQ(kSize, allocator_->GetLargestFreeSize()); allocator_ 274 gpu/command_buffer/client/fenced_allocator_test.cc allocator_->FreePendingToken(offsets[1], token); allocator_ 276 gpu/command_buffer/client/fenced_allocator_test.cc allocator_->FreePendingToken(offsets[2], token); allocator_ 277 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_TRUE(allocator_->CheckConsistency()); allocator_ 280 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_EQ(kSize, allocator_->GetLargestFreeSize()); allocator_ 286 gpu/command_buffer/client/fenced_allocator_test.cc allocator_->FreeUnused(); allocator_ 289 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_EQ(kSize * 3, allocator_->GetLargestFreeSize()); allocator_ 290 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_TRUE(allocator_->InUse()); allocator_ 294 gpu/command_buffer/client/fenced_allocator_test.cc allocator_->Free(offsets[i]); allocator_ 295 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_TRUE(allocator_->CheckConsistency()); allocator_ 297 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_FALSE(allocator_->InUse()); allocator_ 302 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_TRUE(allocator_->CheckConsistency()); allocator_ 303 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_EQ(kBufferSize, allocator_->GetLargestFreeSize()); allocator_ 305 gpu/command_buffer/client/fenced_allocator_test.cc FencedAllocator::Offset offset = allocator_->Alloc(kBufferSize); allocator_ 307 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_EQ(0u, allocator_->GetLargestFreeSize()); allocator_ 308 gpu/command_buffer/client/fenced_allocator_test.cc allocator_->Free(offset); allocator_ 309 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_EQ(kBufferSize, allocator_->GetLargestFreeSize()); allocator_ 312 gpu/command_buffer/client/fenced_allocator_test.cc offset = allocator_->Alloc(kSize); allocator_ 317 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_EQ(kBufferSize - kSize, allocator_->GetLargestFreeSize()); allocator_ 322 gpu/command_buffer/client/fenced_allocator_test.cc FencedAllocator::Offset offset1 = allocator_->Alloc(kSize); allocator_ 324 gpu/command_buffer/client/fenced_allocator_test.cc FencedAllocator::Offset offset2 = allocator_->Alloc(kSize); allocator_ 326 gpu/command_buffer/client/fenced_allocator_test.cc allocator_->Free(offset); allocator_ 327 gpu/command_buffer/client/fenced_allocator_test.cc allocator_->Free(offset1); allocator_ 328 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_EQ(kBufferSize - 3 * kSize, allocator_->GetLargestFreeSize()); allocator_ 330 gpu/command_buffer/client/fenced_allocator_test.cc offset = allocator_->Alloc(kBufferSize - 3 * kSize); allocator_ 332 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_EQ(2 * kSize, allocator_->GetLargestFreeSize()); allocator_ 334 gpu/command_buffer/client/fenced_allocator_test.cc offset1 = allocator_->Alloc(2 * kSize); allocator_ 336 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_EQ(0u, allocator_->GetLargestFreeSize()); allocator_ 338 gpu/command_buffer/client/fenced_allocator_test.cc allocator_->Free(offset); allocator_ 339 gpu/command_buffer/client/fenced_allocator_test.cc allocator_->Free(offset1); allocator_ 340 gpu/command_buffer/client/fenced_allocator_test.cc allocator_->Free(offset2); allocator_ 345 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_TRUE(allocator_->CheckConsistency()); allocator_ 346 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_EQ(kBufferSize, allocator_->GetLargestFreeOrPendingSize()); allocator_ 348 gpu/command_buffer/client/fenced_allocator_test.cc FencedAllocator::Offset offset = allocator_->Alloc(kBufferSize); allocator_ 350 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_EQ(0u, allocator_->GetLargestFreeOrPendingSize()); allocator_ 351 gpu/command_buffer/client/fenced_allocator_test.cc allocator_->Free(offset); allocator_ 352 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_EQ(kBufferSize, allocator_->GetLargestFreeOrPendingSize()); allocator_ 355 gpu/command_buffer/client/fenced_allocator_test.cc offset = allocator_->Alloc(kSize); allocator_ 360 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_EQ(kBufferSize - kSize, allocator_->GetLargestFreeOrPendingSize()); allocator_ 365 gpu/command_buffer/client/fenced_allocator_test.cc FencedAllocator::Offset offset1 = allocator_->Alloc(kSize); allocator_ 367 gpu/command_buffer/client/fenced_allocator_test.cc FencedAllocator::Offset offset2 = allocator_->Alloc(kSize); allocator_ 369 gpu/command_buffer/client/fenced_allocator_test.cc allocator_->Free(offset); allocator_ 370 gpu/command_buffer/client/fenced_allocator_test.cc allocator_->Free(offset1); allocator_ 372 gpu/command_buffer/client/fenced_allocator_test.cc allocator_->GetLargestFreeOrPendingSize()); allocator_ 376 gpu/command_buffer/client/fenced_allocator_test.cc allocator_->FreePendingToken(offset2, token); allocator_ 379 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_EQ(kBufferSize, allocator_->GetLargestFreeOrPendingSize()); allocator_ 382 gpu/command_buffer/client/fenced_allocator_test.cc allocator_->GetLargestFreeSize()); allocator_ 390 gpu/command_buffer/client/fenced_allocator_test.cc offset = allocator_->Alloc(kBufferSize); allocator_ 394 gpu/command_buffer/client/fenced_allocator_test.cc allocator_->Free(offset); allocator_ 397 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_EQ(kBufferSize, allocator_->GetLargestFreeOrPendingSize()); allocator_ 399 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_EQ(kBufferSize, allocator_->GetLargestFreeSize()); allocator_ 474 gpu/command_buffer/client/fenced_allocator_test.cc allocator_.reset(new FencedAllocatorWrapper(kBufferSize, allocator_ 484 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_TRUE(allocator_->CheckConsistency()); allocator_ 489 gpu/command_buffer/client/fenced_allocator_test.cc scoped_ptr<FencedAllocatorWrapper> allocator_; allocator_ 495 gpu/command_buffer/client/fenced_allocator_test.cc allocator_->CheckConsistency(); allocator_ 498 gpu/command_buffer/client/fenced_allocator_test.cc void *pointer = allocator_->Alloc(kSize); allocator_ 502 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_TRUE(allocator_->CheckConsistency()); allocator_ 504 gpu/command_buffer/client/fenced_allocator_test.cc allocator_->Free(pointer); allocator_ 505 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_TRUE(allocator_->CheckConsistency()); allocator_ 507 gpu/command_buffer/client/fenced_allocator_test.cc char *pointer_char = allocator_->AllocTyped<char>(kSize); allocator_ 511 gpu/command_buffer/client/fenced_allocator_test.cc allocator_->Free(pointer_char); allocator_ 512 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_TRUE(allocator_->CheckConsistency()); allocator_ 514 gpu/command_buffer/client/fenced_allocator_test.cc unsigned int *pointer_uint = allocator_->AllocTyped<unsigned int>(kSize); allocator_ 523 gpu/command_buffer/client/fenced_allocator_test.cc allocator_->GetLargestFreeSize()); allocator_ 524 gpu/command_buffer/client/fenced_allocator_test.cc allocator_->Free(pointer_uint); allocator_ 529 gpu/command_buffer/client/fenced_allocator_test.cc allocator_->CheckConsistency(); allocator_ 531 gpu/command_buffer/client/fenced_allocator_test.cc void *pointer = allocator_->Alloc(0); allocator_ 533 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_TRUE(allocator_->CheckConsistency()); allocator_ 538 gpu/command_buffer/client/fenced_allocator_test.cc allocator_->CheckConsistency(); allocator_ 541 gpu/command_buffer/client/fenced_allocator_test.cc void *pointer1 = allocator_->Alloc(kSize1); allocator_ 544 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_TRUE(allocator_->CheckConsistency()); allocator_ 547 gpu/command_buffer/client/fenced_allocator_test.cc void *pointer2 = allocator_->Alloc(kSize2); allocator_ 550 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_TRUE(allocator_->CheckConsistency()); allocator_ 552 gpu/command_buffer/client/fenced_allocator_test.cc allocator_->Free(pointer2); allocator_ 553 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_TRUE(allocator_->CheckConsistency()); allocator_ 555 gpu/command_buffer/client/fenced_allocator_test.cc allocator_->Free(pointer1); allocator_ 556 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_TRUE(allocator_->CheckConsistency()); allocator_ 561 gpu/command_buffer/client/fenced_allocator_test.cc allocator_->CheckConsistency(); allocator_ 570 gpu/command_buffer/client/fenced_allocator_test.cc pointers[i] = allocator_->Alloc(kSize); allocator_ 572 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_TRUE(allocator_->CheckConsistency()); allocator_ 576 gpu/command_buffer/client/fenced_allocator_test.cc void *pointer_failed = allocator_->Alloc(kSize); allocator_ 578 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_TRUE(allocator_->CheckConsistency()); allocator_ 581 gpu/command_buffer/client/fenced_allocator_test.cc allocator_->Free(pointers[0]); allocator_ 582 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_TRUE(allocator_->CheckConsistency()); allocator_ 583 gpu/command_buffer/client/fenced_allocator_test.cc pointers[0] = allocator_->Alloc(kSize/2); allocator_ 585 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_TRUE(allocator_->CheckConsistency()); allocator_ 588 gpu/command_buffer/client/fenced_allocator_test.cc pointer_failed = allocator_->Alloc(kSize); allocator_ 590 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_TRUE(allocator_->CheckConsistency()); allocator_ 594 gpu/command_buffer/client/fenced_allocator_test.cc allocator_->Free(pointers[i]); allocator_ 595 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_TRUE(allocator_->CheckConsistency()); allocator_ 601 gpu/command_buffer/client/fenced_allocator_test.cc allocator_->CheckConsistency(); allocator_ 610 gpu/command_buffer/client/fenced_allocator_test.cc pointers[i] = allocator_->Alloc(kSize); allocator_ 612 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_TRUE(allocator_->CheckConsistency()); allocator_ 616 gpu/command_buffer/client/fenced_allocator_test.cc void *pointer_failed = allocator_->Alloc(kSize); allocator_ 618 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_TRUE(allocator_->CheckConsistency()); allocator_ 622 gpu/command_buffer/client/fenced_allocator_test.cc allocator_->FreePendingToken(pointers[0], token); allocator_ 623 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_TRUE(allocator_->CheckConsistency()); allocator_ 632 gpu/command_buffer/client/fenced_allocator_test.cc pointers[0] = allocator_->Alloc(kSize); allocator_ 634 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_TRUE(allocator_->CheckConsistency()); allocator_ 640 gpu/command_buffer/client/fenced_allocator_test.cc allocator_->Free(pointers[i]); allocator_ 641 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_TRUE(allocator_->CheckConsistency()); allocator_ 30 gpu/command_buffer/client/mapped_memory.h return allocator_.GetLargestFreeSize(); allocator_ 36 gpu/command_buffer/client/mapped_memory.h return allocator_.GetLargestFreeOrPendingSize(); allocator_ 60 gpu/command_buffer/client/mapped_memory.h return allocator_.Alloc(size); allocator_ 66 gpu/command_buffer/client/mapped_memory.h return allocator_.GetOffset(pointer); allocator_ 74 gpu/command_buffer/client/mapped_memory.h allocator_.Free(pointer); allocator_ 84 gpu/command_buffer/client/mapped_memory.h allocator_.FreePendingToken(pointer, token); allocator_ 89 gpu/command_buffer/client/mapped_memory.h allocator_.FreeUnused(); allocator_ 101 gpu/command_buffer/client/mapped_memory.h return allocator_.InUse(); allocator_ 105 gpu/command_buffer/client/mapped_memory.h return allocator_.bytes_in_use(); allocator_ 111 gpu/command_buffer/client/mapped_memory.h FencedAllocatorWrapper allocator_; allocator_ 124 gpu/command_buffer/client/ring_buffer.h : allocator_(base_offset, size, helper), allocator_ 139 gpu/command_buffer/client/ring_buffer.h RingBuffer::Offset offset = allocator_.Alloc(size); allocator_ 166 gpu/command_buffer/client/ring_buffer.h allocator_.FreePendingToken(GetOffset(pointer), token); allocator_ 181 gpu/command_buffer/client/ring_buffer.h return allocator_.GetLargestFreeSizeNoWaiting(); allocator_ 187 gpu/command_buffer/client/ring_buffer.h return allocator_.GetLargestFreeOrPendingSize(); allocator_ 191 gpu/command_buffer/client/ring_buffer.h RingBuffer allocator_; allocator_ 125 gpu/command_buffer/client/ring_buffer_test.cc allocator_.reset(new RingBuffer(kBaseOffset, kBufferSize, helper_.get())); allocator_ 135 gpu/command_buffer/client/ring_buffer_test.cc scoped_ptr<RingBuffer> allocator_; allocator_ 141 gpu/command_buffer/client/ring_buffer_test.cc EXPECT_EQ(kBufferSize, allocator_->GetLargestFreeOrPendingSize()); allocator_ 142 gpu/command_buffer/client/ring_buffer_test.cc EXPECT_EQ(kBufferSize, allocator_->GetLargestFreeSizeNoWaiting()); allocator_ 143 gpu/command_buffer/client/ring_buffer_test.cc RingBuffer::Offset offset = allocator_->Alloc(kSize); allocator_ 145 gpu/command_buffer/client/ring_buffer_test.cc EXPECT_EQ(kBufferSize, allocator_->GetLargestFreeOrPendingSize()); allocator_ 146 gpu/command_buffer/client/ring_buffer_test.cc EXPECT_EQ(kBufferSize - kSize, allocator_->GetLargestFreeSizeNoWaiting()); allocator_ 148 gpu/command_buffer/client/ring_buffer_test.cc allocator_->FreePendingToken(offset, token); allocator_ 161 gpu/command_buffer/client/ring_buffer_test.cc RingBuffer::Offset offset = allocator_->Alloc(kSize); allocator_ 164 gpu/command_buffer/client/ring_buffer_test.cc allocator_->FreePendingToken(offset, tokens[ii]); allocator_ 168 gpu/command_buffer/client/ring_buffer_test.cc allocator_->GetLargestFreeSizeNoWaiting()); allocator_ 174 gpu/command_buffer/client/ring_buffer_test.cc RingBuffer::Offset offset1 = allocator_->Alloc(kSize); allocator_ 180 gpu/command_buffer/client/ring_buffer_test.cc allocator_->FreePendingToken(offset1, helper_->InsertToken()); allocator_ 185 gpu/command_buffer/client/ring_buffer_test.cc EXPECT_EQ(kBufferSize, allocator_->GetLargestFreeSizeNoWaiting()); allocator_ 187 gpu/command_buffer/client/ring_buffer_test.cc RingBuffer::Offset offset = allocator_->Alloc(kBufferSize); allocator_ 188 gpu/command_buffer/client/ring_buffer_test.cc EXPECT_EQ(0u, allocator_->GetLargestFreeSizeNoWaiting()); allocator_ 189 gpu/command_buffer/client/ring_buffer_test.cc allocator_->FreePendingToken(offset, helper_->InsertToken()); allocator_ 196 gpu/command_buffer/client/ring_buffer_test.cc RingBuffer::Offset offset = allocator_->Alloc(kAlloc1); allocator_ 197 gpu/command_buffer/client/ring_buffer_test.cc EXPECT_EQ(kBufferSize - kAlloc1, allocator_->GetLargestFreeSizeNoWaiting()); allocator_ 198 gpu/command_buffer/client/ring_buffer_test.cc allocator_->FreePendingToken(offset, helper_.get()->InsertToken()); allocator_ 199 gpu/command_buffer/client/ring_buffer_test.cc offset = allocator_->Alloc(kAlloc2); allocator_ 201 gpu/command_buffer/client/ring_buffer_test.cc allocator_->GetLargestFreeSizeNoWaiting()); allocator_ 202 gpu/command_buffer/client/ring_buffer_test.cc allocator_->FreePendingToken(offset, helper_.get()->InsertToken()); allocator_ 203 gpu/command_buffer/client/ring_buffer_test.cc offset = allocator_->Alloc(kBufferSize); allocator_ 204 gpu/command_buffer/client/ring_buffer_test.cc EXPECT_EQ(0u, allocator_->GetLargestFreeSizeNoWaiting()); allocator_ 205 gpu/command_buffer/client/ring_buffer_test.cc allocator_->FreePendingToken(offset, helper_.get()->InsertToken()); allocator_ 223 gpu/command_buffer/client/ring_buffer_test.cc allocator_.reset(new RingBufferWrapper( allocator_ 234 gpu/command_buffer/client/ring_buffer_test.cc scoped_ptr<RingBufferWrapper> allocator_; allocator_ 242 gpu/command_buffer/client/ring_buffer_test.cc void* pointer = allocator_->Alloc(kSize); allocator_ 247 gpu/command_buffer/client/ring_buffer_test.cc allocator_->FreePendingToken(pointer, helper_->InsertToken()); allocator_ 249 gpu/command_buffer/client/ring_buffer_test.cc int8* pointer_int8 = allocator_->AllocTyped<int8>(kSize); allocator_ 253 gpu/command_buffer/client/ring_buffer_test.cc allocator_->FreePendingToken(pointer_int8, helper_->InsertToken()); allocator_ 255 gpu/command_buffer/client/ring_buffer_test.cc unsigned int* pointer_uint = allocator_->AllocTyped<unsigned int>(kSize); allocator_ 264 gpu/command_buffer/client/ring_buffer_test.cc allocator_->GetLargestFreeSizeNoWaiting()); allocator_ 265 gpu/command_buffer/client/ring_buffer_test.cc allocator_->FreePendingToken(pointer_uint, helper_->InsertToken()); allocator_ 278 gpu/command_buffer/client/ring_buffer_test.cc void* pointer = allocator_->Alloc(kSize); allocator_ 281 gpu/command_buffer/client/ring_buffer_test.cc allocator_->FreePendingToken(pointer, helper_->InsertToken()); allocator_ 285 gpu/command_buffer/client/ring_buffer_test.cc allocator_->GetLargestFreeSizeNoWaiting()); allocator_ 291 gpu/command_buffer/client/ring_buffer_test.cc void* pointer1 = allocator_->Alloc(kSize); allocator_ 297 gpu/command_buffer/client/ring_buffer_test.cc allocator_->FreePendingToken(pointer1, helper_->InsertToken()); allocator_ 226 media/cdm/ppapi/cdm_adapter.cc allocator_(this), allocator_ 374 media/cdm/ppapi/cdm_adapter.cc allocator_.Release(encrypted_block_info.tracking_info.buffer_id); allocator_ 495 media/cdm/ppapi/cdm_adapter.cc allocator_.Release(encrypted_block_info.tracking_info.buffer_id); allocator_ 542 media/cdm/ppapi/cdm_adapter.cc return allocator_.Allocate(capacity); allocator_ 205 media/cdm/ppapi/cdm_adapter.h PpbBufferAllocator allocator_; allocator_ 337 third_party/tcmalloc/chromium/src/pagemap.h void* (*allocator_)(size_t); // Memory allocator allocator_ 343 third_party/tcmalloc/chromium/src/pagemap.h allocator_ = allocator; allocator_ 373 third_party/tcmalloc/chromium/src/pagemap.h Leaf* leaf = reinterpret_cast<Leaf*>((*allocator_)(sizeof(Leaf))); allocator_ 432 third_party/tcmalloc/chromium/src/pagemap.h void* (*allocator_)(size_t); // Memory allocator allocator_ 435 third_party/tcmalloc/chromium/src/pagemap.h Node* result = reinterpret_cast<Node*>((*allocator_)(sizeof(Node))); allocator_ 446 third_party/tcmalloc/chromium/src/pagemap.h allocator_ = allocator; allocator_ 487 third_party/tcmalloc/chromium/src/pagemap.h Leaf* leaf = reinterpret_cast<Leaf*>((*allocator_)(sizeof(Leaf))); allocator_ 134 third_party/tcmalloc/vendor/src/pagemap.h void* (*allocator_)(size_t); // Memory allocator allocator_ 140 third_party/tcmalloc/vendor/src/pagemap.h allocator_ = allocator; allocator_ 170 third_party/tcmalloc/vendor/src/pagemap.h Leaf* leaf = reinterpret_cast<Leaf*>((*allocator_)(sizeof(Leaf))); allocator_ 229 third_party/tcmalloc/vendor/src/pagemap.h void* (*allocator_)(size_t); // Memory allocator allocator_ 232 third_party/tcmalloc/vendor/src/pagemap.h Node* result = reinterpret_cast<Node*>((*allocator_)(sizeof(Node))); allocator_ 243 third_party/tcmalloc/vendor/src/pagemap.h allocator_ = allocator; allocator_ 284 third_party/tcmalloc/vendor/src/pagemap.h Leaf* leaf = reinterpret_cast<Leaf*>((*allocator_)(sizeof(Leaf)));