Lines Matching refs:SLJIT_ASSERT

865 SLJIT_ASSERT((*cc >= OP_ASSERT && *cc <= OP_ASSERTBACK_NA) || (*cc >= OP_ONCE && *cc <= OP_SCOND));  in bracketend()
867 SLJIT_ASSERT(*cc >= OP_KET && *cc <= OP_KETRPOS); in bracketend()
875 SLJIT_ASSERT((*cc >= OP_ASSERT && *cc <= OP_ASSERTBACK_NA) || (*cc >= OP_ONCE && *cc <= OP_SCOND)); in no_alternatives()
882 SLJIT_ASSERT(*cc >= OP_KET && *cc <= OP_KETRPOS); in no_alternatives()
888 SLJIT_ASSERT(*cc == OP_ASSERTBACK || *cc == OP_ASSERTBACK_NOT || *cc == OP_ASSERTBACK_NA); in find_vreverse()
1302 SLJIT_ASSERT(*cc == OP_ONCE || *cc == OP_BRA || *cc == OP_CBRA); in detect_early_fail()
1303 SLJIT_ASSERT(*cc != OP_CBRA || common->optimized_cbracket[GET2(cc, 1 + LINK_SIZE)] != 0); in detect_early_fail()
1304 SLJIT_ASSERT(start < EARLY_FAIL_ENHANCE_MAX); in detect_early_fail()
1599 SLJIT_ASSERT(PRIVATE_DATA(cc) == 0); in detect_early_fail()
1995 SLJIT_ASSERT(cc != NULL); in set_private_data_ptrs()
2046 SLJIT_ASSERT(common->control_head_ptr != 0); in get_framesize()
2064 SLJIT_ASSERT(cc != NULL); in get_framesize()
2069 SLJIT_ASSERT(common->has_set_som); in get_framesize()
2083 SLJIT_ASSERT(common->mark_ptr != 0); in get_framesize()
2211 SLJIT_ASSERT(cc != NULL); in get_framesize()
2235 SLJIT_ASSERT(stackpos >= stacktop + 2); in init_frame()
2245 SLJIT_ASSERT(cc != NULL); in init_frame()
2250 SLJIT_ASSERT(common->has_set_som); in init_frame()
2267 SLJIT_ASSERT(common->mark_ptr != 0); in init_frame()
2339 SLJIT_ASSERT(cc != NULL); in init_frame()
2344 SLJIT_ASSERT(stackpos == STACK(stacktop)); in init_frame()
2364 SLJIT_ASSERT(status->tmp_regs[i] >= 0); in delayed_mem_copy_init()
2365SLJIT_ASSERT(sljit_get_register_index(SLJIT_GP_REGISTER, status->saved_tmp_regs[i]) < 0 || status-… in delayed_mem_copy_init()
2380 SLJIT_ASSERT(load_base > 0 && store_base > 0); in delayed_mem_copy_move()
2429 SLJIT_ASSERT((bit_index & (sizeof(sljit_sw) - 1)) == 0); in recurse_check_bit()
2433 SLJIT_ASSERT((bit_index >> 3) < common->recurse_bitset_size); in recurse_check_bit()
2463 SLJIT_ASSERT(common->control_head_ptr != 0); in get_recurse_data_length()
2474 SLJIT_ASSERT(common->has_set_som); in get_recurse_data_length()
2495 SLJIT_ASSERT(PRIVATE_DATA(cc + 1) != 0); in get_recurse_data_length()
2513 SLJIT_ASSERT(PRIVATE_DATA(cc) != 0); in get_recurse_data_length()
2524 SLJIT_ASSERT(recurse_check_bit(common, OVECTOR((offset << 1) + 1))); in get_recurse_data_length()
2539 SLJIT_ASSERT(recurse_check_bit(common, OVECTOR((offset << 1) + 1))); in get_recurse_data_length()
2573 SLJIT_ASSERT(recurse_check_bit(common, offset + sizeof(sljit_sw))); in get_recurse_data_length()
2586 SLJIT_ASSERT(recurse_check_bit(common, offset + sizeof(sljit_sw))); in get_recurse_data_length()
2606 SLJIT_ASSERT(recurse_check_bit(common, offset + sizeof(sljit_sw))); in get_recurse_data_length()
2616 SLJIT_ASSERT(recurse_check_bit(common, offset + sizeof(sljit_sw))); in get_recurse_data_length()
2641 SLJIT_ASSERT(common->mark_ptr != 0); in get_recurse_data_length()
2664 SLJIT_ASSERT(common->control_head_ptr != 0); in get_recurse_data_length()
2677 SLJIT_ASSERT(cc != NULL); in get_recurse_data_length()
2681 SLJIT_ASSERT(cc == ccend); in get_recurse_data_length()
2719 SLJIT_ASSERT(common->control_head_ptr != 0); in copy_recurse_data()
2738 SLJIT_ASSERT(type == recurse_swap_global); in copy_recurse_data()
2774SLJIT_ASSERT(type == recurse_copy_from_global || type == recurse_copy_private_to_global || type ==… in copy_recurse_data()
2807 SLJIT_ASSERT(common->has_set_som); in copy_recurse_data()
2844 SLJIT_ASSERT(PRIVATE_DATA(cc + 1) != 0); in copy_recurse_data()
2875 SLJIT_ASSERT(recurse_check_bit(common, shared_srcw[1])); in copy_recurse_data()
2902 SLJIT_ASSERT(recurse_check_bit(common, shared_srcw[1])); in copy_recurse_data()
2953 SLJIT_ASSERT(recurse_check_bit(common, private_srcw[1])); in copy_recurse_data()
2967 SLJIT_ASSERT(recurse_check_bit(common, private_srcw[1])); in copy_recurse_data()
2988 SLJIT_ASSERT(recurse_check_bit(common, private_srcw[1])); in copy_recurse_data()
2999 SLJIT_ASSERT(recurse_check_bit(common, private_srcw[1])); in copy_recurse_data()
3026 SLJIT_ASSERT(recurse_check_bit(common, private_srcw[1])); in copy_recurse_data()
3042 SLJIT_ASSERT(common->mark_ptr != 0); in copy_recurse_data()
3057 SLJIT_ASSERT(common->control_head_ptr != 0); in copy_recurse_data()
3068 SLJIT_ASSERT(cc != NULL); in copy_recurse_data()
3074SLJIT_ASSERT(type == recurse_copy_from_global || type == recurse_copy_private_to_global || type ==… in copy_recurse_data()
3078 SLJIT_ASSERT(private_srcw[i] != 0); in copy_recurse_data()
3094SLJIT_ASSERT(type == recurse_copy_from_global || type == recurse_copy_shared_to_global || type == … in copy_recurse_data()
3098 SLJIT_ASSERT(shared_srcw[i] != 0); in copy_recurse_data()
3114SLJIT_ASSERT(type == recurse_copy_from_global || type == recurse_copy_shared_to_global || type == … in copy_recurse_data()
3118 SLJIT_ASSERT(kept_shared_srcw[i] != 0); in copy_recurse_data()
3133 SLJIT_ASSERT(cc == ccend && stackptr == stacktop); in copy_recurse_data()
3266 SLJIT_ASSERT(size > 0); in allocate_stack()
3282 SLJIT_ASSERT(size > 0); in free_stack()
3313 SLJIT_ASSERT(length > 1); in reset_ovector()
3354 SLJIT_ASSERT(common->early_fail_start_ptr < common->early_fail_end_ptr); in reset_early_fail()
3401 SLJIT_ASSERT(length > 1); in do_reset_match()
3467 SLJIT_ASSERT(current[0] == 0 || current < (sljit_sw*)current[0]); in do_search_mark()
3531 SLJIT_ASSERT(sizeof(PCRE2_SIZE) == 4 || sizeof(PCRE2_SIZE) == 8); in copy_ovector()
3577 SLJIT_ASSERT(common->start_used_ptr != 0 && common->start_ptr != 0 in return_with_partial_match()
3701 SLJIT_ASSERT(c != oc); in char_get_othercase_bit()
3750 SLJIT_ASSERT(!force || common->mode != PCRE2_JIT_COMPLETE); in check_partial()
4041 SLJIT_ASSERT(min <= max); in read_char()
4275 SLJIT_ASSERT(common->utf); in read_char7_type()
4539 SLJIT_ASSERT(nltype == NLTYPE_FIXED && common->newline < 256); in check_newlinechar()
4802 SLJIT_ASSERT(common->nltype != NLTYPE_FIXED || common->newline < 128); in do_utfreadnewline_invalid()
5289 SLJIT_ASSERT(record->script == ucp_Unknown && record->chartype == ucp_Cn && record->gbprop == ucp_g… in do_getucd()
5290 SLJIT_ASSERT(record->caseset == 0 && record->other_case == 0); in do_getucd()
5293 SLJIT_ASSERT(UCD_BLOCK_SIZE == 128 && sizeof(ucd_record) == 12); in do_getucd()
5329 SLJIT_ASSERT(record->script == ucp_Unknown && record->chartype == ucp_Cn && record->gbprop == ucp_g… in do_getucdtype()
5330 SLJIT_ASSERT(record->caseset == 0 && record->other_case == 0); in do_getucdtype()
5333 SLJIT_ASSERT(UCD_BLOCK_SIZE == 128 && sizeof(ucd_record) == 12); in do_getucdtype()
5388 SLJIT_ASSERT(common->abort_label == NULL); in mainloop_entry()
5393 SLJIT_ASSERT(common->match_end_ptr != 0); in mainloop_entry()
5427 SLJIT_ASSERT(common->match_end_ptr != 0); in mainloop_entry()
5881 SLJIT_ASSERT((chr & 0x7) == 0); in scan_prefix()
6082 SLJIT_ASSERT(common->mode == PCRE2_JIT_COMPLETE || offset == 0); in fast_forward_first_char2()
6189 SLJIT_ASSERT(chars[i].last_count <= chars[i].count); in fast_forward_first_n_chars()
6205 SLJIT_ASSERT(chars[i].chars[0] != chars[i].chars[1]); in fast_forward_first_n_chars()
6238 SLJIT_ASSERT(chars[i].count > 0); in fast_forward_first_n_chars()
6258 SLJIT_ASSERT(chars[range_right - i].count > 0 && chars[range_right - i].count < 255); in fast_forward_first_n_chars()
6288 SLJIT_ASSERT(offset == -1 || (chars[offset].count >= 1 && chars[offset].count <= 2)); in fast_forward_first_n_chars()
6299 SLJIT_ASSERT(range_right != offset); in fast_forward_first_n_chars()
6316 SLJIT_ASSERT(range_right >= 0); in fast_forward_first_n_chars()
6666 SLJIT_ASSERT(common->req_char_ptr != 0); in search_requested_char()
7047SLJIT_ASSERT((ranges[0] & (ranges[2] - ranges[0])) == 0 && (ranges[2] & ranges[3] & (ranges[2] - r… in optimize_class_ranges()
7492 SLJIT_ASSERT(othercasebit); in byte_sequence_compare()
7720 SLJIT_ASSERT(*cc == XCL_PROP || *cc == XCL_NOTPROP); in compile_xclass_matchingpath()
7845 SLJIT_ASSERT(compares > 0); in compile_xclass_matchingpath()
7970 SLJIT_ASSERT(*cc == XCL_PROP || *cc == XCL_NOTPROP); in compile_xclass_matchingpath()
8009 SLJIT_ASSERT(*cc == XCL_PROP || *cc == XCL_NOTPROP); in compile_xclass_matchingpath()
8047 SLJIT_ASSERT(*cc == XCL_PROP || *cc == XCL_NOTPROP); in compile_xclass_matchingpath()
8110 SLJIT_ASSERT(*cc == XCL_PROP || *cc == XCL_NOTPROP); in compile_xclass_matchingpath()
8231 SLJIT_ASSERT(*cc == XCL_PROP || *cc == XCL_NOTPROP); in compile_xclass_matchingpath()
8273SLJIT_ASSERT(other_cases[0] != NOTACHAR && other_cases[1] != NOTACHAR && other_cases[2] != NOTACHA… in compile_xclass_matchingpath()
8274 SLJIT_ASSERT(other_cases[0] < other_cases[1] && other_cases[1] < other_cases[2]); in compile_xclass_matchingpath()
8443 SLJIT_ASSERT(compares == 0); in compile_xclass_matchingpath()
9121 SLJIT_ASSERT(TMP1 == SLJIT_R0 && STR_PTR == SLJIT_R1); in compile_char1_matchingpath()
9181 SLJIT_ASSERT(type == OP_CHARI && char_has_othercase(common, cc)); in compile_char1_matchingpath()
9189 SLJIT_ASSERT(!is_powerof2(c ^ oc)); in compile_char1_matchingpath()
9441 SLJIT_ASSERT(*cc == OP_DNREF || *cc == OP_DNREFI); in compile_dnref_search()
9493 SLJIT_ASSERT(common->iref_ptr != 0); in compile_ref_matchingpath()
9911 SLJIT_ASSERT(oveccount >= 1); in do_callout_jit()
9971 SLJIT_ASSERT(common->capture_last_ptr != 0); in compile_callout_matchingpath()
10006 SLJIT_ASSERT(TMP1 == SLJIT_R0 && STR_PTR == SLJIT_R1); in compile_callout_matchingpath()
10041 SLJIT_ASSERT(parent->top == NULL); in compile_reverse_matchingpath()
10050 SLJIT_ASSERT(lmin > 0); in compile_reverse_matchingpath()
10054 SLJIT_ASSERT(*cc == OP_VREVERSE); in compile_reverse_matchingpath()
10062 SLJIT_ASSERT(lmin < lmax); in compile_reverse_matchingpath()
10196 SLJIT_ASSERT(!conditional); in compile_assert_matchingpath()
10202 SLJIT_ASSERT(private_data_ptr != 0); in compile_assert_matchingpath()
10207 SLJIT_ASSERT(opcode >= OP_ASSERT && opcode <= OP_ASSERTBACK_NOT); in compile_assert_matchingpath()
10248 SLJIT_ASSERT(extrasize == end_block_size + 2); in compile_assert_matchingpath()
10333 SLJIT_ASSERT(altbacktrack.top != NULL); in compile_assert_matchingpath()
10438 SLJIT_ASSERT(common->positive_assertion_quit == NULL); in compile_assert_matchingpath()
10448 SLJIT_ASSERT(framesize != no_stack); in compile_assert_matchingpath()
10544 SLJIT_ASSERT(extrasize == 3 + end_block_size); in compile_assert_matchingpath()
10613 SLJIT_ASSERT(found == &backtrack->common.own_backtracks); in compile_assert_matchingpath()
10728 SLJIT_ASSERT(TMP1 == SLJIT_R0 && STR_PTR == SLJIT_R1); in match_script_run_common()
10838 SLJIT_ASSERT(repeat_length != 0 && repeat_type != 0 && repeat_count != 0); in compile_bracket_matchingpath()
10846 SLJIT_ASSERT(ket == OP_KET || ket == OP_KETRMAX || ket == OP_KETRMIN); in compile_bracket_matchingpath()
10847 SLJIT_ASSERT(!((bra == OP_BRAZERO && ket == OP_KETRMIN) || (bra == OP_BRAMINZERO && ket == OP_KETRM… in compile_bracket_matchingpath()
10882 SLJIT_ASSERT(private_data_ptr != 0); in compile_bracket_matchingpath()
11047 SLJIT_ASSERT(private_data_ptr == OVECTOR(offset)); in compile_bracket_matchingpath()
11101 SLJIT_ASSERT(has_alternatives); in compile_bracket_matchingpath()
11108 SLJIT_ASSERT(has_alternatives); in compile_bracket_matchingpath()
11131 SLJIT_ASSERT(!has_alternatives); in compile_bracket_matchingpath()
11191SLJIT_ASSERT(has_alternatives && *matchingpath >= OP_ASSERT && *matchingpath <= OP_ASSERTBACK_NOT); in compile_bracket_matchingpath()
11212 SLJIT_ASSERT(backtrack->top != NULL && PRIVATE_DATA(ccbegin + 1)); in compile_bracket_matchingpath()
11296 SLJIT_ASSERT(private_data_ptr == OVECTOR(offset + 0)); in compile_bracket_matchingpath()
11384 SLJIT_ASSERT(SHRT_MIN <= framesize && framesize < SHRT_MAX/2); in compile_bracket_matchingpath()
11420 SLJIT_ASSERT(private_data_ptr != 0); in compile_bracketpos_matchingpath()
11434 SLJIT_ASSERT(common->optimized_cbracket[offset] == 0); in compile_bracketpos_matchingpath()
11715 SLJIT_ASSERT(*opcode == OP_CLASS || *opcode == OP_NCLASS || *opcode == OP_XCLASS); in get_iterator_parameters()
11745 SLJIT_ASSERT(*opcode == OP_CRRANGE || *opcode == OP_CRMINRANGE || *opcode == OP_CRPOSRANGE); in get_iterator_parameters()
11860 SLJIT_ASSERT(common->fast_forward_bc_ptr != NULL || early_fail_ptr == 0 in compile_iterator_matchingpath()
11882 SLJIT_ASSERT(early_fail_ptr == 0); in compile_iterator_matchingpath()
11927 SLJIT_ASSERT(early_fail_ptr == 0 || opcode == OP_STAR); in compile_iterator_matchingpath()
11931 SLJIT_ASSERT(private_data_ptr == 0); in compile_iterator_matchingpath()
11932 SLJIT_ASSERT(early_fail_ptr == 0); in compile_iterator_matchingpath()
12039 SLJIT_ASSERT((charpos_othercasebit >> 8) == 0); in compile_iterator_matchingpath()
12041 SLJIT_ASSERT((charpos_othercasebit >> 9) == 0); in compile_iterator_matchingpath()
12126 SLJIT_ASSERT(!use_tmp || tmp_base == TMP3); in compile_iterator_matchingpath()
12189 SLJIT_ASSERT(early_fail_ptr == 0); in compile_iterator_matchingpath()
12199 SLJIT_ASSERT(early_fail_ptr == 0); in compile_iterator_matchingpath()
12262 SLJIT_ASSERT(early_fail_ptr == 0); in compile_iterator_matchingpath()
12317 SLJIT_ASSERT(early_fail_ptr == 0); in compile_iterator_matchingpath()
12481 SLJIT_ASSERT(*ccend == OP_END || (*ccend >= OP_ALT && *ccend <= OP_KETRPOS)); in compile_matchingpath()
12485 SLJIT_ASSERT(*ccend != OP_END && common->control_head_ptr != 0); in compile_matchingpath()
12726 SLJIT_ASSERT(common->mark_ptr != 0); in compile_matchingpath()
12788 SLJIT_ASSERT(cc == ccend); in compile_matchingpath()
12830 SLJIT_ASSERT(private_data_ptr == 0); in compile_iterator_backtrackingpath()
12986 SLJIT_ASSERT(*cc != OP_BRAMINZERO); in compile_assert_backtrackingpath()
12995 SLJIT_ASSERT(current->own_backtracks == NULL); in compile_assert_backtrackingpath()
13086 SLJIT_ASSERT(repeat_type != 0 && repeat_count != 0); in compile_bracket_backtrackingpath()
13181 SLJIT_ASSERT(common->optimized_cbracket[offset >> 1] == 0); in compile_bracket_backtrackingpath()
13231 SLJIT_ASSERT(CURRENT_AS(bracket_backtrack)->u.matching_mov_addr); in compile_bracket_backtrackingpath()
13248 SLJIT_ASSERT(has_alternatives); in compile_bracket_backtrackingpath()
13263 SLJIT_ASSERT(has_alternatives); in compile_bracket_backtrackingpath()
13268 SLJIT_ASSERT(!has_alternatives); in compile_bracket_backtrackingpath()
13288 SLJIT_ASSERT(private_data_ptr != 0); in compile_bracket_backtrackingpath()
13317 SLJIT_ASSERT(current->top != NULL && PRIVATE_DATA(ccbegin + 1)); in compile_bracket_backtrackingpath()
13391 SLJIT_ASSERT(private_data_ptr == OVECTOR(offset + 0)); in compile_bracket_backtrackingpath()
13405 SLJIT_ASSERT(alt_count == 2 && alt_max == 3); in compile_bracket_backtrackingpath()
13419 SLJIT_ASSERT(!current->simple_backtracks); in compile_bracket_backtrackingpath()
13425 SLJIT_ASSERT(opcode == OP_COND || opcode == OP_SCOND); in compile_bracket_backtrackingpath()
13619 SLJIT_ASSERT(!current->simple_backtracks && !current->own_backtracks); in compile_braminzero_backtrackingpath()
13633 SLJIT_ASSERT(common->control_head_ptr != 0); in compile_control_verb_backtrackingpath()
13667 SLJIT_ASSERT(common->control_head_ptr != 0 && TMP1 == SLJIT_R0 && STR_PTR == SLJIT_R1); in compile_control_verb_backtrackingpath()
13948 SLJIT_ASSERT(*cc == OP_BRA || *cc == OP_CBRA || *cc == OP_CBRAPOS || *cc == OP_SCBRA || *cc == OP_S… in compile_recurse()
13954 SLJIT_ASSERT(common->currententry->entry_label == NULL && common->recursive_head_ptr != 0); in compile_recurse()
14016 SLJIT_ASSERT(common->currententry->backtrack_label == NULL); in compile_recurse()
14058 SLJIT_ASSERT(alt_count == 1 && alt_max == 3); in compile_recurse()
14090 SLJIT_ASSERT(recurse_flags & recurse_flag_quit_found); in compile_recurse()
14116 SLJIT_ASSERT(recurse_flags & recurse_flag_accept_found); in compile_recurse()
14171 SLJIT_ASSERT(tables); in jit_compile()
14174 SLJIT_ASSERT(sljit_get_register_index(SLJIT_GP_REGISTER, TMP3) < 0 && sljit_get_register_index(SLJI… in jit_compile()
14176 SLJIT_ASSERT(sljit_get_register_index(SLJIT_GP_REGISTER, TMP3) >= 0 && sljit_get_register_index(SLJ… in jit_compile()
14275 SLJIT_ASSERT(*common->start == OP_BRA && ccend[-(1 + LINK_SIZE)] == OP_KET); in jit_compile()
14333 SLJIT_ASSERT(!(common->req_char_ptr != 0 && common->start_used_ptr != 0)); in jit_compile()
14352 SLJIT_ASSERT(common->early_fail_start_ptr <= common->early_fail_end_ptr); in jit_compile()
14378 SLJIT_ASSERT((private_data_size & (sizeof(sljit_sw) - 1)) == 0); in jit_compile()
14497 SLJIT_ASSERT(common->mode == PCRE2_JIT_COMPLETE); in jit_compile()
14525 SLJIT_ASSERT(rootbacktrack.prev == NULL); in jit_compile()
14605 SLJIT_ASSERT(common->recurse_bitset_size > 0); in jit_compile()
14627 SLJIT_ASSERT(sljit_get_compiler_error(compiler) || common->recurse_bitset == NULL); in jit_compile()
14645 SLJIT_ASSERT(TMP1 == SLJIT_R0 && STR_PTR == SLJIT_R1); in jit_compile()
14819 SLJIT_ASSERT(mode < JIT_NUMBER_OF_COMPILE_MODES); in jit_compile()