Searched refs:rm_eo (Results 1 - 25 of 43) sorted by relevance

12

/freebsd-9.3-release/usr.bin/grep/regex/
H A Dglue.h46 size_t slen = (size_t)(pmatch[0].rm_eo - pmatch[0].rm_so); \
50 if ((long long)pmatch[0].rm_eo - pmatch[0].rm_so < 0) \
56 pmatch[i].rm_eo += offset; \
/freebsd-9.3-release/lib/libc/regex/grot/
H A Dmain.c96 subs[0].rm_eo = strlen(argv[optind]) - endoff;
106 len = (int)(subs[0].rm_eo - subs[0].rm_so);
118 (int)(subs[i].rm_eo - subs[i].rm_so),
260 subs[0].rm_eo = strchr(f2, ')') - f2;
426 /* check rm_so and rm_eo for consistency */
427 if (sub.rm_so > sub.rm_eo || (sub.rm_so == -1 && sub.rm_eo != -1) ||
428 (sub.rm_so != -1 && sub.rm_eo == -1) ||
430 (sub.rm_eo != -1 && sub.rm_eo <
[all...]
/freebsd-9.3-release/bin/ed/
H A Dsub.c190 NEWLINE_TO_NUL(txt, rm[0].rm_eo);
197 i = rm[0].rm_eo;
204 txt += rm[0].rm_eo;
206 (!changed || ((gflag & GSG) && rm[0].rm_eo)) &&
210 if (i > 0 && !rm[0].rm_eo && (gflag & GSG)) {
236 k = rm[0].rm_eo;
243 k = rm[n].rm_eo;
/freebsd-9.3-release/contrib/llvm/lib/Support/
H A Dregex_impl.h45 llvm_regoff_t rm_eo; /* end of match */ member in struct:__anon2299
H A DRegex.cpp64 pm[0].rm_eo = String.size();
87 assert(pm[i].rm_eo >= pm[i].rm_so);
89 pm[i].rm_eo-pm[i].rm_so));
H A Dregengine.inc150 stop = string + pmatch[0].rm_eo;
217 m->pmatch[i].rm_so = m->pmatch[i].rm_eo = -1;
250 assert(m->pmatch[i].rm_eo == -1);
270 pmatch[0].rm_eo = endp - m->offp;
279 pmatch[i].rm_eo = -1;
467 m->pmatch[i].rm_eo = sp - m->offp;
586 if (m->pmatch[i].rm_eo == -1)
589 len = m->pmatch[i].rm_eo - m->pmatch[i].rm_so;
660 offsave = m->pmatch[i].rm_eo;
661 m->pmatch[i].rm_eo
[all...]
/freebsd-9.3-release/contrib/nvi/common/
H A Dsearch.c235 match[0].rm_eo = len;
260 match[0].rm_so, match[0].rm_eo);
373 match[0].rm_eo = len;
376 TRACE(sp, "B search: %lu from 0 to %qu\n", lno, match[0].rm_eo);
380 (match[0].rm_eo == len ? 0 : REG_NOTEOL) | REG_STARTEND);
401 match[0].rm_so, match[0].rm_eo);
413 match[0].rm_eo = len;
/freebsd-9.3-release/usr.bin/sed/
H A Dprocess.c388 if (lastempty || match[0].rm_so != match[0].rm_eo) {
398 if (match[0].rm_so != match[0].rm_eo) {
399 s += match[0].rm_eo;
400 slen -= match[0].rm_eo;
417 if (match[0].rm_eo == match[0].rm_so)
418 match[0].rm_eo = match[0].rm_so + 1;
419 s += match[0].rm_eo;
420 slen -= match[0].rm_eo;
435 s += match[0].rm_eo;
436 slen -= match[0].rm_eo;
[all...]
/freebsd-9.3-release/include/
H A Dregex.h60 regoff_t rm_eo; /* end of match */ member in struct:__anon4964
/freebsd-9.3-release/usr.bin/grep/
H A Dutil.c282 pmatch.rm_eo = l->len;
295 : (size_t)pmatch.rm_eo;
301 (size_t)pmatch.rm_eo != l->len)
312 else if ((size_t)pmatch.rm_eo !=
314 sscanf(&l->dat[pmatch.rm_eo],
475 matches[i].rm_eo - matches[i].rm_so, 1,
479 a = matches[i].rm_eo;
/freebsd-9.3-release/usr.bin/m4/
H A Dgnum4.c266 pm[n].rm_eo != -1) {
268 pm[n].rm_eo - pm[n].rm_so);
316 if (pm[0].rm_eo != 0) {
317 if (string[pm[0].rm_eo-1] == '\n')
327 if (pm[0].rm_so == pm[0].rm_eo &&
341 string += pm[0].rm_eo;
/freebsd-9.3-release/contrib/libarchive/tar/
H A Dsubst.c216 realloc_strncat(result, name, matches[0].rm_eo);
246 realloc_strncat(result, name + matches[c - '0'].rm_so, matches[c - '0'].rm_eo - matches[c - '0'].rm_so);
258 name += matches[0].rm_eo;
/freebsd-9.3-release/lib/libc/regex/
H A Dengine.c178 stop = string + pmatch[0].rm_eo;
289 m->pmatch[i].rm_so = m->pmatch[i].rm_eo = -1;
322 assert(m->pmatch[i].rm_eo == -1);
343 pmatch[0].rm_eo = endp - m->offp;
352 pmatch[i].rm_eo = -1;
539 m->pmatch[i].rm_eo = sp - m->offp;
674 if (m->pmatch[i].rm_eo == -1)
677 len = m->pmatch[i].rm_eo - m->pmatch[i].rm_so;
744 offsave = m->pmatch[i].rm_eo;
745 m->pmatch[i].rm_eo
[all...]
/freebsd-9.3-release/contrib/nvi/ex/
H A Dex_subst.c555 match[0].rm_eo = len;
596 if (!empty_ok && match[0].rm_so == 0 && match[0].rm_eo == 0) {
615 to.cno = match[0].rm_eo + offset;
672 BUILD(sp, s +offset, match[0].rm_eo);
706 skip: offset += match[0].rm_eo;
707 len -= match[0].rm_eo;
1420 match[no].rm_eo == -1)
1422 mlen = match[no].rm_eo - match[no].rm_so;
H A Dex_global.c219 match[0].rm_eo = len;
/freebsd-9.3-release/contrib/binutils/include/
H A Dxregex2.h433 regoff_t rm_eo; /* Byte offset from string's start to substring's end. */
429 regoff_t rm_eo; /* Byte offset from string's start to substring's end. */ member in struct:__anon729
/freebsd-9.3-release/contrib/cvs/lib/
H A Dregex.h402 regoff_t rm_eo; /* Byte offset from string's start to substring's end. */
398 regoff_t rm_eo; /* Byte offset from string's start to substring's end. */ member in struct:__anon900
/freebsd-9.3-release/contrib/gcclibs/include/
H A Dxregex2.h433 regoff_t rm_eo; /* Byte offset from string's start to substring's end. */
429 regoff_t rm_eo; /* Byte offset from string's start to substring's end. */ member in struct:__anon1266
/freebsd-9.3-release/usr.bin/killall/
H A Dkillall.c348 pmatch.rm_eo = strlen(thiscmd);
374 pmatch.rm_eo = strlen(thiscmd);
/freebsd-9.3-release/gnu/lib/libregex/
H A Dregexec.c230 length = pmatch[0].rm_eo;
467 rval = pmatch[0].rm_eo - start;
524 regs->end[i] = pmatch[i].rm_eo;
854 pmatch[reg_idx].rm_so = pmatch[reg_idx].rm_eo = -1;
858 pmatch[0].rm_eo = mctx.match_last;
881 if (pmatch[reg_idx].rm_eo == mctx.input.valid_len)
882 pmatch[reg_idx].rm_eo += mctx.input.valid_raw_len - mctx.input.valid_len;
884 pmatch[reg_idx].rm_eo = mctx.input.offsets[pmatch[reg_idx].rm_eo];
890 pmatch[reg_idx].rm_eo
[all...]
/freebsd-9.3-release/bin/pax/
H A Dpat_rep.c955 inpt += pm[0].rm_eo - pm[0].rm_so;
1114 if ((pmpt->rm_so < 0) || (pmpt->rm_eo < 0) ||
1115 ((len = pmpt->rm_eo - pmpt->rm_so) <= 0))
/freebsd-9.3-release/sbin/fdisk_pc98/
H A Dfdisk.c899 if ((s = malloc(rm[1].rm_eo - rm[1].rm_so + 1)) == NULL)
902 rm[1].rm_eo - rm[1].rm_so);
903 s[rm[1].rm_eo - rm[1].rm_so] = 0;
/freebsd-9.3-release/contrib/file/src/
H A Dfuncs.c441 rm.rm_eo != 0 ? ms->o.buf + rm.rm_eo : "") == -1)
/freebsd-9.3-release/contrib/gdb/include/
H A Dxregex2.h430 regoff_t rm_eo; /* Byte offset from string's start to substring's end. */
426 regoff_t rm_eo; /* Byte offset from string's start to substring's end. */ member in struct:__anon1507
/freebsd-9.3-release/contrib/less/
H A Dpattern.c313 *ep = line + rm.rm_eo;

Completed in 289 milliseconds

12