Searched refs:ovector (Results 1 – 8 of 8) sorted by relevance
/PHP-7.2/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 | 302 if (n < stringcount && ovector[n*2] >= 0) return n; in get_first_set() 355 yield = ovector[stringnumber+1] - ovector[stringnumber]; in pcre_copy_substring() 395 int *ovector, int stringcount, const char *stringname, in pcre_copy_named_substring() argument 400 int *ovector, int stringcount, PCRE_SPTR16 stringname, in pcre_copy_named_substring() 405 int *ovector, int stringcount, PCRE_SPTR32 stringname, in pcre_copy_named_substring() 466 if (ovector[i+1] > ovector[i]) size += IN_UCHARS(ovector[i+1] - ovector[i]); in pcre_get_substring_list() 483 int len = (ovector[i+1] > ovector[i])? (ovector[i+1] - ovector[i]) : 0; in pcre_get_substring_list() 484 memcpy(p, subject + ovector[i], IN_UCHARS(len)); in pcre_get_substring_list() 568 yield = ovector[stringnumber+1] - ovector[stringnumber]; in pcre_get_substring() 615 int *ovector, int stringcount, const char *stringname, in pcre_get_named_substring() argument [all …]
|
H A D | pcreposix.c | 328 int *ovector = NULL; in regexec() local 350 ovector = &(small_ovector[0]); in regexec() 355 ovector = (int *)malloc(sizeof(int) * nmatch * 3); in regexec() 356 if (ovector == NULL) return REG_ESPACE; in regexec() 379 0, options, ovector, (int)(nmatch * 3)); in regexec() 392 pmatch[i].rm_so = ovector[i*2] + so; in regexec() 393 pmatch[i].rm_eo = ovector[i*2+1] + so; in regexec() 395 if (allocated_ovector) free(ovector); in regexec() 403 if (allocated_ovector) free(ovector); in regexec()
|
H A D | ChangeLog | 131 was greater than the space in the ovector could cause a crash. 158 15. pcretest went into a loop if global matching was requested with an ovector 234 10. There was a buffer overflow if pcre_exec() was called with an ovector of 372 capture so far and the currrent group as "unset". Thus, the ovector for 382 4. An attempt to do global matching in pcretest with a zero-length ovector 428 ovector too small to capture the group. 437 was combined with setting a null ovector, for example \O\C+ as a subject 1388 there were back references that the ovector was too small to contain 1395 ovector size, it uses memory at the end of the block that it has got. 2790 pcre_exec() in ovector are byte offsets, not character counts. [all …]
|
H A D | NEWS | 711 ovector is required at matching time, to provide some additional workspace.
|
/PHP-7.2/ext/filter/ |
H A D | logical_filters.c | 434 int ovector[3]; in php_filter_validate_regexp() local 449 matches = pcre_exec(re, NULL, Z_STRVAL_P(value), (int)Z_STRLEN_P(value), 0, 0, ovector, 3); in php_filter_validate_regexp() 604 int ovector[150]; /* Needs to be a multiple of 3 */ in php_filter_validate_email() local 632 matches = pcre_exec(re, NULL, Z_STRVAL_P(value), (int)Z_STRLEN_P(value), 0, 0, ovector, 3); in php_filter_validate_email()
|
/PHP-7.2/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, 3087 int ovector[30]; 3538 The first pair of integers, ovector[0] and ovector[1], identify the 3953 const char *subject, int *ovector, 4113 int ovector[10]; [all …]
|
/PHP-7.2/ext/zip/ |
H A D | php_zip.c | 670 int ovector[3]; in php_zip_pcre() local 700 matches = pcre_exec(re, NULL, ZSTR_VAL(namelist[i]), ZSTR_LEN(namelist[i]), 0, 0, ovector, 3); in php_zip_pcre()
|
Completed in 68 milliseconds