Home
last modified time | relevance | path

Searched refs:alloc_ (Results 1 – 18 of 18) sorted by relevance

/external/chromium_org/third_party/tcmalloc/vendor/src/
Dheap-profile-table.cc126 : alloc_(alloc), dealloc_(dealloc) { in HeapProfileTable()
132 alloc_table_ = reinterpret_cast<Bucket**>(alloc_(alloc_table_bytes)); in HeapProfileTable()
142 new(alloc_(sizeof(AllocationMap))) AllocationMap(alloc_, dealloc_); in HeapProfileTable()
203 const void** kcopy = reinterpret_cast<const void**>(alloc_(key_size)); in GetBucket()
205 Bucket* b = reinterpret_cast<Bucket*>(alloc_(sizeof(Bucket))); in GetBucket()
329 Bucket** list = reinterpret_cast<Bucket**>(alloc_(sizeof(Bucket) * in MakeSortedBucketList()
362 mmap_table_ = reinterpret_cast<Bucket**>(alloc_(mmap_table_bytes)); in RefreshMMapData()
369 new(alloc_(sizeof(AllocationMap))) AllocationMap(alloc_, dealloc_); in RefreshMMapData()
551 Snapshot* s = new (alloc_(sizeof(Snapshot))) Snapshot(alloc_, dealloc_); in TakeSnapshot()
573 Snapshot* s = new (alloc_(sizeof(Snapshot))) Snapshot(alloc_, dealloc_); in NonLiveSnapshot()
Daddressmap-inl.h250 Allocator alloc_; // The allocator variable
258 void* ptr = (*alloc_)(sizeof(Object) + num*sizeof(T)); in New()
272 alloc_(alloc), in AddressMap()
Dheap-profile-table.h342 Allocator alloc_; variable
/external/chromium/net/disk_cache/
Dbitmap.cc46 alloc_(true) { in Bitmap()
60 alloc_(false) { in Bitmap()
64 if (alloc_) in ~Bitmap()
69 DCHECK(alloc_ || !map_); in Resize()
80 if (alloc_) in Resize()
83 alloc_ = true; in Resize()
Dbitmap.h16 Bitmap() : map_(NULL), num_bits_(0), array_size_(0), alloc_(false) {} in Bitmap()
129 bool alloc_; // Whether or not we allocated the memory. variable
/external/chromium_org/net/disk_cache/
Dbitmap.cc46 alloc_(true) { in Bitmap()
60 alloc_(false) { in Bitmap()
64 if (alloc_) in ~Bitmap()
69 DCHECK(alloc_ || !map_); in Resize()
80 if (alloc_) in Resize()
83 alloc_ = true; in Resize()
Dbitmap.h16 Bitmap() : map_(NULL), num_bits_(0), array_size_(0), alloc_(false) {} in Bitmap()
129 bool alloc_; // Whether or not we allocated the memory. variable
/external/chromium_org/third_party/tcmalloc/chromium/src/
Dheap-profile-table.cc133 : alloc_(alloc), in HeapProfileTable()
141 bucket_table_ = static_cast<Bucket**>(alloc_(table_bytes)); in HeapProfileTable()
146 new(alloc_(sizeof(AllocationMap))) AllocationMap(alloc_, dealloc_); in HeapProfileTable()
196 const void** kcopy = reinterpret_cast<const void**>(alloc_(key_size)); in GetBucket()
198 Bucket* b = reinterpret_cast<Bucket*>(alloc_(sizeof(Bucket))); in GetBucket()
337 Bucket** list = static_cast<Bucket**>(alloc_(sizeof(Bucket) * num_buckets_)); in MakeSortedBucketList()
373 type_size_map = new(alloc_(sizeof(AddressMap<TypeCount>))) in DumpTypeStatistics()
374 AddressMap<TypeCount>(alloc_, dealloc_); in DumpTypeStatistics()
609 Snapshot* s = new (alloc_(sizeof(Snapshot))) Snapshot(alloc_, dealloc_); in TakeSnapshot()
631 Snapshot* s = new (alloc_(sizeof(Snapshot))) Snapshot(alloc_, dealloc_); in NonLiveSnapshot()
Daddressmap-inl.h250 Allocator alloc_; // The allocator variable
258 void* ptr = (*alloc_)(sizeof(Object) + num*sizeof(T)); in New()
272 alloc_(alloc), in AddressMap()
Ddeep-heap-profile.cc311 deep_table_(kHashTableSize, heap_profile->alloc_, heap_profile->dealloc_), in DeepHeapProfile()
317 reinterpret_cast<char*>(heap_profile_->alloc_(prefix_length + 1)); in DeepHeapProfile()
608 alloc_(alloc), in DeepBucketTable()
663 DeepBucket* db = reinterpret_cast<DeepBucket*>(alloc_(sizeof(DeepBucket))); in Lookup()
Ddeep-heap-profile.h293 HeapProfileTable::Allocator alloc_; variable
Dheap-profile-table.h451 Allocator alloc_; variable
/external/chromium_org/courgette/
Dmemory_allocator.h339 alloc_.deallocate(buffer_, alloc_size_); in clear()
360 T* new_buffer = alloc_.allocate(size); in reserve()
367 alloc_.deallocate(buffer_, alloc_size_); in reserve()
380 if (size > alloc_.max_size() - size_) in append()
387 const size_t max_size = alloc_.max_size(); in append()
485 Allocator alloc_; variable
/external/v8/src/
Dast.cc795 HeapStringAllocator alloc_; member in v8::internal::RegExpUnparser
800 RegExpUnparser::RegExpUnparser() : stream_(&alloc_) { in RegExpUnparser()
Djsregexp.cc3249 stream_(&alloc_) { } in DotPrinter()
3261 HeapStringAllocator alloc_; member in v8::internal::DotPrinter
/external/chromium_org/v8/src/
Dast.cc926 HeapStringAllocator alloc_; member in v8::internal::V8_FINAL
932 RegExpUnparser::RegExpUnparser(Zone* zone) : stream_(&alloc_), zone_(zone) { in RegExpUnparser()
Djsregexp.cc4342 stream_(&alloc_) { } in DotPrinter()
4354 HeapStringAllocator alloc_; member in v8::internal::DotPrinter
/external/bison/
Dmaint.mk540 _xa1 = x(((2n?)?re|char|n(re|m)|[cmz])alloc|alloc_(oversized|die)|(mem|str)dup)