bufp 68 libglibc/regex.c # define re_match_2(bufp, string1, size1, string2, size2, pos, regs, stop) \
bufp 69 libglibc/regex.c __re_match_2 (bufp, string1, size1, string2, size2, pos, regs, stop)
bufp 70 libglibc/regex.c # define re_match(bufp, string, size, pos, regs) \
bufp 71 libglibc/regex.c __re_match (bufp, string, size, pos, regs)
bufp 72 libglibc/regex.c # define re_search(bufp, string, size, startpos, range, regs) \
bufp 73 libglibc/regex.c __re_search (bufp, string, size, startpos, range, regs)
bufp 74 libglibc/regex.c # define re_compile_pattern(pattern, length, bufp) \
bufp 75 libglibc/regex.c __re_compile_pattern (pattern, length, bufp)
bufp 77 libglibc/regex.c # define re_search_2(bufp, st1, s1, st2, s2, startpos, range, regs, stop) \
bufp 78 libglibc/regex.c __re_search_2 (bufp, st1, s1, st2, s2, startpos, range, regs, stop)
bufp 79 libglibc/regex.c # define re_compile_fastmap(bufp) __re_compile_fastmap (bufp)
bufp 378 libglibc/regex.c static int re_match_2_internal PARAMS ((struct re_pattern_buffer *bufp,
bufp 898 libglibc/regex.c print_compiled_pattern (bufp)
bufp 899 libglibc/regex.c struct re_pattern_buffer *bufp;
bufp 901 libglibc/regex.c unsigned char *buffer = bufp->buffer;
bufp 903 libglibc/regex.c print_partial_compiled_pattern (buffer, buffer + bufp->used);
bufp 905 libglibc/regex.c bufp->used, bufp->allocated);
bufp 907 libglibc/regex.c if (bufp->fastmap_accurate && bufp->fastmap)
bufp 910 libglibc/regex.c print_fastmap (bufp->fastmap);
bufp 913 libglibc/regex.c printf ("re_nsub: %d\t", bufp->re_nsub);
bufp 914 libglibc/regex.c printf ("regs_alloc: %d\t", bufp->regs_allocated);
bufp 915 libglibc/regex.c printf ("can_be_null: %d\t", bufp->can_be_null);
bufp 916 libglibc/regex.c printf ("newline_anchor: %d\n", bufp->newline_anchor);
bufp 917 libglibc/regex.c printf ("no_sub: %d\t", bufp->no_sub);
bufp 918 libglibc/regex.c printf ("not_bol: %d\t", bufp->not_bol);
bufp 919 libglibc/regex.c printf ("not_eol: %d\t", bufp->not_eol);
bufp 920 libglibc/regex.c printf ("syntax: %lx\n", bufp->syntax);
bufp 1367 libglibc/regex.c DEBUG_PRINT_COMPILED_PATTERN (bufp, pattern_place, pend); \
bufp 1451 libglibc/regex.c DEBUG_PRINT_COMPILED_PATTERN (bufp, pat, pend); \
bufp 1556 libglibc/regex.c struct re_pattern_buffer *bufp));
bufp 1614 libglibc/regex.c while ((unsigned long) (b - bufp->buffer + (n)) > bufp->allocated) \
bufp 1687 libglibc/regex.c unsigned char *old_buffer = bufp->buffer; \
bufp 1688 libglibc/regex.c if (bufp->allocated == MAX_BUF_SIZE) \
bufp 1690 libglibc/regex.c bufp->allocated <<= 1; \
bufp 1691 libglibc/regex.c if (bufp->allocated > MAX_BUF_SIZE) \
bufp 1692 libglibc/regex.c bufp->allocated = MAX_BUF_SIZE; \
bufp 1693 libglibc/regex.c bufp->buffer = (unsigned char *) REALLOC (bufp->buffer, bufp->allocated);\
bufp 1694 libglibc/regex.c if (bufp->buffer == NULL) \
bufp 1697 libglibc/regex.c if (old_buffer != bufp->buffer) \
bufp 1699 libglibc/regex.c b = (b - old_buffer) + bufp->buffer; \
bufp 1700 libglibc/regex.c begalt = (begalt - old_buffer) + bufp->buffer; \
bufp 1702 libglibc/regex.c fixup_alt_jump = (fixup_alt_jump - old_buffer) + bufp->buffer;\
bufp 1704 libglibc/regex.c laststart = (laststart - old_buffer) + bufp->buffer; \
bufp 1706 libglibc/regex.c pending_exact = (pending_exact - old_buffer) + bufp->buffer; \
bufp 1881 libglibc/regex.c regex_compile (pattern, size, syntax, bufp)
bufp 1885 libglibc/regex.c struct re_pattern_buffer *bufp;
bufp 1906 libglibc/regex.c RE_TRANSLATE_TYPE translate = bufp->translate;
bufp 1957 libglibc/regex.c bufp->syntax = syntax;
bufp 1958 libglibc/regex.c bufp->fastmap_accurate = 0;
bufp 1959 libglibc/regex.c bufp->not_bol = bufp->not_eol = 0;
bufp 1964 libglibc/regex.c bufp->used = 0;
bufp 1967 libglibc/regex.c bufp->re_nsub = 0;
bufp 1974 libglibc/regex.c if (bufp->allocated == 0)
bufp 1976 libglibc/regex.c if (bufp->buffer)
bufp 1980 libglibc/regex.c RETALLOC (bufp->buffer, INIT_BUF_SIZE, unsigned char);
bufp 1984 libglibc/regex.c bufp->buffer = TALLOC (INIT_BUF_SIZE, unsigned char);
bufp 1986 libglibc/regex.c if (!bufp->buffer) FREE_STACK_RETURN (REG_ESPACE);
bufp 1988 libglibc/regex.c bufp->allocated = INIT_BUF_SIZE;
bufp 1991 libglibc/regex.c begalt = b = bufp->buffer;
bufp 2443 libglibc/regex.c bufp->re_nsub++;
bufp 2459 libglibc/regex.c COMPILE_STACK_TOP.begalt_offset = begalt - bufp->buffer;
bufp 2461 libglibc/regex.c = fixup_alt_jump ? fixup_alt_jump - bufp->buffer + 1 : 0;
bufp 2462 libglibc/regex.c COMPILE_STACK_TOP.laststart_offset = b - bufp->buffer;
bufp 2471 libglibc/regex.c COMPILE_STACK_TOP.inner_group_offset = b - bufp->buffer + 2;
bufp 2530 libglibc/regex.c begalt = bufp->buffer + COMPILE_STACK_TOP.begalt_offset;
bufp 2533 libglibc/regex.c ? bufp->buffer + COMPILE_STACK_TOP.fixup_alt_jump - 1
bufp 2535 libglibc/regex.c laststart = bufp->buffer + COMPILE_STACK_TOP.laststart_offset;
bufp 2547 libglibc/regex.c = bufp->buffer + COMPILE_STACK_TOP.inner_group_offset;
bufp 2939 libglibc/regex.c bufp->used = b - bufp->buffer;
bufp 2945 libglibc/regex.c print_compiled_pattern (bufp);
bufp 2954 libglibc/regex.c int num_regs = bufp->re_nsub + 1;
bufp 3197 libglibc/regex.c re_compile_fastmap (bufp)
bufp 3198 libglibc/regex.c struct re_pattern_buffer *bufp;
bufp 3208 libglibc/regex.c register char *fastmap = bufp->fastmap;
bufp 3209 libglibc/regex.c unsigned char *pattern = bufp->buffer;
bufp 3211 libglibc/regex.c register unsigned char *pend = pattern + bufp->used;
bufp 3232 libglibc/regex.c bufp->fastmap_accurate = 1; /* It will be when we're done. */
bufp 3233 libglibc/regex.c bufp->can_be_null = 0;
bufp 3242 libglibc/regex.c bufp->can_be_null |= path_can_be_null;
bufp 3267 libglibc/regex.c bufp->can_be_null = 1;
bufp 3320 libglibc/regex.c if (!(bufp->syntax & RE_DOT_NEWLINE))
bufp 3325 libglibc/regex.c else if (bufp->can_be_null)
bufp 3426 libglibc/regex.c bufp->can_be_null = 1;
bufp 3479 libglibc/regex.c bufp->can_be_null |= path_can_be_null;
bufp 3503 libglibc/regex.c re_set_registers (bufp, regs, num_regs, starts, ends)
bufp 3504 libglibc/regex.c struct re_pattern_buffer *bufp;
bufp 3511 libglibc/regex.c bufp->regs_allocated = REGS_REALLOCATE;
bufp 3518 libglibc/regex.c bufp->regs_allocated = REGS_UNALLOCATED;
bufp 3533 libglibc/regex.c re_search (bufp, string, size, startpos, range, regs)
bufp 3534 libglibc/regex.c struct re_pattern_buffer *bufp;
bufp 3539 libglibc/regex.c return re_search_2 (bufp, NULL, 0, string, size, startpos, range,
bufp 3569 libglibc/regex.c re_search_2 (bufp, string1, size1, string2, size2, startpos, range, regs, stop)
bufp 3570 libglibc/regex.c struct re_pattern_buffer *bufp;
bufp 3579 libglibc/regex.c register char *fastmap = bufp->fastmap;
bufp 3580 libglibc/regex.c register RE_TRANSLATE_TYPE translate = bufp->translate;
bufp 3598 libglibc/regex.c if (bufp->used > 0 && range > 0
bufp 3599 libglibc/regex.c && ((re_opcode_t) bufp->buffer[0] == begbuf
bufp 3601 libglibc/regex.c || ((re_opcode_t) bufp->buffer[0] == begline
bufp 3602 libglibc/regex.c && !bufp->newline_anchor)))
bufp 3613 libglibc/regex.c if (bufp->used > 0 && (re_opcode_t) bufp->buffer[0] == at_dot && range > 0)
bufp 3622 libglibc/regex.c if (fastmap && !bufp->fastmap_accurate)
bufp 3623 libglibc/regex.c if (re_compile_fastmap (bufp) == -2)
bufp 3633 libglibc/regex.c if (fastmap && startpos < total_size && !bufp->can_be_null)
bufp 3672 libglibc/regex.c && !bufp->can_be_null)
bufp 3675 libglibc/regex.c val = re_match_2_internal (bufp, string1, size1, string2, size2,
bufp 3794 libglibc/regex.c re_match (bufp, string, size, pos, regs)
bufp 3795 libglibc/regex.c struct re_pattern_buffer *bufp;
bufp 3800 libglibc/regex.c int result = re_match_2_internal (bufp, NULL, 0, string, size,
bufp 3840 libglibc/regex.c re_match_2 (bufp, string1, size1, string2, size2, pos, regs, stop)
bufp 3841 libglibc/regex.c struct re_pattern_buffer *bufp;
bufp 3848 libglibc/regex.c int result = re_match_2_internal (bufp, string1, size1, string2, size2,
bufp 3864 libglibc/regex.c re_match_2_internal (bufp, string1, size1, string2, size2, pos, regs, stop)
bufp 3865 libglibc/regex.c struct re_pattern_buffer *bufp;
bufp 3887 libglibc/regex.c unsigned char *p = bufp->buffer;
bufp 3888 libglibc/regex.c register unsigned char *pend = p + bufp->used;
bufp 3895 libglibc/regex.c RE_TRANSLATE_TYPE translate = bufp->translate;
bufp 3923 libglibc/regex.c size_t num_regs = bufp->re_nsub + 1;
bufp 4002 libglibc/regex.c if (bufp->re_nsub)
bufp 4094 libglibc/regex.c DEBUG_PRINT_COMPILED_PATTERN (bufp, p, pend);
bufp 4183 libglibc/regex.c if (regs && !bufp->no_sub)
bufp 4186 libglibc/regex.c if (bufp->regs_allocated == REGS_UNALLOCATED)
bufp 4198 libglibc/regex.c bufp->regs_allocated = REGS_REALLOCATE;
bufp 4200 libglibc/regex.c else if (bufp->regs_allocated == REGS_REALLOCATE)
bufp 4220 libglibc/regex.c assert (bufp->regs_allocated == REGS_FIXED);
bufp 4326 libglibc/regex.c if ((!(bufp->syntax & RE_DOT_NEWLINE) && TRANSLATE (*d) == '\n')
bufp 4327 libglibc/regex.c || (bufp->syntax & RE_DOT_NOT_NULL && TRANSLATE (*d) == '\000'))
bufp 4623 libglibc/regex.c if (!bufp->not_bol) break;
bufp 4625 libglibc/regex.c else if (d[-1] == '\n' && bufp->newline_anchor)
bufp 4639 libglibc/regex.c if (!bufp->not_eol) break;
bufp 4644 libglibc/regex.c && bufp->newline_anchor)
bufp 4809 libglibc/regex.c || (bufp->newline_anchor && (re_opcode_t) *p2 == endline))
bufp 5517 libglibc/regex.c re_compile_pattern (pattern, length, bufp)
bufp 5520 libglibc/regex.c struct re_pattern_buffer *bufp;
bufp 5526 libglibc/regex.c bufp->regs_allocated = REGS_UNALLOCATED;
bufp 5531 libglibc/regex.c bufp->no_sub = 0;
bufp 5534 libglibc/regex.c bufp->newline_anchor = 1;
bufp 5536 libglibc/regex.c ret = regex_compile (pattern, length, re_syntax_options, bufp);