/external/pcre/dist2/doc/ |
pcre2_get_startchar.3 | |
pcre2demo.3 | 106 PCRE2_SIZE *ovector; 215 ovector = pcre2_get_ovector_pointer(match_data); 216 printf("Match succeeded at offset %d\en", (int)ovector[0]); 229 printf("ovector was not big enough for all the captured substrings\en"); 236 PCRE2_SPTR substring_start = subject + ovector[2*i]; 237 size_t substring_length = ovector[2*i+1] - ovector[2*i]; 284 (int)(ovector[2*n+1] - ovector[2*n]), subject + ovector[2*n]) [all...] |
pcre2_get_ovector_count.3 | 16 This function returns the number of pairs of offsets in the ovector that forms
|
pcre2_match_data_create.3 | 19 that are required. These form the "output vector" (ovector) within the match
|
pcre2_match_data_create_from_pattern.3 | 21 "output vector" (ovector) within the match data block, and are used to identify
|
pcre2_substring_copy_byname.3 | 30 PCRE2_ERROR_UNAVAILBLE the ovector was too small for that group
|
pcre2_substring_copy_bynumber.3 | 31 PCRE2_ERROR_UNAVAILBLE the ovector was too small for that group
|
pcre2_substring_get_byname.3 | 32 PCRE2_ERROR_UNAVAILBLE the ovector was too small for that group
|
pcre2_substring_get_bynumber.3 | 32 PCRE2_ERROR_UNAVAILBLE the ovector was too small for that group
|
/external/pcre/dist2/testdata/ |
testinput18 | 56 aaaabbbbzzzz\=ovector=0 57 aaaabbbbzzzz\=ovector=1 58 aaaabbbbzzzz\=ovector=2
|
testoutput18 | 83 aaaabbbbzzzz\=ovector=0 85 aaaabbbbzzzz\=ovector=1 87 aaaabbbbzzzz\=ovector=2
|
/external/pcre/dist2/src/ |
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...] |
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_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 *
|
pcre2_jit_match.c | 79 Returns: > 0 => success; value is the number of ovector pairs filled 80 = 0 => success, but ovector is not big enough 155 /* JIT only need two offsets for each ovector entry. Hence 156 the last 1/3 of the ovector will never be touched. */
|
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...] |
/external/pcre/dist2/doc/html/ |
pcre2demo.html | 106 PCRE2_SIZE *ovector; 215 ovector = pcre2_get_ovector_pointer(match_data); 216 printf("Match succeeded at offset %d\n", (int)ovector[0]); 229 printf("ovector was not big enough for all the captured substrings\n"); 236 PCRE2_SPTR substring_start = subject + ovector[2*i]; 237 size_t substring_length = ovector[2*i+1] - ovector[2*i]; 284 (int)(ovector[2*n+1] - ovector[2*n]), subject + ovector[2*n]) [all...] |
pcre2_get_startchar.html | 31 this can be different to the value of <i>ovector[0]</i> if the pattern contains 33 the same as <i>ovector[0]</i> because \K does not affect the result of a
|
pcre2_get_ovector_count.html | 28 This function returns the number of pairs of offsets in the ovector that forms
|
pcre2_match_data_create.html | 31 that are required. These form the "output vector" (ovector) within the match
|
pcre2_match_data_create_from_pattern.html | 33 "output vector" (ovector) within the match data block, and are used to identify
|
pcre2_substring_copy_bynumber.html | 43 PCRE2_ERROR_UNAVAILBLE the ovector was too small for that group
|
pcre2_substring_copy_byname.html | 42 PCRE2_ERROR_UNAVAILBLE the ovector was too small for that group
|
pcre2_substring_get_byname.html | 44 PCRE2_ERROR_UNAVAILBLE the ovector was too small for that group
|
/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...] |