/titanic_41/usr/src/lib/libast/common/regex/ |
H A D | regsubexec.c | 89 if ((c = match[op->off].rm_eo) < 0) in sub() 165 PUTS(p, b, s, match->rm_eo, return fatal(p->env->disc, c, NiL)); in regsubexec() 172 s += match->rm_eo; in regsubexec() 175 …if (c = regnexec(p, s, e - s, nmatch, match, p->env->flags|(match->rm_so == match->rm_eo ? REG_ADV… in regsubexec() 181 if (!match->rm_so && !match->rm_eo && *s && m <= 1) in regsubexec() 183 match->rm_so = match->rm_eo = 1; in regsubexec()
|
H A D | regsub.c | 211 e = (char*)op + match[c].rm_eo; in subold() 256 sfwrite(dp, op, match->rm_eo); in regsub() 263 op += match->rm_eo; in regsub() 264 …!(r = regexec(p, op, nmatch, match, p->env->flags|(match->rm_so == match->rm_eo ? REG_ADVANCE : 0)… in regsub()
|
H A D | regnexec.c | 376 if (p->rm_eo < 0) in showmatch() 379 sfprintf(sfstdout, "%d", p->rm_eo); in showmatch() 445 …rm_eo, env->best[1].rm_so, env->best[1].rm_eo, env->best[2].rm_so, env->best[2].rm_eo, env->match[… in parserep() 453 …rm_eo, env->best[1].rm_so, env->best[1].rm_eo, env->best[2].rm_so, env->best[2].rm_eo, env->match[… in parserep() 864 i = o->rm_eo - o->rm_so; in parse() 1041 …rm_eo, env->best[1].rm_so, env->best[1].rm_eo, env->best[2].rm_so, env->best[2].rm_eo, env->best[3… in parse() 1042 if ((i = env->best[0].rm_eo) >= 0) in parse() 1062 env->best[0].rm_eo = n; in parse() 1072 …rm_eo, env->best[1].rm_so, env->best[1].rm_eo, env->best[2].rm_so, env->best[2].rm_eo, env->best[3… in parse() 1187 …catcher.re.group_catch.eo = rex->re.group.number ? &env->match[rex->re.group.number].rm_eo : (rego… in parse() [all …]
|
H A D | regexec.c | 44 if (!(r = regnexec(p, s + m, match->rm_eo - m, nmatch, match, flags)) && m > 0) in regexec() 49 match->rm_eo += m; in regexec()
|
/titanic_41/usr/src/cmd/sed/ |
H A D | process.c | 389 if (lastempty || match[0].rm_so != match[0].rm_eo) { in substitute() 399 if (match[0].rm_so != match[0].rm_eo) { in substitute() 400 s += match[0].rm_eo; in substitute() 401 slen -= match[0].rm_eo; in substitute() 418 if (match[0].rm_eo == match[0].rm_so) in substitute() 419 match[0].rm_eo = match[0].rm_so + 1; in substitute() 420 s += match[0].rm_eo; in substitute() 421 slen -= match[0].rm_eo; in substitute() 436 s += match[0].rm_eo; in substitute() 437 slen -= match[0].rm_eo; in substitute() [all …]
|
/titanic_41/usr/src/cmd/basename/ |
H A D | basename.c | 161 if (pmatch[1].rm_so == pmatch[1].rm_eo) { in main() 166 string[pmatch[1].rm_eo] = '\0'; in main()
|
/titanic_41/usr/src/lib/libast/common/comp/ |
H A D | regexp.c | 103 re->re_loc2 = (char*)subject + match[0].rm_eo; in _re_exec() 107 re->re_braelist[n-1] = (char*)subject + match[n].rm_eo; in _re_exec()
|
H A D | regcmp.c | 205 k = match[i].rm_eo - match[i].rm_so; in regex() 210 return (char*)subject + match[0].rm_eo; in regex()
|
H A D | fnmatch.c | 69 if (!reflags && (reflags = subject[match.rm_eo])) in fnmatch()
|
/titanic_41/usr/src/lib/libc/port/locale/ |
H A D | engine.c | 179 stop = string + pmatch[0].rm_eo; in matcher() 293 m->pmatch[i].rm_so = m->pmatch[i].rm_eo = -1; in matcher() 327 assert(m->pmatch[i].rm_eo == -1); in matcher() 348 pmatch[0].rm_eo = endp - m->offp; in matcher() 357 pmatch[i].rm_eo = -1; in matcher() 542 m->pmatch[i].rm_eo = sp - m->offp; in dissect() 666 if (m->pmatch[i].rm_eo == -1) in backref() 669 len = m->pmatch[i].rm_eo - m->pmatch[i].rm_so; in backref() 735 offsave = m->pmatch[i].rm_eo; in backref() 736 m->pmatch[i].rm_eo = sp - m->offp; in backref() [all …]
|
/titanic_41/usr/src/cmd/expr/ |
H A D | compile.c | 335 loc2 = (char *)str + prm->rm_eo; 344 braelist[i] = (char *)str + prm->rm_eo;
|
/titanic_41/usr/src/cmd/devfsadm/ |
H A D | audio_link.c | 122 pm[pos].rm_eo - pm[pos].rm_so); \ 123 to[pm[pos].rm_eo - pm[pos].rm_so] = 0;
|
/titanic_41/usr/src/head/ |
H A D | regex.h | 148 regoff_t rm_so, rm_eo; /* Start offset, end offset */ member
|
/titanic_41/usr/src/cmd/pfexecd/ |
H A D | pfexecd.c | 161 (void) memmove(path + match[1].rm_so, path + match[1].rm_eo, in removeisapath() 162 match[0].rm_eo - match[1].rm_eo + 1); in removeisapath()
|
/titanic_41/usr/src/lib/libast/common/string/ |
H A D | strmatch.c | 141 *sub++ = matchstate.match[n].rm_eo; in strgrpmatch()
|
/titanic_41/usr/src/lib/libzfs_jni/common/ |
H A D | libzfs_jni_util.c | 72 if (match->rm_so != -1 && match->rm_eo != -1) { in zjni_get_matched_string() 73 char *end = name + match->rm_eo; in zjni_get_matched_string()
|
H A D | libzfs_jni_pool.c | 497 if (match->rm_so != -1 && match->rm_eo != -1) { in populate_DiskVirtualDeviceBean() 500 char *end = tmp + match->rm_eo; in populate_DiskVirtualDeviceBean() 514 if (match->rm_so != -1 && match->rm_eo != -1) { in populate_DiskVirtualDeviceBean() 518 match->rm_eo, "/old"); in populate_DiskVirtualDeviceBean()
|
/titanic_41/usr/src/lib/print/libpapi-lpd/common/ |
H A D | lpd-query.c | 48 if (match.rm_so != match.rm_eo) { in regvalue() 50 *(result + (match.rm_eo - match.rm_so)) = '\0'; in regvalue()
|
/titanic_41/usr/src/cmd/pgrep/ |
H A D | psexp.c | 149 (pmatch.rm_so != 0 || s[pmatch.rm_eo] != '\0')) in psexp_match()
|
/titanic_41/usr/src/lib/libcmd/common/ |
H A D | expr.c | 322 np->str[match[1].rm_eo - match[1].rm_so] = 0; in expr_cond() 331 np->num = match[0].rm_eo - match[0].rm_so; in expr_cond()
|
H A D | grep.c | 338 highlight(sfstdout, s, len + 1, state->pos[0].rm_so, state->pos[0].rm_eo); in record() 406 highlight(sfstdout, s, len + 1, state->pos[0].rm_so, state->pos[0].rm_eo); in execute() 426 highlight(sfstdout, s, len + 1, state->pos[0].rm_so, state->pos[0].rm_eo); in execute()
|
/titanic_41/usr/src/lib/libast/common/include/ |
H A D | regex.h | 144 regoff_t rm_eo; /* offset of end */ member
|
/titanic_41/usr/src/lib/libast/amd64/include/ast/ |
H A D | regex.h | 126 regoff_t rm_eo; /* offset of end */ member
|
/titanic_41/usr/src/lib/libast/i386/include/ast/ |
H A D | regex.h | 126 regoff_t rm_eo; /* offset of end */ member
|
/titanic_41/usr/src/lib/libast/sparcv9/include/ast/ |
H A D | regex.h | 126 regoff_t rm_eo; /* offset of end */ member
|