/external/chromium_org/third_party/leveldatabase/src/util/ |
arena.cc | 5 #include "util/arena.h" 12 Arena::Arena() { 18 Arena::~Arena() { 24 char* Arena::AllocateFallback(size_t bytes) { 42 char* Arena::AllocateAligned(size_t bytes) { 61 char* Arena::AllocateNewBlock(size_t block_bytes) {
|
arena.h | 15 class Arena { 17 Arena(); 18 ~Arena(); 27 // by the arena (including space allocated but not yet used for user 48 Arena(const Arena&); 49 void operator=(const Arena&); 52 inline char* Arena::Allocate(size_t bytes) {
|
/art/compiler/dex/ |
arena_allocator.cc | 45 Arena::Arena(size_t size) 50 map_ = MemMap::MapAnonymous("dalvik-arena", NULL, size, PROT_READ | PROT_WRITE); 59 Arena::~Arena() { 67 void Arena::Reset() { 79 : lock_("Arena pool lock"), 85 auto* arena = free_arenas_; local 87 delete arena; 91 Arena* ArenaPool::AllocArena(size_t size) 147 Arena* arena = arena_head_; local [all...] |
arena_allocator.h | 29 class Arena; 33 class Arena { 36 explicit Arena(size_t size = kDefaultSize); 37 ~Arena(); 60 Arena* next_; 63 DISALLOW_COPY_AND_ASSIGN(Arena); 70 Arena* AllocArena(size_t size); 71 void FreeArena(Arena* arena); 75 Arena* free_arenas_ GUARDED_BY(lock_) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/multiprocessing/ |
heap.py | 57 class Arena(object): 63 self.name = 'pym-%d-%d' % (os.getpid(), Arena._counter.next()) 79 class Arena(object): 120 arena = Arena(length) 121 self._arenas.append(arena) 122 return (arena, 0, length) 130 (arena, start, stop) = block 131 del self._start_to_block[(arena, start)] 132 del self._stop_to_block[(arena, stop) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/multiprocessing/ |
heap.py | 57 class Arena(object): 63 self.name = 'pym-%d-%d' % (os.getpid(), Arena._counter.next()) 79 class Arena(object): 120 arena = Arena(length) 121 self._arenas.append(arena) 122 return (arena, 0, length) 130 (arena, start, stop) = block 131 del self._start_to_block[(arena, start)] 132 del self._stop_to_block[(arena, stop) [all...] |
/external/chromium_org/third_party/ots/src/ |
ots.cc | 65 struct Arena { 67 ~Arena() { 509 Arena arena; local 530 table_data = arena.Allocate(table_length);
|
/external/chromium_org/third_party/tcmalloc/chromium/src/base/ |
low_level_alloc.cc | 71 LowLevelAlloc::Arena *arena; // pointer to parent arena member in struct:low_level_alloc_internal::AllocList::Header 181 // Arena implementation 183 struct LowLevelAlloc::Arena { 184 Arena() : mu(SpinLock::LINKER_INITIALIZED) {} // does nothing; for static init 185 explicit Arena(int) : pagesize(0) {} // set pagesize to zero explicitly 200 // The default arena, which is used when 0 is passed instead of an Arena 202 static struct LowLevelAlloc::Arena default_arena 383 LowLevelAlloc::Arena *arena = a->header.arena; local 420 LowLevelAlloc::Arena *arena = f->header.arena; local [all...] |
/external/chromium_org/third_party/tcmalloc/vendor/src/base/ |
low_level_alloc.cc | 71 LowLevelAlloc::Arena *arena; // pointer to parent arena member in struct:low_level_alloc_internal::AllocList::Header 181 // Arena implementation 183 struct LowLevelAlloc::Arena { 184 Arena() : mu(SpinLock::LINKER_INITIALIZED) {} // does nothing; for static init 185 explicit Arena(int) : pagesize(0) {} // set pagesize to zero explicitly 200 // The default arena, which is used when 0 is passed instead of an Arena 202 static struct LowLevelAlloc::Arena default_arena 383 LowLevelAlloc::Arena *arena = a->header.arena; local 420 LowLevelAlloc::Arena *arena = f->header.arena; local [all...] |
/external/valgrind/main/coregrind/ |
m_mallocfree.c | 69 // Each arena has a sorted array of superblocks, which expands 79 red zone bytes (depends on Arena.rz_szB, but >= sizeof(void*)) 81 red zone bytes (depends on Arena.rz_szB, but >= sizeof(void*)) 89 excess red zone bytes (if Arena.rz_szB > sizeof(void*)) 91 excess red zone bytes (if Arena.rz_szB > sizeof(void*)) 173 // of the same arena can be reclaimed or till a new superblock is needed 174 // in any arena. 190 // An arena. 'freelist' is a circular, doubly-linked list. 'rz_szB' is 210 // superblocks in the arena. If this array is expanded, which 237 Arena; 770 Arena* arena = arenaId_to_ArenaP(aid); local [all...] |