/netbsd-6-1-5-RELEASE/external/bsd/flex/dist/ |
H A D | regex.c | 83 len = m->rm_eo - m->rm_so; 119 return m->rm_eo - m->rm_so; 163 return (m == NULL || m->rm_so < 0 || m->rm_so == m->rm_eo);
|
/netbsd-6-1-5-RELEASE/external/bsd/tre/dist/lib/ |
H A D | regexec.c | 60 pmatch[i].rm_eo = match_eo; 62 pmatch[i].rm_eo = tags[submatch_data[i].eo_tag]; 66 if (pmatch[i].rm_so == -1 || pmatch[i].rm_eo == -1) 67 pmatch[i].rm_so = pmatch[i].rm_eo = -1; 71 submatch_data[i].eo_tag, pmatch[i].rm_eo)); 79 if (pmatch[i].rm_eo == -1) 81 assert(pmatch[i].rm_so <= pmatch[i].rm_eo); 89 || pmatch[i].rm_eo > pmatch[parents[j]].rm_eo) 90 pmatch[i].rm_so = pmatch[i].rm_eo [all...] |
/netbsd-6-1-5-RELEASE/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...] |
/netbsd-6-1-5-RELEASE/bin/ed/ |
H A D | sub.c | 197 NEWLINE_TO_NUL(txt, rm[0].rm_eo); 204 i = rm[0].rm_eo; 211 txt += rm[0].rm_eo; 212 } while (*txt && (!changed || ((gflag & GSG) && rm[0].rm_eo)) 216 if (i > 0 && !rm[0].rm_eo && (gflag & GSG)) { 242 k = rm[0].rm_eo; 249 k = rm[n].rm_eo;
|
/netbsd-6-1-5-RELEASE/dist/nvi/regex/ |
H A D | regex.h | 63 regoff_t rm_eo; /* end of match */ member in struct:__anon895
|
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...] |
/netbsd-6-1-5-RELEASE/include/ |
H A D | regex.h | 92 regoff_t rm_eo; /* end of match */ member in struct:__anon4998
|
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/fixincludes/ |
H A D | fixtests.c | 82 base += match[0].rm_eo; 108 if (match[0].rm_eo <= limit - base)
|
H A D | 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; 511 base += match[0].rm_eo; 543 if (match[0].rm_eo > limi [all...] |
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/fixincludes/ |
H A D | fixtests.c | 83 base += match[0].rm_eo; 109 if (match[0].rm_eo <= limit - base)
|
H A D | fixfixes.c | 140 const char* pe = text + rm[1].rm_eo; 167 return text += rm[0].rm_eo; 223 len = pRM->rm_eo - pRM->rm_so; 287 text += rm[0].rm_eo; 336 /* p + rm[0].rm_eo is the first character of the macro replacement. 339 p += rm[0].rm_eo; 421 /* p + rm[0].rm_eo is the first character of the macro name. 424 p += rm[0].rm_eo; 512 base += match[0].rm_eo; 544 if (match[0].rm_eo > limi [all...] |
/netbsd-6-1-5-RELEASE/dist/nvi/common/ |
H A D | search.c | 229 match[0].rm_eo = len; 254 match[0].rm_so, match[0].rm_eo); 366 match[0].rm_eo = len; 370 "B search: %lu from 0 to %qu\n", lno, match[0].rm_eo); 374 ((size_t)match[0].rm_eo == len ? 0 : REG_NOTEOL) | REG_STARTEND); 395 match[0].rm_so, match[0].rm_eo); 407 match[0].rm_eo = len;
|
/netbsd-6-1-5-RELEASE/crypto/external/bsd/netpgp/dist/src/libpaa/ |
H A D | 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),
|
/netbsd-6-1-5-RELEASE/crypto/external/bsd/netpgp/dist/src/hkpclient/ |
H A D | 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]);
|
/netbsd-6-1-5-RELEASE/usr.bin/grep/ |
H A D | util.c | 303 pmatch.rm_eo = l->len; 316 st = pmatch.rm_eo; 321 st = pmatch.rm_eo; 328 (size_t)pmatch.rm_eo != l->len) 340 else if ((size_t)pmatch.rm_eo != l->len && 341 sscanf(&l->dat[pmatch.rm_eo], 493 matches[i].rm_eo - matches[i].rm_so, 1, 497 a = matches[i].rm_eo;
|
H A D | fastgrep.c | 215 pmatch->rm_eo = len; 234 pmatch->rm_eo = j + fg->len; 245 pmatch->rm_eo = j; 260 pmatch->rm_eo = j + fg->len;
|
/netbsd-6-1-5-RELEASE/usr.bin/sed/ |
H A D | process.c | 389 if (lastempty || match[0].rm_so != match[0].rm_eo) { 399 if (match[0].rm_so != match[0].rm_eo) { 400 s += match[0].rm_eo; 401 slen -= match[0].rm_eo; 421 s += match[0].rm_eo; 422 slen -= match[0].rm_eo; 435 s += match[0].rm_eo; 436 slen -= match[0].rm_eo; 580 match[0].rm_eo = slen; 627 } else if (match[no].rm_so != -1 && match[no].rm_eo ! [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/tre/dist/src/ |
H A D | agrep.c | 278 next_delim_len = pmatch[0].rm_eo - pmatch[0].rm_so; 279 next_record = next_record + pmatch[0].rm_eo; 419 invert_match ? record_len : (int)pmatch[0].rm_eo); 432 pmatch[0].rm_eo += delim_len; 439 printf("%.*s", (int)(pmatch[0].rm_eo - pmatch[0].rm_so), 442 printf("%.*s", (int)(record_len - pmatch[0].rm_eo), 443 record + pmatch[0].rm_eo);
|
/netbsd-6-1-5-RELEASE/usr.bin/m4/ |
H A D | gnum4.c | 273 pm[n].rm_eo != -1) { 275 pm[n].rm_eo - pm[n].rm_so); 323 if (pm[0].rm_eo != 0) { 324 if (string[pm[0].rm_eo-1] == '\n') 334 if (pm[0].rm_so == pm[0].rm_eo && 348 string += pm[0].rm_eo;
|
/netbsd-6-1-5-RELEASE/external/bsd/tre/dist/tests/ |
H A D | test-str-source.c | 118 printf("Match: %d - %d\n", (int)pmatch[0].rm_so, (int)pmatch[0].rm_eo);
|
/netbsd-6-1-5-RELEASE/external/bsd/libarchive/dist/tar/ |
H A D | subst.c | 216 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;
|
/netbsd-6-1-5-RELEASE/share/examples/refuse/dmesgfs/ |
H A D | 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);
|
/netbsd-6-1-5-RELEASE/external/bsd/tre/dist/python/ |
H A D | tre-python.c | 181 if (rm->rm_so == (-1) && rm->rm_eo == (-1)) 188 range = Py_BuildValue("(ii)", rm->rm_so, rm->rm_eo); 208 if (rm->rm_so == (-1) && rm->rm_eo == (-1)) 213 result = PySequence_GetSlice(self->targ, rm->rm_so, rm->rm_eo);
|
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/servers/slapd/ |
H A D | acl.c | 252 for ( i = 0; i < dnmaxcount && dn_data[i].rm_eo > 0; i++ ) { 257 (int)dn_data[i].rm_eo ); 258 if ( dn_data[i].rm_so <= dn_data[0].rm_eo ) { 261 n < dn_data[i].rm_eo; n++ ) { 270 for ( i = 0; i < valmaxcount && val_data[i].rm_eo > 0; i++ ) { 275 (int)val_data[i].rm_eo ); 276 if ( val_data[i].rm_so <= val_data[0].rm_eo ) { 279 n < val_data[i].rm_eo; n++ ) { 608 matches->dn_data[0].rm_eo = -1; 610 matches->val_data[0].rm_eo [all...] |
/netbsd-6-1-5-RELEASE/lib/libc/regex/ |
H A D | engine.c | 204 stop = string + (size_t)pmatch[0].rm_eo; 269 m->pmatch[i].rm_so = m->pmatch[i].rm_eo = (regoff_t)-1; 301 assert(m->pmatch[i].rm_eo == (regoff_t)-1); 321 pmatch[0].rm_eo = endp - m->offp; 330 pmatch[i].rm_eo = (regoff_t)-1; 544 m->pmatch[i].rm_eo = sp - m->offp; 674 if (m->pmatch[i].rm_eo == (regoff_t)-1) 677 len = (size_t)(m->pmatch[i].rm_eo - m->pmatch[i].rm_so); 747 offsave = m->pmatch[i].rm_eo; 748 m->pmatch[i].rm_eo [all...] |