Lines Matching full:ovector
76 int ovector[OVECCOUNT];
145 ovector, /* output vector for substring information */
166 printf("\nMatch succeeded at offset %d\n", ovector[0]);
180 printf("ovector only has room for %d captured substrings\n", rc - 1);
188 char *substring_start = subject + ovector[2*i];
189 int substring_length = ovector[2*i+1] - ovector[2*i];
238 ovector[2*n+1] - ovector[2*n], subject + ovector[2*n]);
316 int start_offset = ovector[1]; /* Start at end of previous match */
322 if (ovector[0] == ovector[1])
324 if (ovector[0] == subject_length) break;
337 ovector, /* output vector for substring information */
356 ovector[1] = start_offset + 1; /* Advance one byte */
361 ovector[1] += 1; /* Advance by one more. */
364 while (ovector[1] < subject_length) /* character. */
366 if ((subject[ovector[1]] & 0xc0) != 0x80) break;
367 ovector[1] += 1;
384 printf("\nMatch succeeded again at offset %d\n", ovector[0]);
391 printf("ovector only has room for %d captured substrings\n", rc - 1);
399 char *substring_start = subject + ovector[2*i];
400 int substring_length = ovector[2*i+1] - ovector[2*i];
412 ovector[2*n+1] - ovector[2*n], subject + ovector[2*n]);