Searched defs:allocator (Results 76 - 100 of 160) sorted by path

1234567

/external/chromium_org/third_party/skia/tests/
H A DLayerDrawLooperTest.cpp61 SkSmallAllocator<1, 32> allocator; local
62 void* buffer = allocator.reserveT<SkDrawLooper::Context>(looper->contextSize());
101 SkSmallAllocator<1, 32> allocator; local
102 void* buffer = allocator.reserveT<SkDrawLooper::Context>(looper->contextSize());
141 SkSmallAllocator<1, 32> allocator; local
142 void* buffer = allocator.reserveT<SkDrawLooper::Context>(looper->contextSize());
H A DSkResourceCacheTest.cpp81 static void make_bitmap(SkBitmap* bitmap, const SkImageInfo& info, SkBitmap::Allocator* allocator) { argument
82 if (allocator) {
84 allocator->allocPixelRef(bitmap, 0);
93 SkBitmap::Allocator* allocator = SkBitmapCache::GetAllocator(); local
103 make_bitmap(&cachedBitmap, SkImageInfo::MakeN32Premul(5, 5), allocator);
126 SkBitmap::Allocator* allocator = SkBitmapCache::GetAllocator(); local
136 make_bitmap(&cachedBitmap, SkImageInfo::MakeN32Premul(5, 5), allocator);
161 make_bitmap(&cachedBitmap, SkImageInfo::MakeN32Premul(5, 5), allocator);
/external/chromium_org/third_party/tcmalloc/chromium/src/
H A Dpagemap.h78 explicit TCMalloc_PageMap1(void* (*allocator)(size_t)) { argument
79 array_ = reinterpret_cast<void**>((*allocator)(sizeof(void*) << BITS));
165 explicit TCMalloc_PageMap1_LazyCommit(void* (*allocator)(size_t)) { argument
167 // only provides an allocator.
337 void* (*allocator_)(size_t); // Memory allocator
342 explicit TCMalloc_PageMap2(void* (*allocator)(size_t)) { argument
343 allocator_ = allocator;
432 void* (*allocator_)(size_t); // Memory allocator
445 explicit TCMalloc_PageMap3(void* (*allocator)(size_t)) { argument
446 allocator_ = allocator;
[all...]
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/
H A Dheap-checker_unittest.cc241 // accidentally left by the memory allocator.
734 // (In particular we test that there's no complex STL's own allocator
735 // running on top of our allocator with hooks to heap profiler
760 // (In particular we test that there's no complex STL's own allocator
761 // running on top of our allocator with hooks to heap profiler
785 static void DirectTestSTLAlloc(Alloc allocator, const char* name) { argument
790 typename Alloc::pointer p = allocator.allocate(i*3+1);
793 // (i.e. STL's "allocator" does not have a direct hook to heap profiler)
798 allocator.deallocate(ptrs[i], i*3+1);
1473 DTSL(std::allocator<cha
[all...]
/external/chromium_org/third_party/tcmalloc/chromium/src/windows/
H A Dport.cc330 bool RegisterSystemAllocator(SysAllocator *allocator, int priority) { argument
338 // The current system allocator
/external/chromium_org/third_party/tcmalloc/vendor/src/
H A Dpagemap.h72 explicit TCMalloc_PageMap1(void* (*allocator)(size_t)) { argument
73 array_ = reinterpret_cast<void**>((*allocator)(sizeof(void*) << BITS));
134 void* (*allocator_)(size_t); // Memory allocator
139 explicit TCMalloc_PageMap2(void* (*allocator)(size_t)) { argument
140 allocator_ = allocator;
229 void* (*allocator_)(size_t); // Memory allocator
242 explicit TCMalloc_PageMap3(void* (*allocator)(size_t)) { argument
243 allocator_ = allocator;
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/
H A Dheap-checker_unittest.cc241 // accidentally left by the memory allocator.
734 // (In particular we test that there's no complex STL's own allocator
735 // running on top of our allocator with hooks to heap profiler
760 // (In particular we test that there's no complex STL's own allocator
761 // running on top of our allocator with hooks to heap profiler
785 static void DirectTestSTLAlloc(Alloc allocator, const char* name) { argument
790 typename Alloc::pointer p = allocator.allocate(i*3+1);
793 // (i.e. STL's "allocator" does not have a direct hook to heap profiler)
798 allocator.deallocate(ptrs[i], i*3+1);
1473 DTSL(std::allocator<cha
[all...]
/external/chromium_org/third_party/tcmalloc/vendor/src/windows/
H A Dport.cc261 bool RegisterSystemAllocator(SysAllocator *allocator, int priority) { argument
269 // The current system allocator
/external/chromium_org/v8/src/
H A Dapi.cc5062 ArrayBuffer::Allocator* allocator) {
5067 i::V8::SetArrayBufferAllocator(allocator);
5061 SetArrayBufferAllocator( ArrayBuffer::Allocator* allocator) argument
H A Ddeoptimizer.cc20 static MemoryChunk* AllocateCodeChunk(MemoryAllocator* allocator) { argument
21 return allocator->AllocateChunk(Deoptimizer::GetMaxDeoptTableSize(),
34 DeoptimizerData::DeoptimizerData(MemoryAllocator* allocator) argument
35 : allocator_(allocator),
40 deopt_entry_code_[i] = AllocateCodeChunk(allocator);
H A Ddisassembler.cc199 HeapStringAllocator allocator; local
200 StringStream accumulator(&allocator);
H A Dhashmap.h30 AllocationPolicy allocator = AllocationPolicy());
50 AllocationPolicy allocator = AllocationPolicy());
92 void Initialize(uint32_t capacity, AllocationPolicy allocator);
93 void Resize(AllocationPolicy allocator);
100 MatchFun match, uint32_t initial_capacity, AllocationPolicy allocator) {
102 Initialize(initial_capacity, allocator);
115 void* key, uint32_t hash, bool insert, AllocationPolicy allocator) {
132 Resize(allocator);
262 uint32_t capacity, AllocationPolicy allocator) {
264 map_ = reinterpret_cast<Entry*>(allocator
99 TemplateHashMapImpl( MatchFun match, uint32_t initial_capacity, AllocationPolicy allocator) argument
114 Lookup( void* key, uint32_t hash, bool insert, AllocationPolicy allocator) argument
261 Initialize( uint32_t capacity, AllocationPolicy allocator) argument
275 Resize(AllocationPolicy allocator) argument
[all...]
H A Dheap-snapshot-generator.cc900 HeapEntry* AddEntry(HeapThing ptr, HeapEntriesAllocator* allocator) { argument
901 HeapEntry* entry = allocator->AllocateEntry(ptr);
909 HeapEntry* FindOrAddEntry(HeapThing ptr, HeapEntriesAllocator* allocator) { argument
911 return entry != NULL ? entry : AddEntry(ptr, allocator);
1585 JSArrayBufferDataEntryAllocator allocator(data_size, this);
1587 filler_->FindOrAddEntry(buffer->backing_store(), &allocator);
H A Dhydrogen.cc41 #include "src/lithium-allocator.h"
12357 void HTracer::TraceLiveRanges(const char* name, LAllocator* allocator) { argument
12361 const Vector<LiveRange*>* fixed_d = allocator->fixed_double_live_ranges();
12363 TraceLiveRange(fixed_d->at(i), "fixed", allocator->zone());
12366 const Vector<LiveRange*>* fixed = allocator->fixed_live_ranges();
12368 TraceLiveRange(fixed->at(i), "fixed", allocator->zone());
12371 const ZoneList<LiveRange*>* live_ranges = allocator->live_ranges();
12373 TraceLiveRange(live_ranges->at(i), "object", allocator->zone());
H A Disolate.cc25 #include "src/lithium-allocator.h"
265 HeapStringAllocator allocator; local
267 StringStream accumulator(&allocator);
563 HeapStringAllocator allocator; local
564 StringStream accumulator(&allocator);
H A Dlist-inl.h127 void List<T, P>::Allocate(int length, P allocator) { argument
129 Initialize(length, allocator);
210 void List<T, P>::Initialize(int capacity, P allocator) { argument
212 data_ = (capacity > 0) ? NewData(capacity, allocator) : NULL;
H A Dlist.h32 explicit List(AllocationPolicy allocator = AllocationPolicy()) {
33 Initialize(0, allocator);
36 AllocationPolicy allocator = AllocationPolicy())) {
37 Initialize(capacity, allocator);
49 AllocationPolicy allocator = AllocationPolicy())) {
50 return allocator.New(static_cast<int>(size));
57 INLINE(void operator delete(void* p, AllocationPolicy allocator)) { argument
87 void Add(const T& element, AllocationPolicy allocator = AllocationPolicy());
91 AllocationPolicy allocator = AllocationPolicy());
95 AllocationPolicy allocator
[all...]
H A Dlithium-allocator.cc9 #include "src/lithium-allocator-inl.h"
2166 LAllocatorPhase::LAllocatorPhase(const char* name, LAllocator* allocator) argument
2167 : CompilationPhase(name, allocator->graph()->info()),
2168 allocator_(allocator) {
2171 allocator->zone()->allocation_size();
/external/chromium_org/v8/src/arm/
H A Dlithium-arm.h10 #include "src/lithium-allocator.h"
246 // Interface to the register allocator and iterators.
253 // Interface to the register allocator and iterators.
2760 LChunkBuilder(CompilationInfo* info, HGraph* graph, LAllocator* allocator) argument
2765 allocator_(allocator) {}
2813 // instruction. This means that register allocator will not reuse it's
2816 // instruction start. Register allocator is free to assign the same register
/external/chromium_org/v8/src/arm64/
H A Dlithium-arm64.h10 #include "src/lithium-allocator.h"
257 // Interface to the register allocator and iterators.
2322 // avoid pressure on the register allocator.
3097 LChunkBuilder(CompilationInfo* info, HGraph* graph, LAllocator* allocator) argument
3101 allocator_(allocator) {}
3136 // of the instruction. This means that register allocator will not reuse its
3150 // instruction start. The register allocator is free to assign the same
/external/chromium_org/v8/src/compiler/
H A Dregister-allocator.cc5 #include "src/compiler/register-allocator.h"
1363 PrintF("Register allocator error: live v%d reached first block.\n",
2210 RegisterAllocator* allocator)
2211 : CompilationPhase(name, allocator->code()->linkage()->info()),
2212 allocator_(allocator) {
2215 allocator->zone()->allocation_size();
2209 RegisterAllocatorPhase(const char* name, RegisterAllocator* allocator) argument
/external/chromium_org/v8/src/heap/
H A Dmark-compact.cc4403 bool SlotsBuffer::AddTo(SlotsBufferAllocator* allocator, argument
4409 allocator->DeallocateChain(buffer_address);
4412 buffer = allocator->AllocateBuffer(buffer);
H A Dmark-compact.h332 INLINE(static bool AddTo(SlotsBufferAllocator* allocator, argument
338 allocator->DeallocateChain(buffer_address);
341 buffer = allocator->AllocateBuffer(buffer);
350 static bool AddTo(SlotsBufferAllocator* allocator,
/external/chromium_org/v8/src/ia32/
H A Dlithium-ia32.h10 #include "src/lithium-allocator.h"
247 // Interface to the register allocator and iterators.
2752 LChunkBuilder(CompilationInfo* info, HGraph* graph, LAllocator* allocator) argument
2757 allocator_(allocator) {}
2799 // instruction. This means that register allocator will not reuse it's
2802 // instruction start. Register allocator is free to assign the same register
2862 // Marks a call for the register allocator. Assigns a pointer map to
/external/chromium_org/v8/src/mips/
H A Dlithium-mips.h10 #include "src/lithium-allocator.h"
243 // Interface to the register allocator and iterators.
250 // Interface to the register allocator and iterators.
2720 LChunkBuilder(CompilationInfo* info, HGraph* graph, LAllocator* allocator) argument
2725 allocator_(allocator) {}
2771 // instruction. This means that register allocator will not reuse it's
2774 // instruction start. Register allocator is free to assign the same register

Completed in 921 milliseconds

1234567