Searched refs:ovector (Results 1 – 8 of 8) sorted by relevance
/PHP-5.4/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 | 10 capture so far and the currrent group as "unset". Thus, the ovector for 20 4. An attempt to do global matching in pcretest with a zero-length ovector 35 when matching, if the ovector is too small, extra memory can be obtained to 40 was called with an ovector that was too small to hold the capture, and there 66 ovector too small to capture the group. 75 was combined with setting a null ovector, for example \O\C+ as a subject 1024 their slots in the ovector are set to -1. For those that are higher than 1026 there were back references that the ovector was too small to contain 1033 ovector size, it uses memory at the end of the block that it has got. 2428 pcre_exec() in ovector are byte offsets, not character counts. [all …]
|
H A D | NEWS | 682 ovector is required at matching time, to provide some additional workspace.
|
/PHP-5.4/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.4/ext/pcre/pcrelib/doc/ |
H A D | pcre.txt | 226 PCRE_SPTR16 subject, int *ovector, 235 PCRE_SPTR16 subject, int *ovector, 557 PCRE_SPTR32 subject, int *ovector, 566 PCRE_SPTR32 subject, int *ovector, 1607 const char *subject, int *ovector, 1616 const char *subject, int *ovector, 3077 int ovector[30]; 3528 The first pair of integers, ovector[0] and ovector[1], identify the 3943 const char *subject, int *ovector, 4103 int ovector[10]; [all …]
|
/PHP-5.4/ext/zip/ |
H A D | php_zip.c | 677 int ovector[3]; in php_zip_pcre() local 708 matches = pcre_exec(re, NULL, namelist[i], strlen(namelist[i]), 0, 0, ovector, 3); in php_zip_pcre()
|
Completed in 75 milliseconds