Lines Matching refs:new_frag
550 struct sljit_memory_fragment *new_frag; in ensure_buf() local
558 new_frag = (struct sljit_memory_fragment*)SLJIT_MALLOC(BUF_SIZE, compiler->allocator_data); in ensure_buf()
559 PTR_FAIL_IF_NULL(new_frag); in ensure_buf()
560 new_frag->next = compiler->buf; in ensure_buf()
561 compiler->buf = new_frag; in ensure_buf()
562 new_frag->used_size = size; in ensure_buf()
563 return new_frag->memory; in ensure_buf()
569 struct sljit_memory_fragment *new_frag; in ensure_abuf() local
577 new_frag = (struct sljit_memory_fragment*)SLJIT_MALLOC(ABUF_SIZE, compiler->allocator_data); in ensure_abuf()
578 PTR_FAIL_IF_NULL(new_frag); in ensure_abuf()
579 new_frag->next = compiler->abuf; in ensure_abuf()
580 compiler->abuf = new_frag; in ensure_abuf()
581 new_frag->used_size = size; in ensure_abuf()
582 return new_frag->memory; in ensure_abuf()