Searched refs:ovector (Results 1 – 8 of 8) sorted by relevance
/PHP-5.3/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 | 316 int *ovector = NULL; in regexec() local 338 ovector = &(small_ovector[0]); in regexec() 343 ovector = (int *)malloc(sizeof(int) * nmatch * 3); in regexec() 344 if (ovector == NULL) return REG_ESPACE; in regexec() 366 0, options, ovector, (int)(nmatch * 3)); in regexec() 379 pmatch[i].rm_so = ovector[i*2]; in regexec() 380 pmatch[i].rm_eo = ovector[i*2+1]; in regexec() 382 if (allocated_ovector) free(ovector); in regexec() 390 if (allocated_ovector) free(ovector); in regexec()
|
H A D | ChangeLog | 264 their slots in the ovector are set to -1. For those that are higher than 266 there were back references that the ovector was too small to contain 268 highest capturing number was not used, memory off the end of the ovector 273 ovector size, it uses memory at the end of the block that it has got. 350 8. Ovector size of 2 is also supported by JIT based pcre_exec (the ovector size 514 indicates that fewer than the maximum number of slots in the ovector have 531 ovector, the return from the function was zero, implying that there were 1667 pcre_exec() in ovector are byte offsets, not character counts. 3497 would have been treated as zero, but if in addition "ovector" was passed as 4826 back references than supplied space in the ovector. This could cause segfaults. [all …]
|
H A D | NEWS | 585 ovector is required at matching time, to provide some additional workspace.
|
/PHP-5.3/ext/filter/ |
H A D | logical_filters.c | 415 int ovector[3]; in php_filter_validate_regexp() local 431 matches = pcre_exec(re, NULL, Z_STRVAL_P(value), Z_STRLEN_P(value), 0, 0, ovector, 3); in php_filter_validate_regexp() 530 int ovector[150]; /* Needs to be a multiple of 3 */ in php_filter_validate_email() local 543 matches = pcre_exec(re, NULL, Z_STRVAL_P(value), Z_STRLEN_P(value), 0, 0, ovector, 3); in php_filter_validate_email()
|
/PHP-5.3/ext/pcre/pcrelib/doc/ |
H A D | pcre.txt | 220 PCRE_SPTR16 subject, int *ovector, 229 PCRE_SPTR16 subject, int *ovector, 549 PCRE_SPTR32 subject, int *ovector, 558 PCRE_SPTR32 subject, int *ovector, 1574 const char *subject, int *ovector, 1583 const char *subject, int *ovector, 2953 int ovector[30]; 3374 The first pair of integers, ovector[0] and ovector[1], identify the 3788 const char *subject, int *ovector, 3948 int ovector[10]; [all …]
|
/PHP-5.3/ext/zip/ |
H A D | php_zip.c | 686 int ovector[3]; in php_zip_pcre() local 717 matches = pcre_exec(re, NULL, namelist[i], strlen(namelist[i]), 0, 0, ovector, 3); in php_zip_pcre()
|
Completed in 64 milliseconds