Searched refs:allocations_ (Results 1 - 6 of 6) sorted by relevance

/external/chromium_org/base/memory/
H A Ddiscardable_memory_manager.cc22 : allocations_(AllocationMap::NO_AUTO_EVICT),
31 DCHECK(allocations_.empty());
65 DCHECK(allocations_.Peek(allocation) == allocations_.end());
66 allocations_.Put(allocation, AllocationInfo(bytes));
71 AllocationMap::iterator it = allocations_.Peek(allocation);
72 DCHECK(it != allocations_.end());
81 allocations_.Erase(it);
87 // Note: |allocations_| is an MRU cache, and use of |Get| here updates that
89 AllocationMap::iterator it = allocations_
[all...]
H A Ddiscardable_memory_manager.h155 AllocationMap allocations_; member in class:base::internal::DiscardableMemoryManager
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/
H A Dturnserver.cc216 for (AllocationMap::iterator it = allocations_.begin();
217 it != allocations_.end(); ++it) {
520 AllocationMap::const_iterator it = allocations_.find(*conn);
521 return (it != allocations_.end()) ? it->second : NULL;
537 allocations_[*conn] = allocation;
602 AllocationMap::iterator it = allocations_.find(*(allocation->conn()));
603 if (it != allocations_.end())
604 allocations_.erase(it);
H A Dturnserver.h202 AllocationMap allocations_; member in class:cricket::TurnServer
/external/chromium_org/third_party/protobuf/src/google/protobuf/
H A Ddescriptor.cc441 vector<void*> allocations_; // All other memory allocated in the pool. member in class:google::protobuf::DescriptorPool::Tables
452 allocations_before_checkpoint(tables->allocations_.size()),
551 // messages may refer to objects in allocations_.
553 for (int i = 0; i < allocations_.size(); i++) {
554 operator delete(allocations_[i]);
624 i < allocations_.size();
626 operator delete(allocations_[i]);
632 allocations_.resize(checkpoint.allocations_before_checkpoint);
834 allocations_.push_back(result);
/external/protobuf/src/google/protobuf/
H A Ddescriptor.cc400 vector<void*> allocations_; // All other memory allocated in the pool. member in class:google::protobuf::DescriptorPool::Tables
488 // messages may refer to objects in allocations_.
490 for (int i = 0; i < allocations_.size(); i++) {
491 operator delete(allocations_[i]);
506 allocations_before_checkpoint_ = allocations_.size();
534 for (int i = allocations_before_checkpoint_; i < allocations_.size(); i++) {
535 operator delete(allocations_[i]);
541 allocations_.resize(allocations_before_checkpoint_);
742 allocations_.push_back(result);

Completed in 191 milliseconds