Home
last modified time | relevance | path

Searched refs:ElfAllocatorChunk (Results 1 – 2 of 2) sorted by relevance

/ndk/sources/host-tools/ndk-stack/elff/
Delf_alloc.cc26 ElfAllocatorChunk* chunk_to_free = current_chunk_; in ~ElfAllocator()
28 ElfAllocatorChunk* next_chunk = chunk_to_free->prev; in ~ElfAllocator()
40 ElfAllocatorChunk* new_chunk = in alloc()
41 reinterpret_cast<ElfAllocatorChunk*>(malloc(ELF_ALLOC_CHUNK_SIZE)); in alloc()
48 new_chunk->avail = INC_PTR(new_chunk, sizeof(ElfAllocatorChunk)); in alloc()
49 new_chunk->remains = new_chunk->size - sizeof(ElfAllocatorChunk); in alloc()
Delf_alloc.h42 typedef struct ElfAllocatorChunk { struct
50 ElfAllocatorChunk* prev; argument
60 } ElfAllocatorChunk; argument
101 ElfAllocatorChunk* current_chunk_;