Home
last modified time | relevance | path

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

/ndk/sources/host-tools/ndk-stack/elff/
Delf_alloc.cc40 ElfAllocatorChunk* new_chunk = in alloc() local
42 assert(new_chunk != NULL); in alloc()
43 if (new_chunk == NULL) { in alloc()
47 new_chunk->size = 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()
50 new_chunk->prev = current_chunk_; in alloc()
51 current_chunk_ = new_chunk; in alloc()
/ndk/sources/host-tools/sed-4.2.1/lib/
Dobstack.c247 register struct _obstack_chunk *new_chunk; in _obstack_newchunk() local
260 new_chunk = CALL_CHUNKFUN (h, new_size); in _obstack_newchunk()
261 if (!new_chunk) in _obstack_newchunk()
263 h->chunk = new_chunk; in _obstack_newchunk()
264 new_chunk->prev = old_chunk; in _obstack_newchunk()
265 new_chunk->limit = h->chunk_limit = (char *) new_chunk + new_size; in _obstack_newchunk()
269 __PTR_ALIGN ((char *) new_chunk, new_chunk->contents, h->alignment_mask); in _obstack_newchunk()
299 new_chunk->prev = old_chunk->prev; in _obstack_newchunk()