Home | History | Annotate | Download | only in src

Lines Matching refs:ovector

180 #define DEFAULT_OVECCOUNT 15    /* Default ovector count */
181 #define JUNK_OFFSET 0xdeadbeef /* For initializing ovector */
599 { "ovector", MOD_DAT, MOD_INT, 0, DO(oveccount) },
6256 PCRE2_SIZE *ovector;
6259 ovector = FLD(match_data, ovector);
6262 iteration, save the current ovector[0,1] so that we can check that they do
6268 ovecsave[0] = ovector[0];
6269 ovecsave[1] = ovector[1];
6276 /* Fill the ovector with junk to detect elements that do not get set
6279 for (j = 0; j < 2*dat_datctl.oveccount; j++) ovector[j] = JUNK_OFFSET;
6414 "** PCRE2 error: returned count %d is too big for ovector count %d\n",
6427 always at least two elements in the ovector. */
6429 if (gmatched > 0 && ovecsave[0] == ovector[0] && ovecsave[1] == ovector[1])
6464 PCRE2_SIZE start = ovector[i];
6465 PCRE2_SIZE end = ovector[i+1];
6469 start = ovector[i+1];
6470 end = ovector[i];
6574 PCHARSV(pp, ovector[i+1], ulen - ovector[i+1], utf, outfile);
6595 /* There was a partial match. The value of ovector[0] is the bumpalong point,
6616 poffset = backchars(pp, ovector[0], maxlookbehind, utf);
6617 PCHARS(backlength, pp, poffset, ovector[0] - poffset, utf, outfile);
6618 PCHARSV(pp, ovector[0], ulen - ovector[0], utf, outfile);
6681 SETFLDVEC(match_data, ovector, 0, start_offset);
6682 SETFLDVEC(match_data, ovector, 1, end_offset);
6741 PCRE2_SIZE end_offset = FLD(match_data, ovector)[1];
6750 if (FLD(match_data, ovector)[0] == end_offset)