Lines Matching refs:ovector
89 PCRE2_SIZE *ovector; in main() local
204 ovector = pcre2_get_ovector_pointer(match_data); in main()
205 printf("Match succeeded at offset %d\n", (int)ovector[0]); in main()
224 if (ovector[0] > ovector[1]) in main()
227 "From end to start the match was: %.*s\n", (int)(ovector[0] - ovector[1]), in main()
228 (char *)(subject + ovector[1])); in main()
240 PCRE2_SPTR substring_start = subject + ovector[2*i]; in main()
241 PCRE2_SIZE substring_length = ovector[2*i+1] - ovector[2*i]; in main()
288 (int)(ovector[2*n+1] - ovector[2*n]), subject + ovector[2*n]); in main()
350 PCRE2_SIZE start_offset = ovector[1]; /* Start at end of previous match */ in main()
356 if (ovector[0] == ovector[1]) in main()
358 if (ovector[0] == subject_length) break; in main()
412 ovector[1] = start_offset + 1; /* Advance one code unit */ in main()
417 ovector[1] += 1; /* Advance by one more. */ in main()
420 while (ovector[1] < subject_length) /* character. */ in main()
422 if ((subject[ovector[1]] & 0xc0) != 0x80) break; in main()
423 ovector[1] += 1; in main()
441 printf("\nMatch succeeded again at offset %d\n", (int)ovector[0]); in main()
453 if (ovector[0] > ovector[1]) in main()
456 "From end to start the match was: %.*s\n", (int)(ovector[0] - ovector[1]), in main()
457 (char *)(subject + ovector[1])); in main()
469 PCRE2_SPTR substring_start = subject + ovector[2*i]; in main()
470 size_t substring_length = ovector[2*i+1] - ovector[2*i]; in main()
482 (int)(ovector[2*n+1] - ovector[2*n]), subject + ovector[2*n]); in main()