regs 49 maint/gnulib/lib/regex.c # define re_match_2(bufp, string1, size1, string2, size2, pos, regs, stop) \ regs 50 maint/gnulib/lib/regex.c __re_match_2 (bufp, string1, size1, string2, size2, pos, regs, stop) regs 51 maint/gnulib/lib/regex.c # define re_match(bufp, string, size, pos, regs) \ regs 52 maint/gnulib/lib/regex.c __re_match (bufp, string, size, pos, regs) regs 53 maint/gnulib/lib/regex.c # define re_search(bufp, string, size, startpos, range, regs) \ regs 54 maint/gnulib/lib/regex.c __re_search (bufp, string, size, startpos, range, regs) regs 58 maint/gnulib/lib/regex.c # define re_search_2(bufp, st1, s1, st2, s2, startpos, range, regs, stop) \ regs 59 maint/gnulib/lib/regex.c __re_search_2 (bufp, st1, s1, st2, s2, startpos, range, regs, stop) regs 618 maint/gnulib/lib/regex_internal.h regmatch_t *regs; regs 43 maint/gnulib/lib/regexec.c struct re_registers *regs, regs 48 maint/gnulib/lib/regexec.c struct re_registers *regs, regs 50 maint/gnulib/lib/regexec.c static unsigned re_copy_regs (struct re_registers *regs, regmatch_t *pmatch, regs 62 maint/gnulib/lib/regexec.c regmatch_t *regs, regmatch_t *prevregs, regs 272 maint/gnulib/lib/regexec.c Idx start, struct re_registers *regs) regs 274 maint/gnulib/lib/regexec.c return re_search_stub (bufp, string, length, start, 0, length, regs, true); regs 282 maint/gnulib/lib/regexec.c Idx start, regoff_t range, struct re_registers *regs) regs 284 maint/gnulib/lib/regexec.c return re_search_stub (bufp, string, length, start, range, length, regs, regs 294 maint/gnulib/lib/regexec.c struct re_registers *regs, Idx stop) regs 297 maint/gnulib/lib/regexec.c start, 0, regs, stop, true); regs 306 maint/gnulib/lib/regexec.c struct re_registers *regs, Idx stop) regs 309 maint/gnulib/lib/regexec.c start, range, regs, stop, false); regs 318 maint/gnulib/lib/regexec.c regoff_t range, struct re_registers *regs, regs 351 maint/gnulib/lib/regexec.c rval = re_search_stub (bufp, str, len, start, range, stop, regs, regs 364 maint/gnulib/lib/regexec.c Idx start, regoff_t range, Idx stop, struct re_registers *regs, regs 395 maint/gnulib/lib/regexec.c regs = NULL; regs 398 maint/gnulib/lib/regexec.c if (regs == NULL) regs 401 maint/gnulib/lib/regexec.c && regs->num_regs <= bufp->re_nsub)) regs 403 maint/gnulib/lib/regexec.c nregs = regs->num_regs; regs 407 maint/gnulib/lib/regexec.c regs = NULL; regs 428 maint/gnulib/lib/regexec.c else if (regs != NULL) regs 431 maint/gnulib/lib/regexec.c bufp->regs_allocated = re_copy_regs (regs, pmatch, nregs, regs 454 maint/gnulib/lib/regexec.c re_copy_regs (struct re_registers *regs, regmatch_t *pmatch, Idx nregs, regs 466 maint/gnulib/lib/regexec.c regs->start = re_malloc (regoff_t, need_regs); regs 467 maint/gnulib/lib/regexec.c if (__glibc_unlikely (regs->start == NULL)) regs 469 maint/gnulib/lib/regexec.c regs->end = re_malloc (regoff_t, need_regs); regs 470 maint/gnulib/lib/regexec.c if (__glibc_unlikely (regs->end == NULL)) regs 472 maint/gnulib/lib/regexec.c re_free (regs->start); regs 475 maint/gnulib/lib/regexec.c regs->num_regs = need_regs; regs 481 maint/gnulib/lib/regexec.c if (__glibc_unlikely (need_regs > regs->num_regs)) regs 483 maint/gnulib/lib/regexec.c regoff_t *new_start = re_realloc (regs->start, regoff_t, need_regs); regs 487 maint/gnulib/lib/regexec.c new_end = re_realloc (regs->end, regoff_t, need_regs); regs 493 maint/gnulib/lib/regexec.c regs->start = new_start; regs 494 maint/gnulib/lib/regexec.c regs->end = new_end; regs 495 maint/gnulib/lib/regexec.c regs->num_regs = need_regs; regs 502 maint/gnulib/lib/regexec.c DEBUG_ASSERT (nregs <= regs->num_regs); regs 509 maint/gnulib/lib/regexec.c regs->start[i] = pmatch[i].rm_so; regs 510 maint/gnulib/lib/regexec.c regs->end[i] = pmatch[i].rm_eo; regs 512 maint/gnulib/lib/regexec.c for ( ; i < regs->num_regs; ++i) regs 513 maint/gnulib/lib/regexec.c regs->start[i] = regs->end[i] = -1; regs 532 maint/gnulib/lib/regexec.c re_set_registers (struct re_pattern_buffer *bufp, struct re_registers *regs, regs 538 maint/gnulib/lib/regexec.c regs->num_regs = num_regs; regs 539 maint/gnulib/lib/regexec.c regs->start = starts; regs 540 maint/gnulib/lib/regexec.c regs->end = ends; regs 545 maint/gnulib/lib/regexec.c regs->num_regs = 0; regs 546 maint/gnulib/lib/regexec.c regs->start = regs->end = NULL; regs 1199 maint/gnulib/lib/regexec.c proceed_next_node (const re_match_context_t *mctx, Idx nregs, regmatch_t *regs, regs 1236 maint/gnulib/lib/regexec.c && push_fail_stack (fs, *pidx, candidate, nregs, regs, regs 1257 maint/gnulib/lib/regexec.c naccepted = regs[subexp_idx].rm_eo - regs[subexp_idx].rm_so; regs 1261 maint/gnulib/lib/regexec.c || regs[subexp_idx].rm_so == -1 regs 1262 maint/gnulib/lib/regexec.c || regs[subexp_idx].rm_eo == -1) regs 1268 maint/gnulib/lib/regexec.c || (memcmp (buf + regs[subexp_idx].rm_so, buf + *pidx, regs 1307 maint/gnulib/lib/regexec.c Idx nregs, regmatch_t *regs, regmatch_t *prevregs, regs 1324 maint/gnulib/lib/regexec.c fs->stack[num].regs = re_malloc (regmatch_t, 2 * nregs); regs 1325 maint/gnulib/lib/regexec.c if (fs->stack[num].regs == NULL) regs 1327 maint/gnulib/lib/regexec.c memcpy (fs->stack[num].regs, regs, sizeof (regmatch_t) * nregs); regs 1328 maint/gnulib/lib/regexec.c memcpy (fs->stack[num].regs + nregs, prevregs, sizeof (regmatch_t) * nregs); regs 1335 maint/gnulib/lib/regexec.c regmatch_t *regs, regmatch_t *prevregs, regs 1342 maint/gnulib/lib/regexec.c memcpy (regs, fs->stack[num].regs, sizeof (regmatch_t) * nregs); regs 1343 maint/gnulib/lib/regexec.c memcpy (prevregs, fs->stack[num].regs + nregs, sizeof (regmatch_t) * nregs); regs 1345 maint/gnulib/lib/regexec.c re_free (fs->stack[num].regs); regs 1465 maint/gnulib/lib/regexec.c re_free (fs->stack[fs_idx].regs); regs 223 maint/gnulib/lib/sigsegv.c # define SIGSEGV_FAULT_STACKPOINTER ((ucontext_t *) ucp)->uc_mcontext.regs->gpr[1] regs 174 maint/gnulib/tests/test-regex.c struct re_registers regs; regs 205 maint/gnulib/tests/test-regex.c memset (®s, 0, sizeof regs); regs 207 maint/gnulib/tests/test-regex.c 0, sizeof data - 1, ®s); regs 212 maint/gnulib/tests/test-regex.c free (regs.start); regs 213 maint/gnulib/tests/test-regex.c free (regs.end); regs 242 maint/gnulib/tests/test-regex.c memset (®s, 0, sizeof regs); regs 249 maint/gnulib/tests/test-regex.c free (regs.start); regs 250 maint/gnulib/tests/test-regex.c free (regs.end); regs 279 maint/gnulib/tests/test-regex.c memset (®s, 0, sizeof regs); regs 281 maint/gnulib/tests/test-regex.c ®s); regs 286 maint/gnulib/tests/test-regex.c free (regs.start); regs 287 maint/gnulib/tests/test-regex.c free (regs.end); regs 308 maint/gnulib/tests/test-regex.c memset (®s, 0, sizeof regs); regs 310 maint/gnulib/tests/test-regex.c i = re_search (®ex, data, sizeof data - 1, 0, sizeof data - 1, ®s); regs 315 maint/gnulib/tests/test-regex.c free (regs.start); regs 316 maint/gnulib/tests/test-regex.c free (regs.end); regs 366 maint/gnulib/tests/test-regex.c memset (®s, 0, sizeof regs); regs 368 maint/gnulib/tests/test-regex.c i = re_match (®ex, data, sizeof data - 1, 0, ®s); regs 373 maint/gnulib/tests/test-regex.c free (regs.start); regs 374 maint/gnulib/tests/test-regex.c free (regs.end); regs 385 maint/gnulib/tests/test-regex.c memset (®s, 0, sizeof regs); regs 387 maint/gnulib/tests/test-regex.c i = re_search (®ex, data, sizeof data - 1, 2, -2, ®s); regs 391 maint/gnulib/tests/test-regex.c free (regs.start); regs 392 maint/gnulib/tests/test-regex.c free (regs.end); regs 404 maint/gnulib/tests/test-regex.c memset (®s, 0, sizeof regs); regs 406 maint/gnulib/tests/test-regex.c i = re_search (®ex, data, sizeof data - 1, 0, 3, ®s); regs 410 maint/gnulib/tests/test-regex.c free (regs.start); regs 411 maint/gnulib/tests/test-regex.c free (regs.end); regs 423 maint/gnulib/tests/test-regex.c memset (®s, 0, sizeof regs); regs 426 maint/gnulib/tests/test-regex.c i = re_search (®ex, data, datalen, 0, datalen, ®s); regs 429 maint/gnulib/tests/test-regex.c else if (regs.num_regs < 2) regs 431 maint/gnulib/tests/test-regex.c pat_sub2, data, (int) regs.num_regs); regs 432 maint/gnulib/tests/test-regex.c else if (! (regs.start[0] == 0 && regs.end[0] == 1)) regs 434 maint/gnulib/tests/test-regex.c pat_sub2, data, (int) regs.start[0], (int) regs.end[0]); regs 435 maint/gnulib/tests/test-regex.c else if (! (regs.start[1] == 0 && regs.end[1] == 0)) regs 437 maint/gnulib/tests/test-regex.c pat_sub2, data, (int) regs.start[1], (int) regs.end[1]); regs 439 maint/gnulib/tests/test-regex.c free (regs.start); regs 440 maint/gnulib/tests/test-regex.c free (regs.end); regs 470 maint/gnulib/tests/test-regex.c if (!s && re_search (®ex, "x", 1, 0, 1, ®s) != -1)