/external/pcre/dist2/src/sljit/ |
D | sljitNativePPC_32.c | 52 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op() 59 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op() 68 SLJIT_ASSERT(dst == src2); in emit_single_op() 74 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op() 81 SLJIT_ASSERT(dst == src2); in emit_single_op() 86 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op() 90 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op() 95 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op() 106 SLJIT_ASSERT(src2 == TMP_REG2); in emit_single_op() 119 SLJIT_ASSERT(src2 == TMP_REG2); in emit_single_op() [all …]
|
D | sljitNativePPC_64.c | 62 SLJIT_ASSERT(shift > 0); in load_immediate() 151 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op() 158 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op() 165 SLJIT_ASSERT(dst == src2); in emit_single_op() 171 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op() 180 SLJIT_ASSERT(dst == src2); in emit_single_op() 186 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op() 193 SLJIT_ASSERT(dst == src2); in emit_single_op() 198 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op() 203 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op() [all …]
|
D | sljitNativeARM_32.c | 151 SLJIT_ASSERT(compiler->cpool_fill > 0 && compiler->cpool_fill <= CPOOL_SIZE); in push_cpool() 228 SLJIT_ASSERT((inst & 0xfff) == 0); in push_inst_with_literal() 247 SLJIT_ASSERT(compiler->cpool_fill < CPOOL_SIZE && (inst & 0xfff) == 0); in push_inst_with_unique_literal() 272 …SLJIT_ASSERT(compiler->cpool_diff == CONST_POOL_EMPTY || compiler->size - compiler->cpool_diff < M… in emit_blx() 273 SLJIT_ASSERT(reg_map[TMP_REG1] != 14); in emit_blx() 286 SLJIT_ASSERT(const_pool - code_ptr <= CONST_POOL_ALIGNMENT); in patch_pc_relative_loads() 300 SLJIT_ASSERT(ind < cpool_size && !(*last_pc_patch & (1 << 25)) && (*last_pc_patch & (1 << 20))); in patch_pc_relative_loads() 309 SLJIT_ASSERT(diff >= 1); in patch_pc_relative_loads() 312 SLJIT_ASSERT(diff <= 0xfff); in patch_pc_relative_loads() 418 SLJIT_ASSERT(jump->flags & JUMP_LABEL); in detect_jump_type() [all …]
|
D | sljitNativeARM_T2_32.c | 203 SLJIT_ASSERT(!(inst & 0xffff0000)); in push_inst16() 233 …SLJIT_ASSERT(((inst[0] & 0xfbf0) == (MOVW >> 16)) && ((inst[2] & 0xfbf0) == (MOVT >> 16)) && dst =… in modify_imm32_const() 254 SLJIT_ASSERT(jump->flags & JUMP_LABEL); in detect_jump_type() 259 SLJIT_ASSERT(!(jump->flags & IS_BL)); in detect_jump_type() 308 SLJIT_ASSERT(jump->u.target & 0x1); in set_jump_instruction() 312 SLJIT_ASSERT(jump->u.label->addr & 0x1); in set_jump_instruction() 320 SLJIT_ASSERT(diff <= 127 && diff >= -128 && (jump->flags & IS_COND)); in set_jump_instruction() 325 SLJIT_ASSERT(diff <= 524287 && diff >= -524288 && (jump->flags & IS_COND)); in set_jump_instruction() 330 SLJIT_ASSERT(jump->flags & IS_COND); in set_jump_instruction() 337 SLJIT_ASSERT(diff <= 1023 && diff >= -1024 && !(jump->flags & IS_COND)); in set_jump_instruction() [all …]
|
D | sljitNativeS390X.c | 123 SLJIT_ASSERT(r != SLJIT_UNUSED); in gpr() 124 SLJIT_ASSERT(r < (sljit_s32)(sizeof(reg_map) / sizeof(reg_map[0]))); in gpr() 160 SLJIT_ASSERT((size & 6) == size); in encode_inst() 279 SLJIT_ASSERT(hwcap != 0); in get_hwcap() 304 SLJIT_ASSERT(x < size * 8); in have_facility_dynamic() 316 SLJIT_ASSERT(cpu_features.bits[0] != 0); in have_facility_dynamic() 360 SLJIT_ASSERT(is_s20(d)); in HAVE_FACILITY() 545 SLJIT_ASSERT(have_eimm()); \ 600 SLJIT_ASSERT((d & 0xfff) == d); \ 659 SLJIT_ASSERT(cond); \ [all …]
|
D | sljitNativeX86_64.c | 49 SLJIT_ASSERT(reg_map[TMP_REG2] >= 8); in generate_far_jump_code() 89 SLJIT_ASSERT((code_ptr[0] & 0xf8) == REX_W); in generate_put_label_code() 90 SLJIT_ASSERT((code_ptr[1] & 0xf8) == MOV_r_i32); in generate_put_label_code() 108 SLJIT_ASSERT((code_ptr[0] & 0xf8) == REX_W); in generate_put_label_code() 112 SLJIT_ASSERT((code_ptr[0] & 0xf8) == REX_W); in generate_put_label_code() 115 SLJIT_ASSERT(code_ptr[1] == MOV_rm_r); in generate_put_label_code() 240 SLJIT_ASSERT (reg_map[SLJIT_R0] == 0); in sljit_emit_enter() 406 SLJIT_ASSERT(!(a & SLJIT_IMM) || compiler->mode32 || IS_HALFWORD(imma)); in emit_x86_instruction() 408 SLJIT_ASSERT((flags & (EX86_BIN_INS | EX86_SHIFT_INS)) != (EX86_BIN_INS | EX86_SHIFT_INS)); in emit_x86_instruction() 410 …SLJIT_ASSERT(!(flags & (EX86_BIN_INS | EX86_SHIFT_INS)) || (flags & (EX86_BYTE_ARG | EX86_HALF_ARG… in emit_x86_instruction() [all …]
|
D | sljitNativeX86_32.c | 166 SLJIT_ASSERT(SLJIT_LOCALS_OFFSET > 0); in sljit_emit_enter() 195 SLJIT_ASSERT (reg_map[SLJIT_R0] == 0); in sljit_emit_enter() 215 SLJIT_ASSERT(local_size > 0); in sljit_emit_enter() 296 SLJIT_ASSERT(compiler->args >= 0); in sljit_emit_return() 300 SLJIT_ASSERT(compiler->local_size > 0); in sljit_emit_return() 360 SLJIT_ASSERT((flags & (EX86_BIN_INS | EX86_SHIFT_INS)) != (EX86_BIN_INS | EX86_SHIFT_INS)); in emit_x86_instruction() 362 …SLJIT_ASSERT(!(flags & (EX86_BIN_INS | EX86_SHIFT_INS)) || (flags & (EX86_BYTE_ARG | EX86_HALF_ARG… in emit_x86_instruction() 364 SLJIT_ASSERT((flags & (EX86_BYTE_ARG | EX86_HALF_ARG)) != (EX86_BYTE_ARG | EX86_HALF_ARG)); in emit_x86_instruction() 366 SLJIT_ASSERT(!(a & SLJIT_IMM) || !(flags & EX86_SSE2)); in emit_x86_instruction() 367 SLJIT_ASSERT((flags & (EX86_PREF_F2 | EX86_PREF_F3)) != (EX86_PREF_F2 | EX86_PREF_F3) in emit_x86_instruction() [all …]
|
D | sljitNativeARM_64.c | 167 SLJIT_ASSERT(jump->flags & JUMP_LABEL); in detect_jump_type() 266 SLJIT_ASSERT(!label || label->size >= word_count); in sljit_generate_code() 267 SLJIT_ASSERT(!jump || jump->addr >= word_count); in sljit_generate_code() 268 SLJIT_ASSERT(!const_ || const_->addr >= word_count); in sljit_generate_code() 269 SLJIT_ASSERT(!put_label || put_label->addr >= word_count); in sljit_generate_code() 287 SLJIT_ASSERT(put_label->label); in sljit_generate_code() 307 SLJIT_ASSERT(!label); in sljit_generate_code() 308 SLJIT_ASSERT(!jump); in sljit_generate_code() 309 SLJIT_ASSERT(!const_); in sljit_generate_code() 310 SLJIT_ASSERT(!put_label); in sljit_generate_code() [all …]
|
D | sljitConfigInternal.h | 31 || (defined SLJIT_DEBUG && SLJIT_DEBUG && (!defined(SLJIT_ASSERT) || !defined(SLJIT_UNREACHABLE))) 36 && (!defined(SLJIT_ASSERT) || !defined(SLJIT_UNREACHABLE) || !defined(SLJIT_HALT_PROCESS))) 768 #if !defined(SLJIT_ASSERT) || !defined(SLJIT_UNREACHABLE) 779 #ifndef SLJIT_ASSERT 781 #define SLJIT_ASSERT(x) \ macro 804 #undef SLJIT_ASSERT 807 #define SLJIT_ASSERT(x) \ macro
|
D | sljitNativeMIPS_64.c | 74 …SLJIT_ASSERT(((uimm & 0xc000000000000000l) == 0x4000000000000000l) && (shift > 0) && (shift <= 32)… in load_immediate() 111 SLJIT_ASSERT((uimm & 0x8000000000000000l) && (shift2 > 0) && (shift2 <= 16)); in load_immediate() 141 SLJIT_ASSERT(!(op & SLJIT_I32_OP)); \ 169 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op() 176 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op() 185 SLJIT_ASSERT(dst == src2); in emit_single_op() 191 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op() 200 SLJIT_ASSERT(dst == src2); in emit_single_op() 205 SLJIT_ASSERT(!(op & SLJIT_I32_OP)); in emit_single_op() 210 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op() [all …]
|
D | sljitWXExecAllocator.c | 167 SLJIT_ASSERT(start < end); in sljit_update_wx_flags() 199 SLJIT_ASSERT(!(start & page_mask)); in sljit_free_exec() 212 SLJIT_ASSERT(start < end); in sljit_update_wx_flags()
|
D | sljitNativeSPARC_32.c | 48 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op() 55 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op() 68 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op() 78 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op() 82 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op() 272 SLJIT_ASSERT(((inst[0] & 0xc1c00000) == 0x01000000) && ((inst[1] & 0xc1f82000) == 0x80102000)); in sljit_set_jump_addr()
|
D | sljitNativeSPARC_common.c | 207 SLJIT_ASSERT((delay_slot & DST_INS_MASK) == UNMOVABLE_INS in push_inst() 231 SLJIT_ASSERT(jump->flags & JUMP_LABEL); in detect_jump_type() 334 SLJIT_ASSERT(!label || label->size >= word_count); in sljit_generate_code() 335 SLJIT_ASSERT(!jump || jump->addr >= word_count); in sljit_generate_code() 336 SLJIT_ASSERT(!const_ || const_->addr >= word_count); in sljit_generate_code() 337 SLJIT_ASSERT(!put_label || put_label->addr >= word_count); in sljit_generate_code() 361 SLJIT_ASSERT(put_label->label); in sljit_generate_code() 380 SLJIT_ASSERT(!label); in sljit_generate_code() 381 SLJIT_ASSERT(!jump); in sljit_generate_code() 382 SLJIT_ASSERT(!const_); in sljit_generate_code() [all …]
|
D | sljitNativePPC_common.c | 276 SLJIT_ASSERT(jump->flags & JUMP_LABEL); in detect_jump_type() 355 SLJIT_ASSERT(addr < 0x100000000l); in put_label_set() 360 SLJIT_ASSERT(addr < 0x1000000000000l); in put_label_set() 427 SLJIT_ASSERT(!label || label->size >= word_count); in sljit_generate_code() 428 SLJIT_ASSERT(!jump || jump->addr >= word_count); in sljit_generate_code() 429 SLJIT_ASSERT(!const_ || const_->addr >= word_count); in sljit_generate_code() 430 SLJIT_ASSERT(!put_label || put_label->addr >= word_count); in sljit_generate_code() 460 SLJIT_ASSERT((code_ptr[-3] & 0xfc00ffff) == 0x780007c6); in sljit_generate_code() 485 SLJIT_ASSERT(put_label->label); in sljit_generate_code() 508 SLJIT_ASSERT(!label); in sljit_generate_code() [all …]
|
D | sljitNativeMIPS_32.c | 79 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op() 86 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op() 99 SLJIT_ASSERT(dst == src2); in emit_single_op() 105 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op() 118 SLJIT_ASSERT(dst == src2); in emit_single_op() 123 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op() 131 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op() 368 SLJIT_ASSERT(!(flags & SRC2_IMM)); in emit_single_op() 431 SLJIT_ASSERT((inst[0] & 0xffe00000) == LUI && (inst[1] & 0xfc000000) == ORI); in sljit_set_jump_addr() 456 SLJIT_ASSERT(reg_map[TMP_REG1] == 4 && freg_map[TMP_FREG1] == 12); in call_with_args() [all …]
|
D | sljitNativeMIPS_common.c | 294 SLJIT_ASSERT(delay_slot == MOVABLE_INS || delay_slot >= UNMOVABLE_INS in push_inst() 332 SLJIT_ASSERT(jump->flags & JUMP_LABEL); in detect_jump_type() 478 SLJIT_ASSERT(addr < 0x80000000l); in put_label_set() 482 SLJIT_ASSERT(addr < 0x800000000000l); in put_label_set() 543 SLJIT_ASSERT(!label || label->size >= word_count); in sljit_generate_code() 544 SLJIT_ASSERT(!jump || jump->addr >= word_count); in sljit_generate_code() 545 SLJIT_ASSERT(!const_ || const_->addr >= word_count); in sljit_generate_code() 546 SLJIT_ASSERT(!put_label || put_label->addr >= word_count); in sljit_generate_code() 568 SLJIT_ASSERT(put_label->label); in sljit_generate_code() 591 SLJIT_ASSERT(!label); in sljit_generate_code() [all …]
|
D | sljitNativeX86_common.c | 556 SLJIT_ASSERT(*buf_ptr == 3); in sljit_generate_code() 557 SLJIT_ASSERT(put_label->label); in sljit_generate_code() 568 SLJIT_ASSERT(buf_ptr == buf_end); in sljit_generate_code() 572 SLJIT_ASSERT(!label); in sljit_generate_code() 573 SLJIT_ASSERT(!jump); in sljit_generate_code() 574 SLJIT_ASSERT(!const_); in sljit_generate_code() 575 SLJIT_ASSERT(!put_label); in sljit_generate_code() 576 SLJIT_ASSERT(code_ptr <= code + compiler->size); in sljit_generate_code() 583 …SLJIT_ASSERT((sljit_sw)(jump->u.label->addr - (jump_addr + sizeof(sljit_s8))) >= -128 && (sljit_sw… in sljit_generate_code() 590 …SLJIT_ASSERT((sljit_sw)(jump->u.label->addr - (jump_addr + sizeof(sljit_s32))) >= HALFWORD_MIN && … in sljit_generate_code() [all …]
|
D | sljitProtExecAllocator.c | 147 SLJIT_ASSERT(tmp_name_len > 0 && tmp_name_len < sizeof(tmp_name)); in create_tempfile() 310 SLJIT_ASSERT(free_blocks == free_block); in sljit_remove_free_block() 467 SLJIT_ASSERT((total_size && free_blocks) || (!total_size && !free_blocks)); in sljit_free_unused_memory_exec()
|
D | sljitExecAllocator.c | 243 SLJIT_ASSERT(free_blocks == free_block); in sljit_remove_free_block() 383 SLJIT_ASSERT((total_size && free_blocks) || (!total_size && !free_blocks)); in sljit_free_unused_memory_exec()
|
D | sljitLir.c | 330 #define CHECK_ARGUMENT(x) SLJIT_ASSERT(x) 556 SLJIT_ASSERT(size <= 256); in ensure_buf() 575 SLJIT_ASSERT(size <= 256); in ensure_abuf()
|
/external/pcre/dist2/src/ |
D | pcre2_jit_simd_inc.h | 80 SLJIT_ASSERT(dst_xmm_reg < 8); in load_from_mem_sse2() 81 SLJIT_ASSERT(src_general_reg < 8); in load_from_mem_sse2() 113 SLJIT_ASSERT(step >= 0 && step <= 3); in fast_forward_char_pair_sse2_compare() 227 SLJIT_ASSERT(tmp1_reg_ind < 8); in fast_forward_char_simd() 331 SLJIT_ASSERT(common->mode == PCRE2_JIT_COMPLETE); in fast_forward_char_simd() 386 SLJIT_ASSERT(tmp1_reg_ind < 8); in fast_requested_char_simd() 522 SLJIT_ASSERT(common->mode == PCRE2_JIT_COMPLETE && offs1 > offs2); in fast_forward_char_pair_simd() 523 SLJIT_ASSERT(diff <= IN_UCHARS(max_fast_forward_char_pair_offset())); in fast_forward_char_pair_simd() 524 SLJIT_ASSERT(tmp1_reg_ind < 8 && tmp2_reg_ind == 1); in fast_forward_char_pair_simd() 988 SLJIT_ASSERT(0 < n && n < VECTOR_FACTOR); in shift_left_n_lanes() [all …]
|
D | pcre2_jit_compile.c | 834 SLJIT_ASSERT((*cc >= OP_ASSERT && *cc <= OP_ASSERTBACK_NA) || (*cc >= OP_ONCE && *cc <= OP_SCOND)); in bracketend() 836 SLJIT_ASSERT(*cc >= OP_KET && *cc <= OP_KETRPOS); in bracketend() 844 SLJIT_ASSERT((*cc >= OP_ASSERT && *cc <= OP_ASSERTBACK_NA) || (*cc >= OP_ONCE && *cc <= OP_SCOND)); in no_alternatives() 851 SLJIT_ASSERT(*cc >= OP_KET && *cc <= OP_KETRPOS); in no_alternatives() 1248 SLJIT_ASSERT(*cc == OP_ONCE || *cc == OP_BRA || *cc == OP_CBRA); in detect_early_fail() 1249 SLJIT_ASSERT(*cc != OP_CBRA || common->optimized_cbracket[GET2(cc, 1 + LINK_SIZE)] != 0); in detect_early_fail() 1250 SLJIT_ASSERT(start < EARLY_FAIL_ENHANCE_MAX); in detect_early_fail() 1511 SLJIT_ASSERT(PRIVATE_DATA(cc) == 0); in detect_early_fail() 1893 SLJIT_ASSERT(cc != NULL); in set_private_data_ptrs() 1944 SLJIT_ASSERT(common->control_head_ptr != 0); in get_framesize() [all …]
|