Lines Matching refs:stacksize

289   int stacksize;  member
10286 int stacksize; in match_once_common() local
10294 stacksize = needs_control_head ? 1 : 0; in match_once_common()
10296 stacksize++; in match_once_common()
10298 if (stacksize > 0) in match_once_common()
10299 free_stack(common, stacksize); in match_once_common()
10316 stacksize = (ket != OP_KET || has_alternatives) ? 2 : 1; in match_once_common()
10317 …TOP, 0, SLJIT_MEM1(SLJIT_SP), private_data_ptr, SLJIT_IMM, (framesize + stacksize) * sizeof(sljit_… in match_once_common()
10331 static SLJIT_INLINE int match_capture_common(compiler_common *common, int stacksize, int offset, in… in match_capture_common() argument
10339 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(stacksize), TMP1, 0); in match_capture_common()
10340 stacksize++; in match_capture_common()
10346 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(stacksize), TMP1, 0); in match_capture_common()
10348 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(stacksize + 1), TMP2, 0); in match_capture_common()
10351 stacksize += 2; in match_capture_common()
10353 return stacksize; in match_capture_common()
10452 int i, stacksize; in compile_bracket_matchingpath() local
10538 stacksize = 0; in compile_bracket_matchingpath()
10540 stacksize++; in compile_bracket_matchingpath()
10542 stacksize++; in compile_bracket_matchingpath()
10544 if (stacksize > 0) in compile_bracket_matchingpath()
10545 allocate_stack(common, stacksize); in compile_bracket_matchingpath()
10547 stacksize = 0; in compile_bracket_matchingpath()
10550 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(stacksize), SLJIT_IMM, 0); in compile_bracket_matchingpath()
10551 stacksize++; in compile_bracket_matchingpath()
10555 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(stacksize), STR_PTR, 0); in compile_bracket_matchingpath()
10615 stacksize = 0; in compile_bracket_matchingpath()
10619 stacksize++; in compile_bracket_matchingpath()
10627 stacksize += 2; in compile_bracket_matchingpath()
10636 stacksize++; in compile_bracket_matchingpath()
10639 if (stacksize > 0) in compile_bracket_matchingpath()
10640 allocate_stack(common, stacksize); in compile_bracket_matchingpath()
10642 stacksize = 0; in compile_bracket_matchingpath()
10645 stacksize++; in compile_bracket_matchingpath()
10653 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(stacksize), STR_PTR, 0); in compile_bracket_matchingpath()
10656 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(stacksize + 1), TMP2, 0); in compile_bracket_matchingpath()
10659 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(stacksize), STR_PTR, 0); in compile_bracket_matchingpath()
10664 stacksize++; in compile_bracket_matchingpath()
10666 stacksize += BACKTRACK_AS(bracket_backtrack)->u.framesize + 1; in compile_bracket_matchingpath()
10667 allocate_stack(common, stacksize); in compile_bracket_matchingpath()
10673 OP2(SLJIT_ADD, TMP2, 0, STACK_TOP, 0, SLJIT_IMM, stacksize * sizeof(sljit_sw)); in compile_bracket_matchingpath()
10675 stacksize = needs_control_head ? 1 : 0; in compile_bracket_matchingpath()
10678 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(stacksize), STR_PTR, 0); in compile_bracket_matchingpath()
10680 stacksize++; in compile_bracket_matchingpath()
10681 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(stacksize), TMP1, 0); in compile_bracket_matchingpath()
10686 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(stacksize), TMP1, 0); in compile_bracket_matchingpath()
10688 …me(common, ccbegin, NULL, BACKTRACK_AS(bracket_backtrack)->u.framesize + stacksize, stacksize + 1); in compile_bracket_matchingpath()
10766 stacksize = 1; in compile_bracket_matchingpath()
10770 stacksize = 0; in compile_bracket_matchingpath()
10773 stacksize = GET2(matchingpath, 1); in compile_bracket_matchingpath()
10775 stacksize = 0; in compile_bracket_matchingpath()
10776 else if (stacksize == RREF_ANY) in compile_bracket_matchingpath()
10777 stacksize = 1; in compile_bracket_matchingpath()
10779 stacksize = stacksize == 0; in compile_bracket_matchingpath()
10781stacksize = stacksize == (int)GET2(common->start, common->currententry->start + 1 + LINK_SIZE); in compile_bracket_matchingpath()
10783 if (stacksize != 0) in compile_bracket_matchingpath()
10789 stacksize = 0; in compile_bracket_matchingpath()
10792 stacksize = GET2(matchingpath, 1 + IMM2_SIZE); in compile_bracket_matchingpath()
10795 while (stacksize > 0) in compile_bracket_matchingpath()
10800 stacksize--; in compile_bracket_matchingpath()
10804 if (stacksize != 0) in compile_bracket_matchingpath()
10809 if (stacksize == 0) in compile_bracket_matchingpath()
10847 stacksize = 0; in compile_bracket_matchingpath()
10852 stacksize++; in compile_bracket_matchingpath()
10855 stacksize++; in compile_bracket_matchingpath()
10859 stacksize++; in compile_bracket_matchingpath()
10861 stacksize += 2; in compile_bracket_matchingpath()
10864 stacksize++; in compile_bracket_matchingpath()
10866 if (stacksize > 0) in compile_bracket_matchingpath()
10867 allocate_stack(common, stacksize); in compile_bracket_matchingpath()
10869 stacksize = 0; in compile_bracket_matchingpath()
10873 OP2(SLJIT_SUB, SLJIT_MEM1(STACK_TOP), STACK(stacksize), TMP2, 0, SLJIT_IMM, 1); in compile_bracket_matchingpath()
10874 stacksize++; in compile_bracket_matchingpath()
10880 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(stacksize), STR_PTR, 0); in compile_bracket_matchingpath()
10882 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(stacksize), SLJIT_IMM, 0); in compile_bracket_matchingpath()
10883 stacksize++; in compile_bracket_matchingpath()
10887 stacksize = match_capture_common(common, stacksize, offset, private_data_ptr); in compile_bracket_matchingpath()
10902 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(stacksize), SLJIT_IMM, 0); in compile_bracket_matchingpath()
10904 …k)->u.matching_put_label = sljit_emit_put_label(compiler, SLJIT_MEM1(STACK_TOP), STACK(stacksize)); in compile_bracket_matchingpath()
11015 int stacksize; in compile_bracketpos_matchingpath() local
11063 stacksize = 2; in compile_bracketpos_matchingpath()
11065 stacksize++; in compile_bracketpos_matchingpath()
11068 stacksize = 1; in compile_bracketpos_matchingpath()
11071 stacksize++; in compile_bracketpos_matchingpath()
11073 stacksize++; in compile_bracketpos_matchingpath()
11075 BACKTRACK_AS(bracketpos_backtrack)->stacksize = stacksize; in compile_bracketpos_matchingpath()
11076 allocate_stack(common, stacksize); in compile_bracketpos_matchingpath()
11118 stacksize = framesize + 1; in compile_bracketpos_matchingpath()
11120 stacksize++; in compile_bracketpos_matchingpath()
11122 stacksize++; in compile_bracketpos_matchingpath()
11124 stacksize++; in compile_bracketpos_matchingpath()
11125 BACKTRACK_AS(bracketpos_backtrack)->stacksize = stacksize; in compile_bracketpos_matchingpath()
11127 allocate_stack(common, stacksize); in compile_bracketpos_matchingpath()
11131 …OP2(SLJIT_ADD, SLJIT_MEM1(SLJIT_SP), private_data_ptr, STACK_TOP, 0, SLJIT_IMM, stacksize * sizeof… in compile_bracketpos_matchingpath()
11150 init_frame(common, cc, NULL, stacksize - 1, stacksize - framesize); in compile_bracketpos_matchingpath()
11197 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(stacksize - 1), SLJIT_IMM, 0); in compile_bracketpos_matchingpath()
11203 …OP2(SLJIT_SUB, STACK_TOP, 0, SLJIT_MEM1(SLJIT_SP), private_data_ptr, SLJIT_IMM, stacksize * sizeof… in compile_bracketpos_matchingpath()
11214 OP2(SLJIT_SUB, STACK_TOP, 0, TMP2, 0, SLJIT_IMM, stacksize * sizeof(sljit_sw)); in compile_bracketpos_matchingpath()
11230 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(stacksize - 1), SLJIT_IMM, 0); in compile_bracketpos_matchingpath()
11278 …track->topbacktracks, CMP(SLJIT_NOT_EQUAL, SLJIT_MEM1(STACK_TOP), STACK(stacksize - 1), SLJIT_IMM,… in compile_bracketpos_matchingpath()
11280 …backtrack->topbacktracks, CMP(SLJIT_NOT_EQUAL, SLJIT_MEM1(TMP2), STACK(-stacksize), SLJIT_IMM, 0)); in compile_bracketpos_matchingpath()
12662 int opcode, stacksize, alt_count, alt_max; in compile_bracket_backtrackingpath() local
12922 stacksize = 0; in compile_bracket_backtrackingpath()
12927 stacksize++; in compile_bracket_backtrackingpath()
12930 stacksize++; in compile_bracket_backtrackingpath()
12934 stacksize++; in compile_bracket_backtrackingpath()
12936 stacksize += 2; in compile_bracket_backtrackingpath()
12939 stacksize++; in compile_bracket_backtrackingpath()
12941 if (stacksize > 0) in compile_bracket_backtrackingpath()
12942 allocate_stack(common, stacksize); in compile_bracket_backtrackingpath()
12944 stacksize = 0; in compile_bracket_backtrackingpath()
12948 OP2(SLJIT_SUB, SLJIT_MEM1(STACK_TOP), STACK(stacksize), TMP2, 0, SLJIT_IMM, 1); in compile_bracket_backtrackingpath()
12949 stacksize++; in compile_bracket_backtrackingpath()
12955 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(stacksize), STR_PTR, 0); in compile_bracket_backtrackingpath()
12957 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(stacksize), SLJIT_IMM, 0); in compile_bracket_backtrackingpath()
12958 stacksize++; in compile_bracket_backtrackingpath()
12962 stacksize = match_capture_common(common, stacksize, offset, private_data_ptr); in compile_bracket_backtrackingpath()
12967 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(stacksize), SLJIT_IMM, alt_count); in compile_bracket_backtrackingpath()
12969 put_label = sljit_emit_put_label(compiler, SLJIT_MEM1(STACK_TOP), STACK(stacksize)); in compile_bracket_backtrackingpath()
13053 stacksize = needs_control_head ? 1 : 0; in compile_bracket_backtrackingpath()
13058stacksize += CURRENT_AS(bracket_backtrack)->u.framesize + ((ket != OP_KET || *cc == OP_ALT) ? 2 : … in compile_bracket_backtrackingpath()
13063 stacksize++; in compile_bracket_backtrackingpath()
13066 if (stacksize > 0) in compile_bracket_backtrackingpath()
13067 free_stack(common, stacksize); in compile_bracket_backtrackingpath()
13147 free_stack(common, CURRENT_AS(bracketpos_backtrack)->stacksize); in compile_bracketpos_backtrackingpath()
13160 free_stack(common, CURRENT_AS(bracketpos_backtrack)->stacksize); in compile_bracketpos_backtrackingpath()