/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"); 218 if (ovector[0] > ovector[1]) 221 "From end to start the match was: %.*s\n", (int)(ovector[0] - ovector[1]), 222 (char *)(subject + ovector[1])); 234 PCRE2_SPTR substring_start = subject + ovector[2*i] [all...] |
pcre2posix.c | 343 PCRE2_SIZE *ovector = pcre2_get_ovector_pointer(md); local 347 pmatch[i].rm_so = (ovector[i*2] == PCRE2_UNSET)? -1 : 348 (int)(ovector[i*2] + so); 349 pmatch[i].rm_eo = (ovector[i*2+1] == PCRE2_UNSET)? -1 : 350 (int)(ovector[i*2+1] + so);
|
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 | 240 PCRE2_SIZE *ovector; local 264 ovector = pcre2_get_ovector_pointer(match_data); 368 if (ovector[1] < ovector[0] || ovector[0] < start_offset) 382 if (ovecsave[0] == ovector[0] && ovecsave[1] == ovector[1]) 384 if (ovector[0] == ovector[1] && ovecsave[2] != start_offset) 407 fraglength = ovector[0] - start_offset [all...] |
pcre2_intmodedep.h | 643 /* The real match data structure. Define ovector as large as it can ever 646 as the offset of ovector plus a pair of elements for each capturable string, so 662 PCRE2_SIZE ovector[131072]; /* Must be last in the structure */ member in struct:pcre2_real_match_data 774 positions during matching. As these are used in a vector, with the ovector item 820 allows for exactly the right size ovector for the number of capturing 830 PCRE2_SIZE ovector[131072]; /* Must be last in the structure */ member in struct:heapframe [all...] |
pcre2grep.c | 2067 PCRE2_SIZE *ovector = calloutptr->offset_vector; local [all...] |
pcre2_jit_compile.c | 570 #define OVECTOR(i) (OVECTOR_START + (i) * (sljit_sw)sizeof(sljit_sw)) 8205 PCRE2_SIZE *ovector; local [all...] |
pcre2test.c | 197 #define DEFAULT_OVECCOUNT 15 /* Default ovector count */ 198 #define JUNK_OFFSET 0xdeadbeef /* For initializing ovector */ 671 { "ovector", MOD_DAT, MOD_INT, 0, DO(oveccount) }, 7128 PCRE2_SIZE *ovector; local [all...] |
/external/selinux/mcstrans/src/ |
mcstrans.c | 1097 int ovector[OVECCOUNT]; local 1123 rc = pcre_exec(domain->base_classification_regexp, 0, work, work_len, 0, PCRE_ANCHORED, ovector, OVECCOUNT); 1126 pcre_get_substring(work, ovector, rc, 0, &match); 1143 memset(work + ovector[0], '#', ovector[1] - ovector[0]); 1144 char *p=work + ovector[0] + ovector[1]; 1166 rc = pcre_exec(g->prefix_regexp, 0, work, work_len, 0, 0, ovector, OVECCOUNT); 1169 prefix_offset = ovector[0] [all...] |