Lines Matching refs:mcnt
761 int mcnt, mcnt2;
788 mcnt = *p++;
789 printf ("/exactn/%d", mcnt);
795 while (--mcnt);
800 mcnt = *p++;
801 printf ("/exactn_bin/%d", mcnt);
806 while (--mcnt);
811 mcnt = *p++;
812 printf ("/start_memory/%d/%ld", mcnt, (long int) *p++);
816 mcnt = *p++;
817 printf ("/stop_memory/%d/%ld", mcnt, (long int) *p++);
920 PREFIX(extract_number_and_incr) (&mcnt, &p);
922 printf ("/on_failure_jump to %td", p + mcnt - start);
924 printf ("/on_failure_jump to %ld", (long int) (p + mcnt - start));
929 PREFIX(extract_number_and_incr) (&mcnt, &p);
931 printf ("/on_failure_keep_string_jump to %td", p + mcnt - start);
934 (long int) (p + mcnt - start));
939 PREFIX(extract_number_and_incr) (&mcnt, &p);
941 printf ("/dummy_failure_jump to %td", p + mcnt - start);
943 printf ("/dummy_failure_jump to %ld", (long int) (p + mcnt - start));
952 PREFIX(extract_number_and_incr) (&mcnt, &p);
954 printf ("/maybe_pop_jump to %td", p + mcnt - start);
956 printf ("/maybe_pop_jump to %ld", (long int) (p + mcnt - start));
961 PREFIX(extract_number_and_incr) (&mcnt, &p);
963 printf ("/pop_failure_jump to %td", p + mcnt - start);
965 printf ("/pop_failure_jump to %ld", (long int) (p + mcnt - start));
970 PREFIX(extract_number_and_incr) (&mcnt, &p);
972 printf ("/jump_past_alt to %td", p + mcnt - start);
974 printf ("/jump_past_alt to %ld", (long int) (p + mcnt - start));
979 PREFIX(extract_number_and_incr) (&mcnt, &p);
981 printf ("/jump to %td", p + mcnt - start);
983 printf ("/jump to %ld", (long int) (p + mcnt - start));
988 PREFIX(extract_number_and_incr) (&mcnt, &p);
989 p1 = p + mcnt;
1000 PREFIX(extract_number_and_incr) (&mcnt, &p);
1001 p1 = p + mcnt;
1007 PREFIX(extract_number_and_incr) (&mcnt, &p);
1008 p1 = p + mcnt;
1049 mcnt = *p++;
1050 printf ("/%d", mcnt);
1055 mcnt = *p++;
1056 printf ("/%d", mcnt);
5581 int mcnt;
5897 for (mcnt = 1; (unsigned) mcnt < num_regs; mcnt++)
5899 regstart[mcnt] = regend[mcnt]
5900 = old_regstart[mcnt] = old_regend[mcnt] = REG_UNSET_VALUE;
5902 REG_MATCH_NULL_STRING_P (reg_info[mcnt]) = MATCH_NULL_UNSET_VALUE;
5903 IS_ACTIVE (reg_info[mcnt]) = 0;
5904 MATCHED_SOMETHING (reg_info[mcnt]) = 0;
5905 EVER_MATCHED_SOMETHING (reg_info[mcnt]) = 0;
5930 mcnt = count_mbs_length(mbs_offset1, stop);
5931 end_match_1 = string1 + mcnt;
5939 mcnt = count_mbs_length(mbs_offset2, stop-csize1);
5940 end_match_2 = string2 + mcnt;
5942 if (mcnt < 0)
5969 mcnt = count_mbs_length(mbs_offset1, pos);
5970 d = string1 + mcnt;
5975 mcnt = count_mbs_length(mbs_offset2, pos-csize1);
5976 d = string2 + mcnt;
5980 if (mcnt < 0)
6058 for (mcnt = 1; (unsigned) mcnt < num_regs; mcnt++)
6060 best_regstart[mcnt] = regstart[mcnt];
6061 best_regend[mcnt] = regend[mcnt];
6084 for (mcnt = 1; (unsigned) mcnt < num_regs; mcnt++)
6086 regstart[mcnt] = best_regstart[mcnt];
6087 regend[mcnt] = best_regend[mcnt];
6157 for (mcnt = 1; (unsigned) mcnt < MIN (num_regs, regs->num_regs);
6158 mcnt++)
6160 if (REG_UNSET (regstart[mcnt]) || REG_UNSET (regend[mcnt]))
6161 regs->start[mcnt] = regs->end[mcnt] = -1;
6164 regs->start[mcnt]
6165 = (regoff_t) POINTER_TO_OFFSET (regstart[mcnt]);
6166 regs->end[mcnt]
6167 = (regoff_t) POINTER_TO_OFFSET (regend[mcnt]);
6176 for (mcnt = num_regs; (unsigned) mcnt < regs->num_regs; mcnt++)
6177 regs->start[mcnt] = regs->end[mcnt] = -1;
6187 mcnt = mbs_offset1 != NULL ? mbs_offset1[d-string1] : 0;
6189 mcnt = (mbs_offset2 != NULL ? mbs_offset2[d-string2] : 0) +
6191 mcnt -= pos;
6193 mcnt = d - pos - (MATCHING_IN_FIRST_STRING
6197 DEBUG_PRINT2 ("Returning %d from re_match_2.\n", mcnt);
6200 return mcnt;
6225 mcnt = *p++;
6226 DEBUG_PRINT2 ("EXECUTING exactn %d.\n", mcnt);
6253 while (--mcnt);
6262 while (--mcnt);
6777 mcnt = 0;
6786 EXTRACT_NUMBER_AND_INCR (mcnt, p1);
6794 p1 += mcnt;
6801 if (mcnt < 0 && (re_opcode_t) *p1 == on_failure_jump
6833 EXTRACT_NUMBER_AND_INCR (mcnt, p1);
6834 PUSH_FAILURE_POINT (p1 + mcnt, d, -2);
6888 mcnt = dend - d;
6892 if (mcnt > dend2 - d2)
6893 mcnt = dend2 - d2;
6898 ? PREFIX(bcmp_translate) (d, d2, mcnt, translate)
6899 : memcmp (d, d2, mcnt*sizeof(UCHAR_T)))
6901 d += mcnt, d2 += mcnt;
6991 EXTRACT_NUMBER_AND_INCR (mcnt, p);
6993 DEBUG_PRINT3 (" %d (to %p):\n", mcnt, p + mcnt);
6995 DEBUG_PRINT3 (" %d (to 0x%x):\n", mcnt, p + mcnt);
6998 PUSH_FAILURE_POINT (p + mcnt, NULL, -2);
7018 EXTRACT_NUMBER_AND_INCR (mcnt, p);
7020 DEBUG_PRINT3 (" %d (to %p)", mcnt, p + mcnt);
7022 DEBUG_PRINT3 (" %d (to 0x%x)", mcnt, p + mcnt);
7033 a failure point to `p + mcnt' after we do this. */
7055 PUSH_FAILURE_POINT (p + mcnt, d, -2);
7062 EXTRACT_NUMBER_AND_INCR (mcnt, p);
7063 DEBUG_PRINT2 ("EXECUTING maybe_pop_jump %d.\n", mcnt);
7097 p1 = p + mcnt;
7257 EXTRACT_NUMBER_AND_INCR (mcnt, p); /* Get the amount to jump. */
7258 DEBUG_PRINT2 ("EXECUTING jump %d ", mcnt);
7259 p += mcnt; /* Do the jump. */
7303 EXTRACT_NUMBER (mcnt, p + OFFSET_ADDRESS_SIZE);
7304 DEBUG_PRINT2 ("EXECUTING succeed_n %d.\n", mcnt);
7306 assert (mcnt >= 0);
7308 if (mcnt > 0)
7310 mcnt--;
7312 STORE_NUMBER_AND_INCR (p, mcnt);
7315 , mcnt);
7318 , mcnt);
7321 else if (mcnt == 0)
7342 EXTRACT_NUMBER (mcnt, p + OFFSET_ADDRESS_SIZE);
7343 DEBUG_PRINT2 ("EXECUTING jump_n %d.\n", mcnt);
7346 if (mcnt)
7348 mcnt--;
7349 STORE_NUMBER (p + OFFSET_ADDRESS_SIZE, mcnt);
7353 mcnt);
7356 mcnt);
7369 EXTRACT_NUMBER_AND_INCR (mcnt, p);
7370 p1 = p + mcnt;
7371 EXTRACT_NUMBER_AND_INCR (mcnt, p);
7373 DEBUG_PRINT3 (" Setting %p to %d.\n", p1, mcnt);
7375 DEBUG_PRINT3 (" Setting 0x%x to %d.\n", p1, mcnt);
7377 STORE_NUMBER (p1, mcnt);
7474 DEBUG_PRINT2 ("EXECUTING syntaxspec %d.\n", mcnt);
7475 mcnt = *p++;
7480 mcnt = (int) Sword;
7485 if (SYNTAX (d[-1]) != (enum syntaxcode) mcnt)
7491 DEBUG_PRINT2 ("EXECUTING notsyntaxspec %d.\n", mcnt);
7492 mcnt = *p++;
7497 mcnt = (int) Sword;
7502 if (SYNTAX (d[-1]) == (enum syntaxcode) mcnt)
7564 EXTRACT_NUMBER_AND_INCR (mcnt, p1);
7565 p1 += mcnt;
7610 int mcnt;
7625 EXTRACT_NUMBER_AND_INCR (mcnt, p1);
7630 if (mcnt >= 0)
7650 while ((re_opcode_t) p1[mcnt-(1+OFFSET_ADDRESS_SIZE)] ==
7653 /* `mcnt' holds how many bytes long the alternative
7657 if (!PREFIX(alt_match_null_string_p) (p1, p1 + mcnt -
7664 p1 += mcnt;
7674 EXTRACT_NUMBER_AND_INCR (mcnt, p1);
7675 if ((re_opcode_t) p1[mcnt-(1+OFFSET_ADDRESS_SIZE)] !=
7685 of the `jump_past_alt' just before it. `mcnt' contains
7687 EXTRACT_NUMBER (mcnt, p1 - OFFSET_ADDRESS_SIZE);
7689 if (!PREFIX(alt_match_null_string_p) (p1, p1 + mcnt, reg_info))
7692 p1 += mcnt; /* Get past the n-th alternative. */
7693 } /* if mcnt > 0 */
7721 int mcnt;
7734 EXTRACT_NUMBER_AND_INCR (mcnt, p1);
7735 p1 += mcnt;
7757 int mcnt;
7797 EXTRACT_NUMBER_AND_INCR (mcnt, p1);
7798 if (mcnt >= 0)
7799 p1 += mcnt;
7807 EXTRACT_NUMBER_AND_INCR (mcnt, p1);
7809 if (mcnt == 0)
7812 EXTRACT_NUMBER_AND_INCR (mcnt, p1);
7813 p1 += mcnt;