Lines Matching refs:code_ptr

416 static sljit_u8* generate_far_jump_code(struct sljit_jump *jump, sljit_u8 *code_ptr, sljit_s32 type…
418 static sljit_u8* generate_far_jump_code(struct sljit_jump *jump, sljit_u8 *code_ptr, sljit_s32 type…
421 static sljit_u8* generate_near_jump_code(struct sljit_jump *jump, sljit_u8 *code_ptr, sljit_u8 *cod… in generate_near_jump_code() argument
435 return generate_far_jump_code(jump, code_ptr, type); in generate_near_jump_code()
440 *code_ptr++ = JMP_i8; in generate_near_jump_code()
442 *code_ptr++ = JMP_i32; in generate_near_jump_code()
447 *code_ptr++ = CALL_i32; in generate_near_jump_code()
451 *code_ptr++ = get_jump_code(type) - 0x10; in generate_near_jump_code()
455 *code_ptr++ = GROUP_0F; in generate_near_jump_code()
456 *code_ptr++ = get_jump_code(type); in generate_near_jump_code()
462 code_ptr += sizeof(sljit_s8); in generate_near_jump_code()
466 code_ptr += sizeof(sljit_sw); in generate_near_jump_code()
468 code_ptr += sizeof(sljit_s32); in generate_near_jump_code()
472 return code_ptr; in generate_near_jump_code()
479 sljit_u8 *code_ptr; in sljit_generate_code() local
499 code_ptr = code; in sljit_generate_code()
512 SLJIT_MEMCPY(code_ptr, buf_ptr, len); in sljit_generate_code()
513 code_ptr += len; in sljit_generate_code()
518 jump->addr = (sljit_uw)code_ptr; in sljit_generate_code()
520 code_ptr = generate_near_jump_code(jump, code_ptr, code, *buf_ptr - 2, executable_offset); in sljit_generate_code()
523 code_ptr = generate_far_jump_code(jump, code_ptr, *buf_ptr - 2, executable_offset); in sljit_generate_code()
525 code_ptr = generate_far_jump_code(jump, code_ptr, *buf_ptr - 2); in sljit_generate_code()
531 label->addr = ((sljit_uw)code_ptr) + executable_offset; in sljit_generate_code()
532 label->size = code_ptr - code; in sljit_generate_code()
536 const_->addr = ((sljit_uw)code_ptr) - sizeof(sljit_sw); in sljit_generate_code()
584 SLJIT_ASSERT(code_ptr <= code + compiler->size); in sljit_generate_code()
587 compiler->executable_size = code_ptr - code; in sljit_generate_code()