/external/pcre/dist2/src/sljit/ |
D | sljitProtExecAllocator.c | 269 sljit_sw executable_offset; member 322 sljit_sw executable_offset; in sljit_malloc_exec() local 339 header->executable_offset = free_block->header.executable_offset; in sljit_malloc_exec() 364 executable_offset = (sljit_sw)((sljit_u8*)chunk_header->executable - (sljit_u8*)chunk_header); in sljit_malloc_exec() 372 header->executable_offset = executable_offset; in sljit_malloc_exec() 381 free_block->header.executable_offset = executable_offset; in sljit_malloc_exec() 393 next_header->executable_offset = executable_offset; in sljit_malloc_exec() 405 header = AS_BLOCK_HEADER(header, -header->executable_offset); in sljit_free_exec() 473 return ((struct block_header *)(ptr))[-1].executable_offset; in sljit_exec_offset()
|
D | sljitNativeARM_32.c | 404 …_jump_type(struct sljit_jump *jump, sljit_uw *code_ptr, sljit_uw *code, sljit_sw executable_offset) in detect_jump_type() argument 416 diff = ((sljit_sw)jump->u.target - (sljit_sw)(code_ptr + 2) - executable_offset); in detect_jump_type() 441 diff = ((sljit_sw)jump->u.target - (sljit_sw)code_ptr - executable_offset); in detect_jump_type() 461 static SLJIT_INLINE void inline_set_jump_addr(sljit_uw jump_ptr, sljit_sw executable_offset, sljit_… in inline_set_jump_addr() argument 468 sljit_sw diff = (sljit_sw)(((sljit_sw)new_addr - (sljit_sw)(inst + 2) - executable_offset) >> 2); in inline_set_jump_addr() 470 SLJIT_UNUSED_ARG(executable_offset); in inline_set_jump_addr() 481 inst = (sljit_uw *)SLJIT_ADD_EXEC_OFFSET(inst, executable_offset); in inline_set_jump_addr() 492 inst = (sljit_uw *)SLJIT_ADD_EXEC_OFFSET(inst, executable_offset); in inline_set_jump_addr() 511 inst = (sljit_uw *)SLJIT_ADD_EXEC_OFFSET(inst, executable_offset); in inline_set_jump_addr() 518 inst = (sljit_uw *)SLJIT_ADD_EXEC_OFFSET(inst, executable_offset); in inline_set_jump_addr() [all …]
|
D | sljitNativePPC_32.c | 258 …_ATTRIBUTE void sljit_set_jump_addr(sljit_uw addr, sljit_uw new_target, sljit_sw executable_offset) in sljit_set_jump_addr() argument 261 SLJIT_UNUSED_ARG(executable_offset); in sljit_set_jump_addr() 268 inst = (sljit_ins *)SLJIT_ADD_EXEC_OFFSET(inst, executable_offset); in sljit_set_jump_addr() 272 …NC_ATTRIBUTE void sljit_set_const(sljit_uw addr, sljit_sw new_constant, sljit_sw executable_offset) in sljit_set_const() argument 274 sljit_set_jump_addr(addr, new_constant, executable_offset); in sljit_set_const()
|
D | sljitNativeSPARC_32.c | 266 …_ATTRIBUTE void sljit_set_jump_addr(sljit_uw addr, sljit_uw new_target, sljit_sw executable_offset) in sljit_set_jump_addr() argument 269 SLJIT_UNUSED_ARG(executable_offset); in sljit_set_jump_addr() 276 inst = (sljit_ins *)SLJIT_ADD_EXEC_OFFSET(inst, executable_offset); in sljit_set_jump_addr() 280 …NC_ATTRIBUTE void sljit_set_const(sljit_uw addr, sljit_sw new_constant, sljit_sw executable_offset) in sljit_set_const() argument 282 sljit_set_jump_addr(addr, new_constant, executable_offset); in sljit_set_const()
|
D | sljitNativeARM_64.c | 154 …ump_type(struct sljit_jump *jump, sljit_ins *code_ptr, sljit_ins *code, sljit_sw executable_offset) in detect_jump_type() argument 168 target_addr = (sljit_uw)(code + jump->u.label->size) + (sljit_uw)executable_offset; in detect_jump_type() 171 diff = (sljit_sw)target_addr - (sljit_sw)(code_ptr + 4) - executable_offset; in detect_jump_type() 233 sljit_sw executable_offset; in sljit_generate_code() local 253 executable_offset = SLJIT_EXEC_OFFSET(code); in sljit_generate_code() 273 label->addr = (sljit_uw)SLJIT_ADD_EXEC_OFFSET(code_ptr, executable_offset); in sljit_generate_code() 279 code_ptr -= detect_jump_type(jump, code_ptr, code, executable_offset); in sljit_generate_code() 289 …_label_get_length(put_label, (sljit_uw)(SLJIT_ADD_EXEC_OFFSET(code, executable_offset) + put_label… in sljit_generate_code() 302 label->addr = (sljit_uw)SLJIT_ADD_EXEC_OFFSET(code_ptr, executable_offset); in sljit_generate_code() 320 addr = (sljit_sw)(addr - (sljit_uw)SLJIT_ADD_EXEC_OFFSET(buf_ptr, executable_offset)) >> 2; in sljit_generate_code() [all …]
|
D | sljitNativeSPARC_common.c | 218 …ump_type(struct sljit_jump *jump, sljit_ins *code_ptr, sljit_ins *code, sljit_sw executable_offset) in detect_jump_type() argument 232 target_addr = (sljit_uw)(code + jump->u.label->size) + (sljit_uw)executable_offset; in detect_jump_type() 258 diff = ((sljit_sw)target_addr - (sljit_sw)(inst - 1) - executable_offset) >> 2; in detect_jump_type() 302 sljit_sw executable_offset; in sljit_generate_code() local 321 executable_offset = SLJIT_EXEC_OFFSET(code); in sljit_generate_code() 342 label->addr = (sljit_uw)SLJIT_ADD_EXEC_OFFSET(code_ptr, executable_offset); in sljit_generate_code() 352 code_ptr = detect_jump_type(jump, code_ptr, code, executable_offset); in sljit_generate_code() 375 label->addr = (sljit_uw)SLJIT_ADD_EXEC_OFFSET(code_ptr, executable_offset); in sljit_generate_code() 393 addr = (sljit_sw)(addr - (sljit_uw)SLJIT_ADD_EXEC_OFFSET(buf_ptr, executable_offset)) >> 2; in sljit_generate_code() 399 addr = (sljit_sw)(addr - (sljit_uw)SLJIT_ADD_EXEC_OFFSET(buf_ptr, executable_offset)) >> 2; in sljit_generate_code() [all …]
|
D | sljitNativeARM_T2_32.c | 240 …ump_type(struct sljit_jump *jump, sljit_u16 *code_ptr, sljit_u16 *code, sljit_sw executable_offset) in detect_jump_type() argument 251 diff = ((sljit_sw)jump->u.target - (sljit_sw)(code_ptr + 2) - executable_offset) >> 1; in detect_jump_type() 295 static SLJIT_INLINE void set_jump_instruction(struct sljit_jump *jump, sljit_sw executable_offset) in set_jump_instruction() argument 309 …diff = ((sljit_sw)jump->u.target - (sljit_sw)(jump->addr + sizeof(sljit_u32)) - executable_offset)… in set_jump_instruction() 313 …it_sw)(jump->u.label->addr) - (sljit_sw)(jump->addr + sizeof(sljit_u32)) - executable_offset) >> 1; in set_jump_instruction() 369 sljit_sw executable_offset; in sljit_generate_code() local 387 executable_offset = SLJIT_EXEC_OFFSET(code); in sljit_generate_code() 407 label->addr = ((sljit_uw)SLJIT_ADD_EXEC_OFFSET(code_ptr, executable_offset)) | 0x1; in sljit_generate_code() 413 code_ptr -= detect_jump_type(jump, code_ptr, code, executable_offset); in sljit_generate_code() 435 label->addr = ((sljit_uw)SLJIT_ADD_EXEC_OFFSET(code_ptr, executable_offset)) | 0x1; in sljit_generate_code() [all …]
|
D | sljitNativeS390X.c | 1141 sljit_sw executable_offset; in sljit_generate_code() local 1227 executable_offset = SLJIT_EXEC_OFFSET(code); in sljit_generate_code() 1242 (sljit_uw)code_ptr + label->size, executable_offset); in sljit_generate_code() 1284 source = (sljit_uw)SLJIT_ADD_EXEC_OFFSET(code_ptr, executable_offset); in sljit_generate_code() 1285 offset = (sljit_uw)SLJIT_ADD_EXEC_OFFSET(pool_ptr, executable_offset) - source; in sljit_generate_code() 1311 source = (sljit_uw)SLJIT_ADD_EXEC_OFFSET(code_ptr, executable_offset); in sljit_generate_code() 1325 source = (sljit_uw)SLJIT_ADD_EXEC_OFFSET(code_ptr, executable_offset); in sljit_generate_code() 1332 offset = (sljit_uw)SLJIT_ADD_EXEC_OFFSET(pool_ptr, executable_offset) - source; in sljit_generate_code() 1349 compiler->executable_offset = executable_offset; in sljit_generate_code() 1351 code = SLJIT_ADD_EXEC_OFFSET(code, executable_offset); in sljit_generate_code() [all …]
|
D | sljitNativePPC_64.c | 477 …_ATTRIBUTE void sljit_set_jump_addr(sljit_uw addr, sljit_uw new_target, sljit_sw executable_offset) in sljit_set_jump_addr() argument 480 SLJIT_UNUSED_ARG(executable_offset); in sljit_set_jump_addr() 488 inst = (sljit_ins *)SLJIT_ADD_EXEC_OFFSET(inst, executable_offset); in sljit_set_jump_addr() 492 …NC_ATTRIBUTE void sljit_set_const(sljit_uw addr, sljit_sw new_constant, sljit_sw executable_offset) in sljit_set_const() argument 494 sljit_set_jump_addr(addr, new_constant, executable_offset); in sljit_set_const()
|
D | sljitNativeX86_common.c | 431 …8* generate_far_jump_code(struct sljit_jump *jump, sljit_u8 *code_ptr, sljit_sw executable_offset); 437 …_jump_code(struct sljit_jump *jump, sljit_u8 *code_ptr, sljit_u8 *code, sljit_sw executable_offset) in generate_near_jump_code() argument 446 label_addr = jump->u.target - executable_offset; in generate_near_jump_code() 496 sljit_sw executable_offset; in sljit_generate_code() local 518 executable_offset = SLJIT_EXEC_OFFSET(code); in sljit_generate_code() 534 label->addr = (sljit_uw)SLJIT_ADD_EXEC_OFFSET(code_ptr, executable_offset); in sljit_generate_code() 541 code_ptr = generate_near_jump_code(jump, code_ptr, code, executable_offset); in sljit_generate_code() 544 code_ptr = generate_far_jump_code(jump, code_ptr, executable_offset); in sljit_generate_code() 560 …bel_code(put_label, code_ptr, (sljit_uw)SLJIT_ADD_EXEC_OFFSET(code, executable_offset) + put_label… in sljit_generate_code() 580 jump_addr = jump->addr + executable_offset; in sljit_generate_code() [all …]
|
D | sljitLir.h | 411 sljit_uw executable_offset; member 560 …ljit_get_executable_offset(struct sljit_compiler *compiler) { return compiler->executable_offset; } in sljit_get_executable_offset() 1402 …ATTRIBUTE void sljit_set_jump_addr(sljit_uw addr, sljit_uw new_target, sljit_sw executable_offset); 1403 …C_ATTRIBUTE void sljit_set_const(sljit_uw addr, sljit_sw new_constant, sljit_sw executable_offset);
|
D | sljitNativePPC_common.c | 259 …ump_type(struct sljit_jump *jump, sljit_ins *code_ptr, sljit_ins *code, sljit_sw executable_offset) in detect_jump_type() argument 277 target_addr = (sljit_uw)(code + jump->u.label->size) + (sljit_uw)executable_offset; in detect_jump_type() 285 diff = ((sljit_sw)target_addr - (sljit_sw)(code_ptr) - executable_offset) & ~0x3l; in detect_jump_type() 388 sljit_sw executable_offset; in sljit_generate_code() local 414 executable_offset = SLJIT_EXEC_OFFSET(code); in sljit_generate_code() 435 label->addr = (sljit_uw)SLJIT_ADD_EXEC_OFFSET(code_ptr, executable_offset); in sljit_generate_code() 445 if (detect_jump_type(jump, code_ptr, code, executable_offset)) { in sljit_generate_code() 488 …_label_get_length(put_label, (sljit_uw)(SLJIT_ADD_EXEC_OFFSET(code, executable_offset) + put_label… in sljit_generate_code() 503 label->addr = (sljit_uw)SLJIT_ADD_EXEC_OFFSET(code_ptr, executable_offset); in sljit_generate_code() 528 addr -= (sljit_uw)SLJIT_ADD_EXEC_OFFSET(buf_ptr, executable_offset); in sljit_generate_code() [all …]
|
D | sljitNativeMIPS_common.c | 314 …ump_type(struct sljit_jump *jump, sljit_ins *code_ptr, sljit_ins *code, sljit_sw executable_offset) in detect_jump_type() argument 333 target_addr = (sljit_uw)(code + jump->u.label->size) + (sljit_uw)executable_offset; in detect_jump_type() 347 diff = ((sljit_sw)target_addr - (sljit_sw)inst - executable_offset) >> 2; in detect_jump_type() 365 diff = ((sljit_sw)target_addr - (sljit_sw)(inst + 1) - executable_offset) >> 2; in detect_jump_type() 511 sljit_sw executable_offset; in sljit_generate_code() local 530 executable_offset = SLJIT_EXEC_OFFSET(code); in sljit_generate_code() 550 label->addr = (sljit_uw)SLJIT_ADD_EXEC_OFFSET(code_ptr, executable_offset); in sljit_generate_code() 560 code_ptr = detect_jump_type(jump, code_ptr, code, executable_offset); in sljit_generate_code() 571 …_label_get_length(put_label, (sljit_uw)(SLJIT_ADD_EXEC_OFFSET(code, executable_offset) + put_label… in sljit_generate_code() 604 …addr = (sljit_sw)(addr - ((sljit_uw)SLJIT_ADD_EXEC_OFFSET(buf_ptr, executable_offset) + sizeof(slj… in sljit_generate_code() [all …]
|
D | sljitNativeMIPS_32.c | 425 …_ATTRIBUTE void sljit_set_jump_addr(sljit_uw addr, sljit_uw new_target, sljit_sw executable_offset) in sljit_set_jump_addr() argument 428 SLJIT_UNUSED_ARG(executable_offset); in sljit_set_jump_addr() 435 inst = (sljit_ins *)SLJIT_ADD_EXEC_OFFSET(inst, executable_offset); in sljit_set_jump_addr() 439 …NC_ATTRIBUTE void sljit_set_const(sljit_uw addr, sljit_sw new_constant, sljit_sw executable_offset) in sljit_set_const() argument 441 sljit_set_jump_addr(addr, new_constant, executable_offset); in sljit_set_const()
|
D | sljitNativeMIPS_64.c | 525 …_ATTRIBUTE void sljit_set_jump_addr(sljit_uw addr, sljit_uw new_target, sljit_sw executable_offset) in sljit_set_jump_addr() argument 528 SLJIT_UNUSED_ARG(executable_offset); in sljit_set_jump_addr() 536 inst = (sljit_ins *)SLJIT_ADD_EXEC_OFFSET(inst, executable_offset); in sljit_set_jump_addr() 540 …NC_ATTRIBUTE void sljit_set_const(sljit_uw addr, sljit_sw new_constant, sljit_sw executable_offset) in sljit_set_const() argument 542 sljit_set_jump_addr(addr, new_constant, executable_offset); in sljit_set_const()
|
D | sljitNativeX86_32.c | 41 …u8* generate_far_jump_code(struct sljit_jump *jump, sljit_u8 *code_ptr, sljit_sw executable_offset) in generate_far_jump_code() argument 62 …ljit_unaligned_store_sw(code_ptr, jump->u.target - (jump->addr + 4) - (sljit_uw)executable_offset); in generate_far_jump_code()
|
D | sljitLir.c | 2689 …_ATTRIBUTE void sljit_set_jump_addr(sljit_uw addr, sljit_uw new_target, sljit_sw executable_offset) in sljit_set_jump_addr() argument 2693 SLJIT_UNUSED_ARG(executable_offset); in sljit_set_jump_addr() 2697 …NC_ATTRIBUTE void sljit_set_const(sljit_uw addr, sljit_sw new_constant, sljit_sw executable_offset) in sljit_set_const() argument 2701 SLJIT_UNUSED_ARG(executable_offset); in sljit_set_const()
|