Lines Matching refs:executable_offset

476 …_jump_type(struct sljit_jump *jump, sljit_uw *code_ptr, sljit_uw *code, sljit_sw executable_offset)  in detect_jump_type()  argument
489 diff = ((sljit_sw)jump->u.target - (sljit_sw)(code_ptr + 2) - executable_offset); in detect_jump_type()
523 static void set_jump_addr(sljit_uw jump_ptr, sljit_sw executable_offset, sljit_uw new_addr, sljit_s… in set_jump_addr() argument
530 sljit_sw diff = (sljit_sw)(((sljit_sw)new_addr - (sljit_sw)(inst + 2) - executable_offset) >> 2); in set_jump_addr()
532 SLJIT_UNUSED_ARG(executable_offset); in set_jump_addr()
543 inst = (sljit_ins*)SLJIT_ADD_EXEC_OFFSET(inst, executable_offset); in set_jump_addr()
554 inst = (sljit_ins*)SLJIT_ADD_EXEC_OFFSET(inst, executable_offset); in set_jump_addr()
573 inst = (sljit_ins*)SLJIT_ADD_EXEC_OFFSET(inst, executable_offset); in set_jump_addr()
580 inst = (sljit_ins*)SLJIT_ADD_EXEC_OFFSET(inst, executable_offset); in set_jump_addr()
599 SLJIT_UNUSED_ARG(executable_offset); in set_jump_addr()
612 inst = (sljit_ins*)SLJIT_ADD_EXEC_OFFSET(inst, executable_offset); in set_jump_addr()
622 static void set_const_value(sljit_uw addr, sljit_sw executable_offset, sljit_uw new_constant, sljit… in set_const_value() argument
630 SLJIT_UNUSED_ARG(executable_offset); in set_const_value()
642 inst = (sljit_ins*)SLJIT_ADD_EXEC_OFFSET(inst, executable_offset); in set_const_value()
658 inst = (sljit_ins*)SLJIT_ADD_EXEC_OFFSET(inst, executable_offset); in set_const_value()
678 inst = (sljit_ins*)SLJIT_ADD_EXEC_OFFSET(inst, executable_offset); in set_const_value()
695 SLJIT_UNUSED_ARG(executable_offset); in set_const_value()
708 inst = (sljit_ins*)SLJIT_ADD_EXEC_OFFSET(inst, executable_offset); in set_const_value()
714 …t_length(struct sljit_jump *jump, sljit_ins *code_ptr, sljit_ins *code, sljit_sw executable_offset) in mov_addr_get_length() argument
718 SLJIT_UNUSED_ARG(executable_offset); in mov_addr_get_length()
723 addr = (sljit_uw)SLJIT_ADD_EXEC_OFFSET(code + jump->u.label->size, executable_offset); in mov_addr_get_length()
726 diff = (sljit_sw)addr - (sljit_sw)SLJIT_ADD_EXEC_OFFSET(code_ptr, executable_offset); in mov_addr_get_length()
825 sljit_sw executable_offset; in sljit_generate_code() local
852 …table_memory(compiler->size * sizeof(sljit_ins), options, exec_allocator_data, &executable_offset); in sljit_generate_code()
905 label->u.addr = (sljit_uw)SLJIT_ADD_EXEC_OFFSET(code_ptr, executable_offset); in sljit_generate_code()
915 if (detect_jump_type(jump, code_ptr, code, executable_offset)) in sljit_generate_code()
921 if (!detect_jump_type(jump, code_ptr, code, executable_offset)) { in sljit_generate_code()
935 code_ptr += mov_addr_get_length(jump, code_ptr, code, executable_offset); in sljit_generate_code()
972 label->u.addr = (sljit_uw)SLJIT_ADD_EXEC_OFFSET(code_ptr, executable_offset); in sljit_generate_code()
1018 …SLJIT_ASSERT((((sljit_sw)addr - (sljit_sw)SLJIT_ADD_EXEC_OFFSET(buf_ptr + 2, executable_offset)) &… in sljit_generate_code()
1019 diff = ((sljit_sw)addr - (sljit_sw)SLJIT_ADD_EXEC_OFFSET(buf_ptr + 2, executable_offset)) >> 2; in sljit_generate_code()
1039 diff = (sljit_sw)addr - (sljit_sw)SLJIT_ADD_EXEC_OFFSET(buf_ptr + 2, executable_offset); in sljit_generate_code()
1051 set_jump_addr((sljit_uw)code_ptr, executable_offset, addr, 0); in sljit_generate_code()
1061 set_jump_addr((sljit_uw)buf_ptr, executable_offset, addr, 0); in sljit_generate_code()
1081 set_const_value((sljit_uw)code_ptr, executable_offset, *buf_ptr, 0); in sljit_generate_code()
1091 compiler->executable_offset = executable_offset; in sljit_generate_code()
1094 code = (sljit_ins*)SLJIT_ADD_EXEC_OFFSET(code, executable_offset); in sljit_generate_code()
1095 code_ptr = (sljit_ins*)SLJIT_ADD_EXEC_OFFSET(code_ptr, executable_offset); in sljit_generate_code()
4628 …_ATTRIBUTE void sljit_set_jump_addr(sljit_uw addr, sljit_uw new_target, sljit_sw executable_offset) in sljit_set_jump_addr() argument
4630 set_jump_addr(addr, executable_offset, new_target, 1); in sljit_set_jump_addr()
4633 …NC_ATTRIBUTE void sljit_set_const(sljit_uw addr, sljit_sw new_constant, sljit_sw executable_offset) in sljit_set_const() argument
4635 set_const_value(addr, executable_offset, (sljit_uw)new_constant, 1); in sljit_set_const()