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

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

Completed in 39 milliseconds