Lines Matching refs:new_frag
489 struct sljit_memory_fragment *new_frag; in ensure_buf() local
497 new_frag = (struct sljit_memory_fragment*)SLJIT_MALLOC(BUF_SIZE, compiler->allocator_data); in ensure_buf()
498 PTR_FAIL_IF_NULL(new_frag); in ensure_buf()
499 new_frag->next = compiler->buf; in ensure_buf()
500 compiler->buf = new_frag; in ensure_buf()
501 new_frag->used_size = size; in ensure_buf()
502 return new_frag->memory; in ensure_buf()
508 struct sljit_memory_fragment *new_frag; in ensure_abuf() local
516 new_frag = (struct sljit_memory_fragment*)SLJIT_MALLOC(ABUF_SIZE, compiler->allocator_data); in ensure_abuf()
517 PTR_FAIL_IF_NULL(new_frag); in ensure_abuf()
518 new_frag->next = compiler->abuf; in ensure_abuf()
519 compiler->abuf = new_frag; in ensure_abuf()
520 new_frag->used_size = size; in ensure_abuf()
521 return new_frag->memory; in ensure_abuf()