/prebuilts/go/darwin-x86/test/bench/shootout/ |
binary-tree-freelist.go | 51 type Arena struct { 55 var arena Arena var 64 n.left = arena.head 65 arena.head = n 68 func (a *Arena) New(item int, left, right *Node) *Node { 86 return arena.New(item, nil, nil) 88 return arena.New(item, bottomUpTree(2*item-1, depth-1), bottomUpTree(2*item, depth-1))
|
/prebuilts/go/linux-x86/test/bench/shootout/ |
binary-tree-freelist.go | 51 type Arena struct { 55 var arena Arena var 64 n.left = arena.head 65 arena.head = n 68 func (a *Arena) New(item int, left, right *Node) *Node { 86 return arena.New(item, nil, nil) 88 return arena.New(item, bottomUpTree(2*item-1, depth-1), bottomUpTree(2*item, depth-1))
|
/prebuilts/gdb/darwin-x86/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/gdb/linux-x86/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/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...] |
/art/runtime/base/ |
arena_allocator.cc | 31 constexpr size_t Arena::kDefaultSize; 117 void ArenaAllocatorStatsImpl<kCount>::Dump(std::ostream& os, const Arena* first, 122 for (const Arena* arena = first; arena != nullptr; arena = arena->next_) { 123 malloc_bytes += arena->Size(); 124 lost_bytes += arena->RemainingSpace(); 127 // The lost_bytes_adjustment is used to make up for the fact that the current arena 220 auto* arena = free_arenas_; local [all...] |
arena_allocator.h | 31 class Arena; 114 const Arena* first ATTRIBUTE_UNUSED, 129 void Dump(std::ostream& os, const Arena* first, ssize_t lost_bytes_adjustment) const; 192 class Arena { 195 Arena(); 196 virtual ~Arena() { } 221 // Return true if ptr is contained in the arena. 230 Arena* next_; 240 DISALLOW_COPY_AND_ASSIGN(Arena); 243 class MallocArena FINAL : public Arena { [all...] |
/prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/ |
arena.h | 63 class Arena; // defined below 86 // ArenaOptions provides optional additional parameters to arena construction 94 // individual arena allocation request occurs with a size larger than this 99 // An initial block of memory for the arena to use, or NULL for none. If 100 // provided, the block must live at least as long as the arena itself. The 101 // creator of the Arena retains ownership of the block after the Arena is 115 // from the arena. By default, it contains a ptr to a wrapper function that 121 // Init hook may return a pointer to a cookie to be stored in the arena. 123 // pointer. This allows us to save an external object per arena instance an [all...] |
/external/clang/include/clang/Analysis/Analyses/ |
ThreadSafetyCommon.h | 341 : Arena(A), SelfVar(nullptr), Scfg(nullptr), CurrentBB(nullptr), 344 SelfVar = new (Arena) til::Variable(nullptr); 478 til::MemRegionRef Arena;
|
ThreadSafetyTraverse.h | 140 Container(CopyReducerBase &S, unsigned N) : Elems(S.Arena, N) {} 148 CopyReducerBase(MemRegionRef A) : Arena(A) {} 151 MemRegionRef Arena;
|
ThreadSafetyTIL.h | 314 /// SExpr objects must be created in an arena. [all...] |
/external/clang/lib/Analysis/ |
ThreadSafetyCommon.cpp | 160 return CapabilityExpr(new (Arena) til::Wildcard(), false); 253 return new (Arena) til::Literal(cast<Expr>(S)); 263 return new (Arena) til::Undefined(S); 287 return new (Arena) til::LiteralPtr(VD); 337 til::SExpr *E = new (Arena) til::SApply(BE); 344 til::Project *P = new (Arena) til::Project(E, D); 370 E = new (Arena) til::Apply(E, A); 372 return new (Arena) til::Call(E, CE); 382 return new (Arena) til::Cast(til::CAST_objToPtr, E); 397 return new (Arena) til::Cast(til::CAST_objToPtr, E) [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/ |
VenueNameElement.java | 92 Arena,
|
/external/valgrind/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 246 Arena; 547 ArenaId arena = a -vg_arena; local 836 Arena* arena = arenaId_to_ArenaP(aid); local 1506 Arena *arena; local [all...] |