Lines Matching refs:scode
1431 PCRE2_SPTR scode, endgroup; in could_be_empty_branch() local
1435 scode = cb->start_code + GET(code, 1); in could_be_empty_branch()
1436 endgroup = scode; in could_be_empty_branch()
1444 if (code >= scode && code <= endgroup) continue; /* Simple recursion */ in could_be_empty_branch()
1449 if (r->group == scode) break; in could_be_empty_branch()
1458 this_recurse.group = scode; in could_be_empty_branch()
1462 int rc = could_be_empty_branch(scode, endcode, utf, cb, atend, in could_be_empty_branch()
1470 scode += GET(scode, 1); in could_be_empty_branch()
1472 while (*scode == OP_ALT); in could_be_empty_branch()
5676 PCRE2_UCHAR *scode = bracode; in compile_branch() local
5680 int rc = could_be_empty_branch(scode, ketcode, utf, cb, FALSE, in compile_branch()
5692 scode += GET(scode, 1); in compile_branch()
5694 while (*scode == OP_ALT); in compile_branch()
7945 PCRE2_SPTR scode = first_significant_code( in is_anchored() local
7947 register int op = *scode; in is_anchored()
7954 if (!is_anchored(scode, bracket_map, cb, atomcount)) return FALSE; in is_anchored()
7962 int n = GET2(scode, 1+LINK_SIZE); in is_anchored()
7964 if (!is_anchored(scode, new_map, cb, atomcount)) return FALSE; in is_anchored()
7971 if (!is_anchored(scode, bracket_map, cb, atomcount)) return FALSE; in is_anchored()
7978 if (!is_anchored(scode, bracket_map, cb, atomcount + 1)) in is_anchored()
7989 if (scode[1] != OP_ALLANY || (bracket_map & cb->backref_map) != 0 || in is_anchored()
8036 PCRE2_SPTR scode = first_significant_code( in is_startline() local
8038 register int op = *scode; in is_startline()
8047 scode += 1 + LINK_SIZE; in is_startline()
8049 if (*scode == OP_CALLOUT) scode += PRIV(OP_lengths)[OP_CALLOUT]; in is_startline()
8050 else if (*scode == OP_CALLOUT_STR) scode += GET(scode, 1 + 2*LINK_SIZE); in is_startline()
8052 switch (*scode) in is_startline()
8064 if (!is_startline(scode, bracket_map, cb, atomcount)) return FALSE; in is_startline()
8065 do scode += GET(scode, 1); while (*scode == OP_ALT); in is_startline()
8066 scode += 1 + LINK_SIZE; in is_startline()
8069 scode = first_significant_code(scode, FALSE); in is_startline()
8070 op = *scode; in is_startline()
8078 if (!is_startline(scode, bracket_map, cb, atomcount)) return FALSE; in is_startline()
8086 int n = GET2(scode, 1+LINK_SIZE); in is_startline()
8088 if (!is_startline(scode, new_map, cb, atomcount)) return FALSE; in is_startline()
8095 if (!is_startline(scode, bracket_map, cb, atomcount)) return FALSE; in is_startline()
8102 if (!is_startline(scode, bracket_map, cb, atomcount + 1)) return FALSE; in is_startline()
8113 if (scode[1] != OP_ANY || (bracket_map & cb->backref_map) != 0 || in is_startline()
8170 PCRE2_SPTR scode = first_significant_code(code + 1+LINK_SIZE + xl, TRUE); in find_firstassertedcu() local
8171 register PCRE2_UCHAR op = *scode; in find_firstassertedcu()
8187 d = find_firstassertedcu(scode, &dflags, op == OP_ASSERT); in find_firstassertedcu()
8195 scode += IMM2_SIZE; in find_firstassertedcu()
8203 if (cflags < 0) { c = scode[1]; cflags = 0; } in find_firstassertedcu()
8204 else if (c != scode[1]) return 0; in find_firstassertedcu()
8208 scode += IMM2_SIZE; in find_firstassertedcu()
8216 if (cflags < 0) { c = scode[1]; cflags = REQ_CASELESS; } in find_firstassertedcu()
8217 else if (c != scode[1]) return 0; in find_firstassertedcu()