Lines Matching refs:new_frag
571 struct sljit_memory_fragment *new_frag; in ensure_buf() local
579 new_frag = (struct sljit_memory_fragment*)SLJIT_MALLOC(BUF_SIZE, compiler->allocator_data); in ensure_buf()
580 PTR_FAIL_IF_NULL(new_frag); in ensure_buf()
581 new_frag->next = compiler->buf; in ensure_buf()
582 compiler->buf = new_frag; in ensure_buf()
583 new_frag->used_size = size; in ensure_buf()
584 return new_frag->memory; in ensure_buf()
590 struct sljit_memory_fragment *new_frag; in ensure_abuf() local
598 new_frag = (struct sljit_memory_fragment*)SLJIT_MALLOC(ABUF_SIZE, compiler->allocator_data); in ensure_abuf()
599 PTR_FAIL_IF_NULL(new_frag); in ensure_abuf()
600 new_frag->next = compiler->abuf; in ensure_abuf()
601 compiler->abuf = new_frag; in ensure_abuf()
602 new_frag->used_size = size; in ensure_abuf()
603 return new_frag->memory; in ensure_abuf()