Lines Matching refs:bufp

39 static regoff_t re_search_2_stub (struct re_pattern_buffer *bufp,
45 static regoff_t re_search_stub (struct re_pattern_buffer *bufp,
277 re_match (struct re_pattern_buffer *bufp, const char *string, Idx length, in re_match() argument
280 return re_search_stub (bufp, string, length, start, 0, length, regs, true); in re_match()
287 re_search (struct re_pattern_buffer *bufp, const char *string, Idx length, in weak_alias()
290 return re_search_stub (bufp, string, length, start, range, length, regs, in weak_alias()
298 re_match_2 (struct re_pattern_buffer *bufp, const char *string1, Idx length1, in weak_alias()
302 return re_search_2_stub (bufp, string1, length1, string2, length2, in weak_alias()
310 re_search_2 (struct re_pattern_buffer *bufp, const char *string1, Idx length1, in weak_alias()
314 return re_search_2_stub (bufp, string1, length1, string2, length2, in weak_alias()
322 re_search_2_stub (struct re_pattern_buffer *bufp, const char *string1, in weak_alias()
357 rval = re_search_stub (bufp, str, len, start, range, stop, regs, in weak_alias()
369 re_search_stub (struct re_pattern_buffer *bufp, const char *string, Idx length, in re_search_stub() argument
378 re_dfa_t *dfa = bufp->buffer; in re_search_stub()
393 eflags |= (bufp->not_bol) ? REG_NOTBOL : 0; in re_search_stub()
394 eflags |= (bufp->not_eol) ? REG_NOTEOL : 0; in re_search_stub()
397 if (start < last_start && bufp->fastmap != NULL && !bufp->fastmap_accurate) in re_search_stub()
398 re_compile_fastmap (bufp); in re_search_stub()
400 if (__glibc_unlikely (bufp->no_sub)) in re_search_stub()
406 else if (__glibc_unlikely (bufp->regs_allocated == REGS_FIXED in re_search_stub()
407 && regs->num_regs <= bufp->re_nsub)) in re_search_stub()
418 nregs = bufp->re_nsub + 1; in re_search_stub()
426 result = re_search_internal (bufp, string, length, start, last_start, stop, in re_search_stub()
437 bufp->regs_allocated = re_copy_regs (regs, pmatch, nregs, in re_search_stub()
438 bufp->regs_allocated); in re_search_stub()
439 if (__glibc_unlikely (bufp->regs_allocated == REGS_UNALLOCATED)) in re_search_stub()
538 re_set_registers (struct re_pattern_buffer *bufp, struct re_registers *regs, in re_set_registers() argument
543 bufp->regs_allocated = REGS_REALLOCATE; in re_set_registers()
550 bufp->regs_allocated = REGS_UNALLOCATED; in re_set_registers()