Lines Matching refs:buf_ptr
476 sljit_u8 *buf_ptr; in sljit_generate_code() local
498 buf_ptr = buf->memory; in sljit_generate_code()
499 buf_end = buf_ptr + buf->used_size; in sljit_generate_code()
501 len = *buf_ptr++; in sljit_generate_code()
504 SLJIT_MEMCPY(code_ptr, buf_ptr, len); in sljit_generate_code()
506 buf_ptr += len; in sljit_generate_code()
509 if (*buf_ptr >= 4) { in sljit_generate_code()
512 code_ptr = generate_near_jump_code(jump, code_ptr, code, *buf_ptr - 4); in sljit_generate_code()
514 code_ptr = generate_far_jump_code(jump, code_ptr, *buf_ptr - 4); in sljit_generate_code()
517 else if (*buf_ptr == 0) { in sljit_generate_code()
522 else if (*buf_ptr == 1) { in sljit_generate_code()
528 *code_ptr++ = (*buf_ptr == 2) ? CALL_i32 : JMP_i32; in sljit_generate_code()
529 buf_ptr++; in sljit_generate_code()
530 … sljit_unaligned_store_sw(code_ptr, *(sljit_sw*)buf_ptr - ((sljit_sw)code_ptr + sizeof(sljit_sw))); in sljit_generate_code()
532 buf_ptr += sizeof(sljit_sw) - 1; in sljit_generate_code()
534 code_ptr = generate_fixed_jump(code_ptr, *(sljit_sw*)(buf_ptr + 1), *buf_ptr); in sljit_generate_code()
535 buf_ptr += sizeof(sljit_sw); in sljit_generate_code()
538 buf_ptr++; in sljit_generate_code()
540 } while (buf_ptr < buf_end); in sljit_generate_code()
541 SLJIT_ASSERT(buf_ptr == buf_end); in sljit_generate_code()