/external/pcre/dist/sljit/ |
D | sljitLir.h | 285 sljit_sw flags; 353 sljit_sw cache_argw; 358 sljit_sw cache_argw; 364 sljit_sw cache_argw; 368 sljit_sw imm; 370 sljit_sw cache_argw; 376 sljit_sw cache_argw; 382 sljit_sw cache_argw; 387 sljit_sw cache_argw; 523 sljit_si src, sljit_sw srcw); [all …]
|
D | sljitNativeX86_32.c | 29 static sljit_si emit_do_imm(struct sljit_compiler *compiler, sljit_ub opcode, sljit_sw imm) in emit_do_imm() 33 inst = (sljit_ub*)ensure_buf(compiler, 1 + 1 + sizeof(sljit_sw)); in emit_do_imm() 35 INC_SIZE(1 + sizeof(sljit_sw)); in emit_do_imm() 37 *(sljit_sw*)inst = imm; in emit_do_imm() 60 *(sljit_sw*)code_ptr = jump->u.target - (jump->addr + 4); in generate_far_jump_code() 124 *inst++ = sizeof(sljit_sw) * (3 + 2); /* saveds >= 3 as well. */ in sljit_emit_enter() 130 *inst++ = sizeof(sljit_sw) * 2; in sljit_emit_enter() 135 *inst++ = sizeof(sljit_sw) * 3; in sljit_emit_enter() 140 *inst++ = sizeof(sljit_sw) * 4; in sljit_emit_enter() 199 …jit_si sljit_emit_return(struct sljit_compiler *compiler, sljit_si op, sljit_si src, sljit_sw srcw) in sljit_emit_return() [all …]
|
D | sljitLir.c | 237 extra) * sizeof(sljit_sw)) 243 #define FIXED_LOCALS_OFFSET ((2 + 4) * sizeof(sljit_sw)) 246 #define FIXED_LOCALS_OFFSET ((3 + 4) * sizeof(sljit_sw)) 254 #define FIXED_LOCALS_OFFSET ((4 + 2) * sizeof(sljit_sw)) 256 #define FIXED_LOCALS_OFFSET (sizeof(sljit_sw)) 267 #define FIXED_LOCALS_OFFSET ((6 + 8) * sizeof(sljit_sw)) 269 #define FIXED_LOCALS_OFFSET (3 * sizeof(sljit_sw)) 275 #define FIXED_LOCALS_OFFSET ((6 + 8) * sizeof(sljit_sw)) 280 #define FIXED_LOCALS_OFFSET (4 * sizeof(sljit_sw)) 290 #define FIXED_LOCALS_OFFSET (23 * sizeof(sljit_sw)) [all …]
|
D | sljitNativeX86_common.c | 75 w = FIXED_LOCALS_OFFSET + ((p) - (SLJIT_R3 + 4)) * sizeof(sljit_sw); \ 389 static sljit_ub* generate_fixed_jump(sljit_ub *code_ptr, sljit_sw addr, sljit_si type); 401 …short_jump = (sljit_sw)(label_addr - (jump->addr + 2)) >= -128 && (sljit_sw)(label_addr - (jump->a… in generate_near_jump_code() 404 …if ((sljit_sw)(label_addr - (jump->addr + 1)) > HALFWORD_MAX || (sljit_sw)(label_addr - (jump->add… in generate_near_jump_code() 436 code_ptr += sizeof(sljit_sw); in generate_near_jump_code() 497 const_->addr = ((sljit_uw)code_ptr) - sizeof(sljit_sw); in sljit_generate_code() 504 *(sljit_sw*)code_ptr = *(sljit_sw*)buf_ptr - ((sljit_sw)code_ptr + sizeof(sljit_sw)); in sljit_generate_code() 505 code_ptr += sizeof(sljit_sw); in sljit_generate_code() 506 buf_ptr += sizeof(sljit_sw) - 1; in sljit_generate_code() 508 code_ptr = generate_fixed_jump(code_ptr, *(sljit_sw*)(buf_ptr + 1), *buf_ptr); in sljit_generate_code() [all …]
|
D | sljitNativeX86_64.c | 29 static sljit_si emit_load_imm64(struct sljit_compiler *compiler, sljit_si reg, sljit_sw imm) in emit_load_imm64() 33 inst = (sljit_ub*)ensure_buf(compiler, 1 + 2 + sizeof(sljit_sw)); in emit_load_imm64() 35 INC_SIZE(2 + sizeof(sljit_sw)); in emit_load_imm64() 38 *(sljit_sw*)inst = imm; in emit_load_imm64() 58 *(sljit_sw*)code_ptr = jump->u.target; in generate_far_jump_code() 60 code_ptr += sizeof(sljit_sw); in generate_far_jump_code() 68 static sljit_ub* generate_fixed_jump(sljit_ub *code_ptr, sljit_sw addr, sljit_si type) in generate_fixed_jump() 70 sljit_sw delta = addr - ((sljit_sw)code_ptr + 1 + sizeof(sljit_si)); in generate_fixed_jump() 74 *(sljit_sw*)code_ptr = delta; in generate_fixed_jump() 80 *(sljit_sw*)code_ptr = addr; in generate_fixed_jump() [all …]
|
D | sljitNativeARM_32.c | 382 static SLJIT_INLINE sljit_si emit_imm(struct sljit_compiler *compiler, sljit_si reg, sljit_sw imm) in emit_imm() 392 sljit_sw diff; in detect_jump_type() 402 diff = ((sljit_sw)jump->u.target - (sljit_sw)(code_ptr + 2)); in detect_jump_type() 405 diff = ((sljit_sw)(code + jump->u.label->size) - (sljit_sw)(code_ptr + 2)); in detect_jump_type() 427 diff = ((sljit_sw)jump->u.target - (sljit_sw)code_ptr); in detect_jump_type() 430 diff = ((sljit_sw)(code + jump->u.label->size) - (sljit_sw)code_ptr); in detect_jump_type() 454 sljit_sw diff = (sljit_sw)(((sljit_sw)new_addr - (sljit_sw)(inst + 2)) >> 2); in inline_set_jump_addr() 505 static SLJIT_INLINE void inline_set_const(sljit_uw addr, sljit_sw new_constant, sljit_si flush) in inline_set_const() 735 …SLJIT_ASSERT(((sljit_sw)jump->u.label->addr - (sljit_sw)(buf_ptr + 2)) <= 0x01ffffff && ((sljit_sw… in sljit_generate_code() 736 *buf_ptr |= (((sljit_sw)jump->u.label->addr - (sljit_sw)(buf_ptr + 2)) >> 2) & 0x00ffffff; in sljit_generate_code() [all …]
|
D | sljitNativePPC_common.c | 227 …unction_context(void** func_ptr, struct sljit_function_context* context, sljit_sw addr, void* func) in sljit_set_function_context() 229 sljit_sw* ptrs; in sljit_set_function_context() 232 ptrs = (sljit_sw*)func; in sljit_set_function_context() 250 sljit_sw diff; in detect_jump_type() 252 sljit_sw extra_jump_flags; in detect_jump_type() 274 diff = ((sljit_sw)target_addr - (sljit_sw)(code_ptr)) & ~0x3l; in detect_jump_type() 428 …SLJIT_ASSERT(code_ptr - code <= (sljit_sw)compiler->size - (sizeof(struct sljit_function_context) … in sljit_generate_code() 430 SLJIT_ASSERT(code_ptr - code <= (sljit_sw)compiler->size); in sljit_generate_code() 442 SLJIT_ASSERT((sljit_sw)addr <= 0x7fff && (sljit_sw)addr >= -0x8000); in sljit_generate_code() 453 SLJIT_ASSERT((sljit_sw)addr <= 0x01ffffff && (sljit_sw)addr >= -0x02000000); in sljit_generate_code() [all …]
|
D | sljitNativeSPARC_common.c | 200 sljit_sw diff; in detect_jump_type() 239 diff = ((sljit_sw)target_addr - (sljit_sw)(inst - 1)) >> 2; in detect_jump_type() 256 diff = ((sljit_sw)target_addr - (sljit_sw)(inst)) >> 2; in detect_jump_type() 352 addr = (sljit_sw)(addr - jump->addr) >> 2; in sljit_generate_code() 353 SLJIT_ASSERT((sljit_sw)addr <= 0x1fffffff && (sljit_sw)addr >= -0x20000000); in sljit_generate_code() 358 addr = (sljit_sw)(addr - jump->addr) >> 2; in sljit_generate_code() 359 SLJIT_ASSERT((sljit_sw)addr <= MAX_DISP && (sljit_sw)addr >= MIN_DISP); in sljit_generate_code() 472 …jit_si sljit_emit_return(struct sljit_compiler *compiler, sljit_si op, sljit_si src, sljit_sw srcw) in sljit_emit_return() 524 …rg_fast(struct sljit_compiler *compiler, sljit_si flags, sljit_si reg, sljit_si arg, sljit_sw argw) in getput_arg_fast() 547 static sljit_si can_cache(sljit_si arg, sljit_sw argw, sljit_si next_arg, sljit_sw next_argw) in can_cache() [all …]
|
D | sljitNativeARM_64.c | 157 sljit_sw diff; in detect_jump_type() 171 diff = (sljit_sw)target_addr - (sljit_sw)(code_ptr + 4); in detect_jump_type() 275 SLJIT_ASSERT(code_ptr - code <= (sljit_sw)compiler->size); in sljit_generate_code() 283 addr = (sljit_sw)(addr - jump->addr) >> 2; in sljit_generate_code() 284 SLJIT_ASSERT((sljit_sw)addr <= 0x1ffffff && (sljit_sw)addr >= -0x2000000); in sljit_generate_code() 291 addr = (sljit_sw)(addr - jump->addr) >> 2; in sljit_generate_code() 292 SLJIT_ASSERT((sljit_sw)addr <= 0x3ffff && (sljit_sw)addr >= -0x40000); in sljit_generate_code() 350 static sljit_ins logical_imm(sljit_sw imm, sljit_si len) in logical_imm() 393 imm = (sljit_sw)~uimm; in logical_imm() 414 static sljit_si load_immediate(struct sljit_compiler *compiler, sljit_si dst, sljit_sw simm) in load_immediate() [all …]
|
D | sljitNativeMIPS_common.c | 223 sljit_sw diff; in detect_jump_type() 253 diff = ((sljit_sw)target_addr - (sljit_sw)(inst)) >> 2; in detect_jump_type() 271 diff = ((sljit_sw)target_addr - (sljit_sw)(inst + 1)) >> 2; in detect_jump_type() 431 SLJIT_ASSERT(code_ptr - code <= (sljit_sw)compiler->size); in sljit_generate_code() 440 addr = (sljit_sw)(addr - (jump->addr + sizeof(sljit_ins))) >> 2; in sljit_generate_code() 441 SLJIT_ASSERT((sljit_sw)addr <= SIMM_MAX && (sljit_sw)addr >= SIMM_MIN); in sljit_generate_code() 581 offs = local_size - (sljit_sw)(sizeof(sljit_sw)); in sljit_emit_enter() 586 offs -= (sljit_si)(sizeof(sljit_sw)); in sljit_emit_enter() 591 offs -= (sljit_si)(sizeof(sljit_sw)); in sljit_emit_enter() 629 …jit_si sljit_emit_return(struct sljit_compiler *compiler, sljit_si op, sljit_si src, sljit_sw srcw) in sljit_emit_return() [all …]
|
D | sljitNativeARM_T2_32.c | 226 sljit_sw diff; in detect_jump_type() 235 diff = ((sljit_sw)jump->u.target - (sljit_sw)(code_ptr + 2)) >> 1; in detect_jump_type() 239 diff = ((sljit_sw)(code + jump->u.label->size) - (sljit_sw)(code_ptr + 2)) >> 1; in detect_jump_type() 282 sljit_sw diff; in set_jump_instruction() 293 diff = ((sljit_sw)jump->u.target - (sljit_sw)(jump->addr + 4)) >> 1; in set_jump_instruction() 296 diff = ((sljit_sw)(jump->u.label->addr) - (sljit_sw)(jump->addr + 4)) >> 1; in set_jump_instruction() 408 SLJIT_ASSERT(code_ptr - code <= (sljit_sw)compiler->size); in sljit_generate_code() 870 …ljit_si emit_set_delta(struct sljit_compiler *compiler, sljit_si dst, sljit_si reg, sljit_sw value) in emit_set_delta() 891 …rg_fast(struct sljit_compiler *compiler, sljit_si flags, sljit_si reg, sljit_si arg, sljit_sw argw) in getput_arg_fast() 978 static sljit_si can_cache(sljit_si arg, sljit_sw argw, sljit_si next_arg, sljit_sw next_argw) in can_cache() [all …]
|
D | sljitNativeTILEGX_64.c | 905 sljit_sw diff; in detect_jump_type() 924 diff = ((sljit_sw) target_addr - (sljit_sw) inst) >> 3; in detect_jump_type() 1072 SLJIT_ASSERT(code_ptr - code <= (sljit_sw)compiler->size); in sljit_generate_code() 1081 addr = (sljit_sw)(addr - (jump->addr)) >> 3; in sljit_generate_code() 1082 SLJIT_ASSERT((sljit_sw) addr <= SIMM_17BIT_MAX && (sljit_sw) addr >= SIMM_17BIT_MIN); in sljit_generate_code() 1094 addr = (sljit_sw)(addr - (jump->addr)) >> 3; in sljit_generate_code() 1121 static sljit_si load_immediate(struct sljit_compiler *compiler, sljit_si dst_ar, sljit_sw imm) in load_immediate() 1144 static sljit_si emit_const(struct sljit_compiler *compiler, sljit_si dst_ar, sljit_sw imm, int flus… in emit_const() 1159 static sljit_si emit_const_64(struct sljit_compiler *compiler, sljit_si dst_ar, sljit_sw imm, int f… in emit_const_64() 1195 local_size += (saveds + 1) * sizeof(sljit_sw); in sljit_emit_enter() [all …]
|
D | sljitConfigInternal.h | 361 typedef long int sljit_sw; typedef 370 typedef int sljit_sw; typedef 376 typedef __int64 sljit_sw; typedef 379 typedef long int sljit_sw; typedef
|
D | sljitNativeSPARC_32.c | 27 static sljit_si load_immediate(struct sljit_compiler *compiler, sljit_si dst, sljit_sw imm) in load_immediate() 39 sljit_si dst, sljit_si src1, sljit_sw src2) in emit_single_op() 142 static SLJIT_INLINE sljit_si emit_const(struct sljit_compiler *compiler, sljit_si dst, sljit_sw ini… in emit_const() 157 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_const(sljit_uw addr, sljit_sw new_constant) in sljit_set_const()
|
D | sljitUtils.c | 201 static sljit_sw sljit_page_align = 0; 288 SLJIT_API_FUNC_ATTRIBUTE sljit_sw SLJIT_CALL sljit_stack_resize(struct sljit_stack* stack, sljit_uw… in sljit_stack_resize()
|
D | sljitExecAllocator.c | 252 header = AS_BLOCK_HEADER(ptr, -(sljit_sw)sizeof(struct block_header)); in sljit_free_exec() 259 free_block = AS_FREE_BLOCK(header, -(sljit_sw)header->prev_size); in sljit_free_exec()
|
D | sljitNativePPC_32.c | 29 static sljit_si load_immediate(struct sljit_compiler *compiler, sljit_si reg, sljit_sw imm) in load_immediate() 247 static SLJIT_INLINE sljit_si emit_const(struct sljit_compiler *compiler, sljit_si reg, sljit_sw ini… in emit_const() 262 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_const(sljit_uw addr, sljit_sw new_constant) in sljit_set_const()
|
D | sljitNativeMIPS_64.c | 29 static sljit_si load_immediate(struct sljit_compiler *compiler, sljit_si dst_ar, sljit_sw imm) in load_immediate() 70 if ((sljit_sw)uimm < 0) { in load_immediate() 161 sljit_si dst, sljit_si src1, sljit_sw src2) in emit_single_op() 439 static SLJIT_INLINE sljit_si emit_const(struct sljit_compiler *compiler, sljit_si dst, sljit_sw ini… in emit_const() 460 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_const(sljit_uw addr, sljit_sw new_constant) in sljit_set_const()
|
D | sljitNativeMIPS_32.c | 29 static sljit_si load_immediate(struct sljit_compiler *compiler, sljit_si dst_ar, sljit_sw imm) in load_immediate() 70 sljit_si dst, sljit_si src1, sljit_sw src2) in emit_single_op() 344 static SLJIT_INLINE sljit_si emit_const(struct sljit_compiler *compiler, sljit_si dst, sljit_sw ini… in emit_const() 359 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_const(sljit_uw addr, sljit_sw new_constant) in sljit_set_const()
|
D | sljitNativePPC_64.c | 44 static sljit_si load_immediate(struct sljit_compiler *compiler, sljit_si reg, sljit_sw imm) in load_immediate() 392 static SLJIT_INLINE sljit_si emit_const(struct sljit_compiler *compiler, sljit_si reg, sljit_sw ini… in emit_const() 412 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_const(sljit_uw addr, sljit_sw new_constant) in sljit_set_const()
|
/external/pcre/dist/ |
D | pcre_jit_compile.c | 293 sljit_sw start; 309 sljit_sw start; 362 sljit_sw lcc; 390 sljit_sw ctypes; 393 sljit_sw name_count; 394 sljit_sw name_entry_size; 476 #define STACK(i) ((-(i) - 1) * (int)sizeof(sljit_sw)) 491 #define LOCALS0 (0 * sizeof(sljit_sw)) 492 #define LOCALS1 (1 * sizeof(sljit_sw)) 494 #define POSSESSIVE0 (2 * sizeof(sljit_sw)) [all …]
|