Searched refs:ovector (Results 1 – 8 of 8) sorted by relevance
/PHP-5.6/ext/pcre/pcrelib/ |
H A D | pcredemo.c | 59 int ovector[OVECCOUNT]; in main() local 149 printf("\nMatch succeeded at offset %d\n", ovector[0]); in main() 171 char *substring_start = subject + ovector[2*i]; in main() 172 int substring_length = ovector[2*i+1] - ovector[2*i]; in main() 221 ovector[2*n+1] - ovector[2*n], subject + ovector[2*n]); in main() 305 if (ovector[0] == ovector[1]) in main() 307 if (ovector[0] == subject_length) break; in main() 350 ovector[1] += 1; in main() 382 char *substring_start = subject + ovector[2*i]; in main() 383 int substring_length = ovector[2*i+1] - ovector[2*i]; in main() [all …]
|
H A D | pcre_get.c | 298 if (ovector[n*2] >= 0) return n; in get_first_set() 351 yield = ovector[stringnumber+1] - ovector[stringnumber]; in pcre_copy_substring() 391 int *ovector, int stringcount, const char *stringname, in pcre_copy_named_substring() argument 396 int *ovector, int stringcount, PCRE_SPTR16 stringname, in pcre_copy_named_substring() 401 int *ovector, int stringcount, PCRE_SPTR32 stringname, in pcre_copy_named_substring() 405 int n = get_first_set(code, stringname, ovector); in pcre_copy_named_substring() 460 size += sizeof(pcre_uchar *) + IN_UCHARS(ovector[i+1] - ovector[i] + 1); in pcre_get_substring_list() 476 int len = ovector[i+1] - ovector[i]; in pcre_get_substring_list() 477 memcpy(p, subject + ovector[i], IN_UCHARS(len)); in pcre_get_substring_list() 561 yield = ovector[stringnumber+1] - ovector[stringnumber]; in pcre_get_substring() [all …]
|
H A D | pcreposix.c | 327 int *ovector = NULL; in regexec() local 349 ovector = &(small_ovector[0]); in regexec() 354 ovector = (int *)malloc(sizeof(int) * nmatch * 3); in regexec() 355 if (ovector == NULL) return REG_ESPACE; in regexec() 377 0, options, ovector, (int)(nmatch * 3)); in regexec() 390 pmatch[i].rm_so = ovector[i*2]; in regexec() 391 pmatch[i].rm_eo = ovector[i*2+1]; in regexec() 393 if (allocated_ovector) free(ovector); in regexec() 401 if (allocated_ovector) free(ovector); in regexec()
|
H A D | ChangeLog | 48 10. There was a buffer overflow if pcre_exec() was called with an ovector of 186 capture so far and the currrent group as "unset". Thus, the ovector for 196 4. An attempt to do global matching in pcretest with a zero-length ovector 211 when matching, if the ovector is too small, extra memory can be obtained to 216 was called with an ovector that was too small to hold the capture, and there 242 ovector too small to capture the group. 251 was combined with setting a null ovector, for example \O\C+ as a subject 1202 there were back references that the ovector was too small to contain 1209 ovector size, it uses memory at the end of the block that it has got. 2604 pcre_exec() in ovector are byte offsets, not character counts. [all …]
|
H A D | NEWS | 690 ovector is required at matching time, to provide some additional workspace.
|
/PHP-5.6/ext/filter/ |
H A D | logical_filters.c | 423 int ovector[3]; in php_filter_validate_regexp() local 439 matches = pcre_exec(re, NULL, Z_STRVAL_P(value), Z_STRLEN_P(value), 0, 0, ovector, 3); in php_filter_validate_regexp() 534 int ovector[150]; /* Needs to be a multiple of 3 */ in php_filter_validate_email() local 547 matches = pcre_exec(re, NULL, Z_STRVAL_P(value), Z_STRLEN_P(value), 0, 0, ovector, 3); in php_filter_validate_email()
|
/PHP-5.6/ext/pcre/pcrelib/doc/ |
H A D | pcre.txt | 237 PCRE_SPTR16 subject, int *ovector, 246 PCRE_SPTR16 subject, int *ovector, 568 PCRE_SPTR32 subject, int *ovector, 577 PCRE_SPTR32 subject, int *ovector, 1618 const char *subject, int *ovector, 1627 const char *subject, int *ovector, 3088 int ovector[30]; 3539 The first pair of integers, ovector[0] and ovector[1], identify the 3954 const char *subject, int *ovector, 4114 int ovector[10]; [all …]
|
/PHP-5.6/ext/zip/ |
H A D | php_zip.c | 687 int ovector[3]; in php_zip_pcre() local 718 matches = pcre_exec(re, NULL, namelist[i], strlen(namelist[i]), 0, 0, ovector, 3); in php_zip_pcre()
|
Completed in 107 milliseconds