Lines Matching refs:ovector

252   ovector      the vector of matched substrings
261 get_first_set(const pcre *code, const char *stringname, int *ovector)
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,
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[stringnumber+1] - ovector[stringnumber];
353 memcpy(buffer, subject + ovector[stringnumber], IN_UCHARS(yield));
371 ovector pointer to the offsets table
391 int *ovector, int stringcount, const char *stringname,
396 int *ovector, int stringcount, PCRE_SPTR16 stringname,
401 int *ovector, int stringcount, PCRE_SPTR32 stringname,
405 int n = get_first_set(code, stringname, ovector);
408 return pcre_copy_substring(subject, ovector, stringcount, n, buffer, size);
410 return pcre16_copy_substring(subject, ovector, stringcount, n, buffer, size);
412 return pcre32_copy_substring(subject, ovector, stringcount, n, buffer, size);
427 ovector pointer to the offsets table
441 pcre_get_substring_list(const char *subject, int *ovector, int stringcount,
445 pcre16_get_substring_list(PCRE_SPTR16 subject, int *ovector, int stringcount,
449 pcre32_get_substring_list(PCRE_SPTR32 subject, int *ovector, int stringcount,
460 size += sizeof(pcre_uchar *) + IN_UCHARS(ovector[i+1] - ovector[i] + 1);
476 int len = ovector[i+1] - ovector[i];
477 memcpy(p, subject + ovector[i], IN_UCHARS(len));
526 ovector pointer to the offsets table
544 pcre_get_substring(const char *subject, int *ovector, int stringcount,
548 pcre16_get_substring(PCRE_SPTR16 subject, int *ovector, int stringcount,
552 pcre32_get_substring(PCRE_SPTR32 subject, int *ovector, int stringcount,
561 yield = ovector[stringnumber+1] - ovector[stringnumber];
564 memcpy(substring, subject + ovector[stringnumber], IN_UCHARS(yield));
589 ovector pointer to the offsets table
608 int *ovector, int stringcount, const char *stringname,
613 int *ovector, int stringcount, PCRE_SPTR16 stringname,
618 int *ovector, int stringcount, PCRE_SPTR32 stringname,
622 int n = get_first_set(code, stringname, ovector);
625 return pcre_get_substring(subject, ovector, stringcount, n, stringptr);
627 return pcre16_get_substring(subject, ovector, stringcount, n, stringptr);
629 return pcre32_get_substring(subject, ovector, stringcount, n, stringptr);