Home | History | Annotate | Download | only in src

Lines Matching refs:ovector

89 PCRE2_SIZE *ovector;
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]);
329 PCRE2_SIZE start_offset = ovector[1]; /* Start at end of previous match */
335 if (ovector[0] == ovector[1])
337 if (ovector[0] == subject_length) break;
368 ovector[1] = start_offset + 1; /* Advance one code unit */
373 ovector[1] += 1; /* Advance by one more. */
376 while (ovector[1] < subject_length) /* character. */
378 if ((subject[ovector[1]] & 0xc0) != 0x80) break;
379 ovector[1] += 1;
397 printf("\nMatch succeeded again at offset %d\n", (int)ovector[0]);
403 printf("ovector was not big enough for all the captured substrings\n");
410 PCRE2_SPTR substring_start = subject + ovector[2*i];
411 size_t substring_length = ovector[2*i+1] - ovector[2*i];
423 (int)(ovector[2*n+1] - ovector[2*n]), subject + ovector[2*n]);