/PHP-8.3/ext/pcre/pcre2lib/sljit/ |
H A D | sljitWXExecAllocator.c | 100 sljit_uw* ptr; in sljit_malloc_exec() 135 sljit_uw *start_ptr = ((sljit_uw*)ptr) - 1; in sljit_free_exec() 141 sljit_uw page_mask = (sljit_uw)get_page_alignment(); in sljit_update_wx_flags() 142 sljit_uw start = (sljit_uw)from; in sljit_update_wx_flags() 143 sljit_uw end = (sljit_uw)to; in sljit_update_wx_flags() 158 sljit_uw *ptr; in sljit_malloc_exec() 174 sljit_uw start = (sljit_uw)ptr - sizeof(sljit_uw); in sljit_free_exec() 176 sljit_uw page_mask = (sljit_uw)get_page_alignment(); in sljit_free_exec() 186 sljit_uw page_mask = (sljit_uw)get_page_alignment(); in sljit_update_wx_flags() 187 sljit_uw start = (sljit_uw)from; in sljit_update_wx_flags() [all …]
|
H A D | sljitNativeARM_32.c | 58 …(sljit_uw*)(((sljit_uw)(ptr) + (CONST_POOL_ALIGNMENT * sizeof(sljit_uw)) - 1) & ~((CONST_POOL_ALIG… 291 static sljit_uw patch_pc_relative_loads(sljit_uw *last_pc_patch, sljit_uw *code_ptr, sljit_uw* cons… in patch_pc_relative_loads() 477 sljit_uw *ptr = (sljit_uw *)jump_ptr; in inline_set_jump_addr() 478 sljit_uw *inst = (sljit_uw *)ptr[0]; in inline_set_jump_addr() 548 sljit_uw *inst = (sljit_uw*)jump_ptr; in inline_set_jump_addr() 569 static sljit_uw get_imm(sljit_uw imm); 576 sljit_uw *ptr = (sljit_uw*)addr; in inline_set_const() 577 sljit_uw *inst = (sljit_uw*)ptr[0]; in inline_set_const() 644 sljit_uw *inst = (sljit_uw*)addr; in inline_set_const() 1430 sljit_uw dst, sljit_uw src1, sljit_uw src2) in emit_single_op() [all …]
|
H A D | sljitUtils.c | 134 static SLJIT_INLINE sljit_uw get_page_alignment(void) { in get_page_alignment() 136 static sljit_uw sljit_page_align = 0; in get_page_alignment() 139 sljit_page_align = (sljit_uw)si.dwPageSize - 1; in get_page_alignment() 149 static sljit_uw sljit_page_align = 0; in get_page_alignment() 162 sljit_page_align = (sljit_uw)align - 1; in get_page_alignment() 175 …ATTRIBUTE struct sljit_stack* SLJIT_FUNC sljit_allocate_stack(sljit_uw start_size, sljit_uw max_si… in sljit_allocate_stack() 239 …ATTRIBUTE struct sljit_stack* SLJIT_FUNC sljit_allocate_stack(sljit_uw start_size, sljit_uw max_si… in sljit_allocate_stack() 243 sljit_uw page_align; in sljit_allocate_stack() 299 sljit_uw aligned_old_start; in sljit_stack_resize() 300 sljit_uw aligned_new_start; in sljit_stack_resize() [all …]
|
H A D | sljitLir.h | 385 sljit_uw addr; 387 sljit_uw size; 392 sljit_uw addr; 394 sljit_uw flags; 404 sljit_uw addr; 405 sljit_uw flags; 410 sljit_uw addr; 442 sljit_uw size; 1798 sljit_uw addr; 1799 sljit_uw r2; [all …]
|
H A D | sljitExecAllocator.c | 69 #define CHUNK_SIZE (sljit_uw)0x10000u 84 static SLJIT_INLINE void* alloc_chunk(sljit_uw size) in alloc_chunk() 89 static SLJIT_INLINE void free_chunk(void *chunk, sljit_uw size) in free_chunk() 171 static SLJIT_INLINE void* alloc_chunk(sljit_uw size) in alloc_chunk() 208 static SLJIT_INLINE void free_chunk(void *chunk, sljit_uw size) in free_chunk() 222 sljit_uw size; 223 sljit_uw prev_size; 230 sljit_uw size; 241 static sljit_uw allocated_size; 242 static sljit_uw total_size; [all …]
|
H A D | sljitProtExecAllocator.c | 69 #define CHUNK_SIZE (sljit_uw)0x10000 188 static SLJIT_INLINE struct chunk_header* alloc_chunk(sljit_uw size) in alloc_chunk() 225 static SLJIT_INLINE struct chunk_header* alloc_chunk(sljit_uw size) in alloc_chunk() 252 static SLJIT_INLINE void free_chunk(void *chunk, sljit_uw size) in free_chunk() 267 sljit_uw size; 268 sljit_uw prev_size; 276 sljit_uw size; 287 static sljit_uw allocated_size; 288 static sljit_uw total_size; 315 SLJIT_API_FUNC_ATTRIBUTE void* sljit_malloc_exec(sljit_uw size) in sljit_malloc_exec() [all …]
|
H A D | sljitNativeARM_T2_32.c | 515 static sljit_uw get_imm(sljit_uw imm) in get_imm() 566 sljit_uw tmp; in load_immediate() 1015 sljit_uw imm; in emit_set_delta() 1045 imm = get_imm((sljit_uw)argw & ~(sljit_uw)0xfff); in emit_op_mem() 1143 sljit_uw offset; in sljit_emit_enter() 1144 sljit_uw imm = 0; in sljit_emit_enter() 1368 sljit_uw imm2; in emit_add_sp() 1943 sljit_uw imm; in emit_fop_mem() 1968 imm = get_imm((sljit_uw)argw & ~(sljit_uw)0x3fc); in emit_fop_mem() 1974 imm = get_imm((sljit_uw)-argw & ~(sljit_uw)0x3fc); in emit_fop_mem() [all …]
|
H A D | sljitNativeRISCV_32.c | 55 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_jump_addr(sljit_uw addr, sljit_uw new_target, sljit_sw exec… in sljit_set_jump_addr()
|
H A D | sljitNativeMIPS_64.c | 35 sljit_uw uimm; in load_immediate() 49 uimm = (sljit_uw)imm; in load_immediate() 51 uimm = ~(sljit_uw)imm; in load_immediate() 131 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_jump_addr(sljit_uw addr, sljit_uw new_target, sljit_sw exec… in sljit_set_jump_addr() 146 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_const(sljit_uw addr, sljit_sw new_constant, sljit_sw execut… in sljit_set_const() 148 sljit_set_jump_addr(addr, (sljit_uw)new_constant, executable_offset); in sljit_set_const()
|
H A D | sljitNativeX86_64.c | 49 sljit_uw length = (rex ? 2 : 1) + sizeof(sljit_s32); in emit_do_imm32() 71 sljit_uw flags = size; in emit_x86_instruction() 72 sljit_uw inst_size; in emit_x86_instruction() 290 sljit_uw type = jump->flags >> TYPE_SHIFT; in generate_far_jump_code() 305 jump->addr = (sljit_uw)code_ptr; in generate_far_jump_code() 347 put_label->addr = (sljit_uw)code_ptr; in generate_put_label_code() 357 code_ptr += 2 + sizeof(sljit_uw); in generate_put_label_code() 368 put_label->addr = (sljit_uw)code_ptr; in generate_put_label_code() 377 sljit_uw size; in sljit_emit_enter() 584 sljit_uw size; in emit_stack_frame_release() [all …]
|
H A D | sljitConfigInternal.h | 436 typedef unsigned long int sljit_uw; typedef 446 typedef unsigned int sljit_uw; typedef 454 typedef unsigned long long sljit_uw; typedef 457 typedef unsigned __int64 sljit_uw; typedef 461 typedef unsigned long int sljit_uw; typedef 466 typedef sljit_uw sljit_p; 617 SLJIT_API_FUNC_ATTRIBUTE void* sljit_malloc_exec(sljit_uw size);
|
H A D | sljitNativeS390X.c | 165 return (sljit_uw)-1; in sizeof_ins() 397 sljit_uw bits[4]; in have_facility_dynamic() 890 if (((sljit_uw)v & ~(sljit_uw)0x000000000000ffff) == 0) in push_load_imm_inst() 893 if (((sljit_uw)v & ~(sljit_uw)0x00000000ffff0000) == 0) in push_load_imm_inst() 896 if (((sljit_uw)v & ~(sljit_uw)0x0000ffff00000000) == 0) in push_load_imm_inst() 899 if (((sljit_uw)v & ~(sljit_uw)0xffff000000000000) == 0) in push_load_imm_inst() 1433 sljit_uw pad_size; in sljit_generate_code() 1434 sljit_uw i, j = 0; in sljit_generate_code() 1521 pool = (sljit_uw *)((sljit_uw)code + ins_size + pad_size); in sljit_generate_code() 2685 sljit_uw imm = (sljit_uw)src2w; in sljit_emit_bitwise() [all …]
|
H A D | sljitNativePPC_64.c | 44 sljit_uw tmp; in load_immediate() 45 sljit_uw shift; in load_immediate() 46 sljit_uw tmp2; in load_immediate() 47 sljit_uw shift2; in load_immediate() 61 tmp = (sljit_uw)((imm >= 0) ? imm : ~imm); in load_immediate() 65 tmp = ((sljit_uw)imm << shift); in load_immediate() 82 tmp2 = (sljit_uw)imm & (((sljit_uw)1 << (63 - shift)) - 1); in load_immediate() 110 FAIL_IF(push_inst(compiler, ADDIS | D(reg) | A(0) | (sljit_ins)((sljit_uw)imm >> 48))); in load_immediate() 566 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_jump_addr(sljit_uw addr, sljit_uw new_target, sljit_sw exec… in sljit_set_jump_addr()
|
H A D | sljitNativeMIPS_32.c | 47 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_jump_addr(sljit_uw addr, sljit_uw new_target, sljit_sw exec… in sljit_set_jump_addr() 61 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_const(sljit_uw addr, sljit_sw new_constant, sljit_sw execut… in sljit_set_const() 63 sljit_set_jump_addr(addr, (sljit_uw)new_constant, executable_offset); in sljit_set_const() 123 offset = (offset + sizeof(sljit_sw) + 15) & ~(sljit_uw)0xf; in call_with_args()
|
H A D | sljitNativeARM_64.c | 164 sljit_uw target_addr; in detect_jump_type() 175 target_addr = (sljit_uw)(code + jump->u.label->size) + (sljit_uw)executable_offset; in detect_jump_type() 238 sljit_uw word_count; in sljit_generate_code() 239 sljit_uw next_addr; in sljit_generate_code() 342 SLJIT_ASSERT((jump->flags & PATCH_ABS64) || (sljit_uw)addr <= (sljit_uw)0xffffffffffff); in sljit_generate_code() 444 sljit_uw mask, uimm; in logical_imm() 458 uimm = (sljit_uw)imm; in logical_imm() 465 mask = ((sljit_uw)1 << len) - 1; in logical_imm() 480 uimm &= ((sljit_uw)1 << len) - 1; in logical_imm() 509 sljit_uw imm = (sljit_uw)simm; in load_immediate() [all …]
|
H A D | sljitNativeX86_common.c | 457 static sljit_u8 get_jump_code(sljit_uw type) in get_jump_code() 534 sljit_uw type = jump->flags >> TYPE_SHIFT; in generate_near_jump_code() 536 sljit_uw label_addr; in generate_near_jump_code() 592 sljit_uw jump_addr; in sljit_generate_code() 634 jump->addr = (sljit_uw)code_ptr; in sljit_generate_code() 653 put_label->addr = (sljit_uw)code_ptr; in sljit_generate_code() 949 sljit_uw size_jz_after_cmp_inst; in adjust_shadow_stack() 1078 sljit_uw size; in sljit_emit_op0() 2705 sse2_buffer = (sljit_u32*)(((sljit_uw)sse2_data + 15) & ~(sljit_uw)0xf); 3033 jump->u.target = (sljit_uw)srcw; [all …]
|
H A D | sljitNativeSPARC_common.c | 225 sljit_uw target_addr; in detect_jump_type() 236 target_addr = (sljit_uw)(code + jump->u.label->size) + (sljit_uw)executable_offset; in detect_jump_type() 276 jump->addr = (sljit_uw)inst; in detect_jump_type() 290 jump->addr = (sljit_uw)inst; in detect_jump_type() 304 sljit_uw word_count; in sljit_generate_code() 305 sljit_uw next_addr; in sljit_generate_code() 352 jump->addr = (sljit_uw)(code_ptr - 3); in sljit_generate_code() 354 jump->addr = (sljit_uw)(code_ptr - 6); in sljit_generate_code() 361 const_->addr = (sljit_uw)code_ptr; in sljit_generate_code() 366 put_label->addr = (sljit_uw)code_ptr; in sljit_generate_code() [all …]
|
H A D | sljitNativeX86_32.c | 46 static sljit_u8* emit_x86_instruction(struct sljit_compiler *compiler, sljit_uw size, in emit_x86_instruction() 55 sljit_uw flags = size; in emit_x86_instruction() 56 sljit_uw inst_size; in emit_x86_instruction() 234 sljit_uw type = jump->flags >> TYPE_SHIFT; in generate_far_jump_code() 253 …sljit_unaligned_store_sw(code_ptr, (sljit_sw)(jump->u.target - (jump->addr + 4) - (sljit_uw)execut… in generate_far_jump_code() 349 inst = (sljit_u8*)ensure_buf(compiler, (sljit_uw)(size + 1)); in sljit_emit_enter() 352 INC_SIZE((sljit_uw)size); in sljit_emit_enter() 427 inst = (sljit_u8*)ensure_buf(compiler, (sljit_uw)(1 + 1)); in sljit_emit_enter() 535 sljit_uw size; in emit_stack_frame_release() 538 size = (sljit_uw)((compiler->scratches > 9 ? (compiler->scratches - 9) : 0) + in emit_stack_frame_release() [all …]
|
H A D | sljitNativeSPARC_32.c | 266 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_jump_addr(sljit_uw addr, sljit_uw new_target, sljit_sw exec… in sljit_set_jump_addr() 280 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_const(sljit_uw addr, sljit_sw new_constant, sljit_sw execut… in sljit_set_const() 282 sljit_set_jump_addr(addr, (sljit_uw)new_constant, executable_offset); in sljit_set_const()
|
H A D | sljitNativePPC_common.c | 263 sljit_uw* ptrs; in sljit_set_function_context() 268 ptrs = (sljit_uw*)func; in sljit_set_function_context() 287 sljit_uw target_addr; in detect_jump_type() 288 sljit_uw extra_jump_flags; in detect_jump_type() 302 target_addr = (sljit_uw)(code + jump->u.label->size) + (sljit_uw)executable_offset; in detect_jump_type() 375 sljit_uw addr = put_label->label->addr; in put_label_set() 411 sljit_uw word_count; in sljit_generate_code() 412 sljit_uw next_addr; in sljit_generate_code() 414 sljit_uw addr; in sljit_generate_code() 506 const_->addr = (sljit_uw)code_ptr; in sljit_generate_code() [all …]
|
H A D | sljitNativeRISCV_64.c | 152 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_jump_addr(sljit_uw addr, sljit_uw new_target, sljit_sw exec… in sljit_set_jump_addr()
|
H A D | sljitLir.c | 388 && (sizeof(sljit_uw) == 4 || sizeof(sljit_uw) == 8), in sljit_create_compiler() 428 compiler->cpool = (sljit_uw*)SLJIT_MALLOC(CPOOL_SIZE * sizeof(sljit_uw) in sljit_create_compiler() 500 SLJIT_FREE_EXEC((void*)((sljit_uw)code & ~(sljit_uw)0x1), exec_allocator_data); in sljit_free_code() 508 code = (void*)(*(sljit_uw*)code); in sljit_free_code() 523 jump->flags &= (sljit_uw)~JUMP_ADDR; in sljit_set_label() 532 jump->flags &= (sljit_uw)~JUMP_LABEL; in sljit_set_target() 568 static void* ensure_buf(struct sljit_compiler *compiler, sljit_uw size) in ensure_buf() 587 static void* ensure_abuf(struct sljit_compiler *compiler, sljit_uw size) in ensure_abuf() 619 return ensure_abuf(compiler, (sljit_uw)size); in sljit_alloc_memory() 645 sljit_uw result = ~(sljit_uw)0; in compute_next_addr() [all …]
|
H A D | sljitNativeRISCV_common.c | 169 sljit_uw target_addr; in detect_jump_type() 181 target_addr = (sljit_uw)(code + jump->u.label->size) + (sljit_uw)executable_offset; in detect_jump_type() 193 jump->addr = (sljit_uw)inst; in detect_jump_type() 291 sljit_uw flags; in load_addr_to_reg() 296 sljit_uw addr; in load_addr_to_reg() 380 sljit_uw word_count; in sljit_generate_code() 381 sljit_uw next_addr; in sljit_generate_code() 383 sljit_uw addr; in sljit_generate_code() 431 jump->addr = (sljit_uw)code_ptr; in sljit_generate_code() 461 label->addr = (sljit_uw)code_ptr; in sljit_generate_code() [all …]
|
H A D | sljitNativeMIPS_common.c | 354 sljit_uw target_addr; in detect_jump_type() 372 target_addr = (sljit_uw)(code + jump->u.label->size) + (sljit_uw)executable_offset; in detect_jump_type() 448 …if ((target_addr & ~(sljit_uw)0xfffffff) == ((jump->addr + sizeof(sljit_ins)) & ~(sljit_uw)0xfffff… in detect_jump_type() 524 sljit_uw flags; in load_addr_to_reg() 526 sljit_uw addr; in load_addr_to_reg() 577 sljit_uw word_count; in sljit_generate_code() 578 sljit_uw next_addr; in sljit_generate_code() 580 sljit_uw addr; in sljit_generate_code() 633 const_->addr = (sljit_uw)code_ptr; in sljit_generate_code() 658 label->addr = (sljit_uw)code_ptr; in sljit_generate_code() [all …]
|
/PHP-8.3/ext/pcre/pcre2lib/ |
H A D | pcre2_jit_neon_inc.h | 85 …SLJIT_FUNC FF_FUN(sljit_u8 *str_end, sljit_u8 *str_ptr, sljit_uw offs1, sljit_uw offs2, sljit_uw c… in FF_FUN()
|