Lines Matching refs:opcode

6467 pcre_uchar opcode;  in compile_assert_matchingpath()  local
6498 opcode = *cc; in compile_assert_matchingpath()
6499 SLJIT_ASSERT(opcode >= OP_ASSERT && opcode <= OP_ASSERTBACK_NOT); in compile_assert_matchingpath()
6500 found = (opcode == OP_ASSERT || opcode == OP_ASSERTBACK) ? &tmp : target; in compile_assert_matchingpath()
6549 if (opcode == OP_ASSERT_NOT || opcode == OP_ASSERTBACK_NOT) in compile_assert_matchingpath()
6575 if (opcode == OP_ASSERT_NOT || opcode == OP_ASSERTBACK_NOT) in compile_assert_matchingpath()
6604 if ((opcode != OP_ASSERT_NOT && opcode != OP_ASSERTBACK_NOT) || conditional) in compile_assert_matchingpath()
6620 if (opcode == OP_ASSERT_NOT || opcode == OP_ASSERTBACK_NOT) in compile_assert_matchingpath()
6649 if (opcode == OP_ASSERT_NOT || opcode == OP_ASSERTBACK_NOT) in compile_assert_matchingpath()
6671 if (opcode == OP_ASSERT_NOT || opcode == OP_ASSERTBACK_NOT) in compile_assert_matchingpath()
6698 if (opcode == OP_ASSERT || opcode == OP_ASSERTBACK) in compile_assert_matchingpath()
6842 if (opcode == OP_ASSERT_NOT || opcode == OP_ASSERTBACK_NOT) in compile_assert_matchingpath()
6985 pcre_uchar opcode; in compile_bracket_matchingpath() local
7010 opcode = *cc; in compile_bracket_matchingpath()
7013 opcode = *cc; in compile_bracket_matchingpath()
7030 if ((opcode == OP_COND || opcode == OP_SCOND) && cc[1 + LINK_SIZE] == OP_DEF) in compile_bracket_matchingpath()
7043 if (SLJIT_UNLIKELY(opcode == OP_COND || opcode == OP_SCOND)) in compile_bracket_matchingpath()
7046 if (SLJIT_UNLIKELY(opcode == OP_COND) && (*cc == OP_KETRMAX || *cc == OP_KETRMIN)) in compile_bracket_matchingpath()
7047 opcode = OP_SCOND; in compile_bracket_matchingpath()
7048 if (SLJIT_UNLIKELY(opcode == OP_ONCE_NC)) in compile_bracket_matchingpath()
7049 opcode = OP_ONCE; in compile_bracket_matchingpath()
7051 if (opcode == OP_CBRA || opcode == OP_SCBRA) in compile_bracket_matchingpath()
7068 else if (opcode == OP_ONCE || opcode == OP_SBRA || opcode == OP_SCOND) in compile_bracket_matchingpath()
7074 if (opcode == OP_ONCE) in compile_bracket_matchingpath()
7109 if (opcode == OP_ONCE || opcode >= OP_SBRA) in compile_bracket_matchingpath()
7117 if (opcode != OP_ONCE || BACKTRACK_AS(bracket_backtrack)->u.framesize < 0) in compile_bracket_matchingpath()
7152 if (has_alternatives && opcode != OP_ONCE && opcode < OP_SBRA && repeat_type == 0) in compile_bracket_matchingpath()
7157 if (opcode == OP_ONCE) in compile_bracket_matchingpath()
7235 else if (opcode == OP_CBRA || opcode == OP_SCBRA) in compile_bracket_matchingpath()
7256 else if (opcode == OP_SBRA || opcode == OP_SCOND) in compile_bracket_matchingpath()
7272 if (opcode == OP_COND || opcode == OP_SCOND) in compile_bracket_matchingpath()
7377 if (opcode == OP_ONCE) in compile_bracket_matchingpath()
7396 if (has_alternatives && opcode != OP_ONCE) in compile_bracket_matchingpath()
7424 if (opcode != OP_ONCE) in compile_bracket_matchingpath()
7446 if (opcode != OP_ONCE) in compile_bracket_matchingpath()
7449 else if (opcode == OP_ONCE || opcode >= OP_SBRA) in compile_bracket_matchingpath()
7454 if (opcode != OP_ONCE) in compile_bracket_matchingpath()
7497 if (opcode == OP_ONCE && BACKTRACK_AS(bracket_backtrack)->u.framesize >= 0) in compile_bracket_matchingpath()
7502 else if (ket == OP_KETRMIN && opcode != OP_ONCE) in compile_bracket_matchingpath()
7517 if (opcode == OP_ONCE) in compile_bracket_matchingpath()
7526 pcre_uchar opcode; in compile_bracketpos_matchingpath() local
7546 opcode = *cc; in compile_bracketpos_matchingpath()
7550 switch(opcode) in compile_bracketpos_matchingpath()
7700 if (opcode == OP_SBRAPOS) in compile_bracketpos_matchingpath()
7709 if (opcode == OP_SBRAPOS || opcode == OP_SCBRAPOS) in compile_bracketpos_matchingpath()
7731 if (opcode == OP_SBRAPOS) in compile_bracketpos_matchingpath()
7740 if (opcode == OP_SBRAPOS || opcode == OP_SCBRAPOS) in compile_bracketpos_matchingpath()
7805 …iterator_parameters(compiler_common *common, pcre_uchar *cc, pcre_uchar *opcode, pcre_uchar *type,… in get_iterator_parameters() argument
7809 *opcode = *cc; in get_iterator_parameters()
7810 if (*opcode >= OP_STAR && *opcode <= OP_POSUPTO) in get_iterator_parameters()
7815 else if (*opcode >= OP_STARI && *opcode <= OP_POSUPTOI) in get_iterator_parameters()
7819 *opcode -= OP_STARI - OP_STAR; in get_iterator_parameters()
7821 else if (*opcode >= OP_NOTSTAR && *opcode <= OP_NOTPOSUPTO) in get_iterator_parameters()
7825 *opcode -= OP_NOTSTAR - OP_STAR; in get_iterator_parameters()
7827 else if (*opcode >= OP_NOTSTARI && *opcode <= OP_NOTPOSUPTOI) in get_iterator_parameters()
7831 *opcode -= OP_NOTSTARI - OP_STAR; in get_iterator_parameters()
7833 else if (*opcode >= OP_TYPESTAR && *opcode <= OP_TYPEPOSUPTO) in get_iterator_parameters()
7836 *opcode -= OP_TYPESTAR - OP_STAR; in get_iterator_parameters()
7841 SLJIT_ASSERT(*opcode == OP_CLASS || *opcode == OP_NCLASS || *opcode == OP_XCLASS); in get_iterator_parameters()
7842 *type = *opcode; in get_iterator_parameters()
7845 *opcode = cc[class_len - 1]; in get_iterator_parameters()
7846 if (*opcode >= OP_CRSTAR && *opcode <= OP_CRMINQUERY) in get_iterator_parameters()
7848 *opcode -= OP_CRSTAR - OP_STAR; in get_iterator_parameters()
7852 else if (*opcode >= OP_CRPOSSTAR && *opcode <= OP_CRPOSQUERY) in get_iterator_parameters()
7854 *opcode -= OP_CRPOSSTAR - OP_POSSTAR; in get_iterator_parameters()
7860 SLJIT_ASSERT(*opcode == OP_CRRANGE || *opcode == OP_CRMINRANGE || *opcode == OP_CRPOSRANGE); in get_iterator_parameters()
7867 …*opcode = (*opcode == OP_CRRANGE) ? OP_UPTO : (*opcode == OP_CRMINRANGE ? OP_MINUPTO : OP_POSUPTO); in get_iterator_parameters()
7870 *opcode = OP_EXACT; in get_iterator_parameters()
7878 if (*opcode == OP_UPTO || *opcode == OP_MINUPTO || *opcode == OP_EXACT || *opcode == OP_POSUPTO) in get_iterator_parameters()
7907 pcre_uchar opcode; in compile_iterator_matchingpath() local
7922 cc = get_iterator_parameters(common, cc, &opcode, &type, &max, &min, &end); in compile_iterator_matchingpath()
7963 switch(opcode) in compile_iterator_matchingpath()
7972 if (opcode == OP_STAR || opcode == OP_UPTO) in compile_iterator_matchingpath()
7984 if (opcode == OP_UPTO || opcode == OP_CRRANGE) in compile_iterator_matchingpath()
7989 if (opcode == OP_UPTO || opcode == OP_CRRANGE) in compile_iterator_matchingpath()
7993 if (opcode == OP_CRRANGE && min > 0) in compile_iterator_matchingpath()
7995 if (opcode == OP_UPTO || (opcode == OP_CRRANGE && max > 0)) in compile_iterator_matchingpath()
8009 if (opcode == OP_PLUS) in compile_iterator_matchingpath()
8014 if (opcode <= OP_PLUS) in compile_iterator_matchingpath()
8021 if (opcode <= OP_PLUS) in compile_iterator_matchingpath()
8023 else if (opcode == OP_CRRANGE && max == 0) in compile_iterator_matchingpath()
8036 if (opcode == OP_CRRANGE) in compile_iterator_matchingpath()
8045 if (opcode == OP_MINPLUS) in compile_iterator_matchingpath()
8059 if (opcode == OP_CRMINRANGE) in compile_iterator_matchingpath()
8069 if (opcode == OP_QUERY) in compile_iterator_matchingpath()
8085 if (opcode == OP_POSPLUS) in compile_iterator_matchingpath()
8087 if (opcode == OP_POSUPTO) in compile_iterator_matchingpath()
8093 if (opcode != OP_POSUPTO) in compile_iterator_matchingpath()
8216 pcre_uchar opcode = *cc; in compile_control_verb_matchingpath() local
8219 if (opcode == OP_PRUNE_ARG || opcode == OP_SKIP_ARG || opcode == OP_THEN_ARG) in compile_control_verb_matchingpath()
8224 if (opcode == OP_SKIP) in compile_control_verb_matchingpath()
8231 if (opcode == OP_PRUNE_ARG || opcode == OP_THEN_ARG) in compile_control_verb_matchingpath()
8602 pcre_uchar opcode; in compile_iterator_backtrackingpath() local
8613 cc = get_iterator_parameters(common, cc, &opcode, &type, &max, &min, NULL); in compile_iterator_backtrackingpath()
8615 switch(opcode) in compile_iterator_backtrackingpath()
8631 if (opcode == OP_UPTO) in compile_iterator_backtrackingpath()
8633 if (opcode <= OP_PLUS) in compile_iterator_backtrackingpath()
8648 if (opcode == OP_CRRANGE) in compile_iterator_backtrackingpath()
8653 if (opcode == OP_PLUS) in compile_iterator_backtrackingpath()
8667 if (opcode == OP_MINPLUS) in compile_iterator_backtrackingpath()
8673 if (opcode == OP_CRMINRANGE) in compile_iterator_backtrackingpath()
8686 if (opcode == OP_CRMINRANGE) in compile_iterator_backtrackingpath()
8689 if (opcode == OP_CRMINRANGE && max == 0) in compile_iterator_backtrackingpath()
8863 int opcode, stacksize, alt_count, alt_max; in compile_bracket_backtrackingpath() local
8890 opcode = *cc; in compile_bracket_backtrackingpath()
8907 if (SLJIT_UNLIKELY(opcode == OP_COND) || SLJIT_UNLIKELY(opcode == OP_SCOND)) in compile_bracket_backtrackingpath()
8909 if (opcode == OP_CBRA || opcode == OP_SCBRA) in compile_bracket_backtrackingpath()
8911 if (SLJIT_UNLIKELY(opcode == OP_COND) && (*cc == OP_KETRMAX || *cc == OP_KETRMIN)) in compile_bracket_backtrackingpath()
8912 opcode = OP_SCOND; in compile_bracket_backtrackingpath()
8913 if (SLJIT_UNLIKELY(opcode == OP_ONCE_NC)) in compile_bracket_backtrackingpath()
8914 opcode = OP_ONCE; in compile_bracket_backtrackingpath()
8919 if (opcode == OP_ONCE) in compile_bracket_backtrackingpath()
8955 if (opcode != OP_ONCE) in compile_bracket_backtrackingpath()
8958 else if (opcode >= OP_SBRA || opcode == OP_ONCE) in compile_bracket_backtrackingpath()
8961 if (opcode != OP_ONCE || CURRENT_AS(bracket_backtrack)->u.framesize < 0) in compile_bracket_backtrackingpath()
8969 if (opcode != OP_ONCE) in compile_bracket_backtrackingpath()
9014 if (SLJIT_UNLIKELY(opcode == OP_ONCE)) in compile_bracket_backtrackingpath()
9023 else if (SLJIT_UNLIKELY(opcode == OP_COND) || SLJIT_UNLIKELY(opcode == OP_SCOND)) in compile_bracket_backtrackingpath()
9061 if (SLJIT_UNLIKELY(opcode == OP_COND) || SLJIT_UNLIKELY(opcode == OP_SCOND)) in compile_bracket_backtrackingpath()
9100 if (opcode != OP_COND && opcode != OP_SCOND) in compile_bracket_backtrackingpath()
9102 if (opcode != OP_ONCE) in compile_bracket_backtrackingpath()
9119 if (opcode == OP_ONCE) in compile_bracket_backtrackingpath()
9138 if (opcode != OP_ONCE) in compile_bracket_backtrackingpath()
9164 if (opcode != OP_ONCE) in compile_bracket_backtrackingpath()
9176 if (opcode != OP_ONCE) in compile_bracket_backtrackingpath()
9207 SLJIT_ASSERT(opcode == OP_COND || opcode == OP_SCOND); in compile_bracket_backtrackingpath()
9241 else if (opcode == OP_SBRA || opcode == OP_SCOND) in compile_bracket_backtrackingpath()
9246 else if (opcode == OP_ONCE) in compile_bracket_backtrackingpath()
9304 if (opcode != OP_ONCE) in compile_bracket_backtrackingpath()
9307 if (opcode == OP_ONCE) in compile_bracket_backtrackingpath()
9386 pcre_uchar opcode = *current->cc; in compile_control_verb_backtrackingpath() local
9390 if (opcode == OP_THEN || opcode == OP_THEN_ARG) in compile_control_verb_backtrackingpath()
9425 if (opcode == OP_SKIP_ARG) in compile_control_verb_backtrackingpath()
9439 if (opcode == OP_SKIP) in compile_control_verb_backtrackingpath()