Lines Matching refs:buf_ptr
450 sljit_ub *buf_ptr; in sljit_generate_code() local
472 buf_ptr = buf->memory; in sljit_generate_code()
473 buf_end = buf_ptr + buf->used_size; in sljit_generate_code()
475 len = *buf_ptr++; in sljit_generate_code()
478 SLJIT_MEMMOVE(code_ptr, buf_ptr, len); in sljit_generate_code()
480 buf_ptr += len; in sljit_generate_code()
483 if (*buf_ptr >= 4) { in sljit_generate_code()
486 code_ptr = generate_near_jump_code(jump, code_ptr, code, *buf_ptr - 4); in sljit_generate_code()
488 code_ptr = generate_far_jump_code(jump, code_ptr, *buf_ptr - 4); in sljit_generate_code()
491 else if (*buf_ptr == 0) { in sljit_generate_code()
496 else if (*buf_ptr == 1) { in sljit_generate_code()
502 *code_ptr++ = (*buf_ptr == 2) ? CALL_i32 : JMP_i32; in sljit_generate_code()
503 buf_ptr++; in sljit_generate_code()
504 *(sljit_sw*)code_ptr = *(sljit_sw*)buf_ptr - ((sljit_sw)code_ptr + sizeof(sljit_sw)); in sljit_generate_code()
506 buf_ptr += sizeof(sljit_sw) - 1; in sljit_generate_code()
508 code_ptr = generate_fixed_jump(code_ptr, *(sljit_sw*)(buf_ptr + 1), *buf_ptr); in sljit_generate_code()
509 buf_ptr += sizeof(sljit_sw); in sljit_generate_code()
512 buf_ptr++; in sljit_generate_code()
514 } while (buf_ptr < buf_end); in sljit_generate_code()
515 SLJIT_ASSERT(buf_ptr == buf_end); in sljit_generate_code()