/freebsd-10-stable/contrib/llvm/tools/lldb/source/Core/ |
H A D | RegularExpression.cpp | 167 if (m_matches[idx].rm_eo == m_matches[idx].rm_so) 173 else if (m_matches[idx].rm_eo > m_matches[idx].rm_so) 176 m_matches[idx].rm_eo - m_matches[idx].rm_so); 188 if (m_matches[idx].rm_eo == m_matches[idx].rm_so) 194 else if (m_matches[idx].rm_eo > m_matches[idx].rm_so) 196 match_str = llvm::StringRef (s + m_matches[idx].rm_so, m_matches[idx].rm_eo - m_matches[idx].rm_so); 208 if (m_matches[idx1].rm_so == m_matches[idx2].rm_eo) 214 else if (m_matches[idx1].rm_so < m_matches[idx2].rm_eo) 216 match_str = llvm::StringRef (s + m_matches[idx1].rm_so, m_matches[idx2].rm_eo - m_matches[idx1].rm_so);
|
/freebsd-10-stable/usr.bin/grep/regex/ |
H A D | glue.h | 46 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-10-stable/contrib/netbsd-tests/lib/libc/regex/ |
H A D | main.c | 124 subs[0].rm_eo = strlen(argv[optind]) - endoff; 134 len = (int)(subs[0].rm_eo - subs[0].rm_so); 146 (int)(subs[i].rm_eo - subs[i].rm_so), 280 subs[0].rm_eo = strchr(f2, ')') - f2; 437 /* check rm_so and rm_eo for consistency */ 438 if (sub.rm_so > sub.rm_eo || (sub.rm_so == -1 && sub.rm_eo != -1) || 439 (sub.rm_so != -1 && sub.rm_eo == -1) || 441 (sub.rm_eo != -1 && sub.rm_eo < [all...] |
/freebsd-10-stable/lib/libc/regex/grot/ |
H A D | main.c | 96 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), 251 subs[0].rm_eo = strchr(f2, ')') - f2; 409 /* check rm_so and rm_eo for consistency */ 410 if (sub.rm_so > sub.rm_eo || (sub.rm_so == -1 && sub.rm_eo != -1) || 411 (sub.rm_so != -1 && sub.rm_eo == -1) || 413 (sub.rm_eo != -1 && sub.rm_eo < [all...] |
/freebsd-10-stable/bin/ed/ |
H A D | sub.c | 190 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-10-stable/contrib/flex/ |
H A D | regex.c | 87 len = m->rm_eo - m->rm_so; 125 return m->rm_eo - m->rm_so; 169 return (m == NULL || m->rm_so < 0 || m->rm_so == m->rm_eo);
|
/freebsd-10-stable/contrib/llvm/lib/Support/ |
H A D | regex_impl.h | 45 llvm_regoff_t rm_eo; /* end of match */ member in struct:__anon2438
|
H A D | Regex.cpp | 64 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 D | regengine.inc | 150 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-10-stable/contrib/nvi/regex/ |
H A D | regex.h | 62 regoff_t rm_eo; /* end of match */ member in struct:__anon4183
|
H A D | engine.c | 160 stop = string + pmatch[0].rm_eo; 225 m->pmatch[i].rm_so = m->pmatch[i].rm_eo = -1; 258 assert(m->pmatch[i].rm_eo == -1); 277 pmatch[0].rm_eo = endp - m->offp; 286 pmatch[i].rm_eo = -1; 474 m->pmatch[i].rm_eo = sp - m->offp; 608 if (m->pmatch[i].rm_eo == -1) 611 len = m->pmatch[i].rm_eo - m->pmatch[i].rm_so; 680 offsave = m->pmatch[i].rm_eo; 681 m->pmatch[i].rm_eo [all...] |
/freebsd-10-stable/include/ |
H A D | regex.h | 60 regoff_t rm_eo; /* end of match */ member in struct:__anon5578
|
/freebsd-10-stable/contrib/nvi/common/ |
H A D | search.c | 239 match[0].rm_eo = len; 264 match[0].rm_so, match[0].rm_eo); 379 match[0].rm_eo = len; 382 TRACE(sp, "B search: %lu from 0 to %qu\n", lno, match[0].rm_eo); 386 (match[0].rm_eo == len ? 0 : REG_NOTEOL) | REG_STARTEND); 407 match[0].rm_so, match[0].rm_eo); 419 match[0].rm_eo = len;
|
/freebsd-10-stable/usr.bin/grep/ |
H A D | util.c | 282 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-10-stable/usr.bin/sed/ |
H A D | process.c | 402 match[0].rm_so != match[0].rm_eo) { 410 if (match[0].rm_eo - le) 411 cspace(&SS, s, match[0].rm_eo - le, 418 s = ps + match[0].rm_eo; 419 slen = psl - match[0].rm_eo; 420 le = match[0].rm_eo; 426 if (match[0].rm_so == match[0].rm_eo) { 662 match[0].rm_eo = stop; 710 } else if (match[no].rm_so != -1 && match[no].rm_eo != -1) { 711 len = match[no].rm_eo [all...] |
/freebsd-10-stable/contrib/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) {
|
/freebsd-10-stable/usr.bin/sort/ |
H A D | sort.c | 642 if (pmatch[0].rm_eo <= pmatch[0].rm_so) 645 if (pmatch[1].rm_eo <= pmatch[1].rm_so) 648 len = pmatch[1].rm_eo - pmatch[1].rm_so; 674 if (pmatch[2].rm_eo > pmatch[2].rm_so) { 675 len = pmatch[2].rm_eo - pmatch[2].rm_so - 1; 703 if (pmatch[3].rm_eo > pmatch[3].rm_so) { 706 for (i = pmatch[3].rm_so; i < pmatch[3].rm_eo; i++) { 798 if (pmatch[0].rm_eo <= pmatch[0].rm_so) 801 if (pmatch[1].rm_eo <= pmatch[1].rm_so) 804 len = pmatch[1].rm_eo [all...] |
/freebsd-10-stable/usr.bin/m4/ |
H A D | gnum4.c | 266 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-10-stable/contrib/libarchive/tar/ |
H A D | subst.c | 253 matches[0].rm_eo - matches[0].rm_so); 283 realloc_strncat(result, name + matches[c - '0'].rm_so, matches[c - '0'].rm_eo - matches[c - '0'].rm_so); 295 name += matches[0].rm_eo;
|
/freebsd-10-stable/lib/libc/regex/ |
H A D | engine.c | 178 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; 671 if (m->pmatch[i].rm_eo == -1) 674 len = m->pmatch[i].rm_eo - m->pmatch[i].rm_so; 741 offsave = m->pmatch[i].rm_eo; 742 m->pmatch[i].rm_eo [all...] |
/freebsd-10-stable/contrib/nvi/ex/ |
H A D | ex_subst.c | 548 match[0].rm_eo = len; 589 if (!empty_ok && match[0].rm_so == 0 && match[0].rm_eo == 0) { 608 to.cno = match[0].rm_eo + offset; 665 BUILD(sp, s +offset, match[0].rm_eo); 699 skip: offset += match[0].rm_eo; 700 len -= match[0].rm_eo; 1399 match[no].rm_eo == -1) 1401 mlen = match[no].rm_eo - match[no].rm_so;
|
/freebsd-10-stable/contrib/less/ |
H A D | pattern.c | 326 rm.rm_eo = line_len; 333 *ep = line + rm.rm_eo;
|
/freebsd-10-stable/contrib/binutils/include/ |
H A D | xregex2.h | 433 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:__anon607
|
/freebsd-10-stable/contrib/gcclibs/include/ |
H A D | xregex2.h | 433 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:__anon1248
|
/freebsd-10-stable/usr.bin/killall/ |
H A D | killall.c | 362 pmatch.rm_eo = strlen(thiscmd); 388 pmatch.rm_eo = strlen(thiscmd);
|