Lines Matching refs:stacksize
272 int stacksize; member
6807 int stacksize; in match_once_common() local
6815 stacksize = needs_control_head ? 1 : 0; in match_once_common()
6817 stacksize++; in match_once_common()
6818 free_stack(common, stacksize); in match_once_common()
6835 stacksize = (ket != OP_KET || has_alternatives) ? 2 : 1; in match_once_common()
6836 …TOP, 0, SLJIT_MEM1(SLJIT_SP), private_data_ptr, SLJIT_IMM, (framesize + stacksize) * sizeof(sljit_… in match_once_common()
6850 static SLJIT_INLINE int match_capture_common(compiler_common *common, int stacksize, int offset, in… in match_capture_common() argument
6858 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(stacksize), TMP1, 0); in match_capture_common()
6859 stacksize++; in match_capture_common()
6865 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(stacksize), TMP1, 0); in match_capture_common()
6867 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(stacksize + 1), TMP2, 0); in match_capture_common()
6870 stacksize += 2; in match_capture_common()
6872 return stacksize; in match_capture_common()
6936 int i, stacksize; in compile_bracket_matchingpath() local
7027 stacksize = 0; in compile_bracket_matchingpath()
7029 stacksize++; in compile_bracket_matchingpath()
7031 stacksize++; in compile_bracket_matchingpath()
7033 if (stacksize > 0) in compile_bracket_matchingpath()
7034 allocate_stack(common, stacksize); in compile_bracket_matchingpath()
7036 stacksize = 0; in compile_bracket_matchingpath()
7039 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(stacksize), SLJIT_IMM, 0); in compile_bracket_matchingpath()
7040 stacksize++; in compile_bracket_matchingpath()
7044 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(stacksize), STR_PTR, 0); in compile_bracket_matchingpath()
7107 stacksize = 0; in compile_bracket_matchingpath()
7111 stacksize++; in compile_bracket_matchingpath()
7119 stacksize += 2; in compile_bracket_matchingpath()
7128 stacksize++; in compile_bracket_matchingpath()
7131 if (stacksize > 0) in compile_bracket_matchingpath()
7132 allocate_stack(common, stacksize); in compile_bracket_matchingpath()
7134 stacksize = 0; in compile_bracket_matchingpath()
7137 stacksize++; in compile_bracket_matchingpath()
7145 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(stacksize), STR_PTR, 0); in compile_bracket_matchingpath()
7148 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(stacksize + 1), TMP2, 0); in compile_bracket_matchingpath()
7151 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(stacksize), STR_PTR, 0); in compile_bracket_matchingpath()
7156 stacksize++; in compile_bracket_matchingpath()
7158 stacksize += BACKTRACK_AS(bracket_backtrack)->u.framesize + 1; in compile_bracket_matchingpath()
7159 allocate_stack(common, stacksize); in compile_bracket_matchingpath()
7165 OP2(SLJIT_SUB, TMP2, 0, STACK_TOP, 0, SLJIT_IMM, stacksize * sizeof(sljit_sw)); in compile_bracket_matchingpath()
7167 stacksize = needs_control_head ? 1 : 0; in compile_bracket_matchingpath()
7170 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(stacksize), STR_PTR, 0); in compile_bracket_matchingpath()
7172 stacksize++; in compile_bracket_matchingpath()
7173 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(stacksize), TMP1, 0); in compile_bracket_matchingpath()
7178 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(stacksize), TMP1, 0); in compile_bracket_matchingpath()
7180 …on, ccbegin, NULL, BACKTRACK_AS(bracket_backtrack)->u.framesize + stacksize, stacksize + 1, FALSE); in compile_bracket_matchingpath()
7258 stacksize = GET2(matchingpath, 1); in compile_bracket_matchingpath()
7260 stacksize = 0; in compile_bracket_matchingpath()
7261 else if (stacksize == RREF_ANY) in compile_bracket_matchingpath()
7262 stacksize = 1; in compile_bracket_matchingpath()
7264 stacksize = stacksize == 0; in compile_bracket_matchingpath()
7266 … stacksize = stacksize == (int)GET2(common->start, common->currententry->start + 1 + LINK_SIZE); in compile_bracket_matchingpath()
7268 if (stacksize != 0) in compile_bracket_matchingpath()
7274 stacksize = 0; in compile_bracket_matchingpath()
7277 stacksize = GET2(matchingpath, 1 + IMM2_SIZE); in compile_bracket_matchingpath()
7280 while (stacksize > 0) in compile_bracket_matchingpath()
7285 stacksize--; in compile_bracket_matchingpath()
7289 if (stacksize != 0) in compile_bracket_matchingpath()
7294 if (stacksize == 0) in compile_bracket_matchingpath()
7326 stacksize = 0; in compile_bracket_matchingpath()
7331 stacksize++; in compile_bracket_matchingpath()
7334 stacksize++; in compile_bracket_matchingpath()
7338 stacksize++; in compile_bracket_matchingpath()
7340 stacksize += 2; in compile_bracket_matchingpath()
7343 stacksize++; in compile_bracket_matchingpath()
7345 if (stacksize > 0) in compile_bracket_matchingpath()
7346 allocate_stack(common, stacksize); in compile_bracket_matchingpath()
7348 stacksize = 0; in compile_bracket_matchingpath()
7352 OP2(SLJIT_SUB, SLJIT_MEM1(STACK_TOP), STACK(stacksize), TMP2, 0, SLJIT_IMM, 1); in compile_bracket_matchingpath()
7353 stacksize++; in compile_bracket_matchingpath()
7359 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(stacksize), STR_PTR, 0); in compile_bracket_matchingpath()
7361 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(stacksize), SLJIT_IMM, 0); in compile_bracket_matchingpath()
7362 stacksize++; in compile_bracket_matchingpath()
7366 stacksize = match_capture_common(common, stacksize, offset, private_data_ptr); in compile_bracket_matchingpath()
7371 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(stacksize), SLJIT_IMM, 0); in compile_bracket_matchingpath()
7477 int stacksize; in compile_bracketpos_matchingpath() local
7525 stacksize = 2; in compile_bracketpos_matchingpath()
7527 stacksize++; in compile_bracketpos_matchingpath()
7530 stacksize = 1; in compile_bracketpos_matchingpath()
7533 stacksize++; in compile_bracketpos_matchingpath()
7535 stacksize++; in compile_bracketpos_matchingpath()
7537 BACKTRACK_AS(bracketpos_backtrack)->stacksize = stacksize; in compile_bracketpos_matchingpath()
7538 allocate_stack(common, stacksize); in compile_bracketpos_matchingpath()
7580 stacksize = framesize + 1; in compile_bracketpos_matchingpath()
7582 stacksize++; in compile_bracketpos_matchingpath()
7584 stacksize++; in compile_bracketpos_matchingpath()
7586 stacksize++; in compile_bracketpos_matchingpath()
7587 BACKTRACK_AS(bracketpos_backtrack)->stacksize = stacksize; in compile_bracketpos_matchingpath()
7589 allocate_stack(common, stacksize); in compile_bracketpos_matchingpath()
7593 …OP2(SLJIT_SUB, SLJIT_MEM1(SLJIT_SP), private_data_ptr, STACK_TOP, 0, SLJIT_IMM, -STACK(stacksize -… in compile_bracketpos_matchingpath()
7612 init_frame(common, cc, NULL, stacksize - 1, stacksize - framesize, FALSE); in compile_bracketpos_matchingpath()
7655 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(stacksize - 1), SLJIT_IMM, 0); in compile_bracketpos_matchingpath()
7661 …OP2(SLJIT_ADD, STACK_TOP, 0, SLJIT_MEM1(SLJIT_SP), private_data_ptr, SLJIT_IMM, stacksize * sizeof… in compile_bracketpos_matchingpath()
7672 OP2(SLJIT_ADD, STACK_TOP, 0, TMP2, 0, SLJIT_IMM, stacksize * sizeof(sljit_sw)); in compile_bracketpos_matchingpath()
7684 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(stacksize - 1), SLJIT_IMM, 0); in compile_bracketpos_matchingpath()
7735 …ack->topbacktracks, CMP(SLJIT_C_NOT_EQUAL, SLJIT_MEM1(STACK_TOP), STACK(stacksize - 1), SLJIT_IMM,… in compile_bracketpos_matchingpath()
7737 …r, &backtrack->topbacktracks, CMP(SLJIT_C_NOT_EQUAL, SLJIT_MEM1(TMP2), (stacksize - 1) * sizeof(sl… in compile_bracketpos_matchingpath()
8805 int opcode, stacksize, alt_count, alt_max; in compile_bracket_backtrackingpath() local
9063 stacksize = 0; in compile_bracket_backtrackingpath()
9068 stacksize++; in compile_bracket_backtrackingpath()
9071 stacksize++; in compile_bracket_backtrackingpath()
9075 stacksize++; in compile_bracket_backtrackingpath()
9077 stacksize += 2; in compile_bracket_backtrackingpath()
9080 stacksize++; in compile_bracket_backtrackingpath()
9082 if (stacksize > 0) in compile_bracket_backtrackingpath()
9083 allocate_stack(common, stacksize); in compile_bracket_backtrackingpath()
9085 stacksize = 0; in compile_bracket_backtrackingpath()
9089 OP2(SLJIT_SUB, SLJIT_MEM1(STACK_TOP), STACK(stacksize), TMP2, 0, SLJIT_IMM, 1); in compile_bracket_backtrackingpath()
9090 stacksize++; in compile_bracket_backtrackingpath()
9096 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(stacksize), STR_PTR, 0); in compile_bracket_backtrackingpath()
9098 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(stacksize), SLJIT_IMM, 0); in compile_bracket_backtrackingpath()
9099 stacksize++; in compile_bracket_backtrackingpath()
9103 stacksize = match_capture_common(common, stacksize, offset, private_data_ptr); in compile_bracket_backtrackingpath()
9106 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), STACK(stacksize), SLJIT_IMM, alt_count); in compile_bracket_backtrackingpath()
9190 stacksize = needs_control_head ? 1 : 0; in compile_bracket_backtrackingpath()
9195 …stacksize += CURRENT_AS(bracket_backtrack)->u.framesize + ((ket != OP_KET || *cc == OP_ALT) ? 2 : … in compile_bracket_backtrackingpath()
9200 stacksize++; in compile_bracket_backtrackingpath()
9202 free_stack(common, stacksize); in compile_bracket_backtrackingpath()
9282 free_stack(common, CURRENT_AS(bracketpos_backtrack)->stacksize); in compile_bracketpos_backtrackingpath()
9294 free_stack(common, CURRENT_AS(bracketpos_backtrack)->stacksize); in compile_bracketpos_backtrackingpath()