| /src/external/bsd/tmux/dist/ |
| regsub.c | 48 if (i < n && m[i].rm_so != m[i].rm_eo) { 50 m[i].rm_eo); 97 m[0].rm_so != m[0].rm_eo) { 101 last = start + m[0].rm_eo; 102 start += m[0].rm_eo; 105 last = start + m[0].rm_eo; 106 start += m[0].rm_eo + 1;
|
| /src/external/bsd/tre/dist/lib/ |
| regexec.c | 63 pmatch[i].rm_eo = match_eo; 65 pmatch[i].rm_eo = tags[submatch_data[i].eo_tag]; 69 if (pmatch[i].rm_so == -1 || pmatch[i].rm_eo == -1) 70 pmatch[i].rm_so = pmatch[i].rm_eo = -1; 74 submatch_data[i].eo_tag, pmatch[i].rm_eo)); 82 if (pmatch[i].rm_eo == -1) 84 assert(pmatch[i].rm_so <= pmatch[i].rm_eo); 92 || pmatch[i].rm_eo > pmatch[parents[j]].rm_eo) 93 pmatch[i].rm_so = pmatch[i].rm_eo = -1 [all...] |
| /src/external/bsd/flex/dist/src/ |
| regex.c | 82 if (m == NULL || m->rm_so < 0 || m->rm_eo < m->rm_so) 84 len = (size_t) (m->rm_eo - m->rm_so); 121 return m->rm_eo - m->rm_so; 165 return (m == NULL || m->rm_so < 0 || m->rm_so == m->rm_eo);
|
| /src/external/gpl3/gdb.old/dist/gdb/ |
| ui-style.c | 246 gdb_assert (subexps[FINAL_SUBEXP].rm_eo - subexps[FINAL_SUBEXP].rm_so == 1); 251 *n_read = subexps[0].rm_eo; 263 if (subexps[DATA_SUBEXP].rm_so == subexps[DATA_SUBEXP].rm_eo) 267 i < subexps[DATA_SUBEXP].rm_eo; 366 *n_read = subexps[0].rm_eo; 375 *n_read = subexps[0].rm_eo; 391 *n_read = subexps[0].rm_eo; 406 *n_read = subexps[FINAL_SUBEXP].rm_eo;
|
| /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...] |
| /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/external/apache2/llvm/dist/llvm/lib/Support/ |
| regex_impl.h | 45 llvm_regoff_t rm_eo; /* end of match */ member in struct:__anon4555
|
| /src/external/bsd/nvi/dist/regex/ |
| regex.h | 62 regoff_t rm_eo; /* end of match */ member in struct:__anon7616
|
| /src/external/gpl3/gcc/dist/fixincludes/ |
| fixtests.c | 83 base += match[0].rm_eo; 109 if (match[0].rm_eo <= limit - base)
|
| fixfixes.c | 139 const char* pe = text + rm[1].rm_eo; 166 return text += rm[0].rm_eo; 222 len = pRM->rm_eo - pRM->rm_so; 286 text += rm[0].rm_eo; 335 /* p + rm[0].rm_eo is the first character of the macro replacement. 338 p += rm[0].rm_eo; 420 /* p + rm[0].rm_eo is the first character of the macro name. 423 p += rm[0].rm_eo; 544 base += match[0].rm_eo; 576 if (match[0].rm_eo > limit - base [all...] |
| /src/external/gpl3/gcc.old/dist/fixincludes/ |
| fixtests.c | 83 base += match[0].rm_eo; 109 if (match[0].rm_eo <= limit - base)
|
| fixfixes.c | 139 const char* pe = text + rm[1].rm_eo; 166 return text += rm[0].rm_eo; 222 len = pRM->rm_eo - pRM->rm_so; 286 text += rm[0].rm_eo; 335 /* p + rm[0].rm_eo is the first character of the macro replacement. 338 p += rm[0].rm_eo; 420 /* p + rm[0].rm_eo is the first character of the macro name. 423 p += rm[0].rm_eo; 544 base += match[0].rm_eo; 576 if (match[0].rm_eo > limit - base [all...] |
| /src/external/bsd/nvi/dist/common/ |
| search.c | 239 match[0].rm_eo = len; 264 match[0].rm_so, match[0].rm_eo); 376 match[0].rm_eo = len; 380 "B search: %lu from 0 to %qu\n", lno, match[0].rm_eo); 384 ((size_t)match[0].rm_eo == len ? 0 : REG_NOTEOL) | REG_STARTEND); 405 match[0].rm_so, match[0].rm_eo); 417 match[0].rm_eo = len;
|
| /src/usr.bin/sed/ |
| process.c | 414 if (lastempty || match[0].rm_so != match[0].rm_eo) { 424 if (match[0].rm_so != match[0].rm_eo) { 425 s += match[0].rm_eo; 426 slen -= match[0].rm_eo; 443 if (match[0].rm_eo == match[0].rm_so) 444 match[0].rm_eo = match[0].rm_so + 1; 445 s += match[0].rm_eo; 446 slen -= match[0].rm_eo; 461 s += match[0].rm_eo; 462 slen -= match[0].rm_eo; [all...] |
| /src/crypto/external/bsd/netpgp/dist/src/libpaa/ |
| libpaa.c | 107 (int)(matches[1].rm_eo - matches[1].rm_so), 116 (int)(matches[1].rm_eo - matches[1].rm_so), 119 (int)(matches[2].rm_eo - matches[2].rm_so), 122 (int)(matches[3].rm_eo - matches[3].rm_so), 247 (int)(matches[1].rm_eo - matches[1].rm_so), &in[(int)matches[1].rm_so]); 289 (size_t)(matches[1].rm_eo - matches[1].rm_so), buf, sizeof(buf)); 308 (int)(matches[2].rm_eo - matches[2].rm_so), &verified[(int)matches[2].rm_so]); 310 (const unsigned)(matches[2].rm_eo - matches[2].rm_so), 324 (int)(matches[1].rm_eo - matches[1].rm_so),
|
| /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);
|
| /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/crypto/external/bsd/netpgp/dist/src/hkpclient/ |
| hkpc.c | 129 ret = netpgp_format_json(fp, &res[(int)matches[0].rm_eo], 1); 131 (void) fprintf(fp, "%s\n", &res[(int)matches[0].rm_eo]);
|
| /src/external/gpl3/gcc/dist/gcc/ |
| regsub.cc | 134 } else if (rm[i].rm_so != -1 && rm[i].rm_eo != -1) { 135 size_t l = (size_t)(rm[i].rm_eo - rm[i].rm_so);
|
| /src/external/gpl3/gcc.old/dist/gcc/ |
| regsub.cc | 134 } else if (rm[i].rm_so != -1 && rm[i].rm_eo != -1) { 135 size_t l = (size_t)(rm[i].rm_eo - rm[i].rm_so);
|
| /src/external/gpl3/gdb/dist/gdb/ |
| ui-style.c | 400 gdb_assert (subexps[FINAL_SUBEXP].rm_eo - subexps[FINAL_SUBEXP].rm_so == 1); 405 *n_read = subexps[0].rm_eo; 417 if (subexps[DATA_SUBEXP].rm_so == subexps[DATA_SUBEXP].rm_eo) 421 i < subexps[DATA_SUBEXP].rm_eo; 536 *n_read = subexps[0].rm_eo; 545 *n_read = subexps[0].rm_eo; 561 *n_read = subexps[0].rm_eo; 584 *n_read = subexps[FINAL_SUBEXP].rm_eo;
|
| /src/include/ |
| regex.h | 93 regoff_t rm_eo; /* end of match */ member in struct:__anon145
|
| /src/external/bsd/libarchive/dist/tar/ |
| subst.c | 253 matches[0].rm_eo - matches[0].rm_so); 284 realloc_strncat(result, name + matches[c - '0'].rm_so, matches[c - '0'].rm_eo - matches[c - '0'].rm_so); 295 if (matches[0].rm_eo > 0) { 296 name += matches[0].rm_eo;
|
| /src/external/bsd/tre/dist/src/ |
| agrep.c | 291 next_delim_len = pmatch[0].rm_eo - pmatch[0].rm_so; 292 next_record = next_record + pmatch[0].rm_eo; 482 invert_match ? record_len : (int)pmatch[0].rm_eo); 495 pmatch[0].rm_eo += delim_len; 502 printf("%.*s", (int)(pmatch[0].rm_eo - pmatch[0].rm_so), 505 printf("%.*s", (int)(record_len - pmatch[0].rm_eo), 506 record + pmatch[0].rm_eo);
|