Lines Matching refs:re_end

260 #define REST(re) (int)(ctx->re_end - (re)), (re)
279 if (re == ctx->re_end) in tre_parse_bracket_items()
294 if (re + 2 < ctx->re_end in tre_parse_bracket_items()
306 else if (re + 1 < ctx->re_end in tre_parse_bracket_items()
309 else if (re + 1 < ctx->re_end in tre_parse_bracket_items()
312 else if (re + 1 < ctx->re_end in tre_parse_bracket_items()
319 while (endptr < ctx->re_end && *endptr != CHAR_COLON) in tre_parse_bracket_items()
321 if (endptr != ctx->re_end) in tre_parse_bracket_items()
630 if (r < ctx->re_end && *r >= L'0' && *r <= L'9') { in tre_parse_bound()
632 min = tre_parse_int(&r, ctx->re_end); in tre_parse_bound()
637 if (r < ctx->re_end && *r == CHAR_COMMA) in tre_parse_bound()
641 max = tre_parse_int(&r, ctx->re_end); in tre_parse_bound()
681 while (r + 1 < ctx->re_end && !done) in tre_parse_bound()
688 limit_ins = tre_parse_int(&r, ctx->re_end); in tre_parse_bound()
696 limit_del = tre_parse_int(&r, ctx->re_end); in tre_parse_bound()
704 limit_subst = tre_parse_int(&r, ctx->re_end); in tre_parse_bound()
712 limit_err = tre_parse_int(&r, ctx->re_end); in tre_parse_bound()
735 while (r + 1 < ctx->re_end && !done) in tre_parse_bound()
748 cost_max = tre_parse_int(&r, ctx->re_end); in tre_parse_bound()
765 int cost = tre_parse_int(&r, ctx->re_end); in tre_parse_bound()
804 if (r >= ctx->re_end) in tre_parse_bound()
814 if (r >= ctx->re_end || *r != CHAR_RBRACE) in tre_parse_bound()
820 if (r + 1 >= ctx->re_end in tre_parse_bound()
829 if (r < ctx->re_end) in tre_parse_bound()
964 ctx->re_end = ctx->re + ctx->len; in tre_parse()
1010 if (ctx->re >= ctx->re_end) in tre_parse()
1071 if (ctx->re >= ctx->re_end) in tre_parse()
1111 if (ctx->re >= ctx->re_end) in tre_parse()
1142 if (ctx->re + 1 < ctx->re_end) in tre_parse()
1172 && ctx->re + 1 < ctx->re_end in tre_parse()
1205 if (ctx->re >= ctx->re_end) in tre_parse()
1295 && ctx->re < ctx->re_end) in tre_parse()
1297 if (*ctx->re == CHAR_RPAREN && ctx->re < ctx->re_end) in tre_parse()
1328 if (ctx->re + 2 < ctx->re_end in tre_parse()
1390 && ctx->re + 1 < ctx->re_end in tre_parse()
1402 tre_expand_macro(ctx->re + 1, ctx->re_end, in tre_parse()
1421 if (ctx->re + 1 >= ctx->re_end) in tre_parse()
1464 if (ctx->re[0] != CHAR_LBRACE && ctx->re < ctx->re_end) in tre_parse()
1472 if (tre_isxdigit(ctx->re[0]) && ctx->re < ctx->re_end) in tre_parse()
1477 if (tre_isxdigit(ctx->re[0]) && ctx->re < ctx->re_end) in tre_parse()
1488 else if (ctx->re < ctx->re_end) in tre_parse()
1495 while (ctx->re_end - ctx->re >= 0) in tre_parse()
1605 || (ctx->re + 2 < ctx->re_end in tre_parse()
1608 || ctx->re + 1 == ctx->re_end) in tre_parse()
1625 if (temporary_cflags && ctx->re + 1 < ctx->re_end in tre_parse()
1645 (ctx->re >= ctx->re_end in tre_parse()
1654 && ctx->re + 1 < ctx->re_end in tre_parse()