Searched refs:ovector (Results 1 – 8 of 8) sorted by relevance
/PHP-7.1/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 | 296 if (ovector[n*2] >= 0) return n; in get_first_set() 349 yield = ovector[stringnumber+1] - ovector[stringnumber]; in pcre_copy_substring() 389 int *ovector, int stringcount, const char *stringname, in pcre_copy_named_substring() argument 394 int *ovector, int stringcount, PCRE_SPTR16 stringname, in pcre_copy_named_substring() 399 int *ovector, int stringcount, PCRE_SPTR32 stringname, in pcre_copy_named_substring() 403 int n = get_first_set(code, stringname, ovector); in pcre_copy_named_substring() 458 size += sizeof(pcre_uchar *) + IN_UCHARS(ovector[i+1] - ovector[i] + 1); in pcre_get_substring_list() 474 int len = ovector[i+1] - ovector[i]; in pcre_get_substring_list() 475 memcpy(p, subject + ovector[i], IN_UCHARS(len)); in pcre_get_substring_list() 559 yield = ovector[stringnumber+1] - ovector[stringnumber]; in pcre_get_substring() [all …]
|
H A D | pcreposix.c | 325 int *ovector = NULL; in regexec() local 347 ovector = &(small_ovector[0]); in regexec() 352 ovector = (int *)malloc(sizeof(int) * nmatch * 3); in regexec() 353 if (ovector == NULL) return REG_ESPACE; in regexec() 375 0, options, ovector, (int)(nmatch * 3)); in regexec() 388 pmatch[i].rm_so = ovector[i*2]; in regexec() 389 pmatch[i].rm_eo = ovector[i*2+1]; in regexec() 391 if (allocated_ovector) free(ovector); in regexec() 399 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-7.1/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.1/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-7.1/ext/zip/ |
H A D | php_zip.c | 650 int ovector[3]; in php_zip_pcre() local 680 matches = pcre_exec(re, NULL, ZSTR_VAL(namelist[i]), ZSTR_LEN(namelist[i]), 0, 0, ovector, 3); in php_zip_pcre()
|
Completed in 65 milliseconds