/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() 94 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op() 100 SLJIT_ASSERT(src2 == TMP_REG2); in emit_single_op() 105 SLJIT_ASSERT(src2 == TMP_REG2); in emit_single_op() [all …]
|
D | sljitNativePPC_64.c | 65 SLJIT_ASSERT(shift > 0); in load_immediate() 154 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op() 161 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op() 168 SLJIT_ASSERT(dst == src2); in emit_single_op() 174 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op() 183 SLJIT_ASSERT(dst == src2); in emit_single_op() 189 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op() 196 SLJIT_ASSERT(dst == src2); in emit_single_op() 201 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op() 206 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op() [all …]
|
D | sljitNativeARM_32.c | 141 SLJIT_ASSERT(compiler->cpool_fill > 0 && compiler->cpool_fill <= CPOOL_SIZE); in push_cpool() 218 SLJIT_ASSERT((inst & 0xfff) == 0); in push_inst_with_literal() 237 SLJIT_ASSERT(compiler->cpool_fill < CPOOL_SIZE && (inst & 0xfff) == 0); in push_inst_with_unique_literal() 262 …SLJIT_ASSERT(compiler->cpool_diff == CONST_POOL_EMPTY || compiler->size - compiler->cpool_diff < M… in emit_blx() 274 SLJIT_ASSERT(const_pool - code_ptr <= CONST_POOL_ALIGNMENT); in patch_pc_relative_loads() 288 SLJIT_ASSERT(ind < cpool_size && !(*last_pc_patch & (1 << 25)) && (*last_pc_patch & (1 << 20))); in patch_pc_relative_loads() 297 SLJIT_ASSERT(diff >= 1); in patch_pc_relative_loads() 300 SLJIT_ASSERT(diff <= 0xfff); in patch_pc_relative_loads() 406 SLJIT_ASSERT(jump->flags & JUMP_LABEL); in detect_jump_type() 431 SLJIT_ASSERT(jump->flags & JUMP_LABEL); in detect_jump_type() [all …]
|
D | sljitNativeARM_T2_32.c | 187 SLJIT_ASSERT(!(inst & 0xffff0000)); in push_inst16() 217 …SLJIT_ASSERT(((inst[0] & 0xfbf0) == (MOVW >> 16)) && ((inst[2] & 0xfbf0) == (MOVT >> 16)) && dst =… in modify_imm32_const() 238 SLJIT_ASSERT(jump->flags & JUMP_LABEL); in detect_jump_type() 243 SLJIT_ASSERT(!(jump->flags & IS_BL)); in detect_jump_type() 292 SLJIT_ASSERT(jump->u.target & 0x1); in set_jump_instruction() 302 SLJIT_ASSERT(diff <= 127 && diff >= -128 && (jump->flags & IS_COND)); in set_jump_instruction() 307 SLJIT_ASSERT(diff <= 524287 && diff >= -524288 && (jump->flags & IS_COND)); in set_jump_instruction() 312 SLJIT_ASSERT(jump->flags & IS_COND); in set_jump_instruction() 319 SLJIT_ASSERT(diff <= 1023 && diff >= -1024 && !(jump->flags & IS_COND)); in set_jump_instruction() 324 SLJIT_ASSERT(diff <= 8388607 && diff >= -8388608); in set_jump_instruction() [all …]
|
D | sljitNativePPC_common.c | 269 SLJIT_ASSERT(jump->flags & JUMP_LABEL); in detect_jump_type() 360 SLJIT_ASSERT(!label || label->size >= word_count); in sljit_generate_code() 361 SLJIT_ASSERT(!jump || jump->addr >= word_count); in sljit_generate_code() 362 SLJIT_ASSERT(!const_ || const_->addr >= word_count); in sljit_generate_code() 391 SLJIT_ASSERT((code_ptr[-3] & 0xfc00ffff) == 0x780007c6); in sljit_generate_code() 428 SLJIT_ASSERT(!label); in sljit_generate_code() 429 SLJIT_ASSERT(!jump); in sljit_generate_code() 430 SLJIT_ASSERT(!const_); in sljit_generate_code() 432 …SLJIT_ASSERT(code_ptr - code <= (sljit_sw)compiler->size - (sizeof(struct sljit_function_context) … in sljit_generate_code() 434 SLJIT_ASSERT(code_ptr - code <= (sljit_sw)compiler->size); in sljit_generate_code() [all …]
|
D | sljitNativeX86_32.c | 181 SLJIT_ASSERT(local_size > 0); in sljit_emit_enter() 215 SLJIT_ASSERT(compiler->args >= 0); in sljit_emit_return() 220 SLJIT_ASSERT(compiler->local_size > 0); in sljit_emit_return() 286 SLJIT_ASSERT((flags & (EX86_BIN_INS | EX86_SHIFT_INS)) != (EX86_BIN_INS | EX86_SHIFT_INS)); in emit_x86_instruction() 288 …SLJIT_ASSERT(!(flags & (EX86_BIN_INS | EX86_SHIFT_INS)) || (flags & (EX86_BYTE_ARG | EX86_HALF_ARG… in emit_x86_instruction() 290 SLJIT_ASSERT((flags & (EX86_BYTE_ARG | EX86_HALF_ARG)) != (EX86_BYTE_ARG | EX86_HALF_ARG)); in emit_x86_instruction() 292 SLJIT_ASSERT(!(a & SLJIT_IMM) || !(flags & EX86_SSE2)); in emit_x86_instruction() 293 SLJIT_ASSERT((flags & (EX86_PREF_F2 | EX86_PREF_F3)) != (EX86_PREF_F2 | EX86_PREF_F3) in emit_x86_instruction() 348 SLJIT_ASSERT(!(flags & EX86_SHIFT_INS) || a == SLJIT_PREF_SHIFT_REG); in emit_x86_instruction()
|
D | sljitConfigInternal.h | 666 #if !defined(SLJIT_ASSERT) || !defined(SLJIT_ASSERT_STOP) 681 #ifndef SLJIT_ASSERT 683 #define SLJIT_ASSERT(x) \ macro 706 #undef SLJIT_ASSERT 709 #define SLJIT_ASSERT(x) \ macro 720 SLJIT_ASSERT(x)
|
D | sljitNativeX86_64.c | 182 SLJIT_ASSERT(!(saved_register_size & 0x7)); in sljit_emit_enter() 205 SLJIT_ASSERT(local_size > 0); in sljit_emit_enter() 278 SLJIT_ASSERT(compiler->local_size > 0); in sljit_emit_return() 359 SLJIT_ASSERT(!(a & SLJIT_IMM) || compiler->mode32 || IS_HALFWORD(imma)); in emit_x86_instruction() 361 SLJIT_ASSERT((flags & (EX86_BIN_INS | EX86_SHIFT_INS)) != (EX86_BIN_INS | EX86_SHIFT_INS)); in emit_x86_instruction() 363 …SLJIT_ASSERT(!(flags & (EX86_BIN_INS | EX86_SHIFT_INS)) || (flags & (EX86_BYTE_ARG | EX86_HALF_ARG… in emit_x86_instruction() 365 SLJIT_ASSERT((flags & (EX86_BYTE_ARG | EX86_HALF_ARG)) != (EX86_BYTE_ARG | EX86_HALF_ARG)); in emit_x86_instruction() 367 SLJIT_ASSERT(!(a & SLJIT_IMM) || !(flags & EX86_SSE2)); in emit_x86_instruction() 368 SLJIT_ASSERT((flags & (EX86_PREF_F2 | EX86_PREF_F3)) != (EX86_PREF_F2 | EX86_PREF_F3) in emit_x86_instruction() 450 SLJIT_ASSERT(!(flags & EX86_SHIFT_INS) || a == SLJIT_PREF_SHIFT_REG); in emit_x86_instruction() [all …]
|
D | sljitNativeARM_64.c | 147 SLJIT_ASSERT((inst[0] & 0xffe00000) == MOVZ && (inst[1] & 0xffe00000) == (MOVK | (1 << 21))); in modify_imm64_const() 167 SLJIT_ASSERT(jump->flags & JUMP_LABEL); in detect_jump_type() 241 SLJIT_ASSERT(!label || label->size >= word_count); in sljit_generate_code() 242 SLJIT_ASSERT(!jump || jump->addr >= word_count); in sljit_generate_code() 243 SLJIT_ASSERT(!const_ || const_->addr >= word_count); in sljit_generate_code() 271 SLJIT_ASSERT(!label); in sljit_generate_code() 272 SLJIT_ASSERT(!jump); in sljit_generate_code() 273 SLJIT_ASSERT(!const_); in sljit_generate_code() 274 SLJIT_ASSERT(code_ptr - code <= (sljit_sw)compiler->size); in sljit_generate_code() 283 SLJIT_ASSERT((sljit_sw)addr <= 0x1ffffff && (sljit_sw)addr >= -0x2000000); in sljit_generate_code() [all …]
|
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()
|
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)); \ 168 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op() 175 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op() 189 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op() 202 SLJIT_ASSERT(!(op & SLJIT_I32_OP)); in emit_single_op() 207 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op() 211 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op() 219 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op() [all …]
|
D | sljitNativeTILEGX_64.c | 915 SLJIT_ASSERT(jump->flags & JUMP_LABEL); in detect_jump_type() 1028 SLJIT_ASSERT(!label || label->size >= word_count); in sljit_generate_code() 1029 SLJIT_ASSERT(!jump || jump->addr >= word_count); in sljit_generate_code() 1030 SLJIT_ASSERT(!const_ || const_->addr >= word_count); in sljit_generate_code() 1068 SLJIT_ASSERT(!label); in sljit_generate_code() 1069 SLJIT_ASSERT(!jump); in sljit_generate_code() 1070 SLJIT_ASSERT(!const_); in sljit_generate_code() 1071 SLJIT_ASSERT(code_ptr - code <= (sljit_sw)compiler->size); in sljit_generate_code() 1081 SLJIT_ASSERT((sljit_sw) addr <= SIMM_17BIT_MAX && (sljit_sw) addr >= SIMM_17BIT_MIN); in sljit_generate_code() 1092 SLJIT_ASSERT((addr & ~0x3FFFFFFFL) == ((jump->addr + sizeof(sljit_ins)) & ~0x3FFFFFFFL)); in sljit_generate_code() [all …]
|
D | sljitNativeSPARC_common.c | 191 SLJIT_ASSERT((delay_slot & DST_INS_MASK) == UNMOVABLE_INS in push_inst() 215 SLJIT_ASSERT(jump->flags & JUMP_LABEL); in detect_jump_type() 307 SLJIT_ASSERT(!label || label->size >= word_count); in sljit_generate_code() 308 SLJIT_ASSERT(!jump || jump->addr >= word_count); in sljit_generate_code() 309 SLJIT_ASSERT(!const_ || const_->addr >= word_count); in sljit_generate_code() 344 SLJIT_ASSERT(!label); in sljit_generate_code() 345 SLJIT_ASSERT(!jump); in sljit_generate_code() 346 SLJIT_ASSERT(!const_); in sljit_generate_code() 347 SLJIT_ASSERT(code_ptr - code <= (sljit_s32)compiler->size); in sljit_generate_code() 357 SLJIT_ASSERT((sljit_sw)addr <= 0x1fffffff && (sljit_sw)addr >= -0x20000000); in sljit_generate_code() [all …]
|
D | sljitNativeMIPS_common.c | 206 SLJIT_ASSERT(delay_slot == MOVABLE_INS || delay_slot >= UNMOVABLE_INS in push_inst() 239 SLJIT_ASSERT(jump->flags & JUMP_LABEL); in detect_jump_type() 391 SLJIT_ASSERT(!label || label->size >= word_count); in sljit_generate_code() 392 SLJIT_ASSERT(!jump || jump->addr >= word_count); in sljit_generate_code() 393 SLJIT_ASSERT(!const_ || const_->addr >= word_count); in sljit_generate_code() 428 SLJIT_ASSERT(!label); in sljit_generate_code() 429 SLJIT_ASSERT(!jump); in sljit_generate_code() 430 SLJIT_ASSERT(!const_); in sljit_generate_code() 431 SLJIT_ASSERT(code_ptr - code <= (sljit_sw)compiler->size); in sljit_generate_code() 441 SLJIT_ASSERT((sljit_sw)addr <= SIMM_MAX && (sljit_sw)addr >= SIMM_MIN); in sljit_generate_code() [all …]
|
D | sljitNativeMIPS_32.c | 77 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op() 84 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op() 102 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op() 119 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op() 127 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op() 300 SLJIT_ASSERT(!(flags & SRC2_IMM)); in emit_single_op()
|
D | sljitExecAllocator.c | 170 SLJIT_ASSERT(free_blocks == free_block); in sljit_remove_free_block() 310 SLJIT_ASSERT((total_size && free_blocks) || (!total_size && !free_blocks)); in sljit_free_unused_memory_exec()
|
D | sljitNativeX86_common.c | 541 SLJIT_ASSERT(buf_ptr == buf_end); in sljit_generate_code() 545 SLJIT_ASSERT(!label); in sljit_generate_code() 546 SLJIT_ASSERT(!jump); in sljit_generate_code() 547 SLJIT_ASSERT(!const_); in sljit_generate_code() 552 …SLJIT_ASSERT((sljit_sw)(jump->u.label->addr - (jump->addr + sizeof(sljit_s8))) >= -128 && (sljit_s… in sljit_generate_code() 559 …SLJIT_ASSERT((sljit_sw)(jump->u.label->addr - (jump->addr + sizeof(sljit_s32))) >= HALFWORD_MIN &&… in sljit_generate_code() 567 …SLJIT_ASSERT((sljit_sw)(jump->u.target - (jump->addr + sizeof(sljit_s32))) >= HALFWORD_MIN && (slj… in sljit_generate_code() 581 SLJIT_ASSERT(code_ptr <= code + compiler->size); in sljit_generate_code() 936 SLJIT_ASSERT(dst_r == TMP_REG1); in emit_mov_byte() 947 SLJIT_ASSERT(SLOW_IS_REG(dst)); in emit_mov_byte() [all …]
|
D | sljitLir.c | 292 #define CHECK_ARGUMENT(x) SLJIT_ASSERT(x) 491 SLJIT_ASSERT(size <= 256); in ensure_buf() 510 SLJIT_ASSERT(size <= 256); in ensure_abuf()
|
/external/pcre/dist2/src/ |
D | pcre2_jit_compile.c | 582 SLJIT_ASSERT((*cc >= OP_ASSERT && *cc <= OP_ASSERTBACK_NOT) || (*cc >= OP_ONCE && *cc <= OP_SCOND)); in bracketend() 584 SLJIT_ASSERT(*cc >= OP_KET && *cc <= OP_KETRPOS); in bracketend() 592 SLJIT_ASSERT((*cc >= OP_ASSERT && *cc <= OP_ASSERTBACK_NOT) || (*cc >= OP_ONCE && *cc <= OP_SCOND)); in no_alternatives() 599 SLJIT_ASSERT(*cc >= OP_KET && *cc <= OP_KETRPOS); in no_alternatives() 1062 SLJIT_ASSERT(*cc == OP_BRA || *cc == OP_CBRA); in detect_fast_fail() 1432 SLJIT_ASSERT(cc != NULL); in set_private_data_ptrs() 1483 SLJIT_ASSERT(common->control_head_ptr != 0); in get_framesize() 1501 SLJIT_ASSERT(cc != NULL); in get_framesize() 1506 SLJIT_ASSERT(common->has_set_som); in get_framesize() 1519 SLJIT_ASSERT(common->mark_ptr != 0); in get_framesize() [all …]
|