/osnet-11/usr/src/lib/libast/common/regex/ |
H A D | regexec.c | 41 int m = match->rm_so; 46 if (match->rm_so >= 0) 48 match->rm_so += m;
|
H A D | regsubexec.c | 86 if ((c = match[op->off].rm_so) < 0) 168 PUTS(p, b, s, match->rm_so, return fatal(p->env->disc, c, NiL)); 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;
|
H A D | regsub.c | 210 s = (char*)op + match[c].rm_so; 259 sfwrite(dp, op, match->rm_so); 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 | 370 if (p->rm_so < 0) 373 sfprintf(sfstdout, "%d", p->rm_so); 444 DEBUG_TEST(0x0004,(sfprintf(sfstdout,"AHA#%04d 0x%04x PUSH %d (%d,%d)(%d,%d)(%d,%d) (%d,%d)(%d,%d)(%d,%d)\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 (%d,%d)(%d,%d)(%d,%d) (%d,%d)(%d,%d)(%d,%d)\n", __LINE__, debug_flag, rex->re.group.number, r, env->best[0].rm_so, env->best[0].rm_eo, env->best[1].rm_so, en [all...] |
/osnet-11/usr/src/lib/libast/common/comp/ |
H A D | regexp.c | 100 if (regexec(&env->re, subject, elementsof(match), match, 0) || anchor && match[0].rm_so) 102 re->re_loc1 = (char*)subject + match[0].rm_so; 106 re->re_braslist[n-1] = (char*)subject + match[n].rm_so;
|
H A D | regcmp.c | 205 k = match[i].rm_eo - match[i].rm_so; 206 strlcpy(sub[n], subject + match[i].rm_so, k); 209 __loc1 = (char*)subject + match[0].rm_so;
|
/osnet-11/usr/src/grub/grub2/grub-core/commands/ |
H A D | regexp.c | 56 err = grub_env_set (v, str + m->rm_so); 65 if (nmatches < 2 || matches[1].rm_so == -1) 77 if (nmatches <= j || matches[j].rm_so == -1)
|
/osnet-11/usr/src/lib/libast/common/string/ |
H A D | strmatch.c | 140 *sub++ = matchstate.match[n].rm_so;
|
/osnet-11/usr/src/lib/libcmd/common/ |
H A D | expr.c | 319 if (match[1].rm_so >= 0) 321 np->str = cp + match[1].rm_so; 322 np->str[match[1].rm_eo - match[1].rm_so] = 0; 331 np->num = match[0].rm_eo - match[0].rm_so;
|
H A D | grep.c | 345 highlight(sfstdout, s, len + 1, state->pos[0].rm_so, state->pos[0].rm_eo); 413 highlight(sfstdout, s, len + 1, state->pos[0].rm_so, state->pos[0].rm_eo); 433 highlight(sfstdout, s, len + 1, state->pos[0].rm_so, state->pos[0].rm_eo);
|
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | an_to_ln.c | 239 if ((match_match.rm_so == 0) && 300 if (match_match.rm_so) { 301 use_bytes(match_match.rm_so); 302 strncpy(op, cp, match_match.rm_so); 303 op += match_match.rm_so;
|
/osnet-11/usr/src/lib/libast/common/include/ |
H A D | regex.h | 144 regoff_t rm_so; /* offset of start */ member in struct:regmatch_s
|
/osnet-11/usr/src/lib/libzfs_jni/common/ |
H A D | libzfs_jni_util.c | 72 if (match->rm_so != -1 && match->rm_eo != -1) { 76 stringUTF = (*env)->NewStringUTF(env, name + match->rm_so);
|
H A D | libzfs_jni_pool.c | 494 if (match->rm_so != -1 && match->rm_eo != -1) { 511 if (match->rm_so != -1 && match->rm_eo != -1) {
|
/osnet-11/usr/src/grub/grub2/grub-core/gnulib/ |
H A D | regexec.c | 243 start = pmatch[0].rm_so; 498 assert (pmatch[0].rm_so == start); 502 rval = pmatch[0].rm_so; 567 regs->start[i] = pmatch[i].rm_so; 911 pmatch[reg_idx].rm_so = pmatch[reg_idx].rm_eo = -1; 914 pmatch[0].rm_so = 0; 932 if (pmatch[reg_idx].rm_so != -1) 937 pmatch[reg_idx].rm_so = 938 (pmatch[reg_idx].rm_so == mctx.input.valid_len 940 : mctx.input.offsets[pmatch[reg_idx].rm_so]); [all...] |
H A D | regex.h | 548 regoff_t rm_so; /* Byte offset from string's start to substring's start. */ 544 regoff_t rm_so; /* Byte offset from string's start to substring's start. */ member in struct:__anon462
|
/osnet-11/usr/src/lib/libast/amd64/include/ast/ |
H A D | regex.h | 126 regoff_t rm_so; /* offset of start */ member in struct:regmatch_s
|
/osnet-11/usr/src/lib/libast/i386/include/ast/ |
H A D | regex.h | 126 regoff_t rm_so; /* offset of start */ member in struct:regmatch_s
|
/osnet-11/usr/src/lib/libast/sparc/include/ast/ |
H A D | regex.h | 126 regoff_t rm_so; /* offset of start */ member in struct:regmatch_s
|
/osnet-11/usr/src/lib/libast/sparcv9/include/ast/ |
H A D | regex.h | 126 regoff_t rm_so; /* offset of start */ member in struct:regmatch_s
|
/osnet-11/usr/src/lib/libsuri/common/ |
H A D | suri_parser.c | 354 int len = pm[idx].rm_eo - pm[idx].rm_so; 355 (void) memcpy(dst, matched_str + pm[idx].rm_so, len);
|
H A D | suri_aux.c | 249 return (devpath + pm[1].rm_so);
|
/osnet-11/usr/src/lib/libpp/common/ |
H A D | ppcontrol.c | 529 if ((c = match[0].rm_eo - match[0].rm_so) > n)
|
/osnet-11/usr/src/cmd/sendmail/src/ |
H A D | map.c | 7083 pmatch[*ip].rm_so < 0 || pmatch[*ip].rm_eo < 0) 7086 sp = name + pmatch[*ip].rm_so;
|