Lines Matching refs:opcode

6430 pcre_uchar opcode;  in compile_assert_matchingpath()  local
6461 opcode = *cc; in compile_assert_matchingpath()
6462 SLJIT_ASSERT(opcode >= OP_ASSERT && opcode <= OP_ASSERTBACK_NOT); in compile_assert_matchingpath()
6463 found = (opcode == OP_ASSERT || opcode == OP_ASSERTBACK) ? &tmp : target; in compile_assert_matchingpath()
6512 if (opcode == OP_ASSERT_NOT || opcode == OP_ASSERTBACK_NOT) in compile_assert_matchingpath()
6538 if (opcode == OP_ASSERT_NOT || opcode == OP_ASSERTBACK_NOT) in compile_assert_matchingpath()
6567 if ((opcode != OP_ASSERT_NOT && opcode != OP_ASSERTBACK_NOT) || conditional) in compile_assert_matchingpath()
6583 if (opcode == OP_ASSERT_NOT || opcode == OP_ASSERTBACK_NOT) in compile_assert_matchingpath()
6612 if (opcode == OP_ASSERT_NOT || opcode == OP_ASSERTBACK_NOT) in compile_assert_matchingpath()
6634 if (opcode == OP_ASSERT_NOT || opcode == OP_ASSERTBACK_NOT) in compile_assert_matchingpath()
6661 if (opcode == OP_ASSERT || opcode == OP_ASSERTBACK) in compile_assert_matchingpath()
6805 if (opcode == OP_ASSERT_NOT || opcode == OP_ASSERTBACK_NOT) in compile_assert_matchingpath()
6948 pcre_uchar opcode; in compile_bracket_matchingpath() local
6973 opcode = *cc; in compile_bracket_matchingpath()
6976 opcode = *cc; in compile_bracket_matchingpath()
6993 if ((opcode == OP_COND || opcode == OP_SCOND) && cc[1 + LINK_SIZE] == OP_DEF) in compile_bracket_matchingpath()
7006 if (SLJIT_UNLIKELY(opcode == OP_COND || opcode == OP_SCOND)) in compile_bracket_matchingpath()
7009 if (SLJIT_UNLIKELY(opcode == OP_COND) && (*cc == OP_KETRMAX || *cc == OP_KETRMIN)) in compile_bracket_matchingpath()
7010 opcode = OP_SCOND; in compile_bracket_matchingpath()
7011 if (SLJIT_UNLIKELY(opcode == OP_ONCE_NC)) in compile_bracket_matchingpath()
7012 opcode = OP_ONCE; in compile_bracket_matchingpath()
7014 if (opcode == OP_CBRA || opcode == OP_SCBRA) in compile_bracket_matchingpath()
7031 else if (opcode == OP_ONCE || opcode == OP_SBRA || opcode == OP_SCOND) in compile_bracket_matchingpath()
7037 if (opcode == OP_ONCE) in compile_bracket_matchingpath()
7072 if (opcode == OP_ONCE || opcode >= OP_SBRA) in compile_bracket_matchingpath()
7080 if (opcode != OP_ONCE || BACKTRACK_AS(bracket_backtrack)->u.framesize < 0) in compile_bracket_matchingpath()
7115 if (has_alternatives && opcode != OP_ONCE && opcode < OP_SBRA && repeat_type == 0) in compile_bracket_matchingpath()
7120 if (opcode == OP_ONCE) in compile_bracket_matchingpath()
7198 else if (opcode == OP_CBRA || opcode == OP_SCBRA) in compile_bracket_matchingpath()
7219 else if (opcode == OP_SBRA || opcode == OP_SCOND) in compile_bracket_matchingpath()
7235 if (opcode == OP_COND || opcode == OP_SCOND) in compile_bracket_matchingpath()
7340 if (opcode == OP_ONCE) in compile_bracket_matchingpath()
7359 if (has_alternatives && opcode != OP_ONCE) in compile_bracket_matchingpath()
7387 if (opcode != OP_ONCE) in compile_bracket_matchingpath()
7409 if (opcode != OP_ONCE) in compile_bracket_matchingpath()
7412 else if (opcode == OP_ONCE || opcode >= OP_SBRA) in compile_bracket_matchingpath()
7417 if (opcode != OP_ONCE) in compile_bracket_matchingpath()
7460 if (opcode == OP_ONCE && BACKTRACK_AS(bracket_backtrack)->u.framesize >= 0) in compile_bracket_matchingpath()
7465 else if (ket == OP_KETRMIN && opcode != OP_ONCE) in compile_bracket_matchingpath()
7480 if (opcode == OP_ONCE) in compile_bracket_matchingpath()
7489 pcre_uchar opcode; in compile_bracketpos_matchingpath() local
7509 opcode = *cc; in compile_bracketpos_matchingpath()
7513 switch(opcode) in compile_bracketpos_matchingpath()
7663 if (opcode == OP_SBRAPOS) in compile_bracketpos_matchingpath()
7668 if (opcode == OP_SBRAPOS || opcode == OP_SCBRAPOS) in compile_bracketpos_matchingpath()
7690 if (opcode == OP_SBRAPOS) in compile_bracketpos_matchingpath()
7695 if (opcode == OP_SBRAPOS || opcode == OP_SCBRAPOS) in compile_bracketpos_matchingpath()
7763 …iterator_parameters(compiler_common *common, pcre_uchar *cc, pcre_uchar *opcode, pcre_uchar *type,… in get_iterator_parameters() argument
7767 *opcode = *cc; in get_iterator_parameters()
7768 if (*opcode >= OP_STAR && *opcode <= OP_POSUPTO) in get_iterator_parameters()
7773 else if (*opcode >= OP_STARI && *opcode <= OP_POSUPTOI) in get_iterator_parameters()
7777 *opcode -= OP_STARI - OP_STAR; in get_iterator_parameters()
7779 else if (*opcode >= OP_NOTSTAR && *opcode <= OP_NOTPOSUPTO) in get_iterator_parameters()
7783 *opcode -= OP_NOTSTAR - OP_STAR; in get_iterator_parameters()
7785 else if (*opcode >= OP_NOTSTARI && *opcode <= OP_NOTPOSUPTOI) in get_iterator_parameters()
7789 *opcode -= OP_NOTSTARI - OP_STAR; in get_iterator_parameters()
7791 else if (*opcode >= OP_TYPESTAR && *opcode <= OP_TYPEPOSUPTO) in get_iterator_parameters()
7794 *opcode -= OP_TYPESTAR - OP_STAR; in get_iterator_parameters()
7799 SLJIT_ASSERT(*opcode == OP_CLASS || *opcode == OP_NCLASS || *opcode == OP_XCLASS); in get_iterator_parameters()
7800 *type = *opcode; in get_iterator_parameters()
7803 *opcode = cc[class_len - 1]; in get_iterator_parameters()
7804 if (*opcode >= OP_CRSTAR && *opcode <= OP_CRMINQUERY) in get_iterator_parameters()
7806 *opcode -= OP_CRSTAR - OP_STAR; in get_iterator_parameters()
7810 else if (*opcode >= OP_CRPOSSTAR && *opcode <= OP_CRPOSQUERY) in get_iterator_parameters()
7812 *opcode -= OP_CRPOSSTAR - OP_POSSTAR; in get_iterator_parameters()
7818 SLJIT_ASSERT(*opcode == OP_CRRANGE || *opcode == OP_CRMINRANGE || *opcode == OP_CRPOSRANGE); in get_iterator_parameters()
7825 …*opcode = (*opcode == OP_CRRANGE) ? OP_UPTO : (*opcode == OP_CRMINRANGE ? OP_MINUPTO : OP_POSUPTO); in get_iterator_parameters()
7828 *opcode = OP_EXACT; in get_iterator_parameters()
7836 if (*opcode == OP_UPTO || *opcode == OP_MINUPTO || *opcode == OP_EXACT || *opcode == OP_POSUPTO) in get_iterator_parameters()
7865 pcre_uchar opcode; in compile_iterator_matchingpath() local
7880 cc = get_iterator_parameters(common, cc, &opcode, &type, &max, &min, &end); in compile_iterator_matchingpath()
7921 switch(opcode) in compile_iterator_matchingpath()
7930 if (opcode == OP_STAR || opcode == OP_UPTO) in compile_iterator_matchingpath()
7942 if (opcode == OP_UPTO || opcode == OP_CRRANGE) in compile_iterator_matchingpath()
7947 if (opcode == OP_UPTO || opcode == OP_CRRANGE) in compile_iterator_matchingpath()
7951 if (opcode == OP_CRRANGE && min > 0) in compile_iterator_matchingpath()
7953 if (opcode == OP_UPTO || (opcode == OP_CRRANGE && max > 0)) in compile_iterator_matchingpath()
7967 if (opcode == OP_PLUS) in compile_iterator_matchingpath()
7972 if (opcode <= OP_PLUS) in compile_iterator_matchingpath()
7979 if (opcode <= OP_PLUS) in compile_iterator_matchingpath()
7981 else if (opcode == OP_CRRANGE && max == 0) in compile_iterator_matchingpath()
7994 if (opcode == OP_CRRANGE) in compile_iterator_matchingpath()
8003 if (opcode == OP_MINPLUS) in compile_iterator_matchingpath()
8017 if (opcode == OP_CRMINRANGE) in compile_iterator_matchingpath()
8027 if (opcode == OP_QUERY) in compile_iterator_matchingpath()
8043 if (opcode == OP_POSPLUS) in compile_iterator_matchingpath()
8045 if (opcode == OP_POSUPTO) in compile_iterator_matchingpath()
8051 if (opcode != OP_POSUPTO) in compile_iterator_matchingpath()
8174 pcre_uchar opcode = *cc; in compile_control_verb_matchingpath() local
8177 if (opcode == OP_PRUNE_ARG || opcode == OP_SKIP_ARG || opcode == OP_THEN_ARG) in compile_control_verb_matchingpath()
8182 if (opcode == OP_SKIP) in compile_control_verb_matchingpath()
8189 if (opcode == OP_PRUNE_ARG || opcode == OP_THEN_ARG) in compile_control_verb_matchingpath()
8561 pcre_uchar opcode; in compile_iterator_backtrackingpath() local
8572 cc = get_iterator_parameters(common, cc, &opcode, &type, &max, &min, NULL); in compile_iterator_backtrackingpath()
8574 switch(opcode) in compile_iterator_backtrackingpath()
8590 if (opcode == OP_UPTO) in compile_iterator_backtrackingpath()
8592 if (opcode <= OP_PLUS) in compile_iterator_backtrackingpath()
8607 if (opcode == OP_CRRANGE) in compile_iterator_backtrackingpath()
8612 if (opcode == OP_PLUS) in compile_iterator_backtrackingpath()
8626 if (opcode == OP_MINPLUS) in compile_iterator_backtrackingpath()
8632 if (opcode == OP_CRMINRANGE) in compile_iterator_backtrackingpath()
8645 if (opcode == OP_CRMINRANGE) in compile_iterator_backtrackingpath()
8648 if (opcode == OP_CRMINRANGE && max == 0) in compile_iterator_backtrackingpath()
8822 int opcode, stacksize, alt_count, alt_max; in compile_bracket_backtrackingpath() local
8849 opcode = *cc; in compile_bracket_backtrackingpath()
8866 if (SLJIT_UNLIKELY(opcode == OP_COND) || SLJIT_UNLIKELY(opcode == OP_SCOND)) in compile_bracket_backtrackingpath()
8868 if (opcode == OP_CBRA || opcode == OP_SCBRA) in compile_bracket_backtrackingpath()
8870 if (SLJIT_UNLIKELY(opcode == OP_COND) && (*cc == OP_KETRMAX || *cc == OP_KETRMIN)) in compile_bracket_backtrackingpath()
8871 opcode = OP_SCOND; in compile_bracket_backtrackingpath()
8872 if (SLJIT_UNLIKELY(opcode == OP_ONCE_NC)) in compile_bracket_backtrackingpath()
8873 opcode = OP_ONCE; in compile_bracket_backtrackingpath()
8878 if (opcode == OP_ONCE) in compile_bracket_backtrackingpath()
8914 if (opcode != OP_ONCE) in compile_bracket_backtrackingpath()
8917 else if (opcode >= OP_SBRA || opcode == OP_ONCE) in compile_bracket_backtrackingpath()
8920 if (opcode != OP_ONCE || CURRENT_AS(bracket_backtrack)->u.framesize < 0) in compile_bracket_backtrackingpath()
8928 if (opcode != OP_ONCE) in compile_bracket_backtrackingpath()
8973 if (SLJIT_UNLIKELY(opcode == OP_ONCE)) in compile_bracket_backtrackingpath()
8982 else if (SLJIT_UNLIKELY(opcode == OP_COND) || SLJIT_UNLIKELY(opcode == OP_SCOND)) in compile_bracket_backtrackingpath()
9020 if (SLJIT_UNLIKELY(opcode == OP_COND) || SLJIT_UNLIKELY(opcode == OP_SCOND)) in compile_bracket_backtrackingpath()
9059 if (opcode != OP_COND && opcode != OP_SCOND) in compile_bracket_backtrackingpath()
9061 if (opcode != OP_ONCE) in compile_bracket_backtrackingpath()
9078 if (opcode == OP_ONCE) in compile_bracket_backtrackingpath()
9097 if (opcode != OP_ONCE) in compile_bracket_backtrackingpath()
9123 if (opcode != OP_ONCE) in compile_bracket_backtrackingpath()
9135 if (opcode != OP_ONCE) in compile_bracket_backtrackingpath()
9166 SLJIT_ASSERT(opcode == OP_COND || opcode == OP_SCOND); in compile_bracket_backtrackingpath()
9200 else if (opcode == OP_SBRA || opcode == OP_SCOND) in compile_bracket_backtrackingpath()
9205 else if (opcode == OP_ONCE) in compile_bracket_backtrackingpath()
9263 if (opcode != OP_ONCE) in compile_bracket_backtrackingpath()
9266 if (opcode == OP_ONCE) in compile_bracket_backtrackingpath()
9345 pcre_uchar opcode = *current->cc; in compile_control_verb_backtrackingpath() local
9349 if (opcode == OP_THEN || opcode == OP_THEN_ARG) in compile_control_verb_backtrackingpath()
9384 if (opcode == OP_SKIP_ARG) in compile_control_verb_backtrackingpath()
9398 if (opcode == OP_SKIP) in compile_control_verb_backtrackingpath()