HomeSort by relevance Sort by last modified time
    Searched refs:ovector (Results 1 - 12 of 12) sorted by null

  /external/pcre/dist2/src/
pcre2demo.c 89 PCRE2_SIZE *ovector; local
198 ovector = pcre2_get_ovector_pointer(match_data);
199 printf("Match succeeded at offset %d\n", (int)ovector[0]);
212 printf("ovector was not big enough for all the captured substrings\n");
219 PCRE2_SPTR substring_start = subject + ovector[2*i];
220 size_t substring_length = ovector[2*i+1] - ovector[2*i];
267 (int)(ovector[2*n+1] - ovector[2*n]), subject + ovector[2*n])
    [all...]
pcre2_substring.c 68 (3) PCRE2_ERROR_UNAVAILABLE: no group is in ovector
69 (4) PCRE2_ERROR_UNSET: all named groups in ovector are unset
89 if (match_data->ovector[n*2] != PCRE2_UNSET)
116 PCRE2_ERROR_UNAVAILABLE: ovector too small
129 memcpy(buffer, match_data->subject + match_data->ovector[stringnumber*2],
156 (3) PCRE2_ERROR_UNAVAILABLE: no group is in ovector
157 (4) PCRE2_ERROR_UNSET: all named groups in ovector are unset
177 if (match_data->ovector[n*2] != PCRE2_UNSET)
204 PCRE2_ERROR_UNAVAILABLE: ovector too small
221 memcpy(yield, match_data->subject + match_data->ovector[stringnumber*2]
381 PCRE2_SIZE *ovector; local
    [all...]
pcre2_substitute.c 238 PCRE2_SIZE *ovector; local
260 ovector = pcre2_get_ovector_pointer(match_data);
358 if (ovector[1] < ovector[0])
377 fraglength = ovector[0] - start_offset;
583 if (group < 0) group = ng; /* First in ovector */
584 if (ovector[ng*2] != PCRE2_UNSET)
593 that is in the ovector. Just set the first group. */
652 subptr = subject + ovector[group*2];
653 subptrend = subject + ovector[group*2 + 1]
    [all...]
pcre2_match_data.c 51 * Create a match data block given ovector size *
54 /* A minimum of 1 is imposed on the number of ovector triplets. */
114 * Get pointer to ovector *
120 return match_data->ovector;
126 * Get number of ovector slots *
pcre2posix.c 338 PCRE2_SIZE *ovector = pcre2_get_ovector_pointer(md); local
342 pmatch[i].rm_so = ovector[i*2];
343 pmatch[i].rm_eo = ovector[i*2+1];
pcre2_match.c 112 /* Maximum number of ovector elements that can be saved on the system stack
113 when processing OP_RECURSE in non-HEAP_MATCH_RECURSE mode. If the ovector is
115 ovector length is always a multiple of 3. */
159 if (offset >= offset_top || mb->ovector[offset] == PCRE2_UNSET)
171 p = mb->start_subject + mb->ovector[offset];
172 length = mb->ovector[offset+1] - mb->ovector[offset];
417 pattern. The entire ovector must be saved and restored while processing
418 OP_RECURSE. If the ovector is small enough, instead of calling match()
420 to save the ovector while calling match() to process the pattern recursion. *
    [all...]
pcre2_intmodedep.h 641 PCRE2_SIZE ovector[1]; /* The first field */ member in struct:pcre2_real_match_data
735 during pattern recursion when the ovector is larger than can be saved on
749 PCRE2_SIZE *ovec_save; /* Pointer to saved ovector frame */
788 PCRE2_SIZE *ovector; /* Pointer to the offset vector */ member in struct:match_block
    [all...]
pcre2test.c 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; local
    [all...]
pcre2grep.c 1552 PCRE2_SIZE *ovector = calloutptr->offset_vector; local
    [all...]
pcre2_dfa_match.c     [all...]
pcre2_jit_compile.c 530 #define OVECTOR(i) (OVECTOR_START + (i) * (sljit_sw)sizeof(sljit_sw))
7136 PCRE2_SIZE *ovector = arguments->match_data->ovector; local
    [all...]
  /external/selinux/mcstrans/src/
mcstrans.c 1096 int ovector[OVECCOUNT]; local
1122 rc = pcre_exec(domain->base_classification_regexp, 0, work, work_len, 0, PCRE_ANCHORED, ovector, OVECCOUNT);
1125 pcre_get_substring(work, ovector, rc, 0, &match);
1142 memset(work + ovector[0], '#', ovector[1] - ovector[0]);
1143 char *p=work + ovector[0] + ovector[1];
1165 rc = pcre_exec(g->prefix_regexp, 0, work, work_len, 0, 0, ovector, OVECCOUNT);
1168 prefix_offset = ovector[0]
    [all...]

Completed in 474 milliseconds