Searched refs:ovector (Results 1 - 5 of 5) sorted by relevance
/external/pcre/dist/ |
H A D | pcredemo.c | 59 int ovector[OVECCOUNT]; local 128 ovector, /* output vector for substring information */ 149 printf("\nMatch succeeded at offset %d\n", ovector[0]); 163 printf("ovector only has room for %d captured substrings\n", rc - 1); 171 char *substring_start = subject + ovector[2*i]; 172 int substring_length = ovector[2*i+1] - ovector[2*i]; 221 ovector[2*n+1] - ovector[2*n], subject + ovector[ [all...] |
H A D | pcre_get.c | 252 ovector the vector of matched substrings 261 get_first_set(const pcre *code, const char *stringname, int *ovector) argument 264 get_first_set(const pcre16 *code, PCRE_SPTR16 stringname, int *ovector) 267 get_first_set(const pcre32 *code, PCRE_SPTR32 stringname, int *ovector) 298 if (ovector[n*2] >= 0) return n; 316 ovector pointer to the offsets table 335 pcre_copy_substring(const char *subject, int *ovector, int stringcount, argument 339 pcre16_copy_substring(PCRE_SPTR16 subject, int *ovector, int stringcount, 343 pcre32_copy_substring(PCRE_SPTR32 subject, int *ovector, int stringcount, 351 yield = ovector[stringnumbe 390 pcre_copy_named_substring(const pcre *code, const char *subject, int *ovector, int stringcount, const char *stringname, char *buffer, int size) argument 441 pcre_get_substring_list(const char *subject, int *ovector, int stringcount, const char ***listptr) argument 544 pcre_get_substring(const char *subject, int *ovector, int stringcount, int stringnumber, const char **stringptr) argument 607 pcre_get_named_substring(const pcre *code, const char *subject, int *ovector, int stringcount, const char *stringname, const char **stringptr) argument [all...] |
H A D | pcreposix.c | 327 int *ovector = NULL; local 349 ovector = &(small_ovector[0]); 354 ovector = (int *)malloc(sizeof(int) * nmatch * 3); 355 if (ovector == NULL) return REG_ESPACE; 377 0, options, ovector, (int)(nmatch * 3)); 390 pmatch[i].rm_so = ovector[i*2]; 391 pmatch[i].rm_eo = ovector[i*2+1]; 393 if (allocated_ovector) free(ovector); 401 if (allocated_ovector) free(ovector);
|
H A D | pcregexp.pas | 350 var ovector : integer; 355 function pcre_copy_substring( const subject : pchar; var ovector : integer; 388 var ovector : integer; 398 function pcre_get_substring( const subject : pchar; var ovector : integer; 401 function pcre_get_substring_list( const subject : pchar; var ovector : integer;
|
/external/selinux/policycoreutils/mcstrans/src/ |
H A D | mcstrans.c | 1097 int ovector[OVECCOUNT]; local 1123 int 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 int rc = pcre_exec(g->prefix_regexp, 0, work, work_len, 0, 0, ovector, OVECCOUNT); 1169 prefix_offset = ovector[ [all...] |
Completed in 2732 milliseconds