Lines Matching refs:scode

2430     const pcre_uchar *scode = cd->start_code + GET(code, 1);  in could_be_empty_branch()  local
2431 const pcre_uchar *endgroup = scode; in could_be_empty_branch()
2443 if (GET(scode, 1) == 0) return TRUE; /* Unclosed */ in could_be_empty_branch()
2452 if (code >= scode && code <= endgroup) continue; /* Simple recursion */ in could_be_empty_branch()
2457 if (r->group == scode) break; in could_be_empty_branch()
2466 this_recurse.group = scode; in could_be_empty_branch()
2470 if (could_be_empty_branch(scode, endcode, utf, cd, &this_recurse)) in could_be_empty_branch()
2475 scode += GET(scode, 1); in could_be_empty_branch()
2477 while (*scode == OP_ALT); in could_be_empty_branch()
6368 pcre_uchar *scode = bracode; in compile_branch() local
6371 if (could_be_empty_branch(scode, ketcode, utf, cd, NULL)) in compile_branch()
6376 scode += GET(scode, 1); in compile_branch()
6378 while (*scode == OP_ALT); in compile_branch()
8663 const pcre_uchar *scode = first_significant_code( in is_anchored() local
8665 register int op = *scode; in is_anchored()
8672 if (!is_anchored(scode, bracket_map, cd, atomcount)) return FALSE; in is_anchored()
8680 int n = GET2(scode, 1+LINK_SIZE); in is_anchored()
8682 if (!is_anchored(scode, new_map, cd, atomcount)) return FALSE; in is_anchored()
8689 if (!is_anchored(scode, bracket_map, cd, atomcount)) return FALSE; in is_anchored()
8696 if (!is_anchored(scode, bracket_map, cd, atomcount + 1)) in is_anchored()
8707 if (scode[1] != OP_ALLANY || (bracket_map & cd->backref_map) != 0 || in is_anchored()
8754 const pcre_uchar *scode = first_significant_code( in is_startline() local
8756 register int op = *scode; in is_startline()
8765 scode += 1 + LINK_SIZE; in is_startline()
8766 if (*scode == OP_CALLOUT) scode += PRIV(OP_lengths)[OP_CALLOUT]; in is_startline()
8767 switch (*scode) in is_startline()
8778 if (!is_startline(scode, bracket_map, cd, atomcount, TRUE)) return FALSE; in is_startline()
8779 do scode += GET(scode, 1); while (*scode == OP_ALT); in is_startline()
8780 scode += 1 + LINK_SIZE; in is_startline()
8783 scode = first_significant_code(scode, FALSE); in is_startline()
8784 op = *scode; in is_startline()
8792 if (!is_startline(scode, bracket_map, cd, atomcount, inassert)) return FALSE; in is_startline()
8800 int n = GET2(scode, 1+LINK_SIZE); in is_startline()
8802 if (!is_startline(scode, new_map, cd, atomcount, inassert)) return FALSE; in is_startline()
8809 if (!is_startline(scode, bracket_map, cd, atomcount, TRUE)) return FALSE; in is_startline()
8816 if (!is_startline(scode, bracket_map, cd, atomcount + 1, inassert)) return FALSE; in is_startline()
8827 if (scode[1] != OP_ANY || (bracket_map & cd->backref_map) != 0 || in is_startline()
8883 const pcre_uchar *scode = first_significant_code(code + 1+LINK_SIZE + xl, in find_firstassertedchar() local
8885 register pcre_uchar op = *scode; in find_firstassertedchar()
8901 d = find_firstassertedchar(scode, &dflags, op == OP_ASSERT); in find_firstassertedchar()
8908 scode += IMM2_SIZE; in find_firstassertedchar()
8916 if (cflags < 0) { c = scode[1]; cflags = 0; } in find_firstassertedchar()
8917 else if (c != scode[1]) return 0; in find_firstassertedchar()
8921 scode += IMM2_SIZE; in find_firstassertedchar()
8929 if (cflags < 0) { c = scode[1]; cflags = REQ_CASELESS; } in find_firstassertedchar()
8930 else if (c != scode[1]) return 0; in find_firstassertedchar()