Lines Matching refs:ovector
178 ovector the vector of matched substrings
186 get_first_set(const pcre *code, const char *stringname, int *ovector)
199 if (ovector[n*2] >= 0) return n;
217 ovector pointer to the offsets table
235 pcre_copy_substring(const char *subject, int *ovector, int stringcount,
242 yield = ovector[stringnumber+1] - ovector[stringnumber];
244 memcpy(buffer, subject + ovector[stringnumber], yield);
262 ovector pointer to the offsets table
280 pcre_copy_named_substring(const pcre *code, const char *subject, int *ovector,
283 int n = get_first_set(code, stringname, ovector);
285 return pcre_copy_substring(subject, ovector, stringcount, n, buffer, size);
299 ovector pointer to the offsets table
312 pcre_get_substring_list(const char *subject, int *ovector, int stringcount,
322 size += sizeof(char *) + ovector[i+1] - ovector[i] + 1;
332 int len = ovector[i+1] - ovector[i];
333 memcpy(p, subject + ovector[i], len);
373 ovector pointer to the offsets table
390 pcre_get_substring(const char *subject, int *ovector, int stringcount,
398 yield = ovector[stringnumber+1] - ovector[stringnumber];
401 memcpy(substring, subject + ovector[stringnumber], yield);
420 ovector pointer to the offsets table
437 pcre_get_named_substring(const pcre *code, const char *subject, int *ovector,
440 int n = get_first_set(code, stringname, ovector);
442 return pcre_get_substring(subject, ovector, stringcount, n, stringptr);