HomeSort by: relevance | last modified time | path
    Searched refs:rm_eo (Results 1 - 19 of 19) sorted by relevancy

  /src/tests/lib/libc/regex/
main.c 134 subs[0].rm_eo = strlen(argv[optind]) - endoff;
144 len = (int)(subs[0].rm_eo - subs[0].rm_so);
156 (int)(subs[i].rm_eo - subs[i].rm_so),
294 subs[0].rm_eo = strchr(f2, ')') - f2;
454 /* check rm_so and rm_eo for consistency */
455 if (sub.rm_so > sub.rm_eo || (sub.rm_so == -1 && sub.rm_eo != -1) ||
456 (sub.rm_so != -1 && sub.rm_eo == -1) ||
458 (sub.rm_eo != -1 && sub.rm_eo < 0) )
    [all...]
t_regex_att.c 374 if (pm[i].rm_so == -1 && pm[i].rm_eo == -1)
378 (long long)pm[i].rm_so, (long long)pm[i].rm_eo);
  /src/bin/ed/
sub.c 199 NEWLINE_TO_NUL(txt, rm[0].rm_eo);
206 i = rm[0].rm_eo;
213 txt += rm[0].rm_eo;
214 } while (*txt && (!changed || ((gflag & GSG) && rm[0].rm_eo))
218 if (i > 0 && !rm[0].rm_eo && (gflag & GSG)) {
244 k = rm[0].rm_eo;
251 k = rm[n].rm_eo;
  /src/usr.bin/sed/
process.c 413 if (lastempty || match[0].rm_so != match[0].rm_eo) {
423 if (match[0].rm_so != match[0].rm_eo) {
424 s += match[0].rm_eo;
425 slen -= match[0].rm_eo;
442 if (match[0].rm_eo == match[0].rm_so)
443 match[0].rm_eo = match[0].rm_so + 1;
444 s += match[0].rm_eo;
445 slen -= match[0].rm_eo;
460 s += match[0].rm_eo;
461 slen -= match[0].rm_eo;
    [all...]
  /src/usr.bin/grep/
util.c 298 pmatch.rm_eo = l->len;
311 st = pmatch.rm_eo;
316 st = pmatch.rm_eo;
323 (size_t)pmatch.rm_eo != l->len))
334 if ((size_t)pmatch.rm_eo != l->len &&
335 sscanf(&l->dat[pmatch.rm_eo],
482 matches[i].rm_eo - matches[i].rm_so, 1,
487 a = matches[i].rm_eo;
fastgrep.c 229 pmatch->rm_eo = len;
248 pmatch->rm_eo = j + fg->len;
259 pmatch->rm_eo = j;
274 pmatch->rm_eo = j + fg->len;
  /src/lib/libc/regex/
regsub.c 135 } else if (rm[i].rm_so != -1 && rm[i].rm_eo != -1) {
136 size_t l = (size_t)(rm[i].rm_eo - rm[i].rm_so);
engine.c 234 stop = string + (size_t)pmatch[0].rm_eo;
346 m->pmatch[i].rm_so = m->pmatch[i].rm_eo = -1;
378 assert(m->pmatch[i].rm_eo == (regoff_t)-1);
400 pmatch[0].rm_eo = endp - m->offp;
409 pmatch[i].rm_eo = (regoff_t)-1;
612 m->pmatch[i].rm_eo = sp - m->offp;
784 if (m->pmatch[i].rm_eo == -1)
787 len = (size_t)(m->pmatch[i].rm_eo - m->pmatch[i].rm_so);
854 offsave = m->pmatch[i].rm_eo;
855 m->pmatch[i].rm_eo = sp - m->offp
    [all...]
  /src/include/
regex.h 93 regoff_t rm_eo; /* end of match */ member in struct:__anon5fac6af10208
  /src/sys/external/bsd/drm2/dist/drm/radeon/
mkregtable.c 253 buf[match[0].rm_eo] = 0;
254 buf[match[1].rm_eo] = 0;
255 buf[match[2].rm_eo] = 0;
  /src/usr.bin/m4/
gnum4.c 278 pm[n].rm_eo != -1) {
280 pm[n].rm_eo - pm[n].rm_so);
329 if (pm[0].rm_eo != 0) {
330 if (string[pm[0].rm_eo-1] == '\n')
340 if (pm[0].rm_so == pm[0].rm_eo &&
354 string += pm[0].rm_eo;
  /src/share/examples/refuse/dmesgfs/
dmesgfs.c 281 matchv[1].rm_eo - matchv[1].rm_so,
283 matchv[2].rm_eo - matchv[2].rm_so,
285 matchv[0].rm_eo - matchv[0].rm_so);
  /src/bin/expr/
expr.y 315 (int)(rm[1].rm_eo - rm[1].rm_so),
319 mbs_len(str + rm[0].rm_so, str + rm[0].rm_eo));
  /src/bin/pax/
pat_rep.c 988 inpt += pm[0].rm_eo - pm[0].rm_so;
1126 if ((pmpt->rm_so < 0) || (pmpt->rm_eo < 0) ||
1127 ((len = pmpt->rm_eo - pmpt->rm_so) <= 0))
  /src/usr.sbin/user/
user.c 966 (int)(matchv[pwtp->re_sub].rm_eo -
1356 } else if (matchv[2].rm_eo != matchv[3].rm_eo) {
1357 matchv[2].rm_eo = matchv[3].rm_eo;
1359 cc -= (int) matchv[2].rm_eo;
1362 fwrite(&buf[(int)matchv[2].rm_eo], sizeof(char),
  /src/usr.bin/pkill/
pkill.c 335 regmatch.rm_eo ==
  /src/usr.bin/make/
var.c 1611 wp + (size_t)m[n].rm_eo);
1635 wp + (size_t)m[0].rm_eo);
1679 wp += (size_t)m[0].rm_eo;
1682 if (m[0].rm_so == 0 && m[0].rm_eo == 0 && *wp != '\0') {
  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
sanitizer_platform_limits_netbsd.h 73 OFF_T rm_eo; member in struct:__sanitizer::__sanitizer_regmatch
  /src/sbin/sysctl/
sysctl.c 426 if (match.rm_so == 0 && match.rm_eo == (int)l)

Completed in 29 milliseconds