/external/pcre/dist2/src/sljit/ |
D | sljitNativeARM_32.c | 58 …(sljit_uw*)(((sljit_uw)(ptr) + (CONST_POOL_ALIGNMENT * sizeof(sljit_uw)) - 1) & ~((CONST_POOL_ALIG… 60 (((max_diff) / (sljit_s32)sizeof(sljit_uw)) - (CONST_POOL_ALIGNMENT - 1)) 142 sljit_uw* inst; in push_cpool() 143 sljit_uw* cpool_ptr; in push_cpool() 144 sljit_uw* cpool_end; in push_cpool() 152 inst = (sljit_uw*)ensure_buf(compiler, sizeof(sljit_uw)); in push_cpool() 158 inst = (sljit_uw*)ensure_buf(compiler, sizeof(sljit_uw)); in push_cpool() 167 inst = (sljit_uw*)ensure_buf(compiler, sizeof(sljit_uw)); in push_cpool() 177 static sljit_s32 push_inst(struct sljit_compiler *compiler, sljit_uw inst) in push_inst() 179 sljit_uw* ptr; in push_inst() [all …]
|
D | sljitExecAllocator.c | 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() 97 static SLJIT_INLINE void* alloc_chunk(sljit_uw size) in alloc_chunk() 121 static SLJIT_INLINE void free_chunk(void *chunk, sljit_uw size) in free_chunk() 135 sljit_uw size; 136 sljit_uw prev_size; 143 sljit_uw size; 154 static sljit_uw allocated_size; 155 static sljit_uw total_size; 157 static SLJIT_INLINE void sljit_insert_free_block(struct free_block *free_block, sljit_uw size) in sljit_insert_free_block() [all …]
|
D | sljitLir.h | 336 sljit_uw used_size; 343 sljit_uw addr; 345 sljit_uw size; 350 sljit_uw addr; 353 sljit_uw target; 360 sljit_uw addr; 389 sljit_uw size; 391 sljit_uw executable_offset; 393 sljit_uw executable_size; 411 sljit_uw *cpool; [all …]
|
D | sljitUtils.c | 206 …ATTRIBUTE struct sljit_stack* SLJIT_FUNC sljit_allocate_stack(sljit_uw start_size, sljit_uw max_si… in sljit_allocate_stack() 294 sljit_uw aligned_old_start; in sljit_stack_resize() 295 sljit_uw aligned_new_start; in sljit_stack_resize() 301 aligned_new_start = (sljit_uw)new_start & ~sljit_page_align; in sljit_stack_resize() 302 aligned_old_start = ((sljit_uw)stack->start) & ~sljit_page_align; in sljit_stack_resize() 315 aligned_new_start = (sljit_uw)new_start & ~sljit_page_align; in sljit_stack_resize() 316 aligned_old_start = ((sljit_uw)stack->start) & ~sljit_page_align; in sljit_stack_resize()
|
D | sljitProtExecAllocator.c | 168 static SLJIT_INLINE struct chunk_header* alloc_chunk(sljit_uw size) in alloc_chunk() 201 static SLJIT_INLINE void free_chunk(void *chunk, sljit_uw size) in free_chunk() 218 sljit_uw size; 219 sljit_uw prev_size; 227 sljit_uw size; 238 static sljit_uw allocated_size; 239 static sljit_uw total_size; 241 static SLJIT_INLINE void sljit_insert_free_block(struct free_block *free_block, sljit_uw size) in sljit_insert_free_block() 266 SLJIT_API_FUNC_ATTRIBUTE void* sljit_malloc_exec(sljit_uw size) in sljit_malloc_exec() 272 sljit_uw chunk_size; in sljit_malloc_exec()
|
D | sljitConfigInternal.h | 370 typedef unsigned long int sljit_uw; typedef 379 typedef unsigned int sljit_uw; typedef 387 typedef unsigned long long sljit_uw; typedef 390 typedef unsigned __int64 sljit_uw; typedef 394 typedef unsigned long int sljit_uw; typedef 399 typedef sljit_uw sljit_p; 556 SLJIT_API_FUNC_ATTRIBUTE void* sljit_malloc_exec(sljit_uw size);
|
D | sljitNativeARM_64.c | 146 …JIT_INLINE sljit_s32 emit_imm64_const(struct sljit_compiler *compiler, sljit_s32 dst, sljit_uw imm) in emit_imm64_const() 154 static SLJIT_INLINE void modify_imm64_const(sljit_ins* inst, sljit_uw new_imm) in modify_imm64_const() 167 sljit_uw target_addr; in detect_jump_type() 178 target_addr = (sljit_uw)(code + jump->u.label->size) + (sljit_uw)executable_offset; in detect_jump_type() 225 sljit_uw word_count; in sljit_generate_code() 227 sljit_uw addr; in sljit_generate_code() 260 label->addr = (sljit_uw)SLJIT_ADD_EXEC_OFFSET(code_ptr, executable_offset); in sljit_generate_code() 265 jump->addr = (sljit_uw)(code_ptr - 4); in sljit_generate_code() 270 const_->addr = (sljit_uw)code_ptr; in sljit_generate_code() 281 label->addr = (sljit_uw)SLJIT_ADD_EXEC_OFFSET(code_ptr, executable_offset); in sljit_generate_code() [all …]
|
D | sljitNativeARM_T2_32.c | 222 …JIT_INLINE sljit_s32 emit_imm32_const(struct sljit_compiler *compiler, sljit_s32 dst, sljit_uw imm) in emit_imm32_const() 230 static SLJIT_INLINE void modify_imm32_const(sljit_u16 *inst, sljit_uw new_imm) in modify_imm32_const() 367 sljit_uw half_count; in sljit_generate_code() 400 label->addr = ((sljit_uw)SLJIT_ADD_EXEC_OFFSET(code_ptr, executable_offset)) | 0x1; in sljit_generate_code() 405 jump->addr = (sljit_uw)code_ptr - ((jump->flags & IS_COND) ? 10 : 8); in sljit_generate_code() 410 const_->addr = (sljit_uw)code_ptr; in sljit_generate_code() 421 label->addr = ((sljit_uw)SLJIT_ADD_EXEC_OFFSET(code_ptr, executable_offset)) | 0x1; in sljit_generate_code() 446 return (void*)((sljit_uw)code | 0x1); in sljit_generate_code() 474 static sljit_uw get_imm(sljit_uw imm) in get_imm() 523 static sljit_s32 load_immediate(struct sljit_compiler *compiler, sljit_s32 dst, sljit_uw imm) in load_immediate() [all …]
|
D | sljitNativePPC_64.c | 46 sljit_uw tmp; in load_immediate() 47 sljit_uw shift; in load_immediate() 48 sljit_uw tmp2; in load_immediate() 49 sljit_uw shift2; in load_immediate() 480 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_jump_addr(sljit_uw addr, sljit_uw new_target, sljit_sw exec… in sljit_set_jump_addr() 492 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_const(sljit_uw addr, sljit_sw new_constant, sljit_sw execut… in sljit_set_const()
|
D | sljitNativeSPARC_common.c | 221 sljit_uw target_addr; in detect_jump_type() 232 target_addr = (sljit_uw)(code + jump->u.label->size) + (sljit_uw)executable_offset; in detect_jump_type() 272 jump->addr = (sljit_uw)inst; in detect_jump_type() 286 jump->addr = (sljit_uw)inst; in detect_jump_type() 300 sljit_uw word_count; in sljit_generate_code() 302 sljit_uw addr; in sljit_generate_code() 335 label->addr = (sljit_uw)SLJIT_ADD_EXEC_OFFSET(code_ptr, executable_offset); in sljit_generate_code() 341 jump->addr = (sljit_uw)(code_ptr - 3); in sljit_generate_code() 343 jump->addr = (sljit_uw)(code_ptr - 6); in sljit_generate_code() 350 const_->addr = (sljit_uw)code_ptr; in sljit_generate_code() [all …]
|
D | sljitLir.c | 381 && (sizeof(sljit_uw) == 4 || sizeof(sljit_uw) == 8), in sljit_create_compiler() 422 compiler->cpool = (sljit_uw*)SLJIT_MALLOC(CPOOL_SIZE * sizeof(sljit_uw) in sljit_create_compiler() 489 SLJIT_FREE_EXEC((void*)((sljit_uw)code & ~0x1)); in sljit_free_code() 495 code = (void*)(*(sljit_uw*)code); in sljit_free_code() 514 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_target(struct sljit_jump *jump, sljit_uw target) in sljit_set_target() 539 static void* ensure_buf(struct sljit_compiler *compiler, sljit_uw size) in ensure_buf() 545 …if (compiler->buf->used_size + size <= (BUF_SIZE - (sljit_uw)SLJIT_OFFSETOF(struct sljit_memory_fr… in ensure_buf() 558 static void* ensure_abuf(struct sljit_compiler *compiler, sljit_uw size) in ensure_abuf() 564 …if (compiler->abuf->used_size + size <= (ABUF_SIZE - (sljit_uw)SLJIT_OFFSETOF(struct sljit_memory_… in ensure_abuf() 2485 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_target(struct sljit_jump *jump, sljit_uw target) in sljit_set_target() [all …]
|
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() 276 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_const(sljit_uw addr, sljit_sw new_constant, sljit_sw execut… in sljit_set_const()
|
D | sljitNativePPC_32.c | 258 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_jump_addr(sljit_uw addr, sljit_uw new_target, sljit_sw exec… in sljit_set_jump_addr() 268 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_const(sljit_uw addr, sljit_sw new_constant, sljit_sw execut… in sljit_set_const()
|
D | sljitNativePPC_common.c | 259 sljit_uw target_addr; in detect_jump_type() 274 target_addr = (sljit_uw)(code + jump->u.label->size) + (sljit_uw)executable_offset; in detect_jump_type() 334 sljit_uw word_count; in sljit_generate_code() 336 sljit_uw addr; in sljit_generate_code() 376 label->addr = (sljit_uw)SLJIT_ADD_EXEC_OFFSET(code_ptr, executable_offset); in sljit_generate_code() 382 jump->addr = (sljit_uw)(code_ptr - 3); in sljit_generate_code() 384 jump->addr = (sljit_uw)(code_ptr - 6); in sljit_generate_code() 422 const_->addr = (sljit_uw)code_ptr; in sljit_generate_code() 433 label->addr = (sljit_uw)SLJIT_ADD_EXEC_OFFSET(code_ptr, executable_offset); in sljit_generate_code() 456 addr -= (sljit_uw)SLJIT_ADD_EXEC_OFFSET(buf_ptr, executable_offset); in sljit_generate_code() [all …]
|
D | sljitNativeMIPS_common.c | 243 sljit_uw target_addr; in detect_jump_type() 259 target_addr = (sljit_uw)(code + jump->u.label->size) + (sljit_uw)executable_offset; in detect_jump_type() 386 sljit_uw word_count; in sljit_generate_code() 388 sljit_uw addr; in sljit_generate_code() 420 label->addr = (sljit_uw)SLJIT_ADD_EXEC_OFFSET(code_ptr, executable_offset); in sljit_generate_code() 426 jump->addr = (sljit_uw)(code_ptr - 3); in sljit_generate_code() 428 jump->addr = (sljit_uw)(code_ptr - 7); in sljit_generate_code() 435 const_->addr = (sljit_uw)code_ptr; in sljit_generate_code() 446 label->addr = (sljit_uw)code_ptr; in sljit_generate_code() 463 …addr = (sljit_sw)(addr - ((sljit_uw)SLJIT_ADD_EXEC_OFFSET(buf_ptr, executable_offset) + sizeof(slj… in sljit_generate_code() [all …]
|
D | sljitNativeTILEGX_64.c | 115 typedef sljit_uw sljit_ins; 906 sljit_uw target_addr; in detect_jump_type() 916 target_addr = (sljit_uw)(code + jump->u.label->size); in detect_jump_type() 1003 sljit_uw word_count; in sljit_generate_code() 1004 sljit_uw addr; in sljit_generate_code() 1034 label->addr = (sljit_uw) code_ptr; in sljit_generate_code() 1041 jump->addr = (sljit_uw)(code_ptr - 4); in sljit_generate_code() 1043 jump->addr = (sljit_uw)(code_ptr - 3); in sljit_generate_code() 1051 const_->addr = (sljit_uw) code_ptr; in sljit_generate_code() 1063 label->addr = (sljit_uw) code_ptr; in sljit_generate_code() [all …]
|
D | sljitNativeX86_common.c | 439 sljit_uw label_addr; in generate_near_jump_code() 442 label_addr = (sljit_uw)(code + jump->u.label->size); in generate_near_jump_code() 529 jump->addr = (sljit_uw)code_ptr; in sljit_generate_code() 542 label->addr = ((sljit_uw)code_ptr) + executable_offset; in sljit_generate_code() 547 const_->addr = ((sljit_uw)code_ptr) - sizeof(sljit_sw); in sljit_generate_code() 2202 sse2_buffer = (sljit_s32*)(((sljit_uw)sse2_data + 15) & ~0xf); 2845 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_jump_addr(sljit_uw addr, sljit_uw new_target, sljit_sw exec… 2849 sljit_unaligned_store_sw((void*)addr, new_target - (addr + 4) - (sljit_uw)executable_offset); 2855 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_const(sljit_uw addr, sljit_sw new_constant, sljit_sw execut…
|
D | sljitNativeMIPS_64.c | 35 sljit_uw uimm; in load_immediate() 517 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_jump_addr(sljit_uw addr, sljit_uw new_target, sljit_sw exec… in sljit_set_jump_addr() 529 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_const(sljit_uw addr, sljit_sw new_constant, sljit_sw execut… in sljit_set_const()
|
D | sljitNativeX86_32.c | 60 …sljit_unaligned_store_sw(code_ptr, jump->u.target - (jump->addr + 4) - (sljit_uw)executable_offset… in generate_far_jump_code() 165 …veds = (2 + (scratches > 9 ? (scratches - 9) : 0) + (saveds <= 3 ? saveds : 3)) * sizeof(sljit_uw); in sljit_emit_enter() 273 …veds = (2 + (scratches > 9 ? (scratches - 9) : 0) + (saveds <= 3 ? saveds : 3)) * sizeof(sljit_uw); in sljit_set_context()
|
D | sljitNativeMIPS_32.c | 419 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_jump_addr(sljit_uw addr, sljit_uw new_target, sljit_sw exec… in sljit_set_jump_addr() 429 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_const(sljit_uw addr, sljit_sw new_constant, sljit_sw execut… in sljit_set_const()
|
D | sljitNativeX86_64.c | 57 jump->addr = (sljit_uw)code_ptr; in generate_far_jump_code() 807 if (sign || ((sljit_uw)srcw <= 0x7fffffff)) { in emit_mov_int()
|
/external/pcre/dist2/src/ |
D | pcre2_jit_misc.c | 221 sljit_uw *executable_sizes = ((executable_functions *)executable_jit)->executable_sizes; in PRIV()
|
D | pcre2_jit_compile.c | 188 sljit_uw offset_limit; 199 sljit_uw executable_sizes[JIT_NUMBER_OF_COMPILE_MODES]; 217 sljit_uw *update_addr; 2634 static void add_label_addr(compiler_common *common, sljit_uw *update_addr) in add_label_addr() 2681 static sljit_uw * allocate_read_only_data(compiler_common *common, sljit_uw size) in allocate_read_only_data() 2684 sljit_uw *result; in allocate_read_only_data() 2689 result = (sljit_uw *)SLJIT_MALLOC(size + sizeof(sljit_uw), compiler->allocator_data); in allocate_read_only_data() 6441 sljit_uw c, charoffset, max = 256, min = READ_CHAR_MAX; in compile_xclass_matchingpath() 6454 sljit_uw typeoffset; in compile_xclass_matchingpath() 8269 sljit_uw callout_arg_size = (common->re->top_bracket + 1) * 2 * sizeof(sljit_sw); in compile_callout_matchingpath() [all …]
|