Searched refs:pmatch (Results 1 – 9 of 9) sorted by relevance
/PHP-5.3/ext/pcre/pcrelib/ |
H A D | pcreposix.c | 312 regmatch_t pmatch[], int eflags) in regexec() argument 332 if (nosub || pmatch == NULL) nmatch = 0; in regexec() 356 so = pmatch[0].rm_so; in regexec() 357 eo = pmatch[0].rm_eo; in regexec() 379 pmatch[i].rm_so = ovector[i*2]; in regexec() 380 pmatch[i].rm_eo = ovector[i*2+1]; in regexec() 383 for (; i < nmatch; i++) pmatch[i].rm_so = pmatch[i].rm_eo = -1; in regexec()
|
H A D | ChangeLog | 1408 value for nmatch with a NULL value for pmatch, the value of 3005 with this option is matched, the nmatch and pmatch options of regexec() are
|
/PHP-5.3/ext/ereg/regex/ |
H A D | engine.c | 70 regmatch_t pmatch[]; 109 m->pmatch = NULL; 145 if (m->pmatch == NULL) 148 if (m->pmatch == NULL) { 153 m->pmatch[i].rm_so = m->pmatch[i].rm_eo = -1; 211 pmatch[i] = m->pmatch[i]; 213 pmatch[i].rm_so = -1; 214 pmatch[i].rm_eo = -1; 218 if (m->pmatch != NULL) 219 free((char *)m->pmatch); [all …]
|
H A D | regexec.c | 113 regexec(preg, string, nmatch, pmatch, eflags) 117 regmatch_t pmatch[]; variable 135 return(smatcher(g, (unsigned char *)string, nmatch, pmatch, eflags)); 137 return(lmatcher(g, (unsigned char *)string, nmatch, pmatch, eflags));
|
H A D | engine.ih | 7 …register struct re_guts *g, unsigned char *string, size_t nmatch, regmatch_t pmatch[], int eflags);
|
/PHP-5.3/ext/mbstring/oniguruma/ |
H A D | regposix.c | 167 regmatch_t pmatch[], int posix_options) in regexec() argument 189 pm = pmatch; in regexec() 199 if (pm != pmatch && pm != NULL) { in regexec() 200 xmemcpy(pmatch, pm, sizeof(regmatch_t) * nmatch); in regexec() 206 pmatch[i].rm_so = pmatch[i].rm_eo = ONIG_REGION_NOTPOS; in regexec() 212 if (pm != pmatch && pm != NULL) in regexec()
|
H A D | HISTORY | 300 2005/12/29: [dist] change pmatch array size to 25 in testconv.rb. 793 set pmatch to NULL if nmatch is 0 in regexec(). (POSIX API)
|
/PHP-5.3/ext/fileinfo/ |
H A D | libmagic.patch | 2997 - regmatch_t pmatch[1]; 3023 - pmatch[0].rm_so = 0; 3024 - pmatch[0].rm_eo = ms->search.s_len; 3028 - 1, pmatch, REG_STARTEND); 3054 - ms->search.s += (int)pmatch[0].rm_so; 3055 - ms->search.offset += (size_t)pmatch[0].rm_so; 3057 - (size_t)(pmatch[0].rm_eo - pmatch[0].rm_so); 3071 + /* Need to fetch global match which equals pmatch[0] */
|
/PHP-5.3/ext/pcre/pcrelib/doc/ |
H A D | pcre.txt | 8982 size_t nmatch, regmatch_t pmatch[], int eflags); 9067 ing, the nmatch and pmatch arguments are ignored, and no captured 9169 The string is considered to start at string + pmatch[0].rm_so and to 9170 have a terminating NUL located at string + pmatch[0].rm_eo (there need 9179 matched strings is returned. The nmatch and pmatch arguments of 9182 If the value of nmatch is zero, or if the value pmatch is NULL, no data 9186 tured substrings, are returned via the pmatch argument, which points to
|
Completed in 79 milliseconds