Lines Matching refs:SLJIT_ASSERT
623 SLJIT_ASSERT((*cc >= OP_ASSERT && *cc <= OP_ASSERTBACK_NOT) || (*cc >= OP_ONCE && *cc <= OP_SCOND)); in bracketend()
625 SLJIT_ASSERT(*cc >= OP_KET && *cc <= OP_KETRPOS); in bracketend()
633 SLJIT_ASSERT((*cc >= OP_ASSERT && *cc <= OP_ASSERTBACK_NOT) || (*cc >= OP_ONCE && *cc <= OP_SCOND)); in no_alternatives()
640 SLJIT_ASSERT(*cc >= OP_KET && *cc <= OP_KETRPOS); in no_alternatives()
1104 SLJIT_ASSERT(*cc == OP_BRA || *cc == OP_CBRA); in detect_fast_fail()
1473 SLJIT_ASSERT(cc != NULL); in set_private_data_ptrs()
1524 SLJIT_ASSERT(common->control_head_ptr != 0); in get_framesize()
1542 SLJIT_ASSERT(cc != NULL); in get_framesize()
1547 SLJIT_ASSERT(common->has_set_som); in get_framesize()
1561 SLJIT_ASSERT(common->mark_ptr != 0); in get_framesize()
1686 SLJIT_ASSERT(cc != NULL); in get_framesize()
1710 SLJIT_ASSERT(stackpos >= stacktop + 2); in init_frame()
1720 SLJIT_ASSERT(cc != NULL); in init_frame()
1725 SLJIT_ASSERT(common->has_set_som); in init_frame()
1742 SLJIT_ASSERT(common->mark_ptr != 0); in init_frame()
1814 SLJIT_ASSERT(cc != NULL); in init_frame()
1819 SLJIT_ASSERT(stackpos == STACK(stacktop)); in init_frame()
1839 SLJIT_ASSERT(status->tmp_regs[i] >= 0); in delayed_mem_copy_init()
1840 …SLJIT_ASSERT(sljit_get_register_index(status->saved_tmp_regs[i]) < 0 || status->tmp_regs[i] == sta… in delayed_mem_copy_init()
1855 SLJIT_ASSERT(load_base > 0 && store_base > 0); in delayed_mem_copy_move()
1913 SLJIT_ASSERT(common->control_head_ptr != 0); in get_recurse_data_length()
1924 SLJIT_ASSERT(common->has_set_som); in get_recurse_data_length()
1943 SLJIT_ASSERT(PRIVATE_DATA(cc + 1) != 0); in get_recurse_data_length()
1959 SLJIT_ASSERT(PRIVATE_DATA(cc) != 0); in get_recurse_data_length()
2051 SLJIT_ASSERT(common->mark_ptr != 0); in get_recurse_data_length()
2075 SLJIT_ASSERT(common->control_head_ptr != 0); in get_recurse_data_length()
2090 SLJIT_ASSERT(cc != NULL); in get_recurse_data_length()
2094 SLJIT_ASSERT(cc == ccend); in get_recurse_data_length()
2138 SLJIT_ASSERT(common->control_head_ptr != 0); in copy_recurse_data()
2157 SLJIT_ASSERT(type == recurse_swap_global); in copy_recurse_data()
2193 …SLJIT_ASSERT(type == recurse_copy_from_global || type == recurse_copy_private_to_global || type ==… in copy_recurse_data()
2226 SLJIT_ASSERT(common->has_set_som); in copy_recurse_data()
2266 SLJIT_ASSERT(PRIVATE_DATA(cc + 1) != 0); in copy_recurse_data()
2439 SLJIT_ASSERT(common->mark_ptr != 0); in copy_recurse_data()
2456 SLJIT_ASSERT(common->control_head_ptr != 0); in copy_recurse_data()
2468 SLJIT_ASSERT(cc != NULL); in copy_recurse_data()
2474 …SLJIT_ASSERT(type == recurse_copy_from_global || type == recurse_copy_private_to_global || type ==… in copy_recurse_data()
2478 SLJIT_ASSERT(private_srcw[i] != 0); in copy_recurse_data()
2494 …SLJIT_ASSERT(type == recurse_copy_from_global || type == recurse_copy_shared_to_global || type == … in copy_recurse_data()
2498 SLJIT_ASSERT(shared_srcw[i] != 0); in copy_recurse_data()
2514 …SLJIT_ASSERT(type == recurse_copy_from_global || type == recurse_copy_shared_to_global || type == … in copy_recurse_data()
2518 SLJIT_ASSERT(kept_shared_srcw[i] != 0); in copy_recurse_data()
2533 SLJIT_ASSERT(cc == ccend && stackptr == stacktop); in copy_recurse_data()
2661 SLJIT_ASSERT(size > 0); in allocate_stack()
2677 SLJIT_ASSERT(size > 0); in free_stack()
2708 SLJIT_ASSERT(length > 1); in reset_ovector()
2745 SLJIT_ASSERT(common->fast_fail_start_ptr < common->fast_fail_end_ptr); in reset_fast_fail()
2758 SLJIT_ASSERT(length > 1); in do_reset_match()
2818 SLJIT_ASSERT(current[0] == 0 || current < (sljit_sw*)current[0]); in do_search_mark()
2867 SLJIT_ASSERT(sizeof(PCRE2_SIZE) == 4 || sizeof(PCRE2_SIZE) == 8); in copy_ovector()
2912 SLJIT_ASSERT(common->start_used_ptr != 0 && common->start_ptr != 0 in return_with_partial_match()
3030 SLJIT_ASSERT(c != oc); in char_get_othercase_bit()
3079 SLJIT_ASSERT(!force || common->mode != PCRE2_JIT_COMPLETE); in check_partial()
3232 SLJIT_ASSERT(common->utf); in read_char7_type()
3266 SLJIT_ASSERT(min <= max); in read_char_range()
3511 SLJIT_ASSERT(nltype == NLTYPE_FIXED && common->newline < 256); in check_newlinechar()
3657 SLJIT_ASSERT(record->script == ucp_Common && record->chartype == ucp_Cn && record->gbprop == ucp_gb… in do_getucd()
3658 SLJIT_ASSERT(record->caseset == 0 && record->other_case == 0); in do_getucd()
3661 SLJIT_ASSERT(UCD_BLOCK_SIZE == 128 && sizeof(ucd_record) == 8); in do_getucd()
3710 SLJIT_ASSERT(common->abort_label == NULL); in mainloop_entry()
3715 SLJIT_ASSERT(common->match_end_ptr != 0); in mainloop_entry()
3749 SLJIT_ASSERT(common->match_end_ptr != 0); in mainloop_entry()
4157 SLJIT_ASSERT((chr & 0x7) == 0); in scan_prefix()
4331 SLJIT_ASSERT(dst_xmm_reg < 8); in load_from_mem_sse2()
4450 SLJIT_ASSERT(tmp1_ind < 8); in fast_forward_first_char2_sse2()
4559 SLJIT_ASSERT(common->mode == PCRE2_JIT_COMPLETE); in fast_forward_first_char2_sse2()
4615 SLJIT_ASSERT(common->mode == PCRE2_JIT_COMPLETE && offs1 > offs2); in fast_forward_char_pair_sse2()
4616 SLJIT_ASSERT(diff <= IN_UCHARS(max_fast_forward_char_pair_sse2_offset())); in fast_forward_char_pair_sse2()
4617 SLJIT_ASSERT(tmp1_ind < 8 && tmp2_ind == 1); in fast_forward_char_pair_sse2()
4929 SLJIT_ASSERT(chars[i].last_count <= 7); in check_fast_forward_char_pair_sse2()
4947 SLJIT_ASSERT(chars[i].count <= 2 && chars[i].count >= 1); in check_fast_forward_char_pair_sse2()
4992 SLJIT_ASSERT(common->mode == PCRE2_JIT_COMPLETE || offset == 0); in fast_forward_first_char2()
5101 SLJIT_ASSERT(chars[i].count > 0 && chars[i].last_count <= chars[i].count); in fast_forward_first_n_chars()
5111 SLJIT_ASSERT(chars[i].chars[0] != chars[i].chars[1]); in fast_forward_first_n_chars()
5141 SLJIT_ASSERT(chars[i].count > 0); in fast_forward_first_n_chars()
5161 SLJIT_ASSERT(chars[range_right - i].count > 0 && chars[range_right - i].count < 255); in fast_forward_first_n_chars()
5191 SLJIT_ASSERT(offset == -1 || (chars[offset].count >= 1 && chars[offset].count <= 2)); in fast_forward_first_n_chars()
5202 SLJIT_ASSERT(range_right != offset); in fast_forward_first_n_chars()
5215 SLJIT_ASSERT(range_right >= 0); in fast_forward_first_n_chars()
5480 SLJIT_ASSERT(common->req_char_ptr != 0); in search_requested_char()
5796 …SLJIT_ASSERT((ranges[0] & (ranges[2] - ranges[0])) == 0 && (ranges[2] & ranges[3] & (ranges[2] - r… in optimize_class_ranges()
6272 SLJIT_ASSERT(othercasebit); in byte_sequence_compare()
6495 SLJIT_ASSERT(*cc == XCL_PROP || *cc == XCL_NOTPROP); in compile_xclass_matchingpath()
6560 SLJIT_ASSERT(compares > 0); in compile_xclass_matchingpath()
6670 SLJIT_ASSERT(*cc == XCL_PROP || *cc == XCL_NOTPROP); in compile_xclass_matchingpath()
6776 SLJIT_ASSERT(*cc == XCL_PROP || *cc == XCL_NOTPROP); in compile_xclass_matchingpath()
6850 …SLJIT_ASSERT(other_cases[0] != NOTACHAR && other_cases[1] != NOTACHAR && other_cases[2] != NOTACHA… in compile_xclass_matchingpath()
6851 SLJIT_ASSERT(other_cases[0] < other_cases[1] && other_cases[1] < other_cases[2]); in compile_xclass_matchingpath()
7514 SLJIT_ASSERT(TMP1 == SLJIT_R0 && STR_PTR == SLJIT_R1); in compile_char1_matchingpath()
7817 SLJIT_ASSERT(*cc == OP_DNREF || *cc == OP_DNREFI); in compile_dnref_search()
7861 SLJIT_ASSERT(TMP1 == SLJIT_R0 && STR_PTR == SLJIT_R1); in compile_ref_matchingpath()
8217 SLJIT_ASSERT(oveccount >= 1); in do_callout()
8277 SLJIT_ASSERT(common->capture_last_ptr != 0); in compile_callout_matchingpath()
8312 SLJIT_ASSERT(TMP1 == SLJIT_R0 && STR_PTR == SLJIT_R1); in compile_callout_matchingpath()
8398 SLJIT_ASSERT(!conditional); in compile_assert_matchingpath()
8403 SLJIT_ASSERT(private_data_ptr != 0); in compile_assert_matchingpath()
8408 SLJIT_ASSERT(opcode >= OP_ASSERT && opcode <= OP_ASSERTBACK_NOT); in compile_assert_matchingpath()
8444 SLJIT_ASSERT(extrasize == 2); in compile_assert_matchingpath()
8603 SLJIT_ASSERT(common->positive_assertion_quit == NULL); in compile_assert_matchingpath()
8613 SLJIT_ASSERT(framesize != no_stack); in compile_assert_matchingpath()
8772 SLJIT_ASSERT(found == &backtrack->common.topbacktracks); in compile_assert_matchingpath()
8960 SLJIT_ASSERT(repeat_length != 0 && repeat_type != 0 && repeat_count != 0); in compile_bracket_matchingpath()
8968 SLJIT_ASSERT(ket == OP_KET || ket == OP_KETRMAX || ket == OP_KETRMIN); in compile_bracket_matchingpath()
8969 SLJIT_ASSERT(!((bra == OP_BRAZERO && ket == OP_KETRMIN) || (bra == OP_BRAMINZERO && ket == OP_KETRM… in compile_bracket_matchingpath()
9004 SLJIT_ASSERT(private_data_ptr != 0); in compile_bracket_matchingpath()
9172 SLJIT_ASSERT(private_data_ptr == OVECTOR(offset)); in compile_bracket_matchingpath()
9208 SLJIT_ASSERT(has_alternatives); in compile_bracket_matchingpath()
9215 SLJIT_ASSERT(has_alternatives); in compile_bracket_matchingpath()
9238 SLJIT_ASSERT(!has_alternatives); in compile_bracket_matchingpath()
9298 …SLJIT_ASSERT(has_alternatives && *matchingpath >= OP_ASSERT && *matchingpath <= OP_ASSERTBACK_NOT); in compile_bracket_matchingpath()
9370 SLJIT_ASSERT(private_data_ptr == OVECTOR(offset + 0)); in compile_bracket_matchingpath()
9490 SLJIT_ASSERT(private_data_ptr != 0); in compile_bracketpos_matchingpath()
9504 SLJIT_ASSERT(common->optimized_cbracket[offset] == 0); in compile_bracketpos_matchingpath()
9785 SLJIT_ASSERT(*opcode == OP_CLASS || *opcode == OP_NCLASS || *opcode == OP_XCLASS); in get_iterator_parameters()
9815 SLJIT_ASSERT(*opcode == OP_CRRANGE || *opcode == OP_CRMINRANGE || *opcode == OP_CRPOSRANGE); in get_iterator_parameters()
9920 SLJIT_ASSERT(common->fast_forward_bc_ptr == NULL || fast_str_ptr == 0 || cc == common->fast_forward… in compile_iterator_matchingpath()
9927 SLJIT_ASSERT(common->fast_forward_bc_ptr != NULL || fast_str_ptr == 0 in compile_iterator_matchingpath()
9949 SLJIT_ASSERT(fast_str_ptr == 0); in compile_iterator_matchingpath()
9980 SLJIT_ASSERT(fast_str_ptr == 0 || opcode == OP_STAR); in compile_iterator_matchingpath()
9984 SLJIT_ASSERT(private_data_ptr == 0); in compile_iterator_matchingpath()
9985 SLJIT_ASSERT(fast_str_ptr == 0); in compile_iterator_matchingpath()
10036 SLJIT_ASSERT((charpos_othercasebit >> 8) == 0); in compile_iterator_matchingpath()
10038 SLJIT_ASSERT((charpos_othercasebit >> 9) == 0); in compile_iterator_matchingpath()
10191 SLJIT_ASSERT(fast_str_ptr == 0); in compile_iterator_matchingpath()
10201 SLJIT_ASSERT(fast_str_ptr == 0); in compile_iterator_matchingpath()
10241 SLJIT_ASSERT(fast_str_ptr == 0); in compile_iterator_matchingpath()
10270 SLJIT_ASSERT(fast_str_ptr == 0); in compile_iterator_matchingpath()
10425 SLJIT_ASSERT(*ccend == OP_END || (*ccend >= OP_ALT && *ccend <= OP_KETRPOS)); in compile_matchingpath()
10429 SLJIT_ASSERT(*ccend != OP_END && common->control_head_ptr != 0); in compile_matchingpath()
10666 SLJIT_ASSERT(common->mark_ptr != 0); in compile_matchingpath()
10727 SLJIT_ASSERT(cc == ccend); in compile_matchingpath()
10769 SLJIT_ASSERT(private_data_ptr == 0); in compile_iterator_backtrackingpath()
10925 SLJIT_ASSERT(*cc != OP_BRAMINZERO); in compile_assert_backtrackingpath()
10934 SLJIT_ASSERT(current->topbacktracks == NULL); in compile_assert_backtrackingpath()
11025 SLJIT_ASSERT(repeat_type != 0 && repeat_count != 0); in compile_bracket_backtrackingpath()
11120 SLJIT_ASSERT(common->optimized_cbracket[offset >> 1] == 0); in compile_bracket_backtrackingpath()
11192 SLJIT_ASSERT(has_alternatives); in compile_bracket_backtrackingpath()
11207 SLJIT_ASSERT(has_alternatives); in compile_bracket_backtrackingpath()
11212 SLJIT_ASSERT(!has_alternatives); in compile_bracket_backtrackingpath()
11298 SLJIT_ASSERT(private_data_ptr == OVECTOR(offset + 0)); in compile_bracket_backtrackingpath()
11329 SLJIT_ASSERT(!current->nextbacktracks); in compile_bracket_backtrackingpath()
11335 SLJIT_ASSERT(opcode == OP_COND || opcode == OP_SCOND); in compile_bracket_backtrackingpath()
11513 SLJIT_ASSERT(!current->nextbacktracks && !current->topbacktracks); in compile_braminzero_backtrackingpath()
11527 SLJIT_ASSERT(common->control_head_ptr != 0); in compile_control_verb_backtrackingpath()
11561 SLJIT_ASSERT(common->control_head_ptr != 0 && TMP1 == SLJIT_R0 && STR_PTR == SLJIT_R1); in compile_control_verb_backtrackingpath()
11821 SLJIT_ASSERT(*cc == OP_BRA || *cc == OP_CBRA || *cc == OP_CBRAPOS || *cc == OP_SCBRA || *cc == OP_S… in compile_recurse()
11827 SLJIT_ASSERT(common->currententry->entry_label == NULL && common->recursive_head_ptr != 0); in compile_recurse()
11884 SLJIT_ASSERT(common->currententry->backtrack_label == NULL); in compile_recurse()
11968 SLJIT_ASSERT(has_quit); in compile_recurse()
11994 SLJIT_ASSERT(has_accept); in compile_recurse()
12047 SLJIT_ASSERT(tables); in jit_compile()
12134 SLJIT_ASSERT(*common->start == OP_BRA && ccend[-(1 + LINK_SIZE)] == OP_KET); in jit_compile()
12192 SLJIT_ASSERT(!(common->req_char_ptr != 0 && common->start_used_ptr != 0)); in jit_compile()
12212 SLJIT_ASSERT(common->fast_fail_start_ptr <= common->fast_fail_end_ptr); in jit_compile()
12354 SLJIT_ASSERT(common->mode == PCRE2_JIT_COMPLETE); in jit_compile()
12382 SLJIT_ASSERT(rootbacktrack.prev == NULL); in jit_compile()
12482 SLJIT_ASSERT(TMP1 == SLJIT_R0 && STR_PTR == SLJIT_R1); in jit_compile()
12622 SLJIT_ASSERT(mode < JIT_NUMBER_OF_COMPILE_MODES); in jit_compile()