/macosx-10.10.1/ksh-23/ksh/src/lib/libast/regex/ |
H A D | regexec.c | 44 if (!(r = regnexec(p, s + m, match->rm_eo - m, nmatch, match, flags)) && m > 0) 49 match->rm_eo += m; 84 oldmatch[i].rm_eo = match[i].rm_eo;
|
H A D | regsubexec.c | 89 if ((c = match[op->off].rm_eo) < 0) 165 PUTS(p, b, s, match->rm_eo, return fatal(p->env->disc, c, NiL)); 172 s += match->rm_eo; 175 if (c = regnexec(p, s, e - s, nmatch, match, p->env->flags|(match->rm_so == match->rm_eo ? REG_ADVANCE : 0))) 181 if (!match->rm_so && !match->rm_eo && *s && m <= 1) 183 match->rm_so = match->rm_eo = 1; 225 match[i].rm_eo = oldmatch[i].rm_eo; 231 oldmatch[i].rm_eo = match[i].rm_eo; [all...] |
H A D | regsub.c | 211 e = (char*)op + match[c].rm_eo; 256 sfwrite(dp, op, match->rm_eo); 263 op += match->rm_eo; 264 } while ((m > 0 || (flags & REG_SUB_ALL)) && !(r = regexec(p, op, nmatch, match, p->env->flags|(match->rm_so == match->rm_eo ? REG_ADVANCE : 0))));
|
H A D | regnexec.c | 375 if (p->rm_eo < 0) 378 sfprintf(sfstdout, "%z", p->rm_eo); 444 DEBUG_TEST(0x0004,(sfprintf(sfstdout,"AHA#%04d 0x%04x PUSH %d (%z,%z)(%z,%z)(%z,%z) (%z,%z)(%z,%z)(%z,%z)\n", __LINE__, debug_flag, rex->re.group.number, env->best[0].rm_so, env->best[0].rm_eo, env->best[1].rm_so, env->best[1].rm_eo, env->best[2].rm_so, env->best[2].rm_eo, env->match[0].rm_so, env->match[0].rm_eo, env->match[1].rm_so, env->match[1].rm_eo, env->match[2].rm_so, env->match[2].rm_eo)),(0)); 452 DEBUG_TEST(0x0004,(sfprintf(sfstdout,"AHA#%04d 0x%04x POP %d %d (%z,%z)(%z,%z)(%z,%z) (%z,%z)(%z,%z)(%z,%z)\n", __LINE__, debug_flag, rex->re.group.number, r, env->best[0].rm_so, env->best[0].rm_eo, env->best[1].rm_so, env->best[1].rm_eo, en [all...] |
H A D | regrexec.c | 175 oldmatch[i].rm_eo = match[i].rm_eo;
|
/macosx-10.10.1/cups-408/cups/vcnet/regex/ |
H A D | main.c | 93 subs[0].rm_eo = strlen(argv[optind]) - endoff; 103 len = (int)(subs[0].rm_eo - subs[0].rm_so); 115 (int)(subs[i].rm_eo - subs[i].rm_so), 257 subs[0].rm_eo = strchr(f2, ')') - f2; 423 /* check rm_so and rm_eo for consistency */ 424 if (sub.rm_so > sub.rm_eo || (sub.rm_so == -1 && sub.rm_eo != -1) || 425 (sub.rm_so != -1 && sub.rm_eo == -1) || 427 (sub.rm_eo != -1 && sub.rm_eo < [all...] |
H A D | regex.h | 18 regoff_t rm_eo; /* end of match */ member in struct:__anon7017
|
/macosx-10.10.1/text_cmds-88/ed/ |
H A D | sub.c | 192 NEWLINE_TO_NUL(txt, rm[0].rm_eo); 199 i = rm[0].rm_eo; 206 txt += rm[0].rm_eo; 208 (!changed || ((gflag & GSG) && rm[0].rm_eo)) && 212 if (i > 0 && !rm[0].rm_eo && (gflag & GSG)) { 238 k = rm[0].rm_eo; 245 k = rm[n].rm_eo;
|
/macosx-10.10.1/Libc-1044.1.2/regex/TRE/lib/ |
H A D | regexec.c | 189 pmatch[i].rm_eo = match_eo; 191 pmatch[i].rm_eo = tre_tag_get(tags, submatch_data[i].eo_tag); 195 if (pmatch[i].rm_so == -1 || pmatch[i].rm_eo == -1) 196 pmatch[i].rm_so = pmatch[i].rm_eo = -1; 200 submatch_data[i].eo_tag, pmatch[i].rm_eo)); 211 pmatch[i].rm_eo = -1; 271 if (pmatch->rm_eo < 0 || pmatch->rm_so > pmatch->rm_eo) 273 len = pmatch->rm_eo - pmatch->rm_so; 334 if (p->rm_eo > [all...] |
/macosx-10.10.1/llvmCore-3425.0.34/lib/Support/ |
H A D | regex_impl.h | 45 llvm_regoff_t rm_eo; /* end of match */ member in struct:__anon10117
|
H A D | Regex.cpp | 62 pm[0].rm_eo = String.size(); 85 assert(pm[i].rm_eo >= pm[i].rm_so); 87 pm[i].rm_eo-pm[i].rm_so));
|
/macosx-10.10.1/tcl-105/tcl/tcl/generic/ |
H A D | regfronts.c | 77 len = pmatch[0].rm_eo - pmatch[0].rm_so;
|
/macosx-10.10.1/tcl-105/tcl84/tcl/generic/ |
H A D | regfronts.c | 75 len = pmatch[0].rm_eo - pmatch[0].rm_so;
|
/macosx-10.10.1/ksh-23/ksh/src/lib/libast/comp/ |
H A D | regexp.c | 103 re->re_loc2 = (char*)subject + match[0].rm_eo; 107 re->re_braelist[n-1] = (char*)subject + match[n].rm_eo;
|
H A D | fnmatch.c | 69 if (!reflags && (reflags = subject[match.rm_eo]))
|
H A D | regcmp.c | 218 k = match[i].rm_eo - match[i].rm_so; 223 return (char*)subject + match[0].rm_eo;
|
/macosx-10.10.1/text_cmds-88/sed/ |
H A D | process.c | 347 if (lastempty || match[0].rm_so != match[0].rm_eo) { 357 if (match[0].rm_so != match[0].rm_eo) { 358 s += match[0].rm_eo; 359 slen -= match[0].rm_eo; 376 if (match[0].rm_eo == match[0].rm_so) 377 match[0].rm_eo = match[0].rm_so + 1; 378 s += match[0].rm_eo; 379 slen -= match[0].rm_eo; 394 s += match[0].rm_eo; 395 slen -= match[0].rm_eo; [all...] |
/macosx-10.10.1/ksh-23/ksh/src/lib/libast/string/ |
H A D | strmatch.c | 156 *subi++ = matchstate.match[n].rm_eo; 165 *sub++ = matchstate.match[n].rm_eo;
|
/macosx-10.10.1/bash-94.1.2/bash-3.2/lib/sh/ |
H A D | shmatch.c | 104 matches[subexp_ind].rm_eo - matches[subexp_ind].rm_so);
|
/macosx-10.10.1/pcre-7/pcre/ |
H A D | pcreposix.h | 108 regoff_t rm_eo; member in struct:__anon11470
|
/macosx-10.10.1/zsh-61/zsh/Src/Modules/ |
H A D | regex.c | 109 *x = metafy(lhstr + m->rm_so, m->rm_eo - m->rm_so, META_DUP); 120 s = metafy(lhstr + m->rm_so, m->rm_eo - m->rm_so, META_DUP); 136 while (ptr < lhstr + m->rm_eo) { 162 while (ptr < lhstr + m->rm_eo) {
|
/macosx-10.10.1/apr-32/apr-util/apr-util/dbd/ |
H A D | apr_dbd_freetds.c | 202 match[0].rm_eo - match[0].rm_so); 410 int len = matches[1].rm_eo - matches[1].rm_so - 2; 415 ret = recurse_args(pool, n+1, query+matches[0].rm_eo, 416 stmt, offs+matches[0].rm_eo); 419 stmt->fmt + offs + matches[0].rm_eo-1, 420 strlen(stmt->fmt+offs+matches[0].rm_eo)+2); 428 matches[1].rm_eo - matches[1].rm_so - 2); 429 arg[matches[1].rm_eo - matches[1].rm_so - 2] = '\0'; 441 for (i=matches[2].rm_so; i<matches[2].rm_eo; ++i) {
|
/macosx-10.10.1/apache-793/httpd/server/ |
H A D | util_pcre.c | 217 pmatch[i].rm_eo = ovector[i * 2 + 1]; 222 pmatch[i].rm_so = pmatch[i].rm_eo = -1;
|
H A D | util_regex.c | 159 oldl = rx->pmatch[0].rm_eo - startl; 196 *len = rx->pmatch[n].rm_eo - rx->pmatch[n].rm_so;
|
/macosx-10.10.1/nano-12/src/ |
H A D | winio.c | 2476 * that there is a match. Also, rm_eo is the first 2483 /* We increment k by rm_eo, to move past the end of the 2500 startmatch.rm_eo += k; 2503 if (startmatch.rm_so == startmatch.rm_eo) 2504 startmatch.rm_eo++; 2506 startmatch.rm_eo > startpos) { 2515 startmatch.rm_eo) - start - x_start); 2522 k = startmatch.rm_eo; 2554 if (startmatch.rm_so == startmatch.rm_eo) 2555 startmatch.rm_eo [all...] |