Home | History | Annotate | Download | only in dist

Lines Matching full:ccend

779 static BOOL check_opcode_types(compiler_common *common, pcre_uchar *cc, pcre_uchar *ccend)
785 while (cc < ccend)
1060 static void set_private_data_ptrs(compiler_common *common, int *private_data_start, pcre_uchar *ccend)
1069 while (cc < ccend)
1242 static int get_framesize(compiler_common *common, pcre_uchar *cc, pcre_uchar *ccend, BOOL recursive, BOOL *needs_control_head)
1259 if (ccend == NULL)
1261 ccend = bracketend(cc) - (1 + LINK_SIZE);
1272 while (cc < ccend)
1424 static void init_frame(compiler_common *common, pcre_uchar *cc, pcre_uchar *ccend, int stackpos, int stacktop, BOOL recursive)
1438 if (ccend == NULL)
1440 ccend = bracketend(cc) - (1 + LINK_SIZE);
1446 while (cc < ccend)
1546 static SLJIT_INLINE int get_private_data_copy_length(compiler_common *common, pcre_uchar *cc, pcre_uchar *ccend, BOOL needs_control_head)
1552 while (cc < ccend)
1667 SLJIT_ASSERT(cc == ccend);
1671 static void copy_private_data(compiler_common *common, pcre_uchar *cc, pcre_uchar *ccend,
1728 if (cc >= ccend)
1990 SLJIT_ASSERT(cc == ccend && stackptr == stacktop && (save || (tmp1empty && tmp2empty)));
5859 static SLJIT_INLINE pcre_uchar *compile_charn_matchingpath(compiler_common *common, pcre_uchar *cc, pcre_uchar *ccend, jump_list **backtracks)
5871 if (cc >= ccend)
8217 pcre_uchar *ccend = cc + 1;
8220 ccend += 2 + cc[1];
8228 return ccend;
8239 return ccend;
8244 static SLJIT_INLINE void compile_then_trap_matchingpath(compiler_common *common, pcre_uchar *cc, pcre_uchar *ccend, backtrack_common *parent)
8255 BACKTRACK_AS(then_trap_backtrack)->framesize = get_framesize(common, cc, ccend, FALSE, &needs_control_head);
8272 init_frame(common, cc, ccend, size - 1, 0, FALSE);
8275 static void compile_matchingpath(compiler_common *common, pcre_uchar *cc, pcre_uchar *ccend, backtrack_common *parent)
8282 SLJIT_ASSERT(*ccend == OP_END || (*ccend >= OP_ALT && *ccend <= OP_KETRPOS));
8286 SLJIT_ASSERT(*ccend != OP_END && common->control_head_ptr != 0);
8290 compile_then_trap_matchingpath(common, cc, ccend, parent);
8293 while (cc < ccend)
8342 cc = compile_charn_matchingpath(common, cc, ccend, parent->top != NULL ? &parent->top->nextbacktracks : &parent->topbacktracks);
8580 SLJIT_ASSERT(cc == ccend);
9668 pcre_uchar *ccend = bracketend(cc) - (1 + LINK_SIZE);
9671 int private_data_size = get_private_data_copy_length(common, ccbegin, ccend, needs_control_head);
9694 copy_private_data(common, ccbegin, ccend, TRUE, private_data_size + framesize + alternativesize, framesize + alternativesize, needs_control_head);
9769 copy_private_data(common, ccbegin, ccend, FALSE, private_data_size + framesize + alternativesize, framesize + alternativesize, needs_control_head);
9801 pcre_uchar *ccend;
9906 ccend = bracketend(common->start);
9919 SLJIT_ASSERT(*common->start == OP_BRA && ccend[-(1 + LINK_SIZE)] == OP_KET);
9924 if (!check_opcode_types(common, common->start, ccend))
9987 total_length = ccend - common->start;
9997 set_private_data_ptrs(common, &private_data_size, ccend);
10103 compile_matchingpath(common, common->start, ccend, &rootbacktrack);