/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...] |
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_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_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...] |
pcre2grep.c | 1552 PCRE2_SIZE *ovector = calloutptr->offset_vector; local [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...] |
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...] |
/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...] |