Lines Matching full:ovector
106 PCRE2_SIZE *ovector;
215 ovector = pcre2_get_ovector_pointer(match_data);
216 printf("Match succeeded at offset %d\n", (int)ovector[0]);
229 printf("ovector was not big enough for all the captured substrings\n");
236 PCRE2_SPTR substring_start = subject + ovector[2*i];
237 size_t substring_length = ovector[2*i+1] - ovector[2*i];
284 (int)(ovector[2*n+1] - ovector[2*n]), subject + ovector[2*n]);
346 PCRE2_SIZE start_offset = ovector[1]; /* Start at end of previous match */
352 if (ovector[0] == ovector[1])
354 if (ovector[0] == subject_length) break;
385 ovector[1] = start_offset + 1; /* Advance one code unit */
390 ovector[1] += 1; /* Advance by one more. */
393 while (ovector[1] < subject_length) /* character. */
395 if ((subject[ovector[1]] & 0xc0) != 0x80) break;
396 ovector[1] += 1;
414 printf("\nMatch succeeded again at offset %d\n", (int)ovector[0]);
420 printf("ovector was not big enough for all the captured substrings\n");
427 PCRE2_SPTR substring_start = subject + ovector[2*i];
428 size_t substring_length = ovector[2*i+1] - ovector[2*i];
440 (int)(ovector[2*n+1] - ovector[2*n]), subject + ovector[2*n]);