Lines Matching refs:SLJIT_ASSERT
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()
1250 SLJIT_ASSERT(*cc == OP_ONCE || *cc == OP_BRA || *cc == OP_CBRA); in detect_early_fail()
1251 SLJIT_ASSERT(*cc != OP_CBRA || common->optimized_cbracket[GET2(cc, 1 + LINK_SIZE)] != 0); in detect_early_fail()
1252 SLJIT_ASSERT(start < EARLY_FAIL_ENHANCE_MAX); in detect_early_fail()
1505 SLJIT_ASSERT(PRIVATE_DATA(cc) == 0); in detect_early_fail()
1892 SLJIT_ASSERT(cc != NULL); in set_private_data_ptrs()
1943 SLJIT_ASSERT(common->control_head_ptr != 0); in get_framesize()
1961 SLJIT_ASSERT(cc != NULL); in get_framesize()
1966 SLJIT_ASSERT(common->has_set_som); in get_framesize()
1980 SLJIT_ASSERT(common->mark_ptr != 0); in get_framesize()
2105 SLJIT_ASSERT(cc != NULL); in get_framesize()
2129 SLJIT_ASSERT(stackpos >= stacktop + 2); in init_frame()
2139 SLJIT_ASSERT(cc != NULL); in init_frame()
2144 SLJIT_ASSERT(common->has_set_som); in init_frame()
2161 SLJIT_ASSERT(common->mark_ptr != 0); in init_frame()
2233 SLJIT_ASSERT(cc != NULL); in init_frame()
2238 SLJIT_ASSERT(stackpos == STACK(stacktop)); in init_frame()
2258 SLJIT_ASSERT(status->tmp_regs[i] >= 0); in delayed_mem_copy_init()
2259 …SLJIT_ASSERT(sljit_get_register_index(status->saved_tmp_regs[i]) < 0 || status->tmp_regs[i] == sta… in delayed_mem_copy_init()
2274 SLJIT_ASSERT(load_base > 0 && store_base > 0); in delayed_mem_copy_move()
2332 SLJIT_ASSERT(common->control_head_ptr != 0); in get_recurse_data_length()
2343 SLJIT_ASSERT(common->has_set_som); in get_recurse_data_length()
2362 SLJIT_ASSERT(PRIVATE_DATA(cc + 1) != 0); in get_recurse_data_length()
2381 SLJIT_ASSERT(PRIVATE_DATA(cc) != 0); in get_recurse_data_length()
2473 SLJIT_ASSERT(common->mark_ptr != 0); in get_recurse_data_length()
2497 SLJIT_ASSERT(common->control_head_ptr != 0); in get_recurse_data_length()
2512 SLJIT_ASSERT(cc != NULL); in get_recurse_data_length()
2516 SLJIT_ASSERT(cc == ccend); in get_recurse_data_length()
2560 SLJIT_ASSERT(common->control_head_ptr != 0); in copy_recurse_data()
2579 SLJIT_ASSERT(type == recurse_swap_global); in copy_recurse_data()
2615 …SLJIT_ASSERT(type == recurse_copy_from_global || type == recurse_copy_private_to_global || type ==… in copy_recurse_data()
2648 SLJIT_ASSERT(common->has_set_som); in copy_recurse_data()
2688 SLJIT_ASSERT(PRIVATE_DATA(cc + 1) != 0); in copy_recurse_data()
2864 SLJIT_ASSERT(common->mark_ptr != 0); in copy_recurse_data()
2881 SLJIT_ASSERT(common->control_head_ptr != 0); in copy_recurse_data()
2893 SLJIT_ASSERT(cc != NULL); in copy_recurse_data()
2899 …SLJIT_ASSERT(type == recurse_copy_from_global || type == recurse_copy_private_to_global || type ==… in copy_recurse_data()
2903 SLJIT_ASSERT(private_srcw[i] != 0); in copy_recurse_data()
2919 …SLJIT_ASSERT(type == recurse_copy_from_global || type == recurse_copy_shared_to_global || type == … in copy_recurse_data()
2923 SLJIT_ASSERT(shared_srcw[i] != 0); in copy_recurse_data()
2939 …SLJIT_ASSERT(type == recurse_copy_from_global || type == recurse_copy_shared_to_global || type == … in copy_recurse_data()
2943 SLJIT_ASSERT(kept_shared_srcw[i] != 0); in copy_recurse_data()
2958 SLJIT_ASSERT(cc == ccend && stackptr == stacktop); in copy_recurse_data()
3072 SLJIT_ASSERT(size > 0); in allocate_stack()
3088 SLJIT_ASSERT(size > 0); in free_stack()
3119 SLJIT_ASSERT(length > 1); in reset_ovector()
3160 SLJIT_ASSERT(common->early_fail_start_ptr < common->early_fail_end_ptr); in reset_early_fail()
3207 SLJIT_ASSERT(length > 1); in do_reset_match()
3273 SLJIT_ASSERT(current[0] == 0 || current < (sljit_sw*)current[0]); in do_search_mark()
3337 SLJIT_ASSERT(sizeof(PCRE2_SIZE) == 4 || sizeof(PCRE2_SIZE) == 8); in copy_ovector()
3383 SLJIT_ASSERT(common->start_used_ptr != 0 && common->start_ptr != 0 in return_with_partial_match()
3507 SLJIT_ASSERT(c != oc); in char_get_othercase_bit()
3556 SLJIT_ASSERT(!force || common->mode != PCRE2_JIT_COMPLETE); in check_partial()
3847 SLJIT_ASSERT(min <= max); in read_char()
4050 SLJIT_ASSERT(common->utf); in read_char7_type()
4313 SLJIT_ASSERT(nltype == NLTYPE_FIXED && common->newline < 256); in check_newlinechar()
4576 SLJIT_ASSERT(common->nltype != NLTYPE_FIXED || common->newline < 128); in do_utfreadnewline_invalid()
5063 SLJIT_ASSERT(record->script == ucp_Unknown && record->chartype == ucp_Cn && record->gbprop == ucp_g… in do_getucd()
5064 SLJIT_ASSERT(record->caseset == 0 && record->other_case == 0); in do_getucd()
5067 SLJIT_ASSERT(UCD_BLOCK_SIZE == 128 && sizeof(ucd_record) == 12); in do_getucd()
5103 SLJIT_ASSERT(record->script == ucp_Unknown && record->chartype == ucp_Cn && record->gbprop == ucp_g… in do_getucdtype()
5104 SLJIT_ASSERT(record->caseset == 0 && record->other_case == 0); in do_getucdtype()
5107 SLJIT_ASSERT(UCD_BLOCK_SIZE == 128 && sizeof(ucd_record) == 12); in do_getucdtype()
5162 SLJIT_ASSERT(common->abort_label == NULL); in mainloop_entry()
5167 SLJIT_ASSERT(common->match_end_ptr != 0); in mainloop_entry()
5201 SLJIT_ASSERT(common->match_end_ptr != 0); in mainloop_entry()
5653 SLJIT_ASSERT((chr & 0x7) == 0); in scan_prefix()
5850 SLJIT_ASSERT(common->mode == PCRE2_JIT_COMPLETE || offset == 0); in fast_forward_first_char2()
5957 SLJIT_ASSERT(chars[i].count > 0 && chars[i].last_count <= chars[i].count); in fast_forward_first_n_chars()
5967 SLJIT_ASSERT(chars[i].chars[0] != chars[i].chars[1]); in fast_forward_first_n_chars()
5997 SLJIT_ASSERT(chars[i].count > 0); in fast_forward_first_n_chars()
6017 SLJIT_ASSERT(chars[range_right - i].count > 0 && chars[range_right - i].count < 255); in fast_forward_first_n_chars()
6047 SLJIT_ASSERT(offset == -1 || (chars[offset].count >= 1 && chars[offset].count <= 2)); in fast_forward_first_n_chars()
6058 SLJIT_ASSERT(range_right != offset); in fast_forward_first_n_chars()
6075 SLJIT_ASSERT(range_right >= 0); in fast_forward_first_n_chars()
6425 SLJIT_ASSERT(common->req_char_ptr != 0); in search_requested_char()
6806 …SLJIT_ASSERT((ranges[0] & (ranges[2] - ranges[0])) == 0 && (ranges[2] & ranges[3] & (ranges[2] - r… in optimize_class_ranges()
7251 SLJIT_ASSERT(othercasebit); in byte_sequence_compare()
7474 SLJIT_ASSERT(*cc == XCL_PROP || *cc == XCL_NOTPROP); in compile_xclass_matchingpath()
7539 SLJIT_ASSERT(compares > 0); in compile_xclass_matchingpath()
7661 SLJIT_ASSERT(*cc == XCL_PROP || *cc == XCL_NOTPROP); in compile_xclass_matchingpath()
7792 SLJIT_ASSERT(*cc == XCL_PROP || *cc == XCL_NOTPROP); in compile_xclass_matchingpath()
7866 …SLJIT_ASSERT(other_cases[0] != NOTACHAR && other_cases[1] != NOTACHAR && other_cases[2] != NOTACHA… in compile_xclass_matchingpath()
7867 SLJIT_ASSERT(other_cases[0] < other_cases[1] && other_cases[1] < other_cases[2]); in compile_xclass_matchingpath()
8689 SLJIT_ASSERT(TMP1 == SLJIT_R0 && STR_PTR == SLJIT_R1); in compile_char1_matchingpath()
8749 SLJIT_ASSERT(type == OP_CHARI && char_has_othercase(common, cc)); in compile_char1_matchingpath()
8757 SLJIT_ASSERT(!is_powerof2(c ^ oc)); in compile_char1_matchingpath()
9009 SLJIT_ASSERT(*cc == OP_DNREF || *cc == OP_DNREFI); in compile_dnref_search()
9061 SLJIT_ASSERT(common->iref_ptr != 0); in compile_ref_matchingpath()
9476 SLJIT_ASSERT(oveccount >= 1); in do_callout()
9536 SLJIT_ASSERT(common->capture_last_ptr != 0); in compile_callout_matchingpath()
9571 SLJIT_ASSERT(TMP1 == SLJIT_R0 && STR_PTR == SLJIT_R1); in compile_callout_matchingpath()
9657 SLJIT_ASSERT(!conditional); in compile_assert_matchingpath()
9662 SLJIT_ASSERT(private_data_ptr != 0); in compile_assert_matchingpath()
9667 SLJIT_ASSERT(opcode >= OP_ASSERT && opcode <= OP_ASSERTBACK_NOT); in compile_assert_matchingpath()
9703 SLJIT_ASSERT(extrasize == 2); in compile_assert_matchingpath()
9862 SLJIT_ASSERT(common->positive_assertion_quit == NULL); in compile_assert_matchingpath()
9872 SLJIT_ASSERT(framesize != no_stack); in compile_assert_matchingpath()
9963 SLJIT_ASSERT(extrasize == 3); in compile_assert_matchingpath()
10032 SLJIT_ASSERT(found == &backtrack->common.topbacktracks); in compile_assert_matchingpath()
10147 SLJIT_ASSERT(TMP1 == SLJIT_R0 && STR_PTR == SLJIT_R1); in match_script_run_common()
10256 SLJIT_ASSERT(repeat_length != 0 && repeat_type != 0 && repeat_count != 0); in compile_bracket_matchingpath()
10264 SLJIT_ASSERT(ket == OP_KET || ket == OP_KETRMAX || ket == OP_KETRMIN); in compile_bracket_matchingpath()
10265 SLJIT_ASSERT(!((bra == OP_BRAZERO && ket == OP_KETRMIN) || (bra == OP_BRAMINZERO && ket == OP_KETRM… in compile_bracket_matchingpath()
10300 SLJIT_ASSERT(private_data_ptr != 0); in compile_bracket_matchingpath()
10465 SLJIT_ASSERT(private_data_ptr == OVECTOR(offset)); in compile_bracket_matchingpath()
10501 SLJIT_ASSERT(has_alternatives); in compile_bracket_matchingpath()
10508 SLJIT_ASSERT(has_alternatives); in compile_bracket_matchingpath()
10531 SLJIT_ASSERT(!has_alternatives); in compile_bracket_matchingpath()
10591 …SLJIT_ASSERT(has_alternatives && *matchingpath >= OP_ASSERT && *matchingpath <= OP_ASSERTBACK_NOT); in compile_bracket_matchingpath()
10682 SLJIT_ASSERT(private_data_ptr == OVECTOR(offset + 0)); in compile_bracket_matchingpath()
10801 SLJIT_ASSERT(private_data_ptr != 0); in compile_bracketpos_matchingpath()
10815 SLJIT_ASSERT(common->optimized_cbracket[offset] == 0); in compile_bracketpos_matchingpath()
11096 SLJIT_ASSERT(*opcode == OP_CLASS || *opcode == OP_NCLASS || *opcode == OP_XCLASS); in get_iterator_parameters()
11126 SLJIT_ASSERT(*opcode == OP_CRRANGE || *opcode == OP_CRMINRANGE || *opcode == OP_CRPOSRANGE); in get_iterator_parameters()
11241 SLJIT_ASSERT(common->fast_forward_bc_ptr != NULL || early_fail_ptr == 0 in compile_iterator_matchingpath()
11263 SLJIT_ASSERT(early_fail_ptr == 0); in compile_iterator_matchingpath()
11308 SLJIT_ASSERT(early_fail_ptr == 0 || opcode == OP_STAR); in compile_iterator_matchingpath()
11312 SLJIT_ASSERT(private_data_ptr == 0); in compile_iterator_matchingpath()
11313 SLJIT_ASSERT(early_fail_ptr == 0); in compile_iterator_matchingpath()
11420 SLJIT_ASSERT((charpos_othercasebit >> 8) == 0); in compile_iterator_matchingpath()
11422 SLJIT_ASSERT((charpos_othercasebit >> 9) == 0); in compile_iterator_matchingpath()
11507 SLJIT_ASSERT(!use_tmp || tmp_base == TMP3); in compile_iterator_matchingpath()
11570 SLJIT_ASSERT(early_fail_ptr == 0); in compile_iterator_matchingpath()
11580 SLJIT_ASSERT(early_fail_ptr == 0); in compile_iterator_matchingpath()
11643 SLJIT_ASSERT(early_fail_ptr == 0); in compile_iterator_matchingpath()
11698 SLJIT_ASSERT(early_fail_ptr == 0); in compile_iterator_matchingpath()
11862 SLJIT_ASSERT(*ccend == OP_END || (*ccend >= OP_ALT && *ccend <= OP_KETRPOS)); in compile_matchingpath()
11866 SLJIT_ASSERT(*ccend != OP_END && common->control_head_ptr != 0); in compile_matchingpath()
12106 SLJIT_ASSERT(common->mark_ptr != 0); in compile_matchingpath()
12168 SLJIT_ASSERT(cc == ccend); in compile_matchingpath()
12210 SLJIT_ASSERT(private_data_ptr == 0); in compile_iterator_backtrackingpath()
12366 SLJIT_ASSERT(*cc != OP_BRAMINZERO); in compile_assert_backtrackingpath()
12375 SLJIT_ASSERT(current->topbacktracks == NULL); in compile_assert_backtrackingpath()
12465 SLJIT_ASSERT(repeat_type != 0 && repeat_count != 0); in compile_bracket_backtrackingpath()
12560 SLJIT_ASSERT(common->optimized_cbracket[offset >> 1] == 0); in compile_bracket_backtrackingpath()
12610 SLJIT_ASSERT(CURRENT_AS(bracket_backtrack)->u.matching_put_label); in compile_bracket_backtrackingpath()
12627 SLJIT_ASSERT(has_alternatives); in compile_bracket_backtrackingpath()
12642 SLJIT_ASSERT(has_alternatives); in compile_bracket_backtrackingpath()
12647 SLJIT_ASSERT(!has_alternatives); in compile_bracket_backtrackingpath()
12744 SLJIT_ASSERT(private_data_ptr == OVECTOR(offset + 0)); in compile_bracket_backtrackingpath()
12758 SLJIT_ASSERT(alt_count == 2 && alt_max == 3); in compile_bracket_backtrackingpath()
12772 SLJIT_ASSERT(!current->nextbacktracks); in compile_bracket_backtrackingpath()
12778 SLJIT_ASSERT(opcode == OP_COND || opcode == OP_SCOND); in compile_bracket_backtrackingpath()
12956 SLJIT_ASSERT(!current->nextbacktracks && !current->topbacktracks); in compile_braminzero_backtrackingpath()
12970 SLJIT_ASSERT(common->control_head_ptr != 0); in compile_control_verb_backtrackingpath()
13004 SLJIT_ASSERT(common->control_head_ptr != 0 && TMP1 == SLJIT_R0 && STR_PTR == SLJIT_R1); in compile_control_verb_backtrackingpath()
13266 SLJIT_ASSERT(*cc == OP_BRA || *cc == OP_CBRA || *cc == OP_CBRAPOS || *cc == OP_SCBRA || *cc == OP_S… in compile_recurse()
13272 SLJIT_ASSERT(common->currententry->entry_label == NULL && common->recursive_head_ptr != 0); in compile_recurse()
13334 SLJIT_ASSERT(common->currententry->backtrack_label == NULL); in compile_recurse()
13376 SLJIT_ASSERT(alt_count == 1 && alt_max == 3); in compile_recurse()
13408 SLJIT_ASSERT(has_quit); in compile_recurse()
13434 SLJIT_ASSERT(has_accept); in compile_recurse()
13489 SLJIT_ASSERT(tables); in jit_compile()
13492 SLJIT_ASSERT(sljit_get_register_index(TMP3) < 0 && sljit_get_register_index(ARGUMENTS) < 0 && sljit… in jit_compile()
13494 SLJIT_ASSERT(sljit_get_register_index(TMP3) >= 0 && sljit_get_register_index(ARGUMENTS) >= 0 && slj… in jit_compile()
13593 SLJIT_ASSERT(*common->start == OP_BRA && ccend[-(1 + LINK_SIZE)] == OP_KET); in jit_compile()
13651 SLJIT_ASSERT(!(common->req_char_ptr != 0 && common->start_used_ptr != 0)); in jit_compile()
13670 SLJIT_ASSERT(common->early_fail_start_ptr <= common->early_fail_end_ptr); in jit_compile()
13814 SLJIT_ASSERT(common->mode == PCRE2_JIT_COMPLETE); in jit_compile()
13842 SLJIT_ASSERT(rootbacktrack.prev == NULL); in jit_compile()
13942 SLJIT_ASSERT(TMP1 == SLJIT_R0 && STR_PTR == SLJIT_R1); in jit_compile()
14104 SLJIT_ASSERT(mode < JIT_NUMBER_OF_COMPILE_MODES); in jit_compile()