• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /barrelfish-2018-10-04/lib/pcre/

Lines Matching defs:offsets

903     /* Continue as from after the group, updating the offsets high water
949 the working value and also the values of the final offsets, in case they
1587 /* Continue from after a successful assertion, updating the offsets high
1941 and if necessary complete handling an extraction by setting the offsets and
1974 "skipping" a capturing group, and that group's offsets must be marked
1975 unset. In earlier versions of PCRE, all the offsets were unset at the
6327 each substring: the offsets to the start and end of the substring.
6336 offsets points to a vector of ints to be filled in with offsets
6340 = 0 => success, but offsets is not big enough
6348 PCRE_SPTR subject, int length, int start_offset, int options, int *offsets,
6353 PCRE_SPTR16 subject, int length, int start_offset, int options, int *offsets,
6358 PCRE_SPTR32 subject, int length, int start_offset, int options, int *offsets,
6411 if (re == NULL || subject == NULL || (offsets == NULL && offsetcount > 0))
6449 offsets[0] = erroroffset;
6450 offsets[1] = errorcode;
6484 start_offset, options, offsets, offsetcount);
6655 /* If the expression has got more back references than the offsets supplied can
6671 else md->offset_vector = offsets;
6679 offsets for the matched string. This is really just for tidiness with callouts,
7049 backreferences, captured substring offsets will already be set up. In the case
7050 where we had to get some local store to hold offsets for backreference
7063 memcpy(offsets + 2, md->offset_vector + 2,
7065 DPRINTF(("Copied offsets from temporary memory\n"));
7081 happens. In earlier versions, the whole set of potential capturing offsets
7088 if (md->end_offset_top/2 <= re->top_bracket && offsets != NULL)
7093 iptr = offsets + md->end_offset_top;
7094 iend = offsets + resetcount;
7104 offsets[0] = (int)(md->start_match_ptr - md->start_subject);
7105 offsets[1] = (int)(md->end_match_ptr - md->start_subject);
7147 offsets[0] = (int)(start_partial - (PCRE_PUCHAR)subject);
7148 offsets[1] = (int)(end_subject - (PCRE_PUCHAR)subject);
7150 offsets[2] = (int)(match_partial - (PCRE_PUCHAR)subject);