Lines Matching refs:ovector

252   ovector      the vector of matched substrings
262 get_first_set(const pcre *code, const char *stringname, int *ovector,
266 get_first_set(const pcre16 *code, PCRE_SPTR16 stringname, int *ovector,
270 get_first_set(const pcre32 *code, PCRE_SPTR32 stringname, int *ovector,
302 if (n < stringcount && ovector[n*2] >= 0) return n;
320 ovector pointer to the offsets table
339 pcre_copy_substring(const char *subject, int *ovector, int stringcount,
343 pcre16_copy_substring(PCRE_SPTR16 subject, int *ovector, int stringcount,
347 pcre32_copy_substring(PCRE_SPTR32 subject, int *ovector, int stringcount,
355 yield = ovector[stringnumber+1] - ovector[stringnumber];
357 memcpy(buffer, subject + ovector[stringnumber], IN_UCHARS(yield));
375 ovector pointer to the offsets table
395 int *ovector, int stringcount, const char *stringname,
400 int *ovector, int stringcount, PCRE_SPTR16 stringname,
405 int *ovector, int stringcount, PCRE_SPTR32 stringname,
409 int n = get_first_set(code, stringname, ovector, stringcount);
412 return pcre_copy_substring(subject, ovector, stringcount, n, buffer, size);
414 return pcre16_copy_substring(subject, ovector, stringcount, n, buffer, size);
416 return pcre32_copy_substring(subject, ovector, stringcount, n, buffer, size);
431 ovector pointer to the offsets table
445 pcre_get_substring_list(const char *subject, int *ovector, int stringcount,
449 pcre16_get_substring_list(PCRE_SPTR16 subject, int *ovector, int stringcount,
453 pcre32_get_substring_list(PCRE_SPTR32 subject, int *ovector, int stringcount,
466 if (ovector[i+1] > ovector[i]) size += IN_UCHARS(ovector[i+1] - ovector[i]);
483 int len = (ovector[i+1] > ovector[i])? (ovector[i+1] - ovector[i]) : 0;
484 memcpy(p, subject + ovector[i], IN_UCHARS(len));
533 ovector pointer to the offsets table
551 pcre_get_substring(const char *subject, int *ovector, int stringcount,
555 pcre16_get_substring(PCRE_SPTR16 subject, int *ovector, int stringcount,
559 pcre32_get_substring(PCRE_SPTR32 subject, int *ovector, int stringcount,
568 yield = ovector[stringnumber+1] - ovector[stringnumber];
571 memcpy(substring, subject + ovector[stringnumber], IN_UCHARS(yield));
596 ovector pointer to the offsets table
615 int *ovector, int stringcount, const char *stringname,
620 int *ovector, int stringcount, PCRE_SPTR16 stringname,
625 int *ovector, int stringcount, PCRE_SPTR32 stringname,
629 int n = get_first_set(code, stringname, ovector, stringcount);
632 return pcre_get_substring(subject, ovector, stringcount, n, stringptr);
634 return pcre16_get_substring(subject, ovector, stringcount, n, stringptr);
636 return pcre32_get_substring(subject, ovector, stringcount, n, stringptr);