Lines Matching refs:errorcode
2510 int errorcode = 0; in parse_regex() local
2550 errorcode = ERR63; /* Internal error (parsed pattern overflow) */ in parse_regex()
2594 errorcode = ERR63; /* Internal error (parsed pattern overflow) */ in parse_regex()
2600 errorcode = ERR19; in parse_regex()
2624 errorcode = ERR28; in parse_regex()
2692 errorcode = ERR76; in parse_regex()
2711 escape = PRIV(check_escape)(&ptr, ptrend, &c, &errorcode, options, in parse_regex()
2713 if (errorcode != 0) goto FAILED; in parse_regex()
2734 errorcode = ERR40; /* Invalid in verb name */ in parse_regex()
2796 errorcode = ERR18; /* A special error for missing ) in a comment */ in parse_regex()
2809 !read_repeat_counts(&tempptr, ptrend, NULL, NULL, &errorcode)))) in parse_regex()
2857 errorcode = ERR28; in parse_regex()
2904 escape = PRIV(check_escape)(&ptr, ptrend, &c, &errorcode, options, in parse_regex()
2906 if (errorcode != 0) in parse_regex()
2970 errorcode = ERR85; in parse_regex()
2975 errorcode = ERR83; in parse_regex()
2985 errorcode = ERR45; /* Supported only with Unicode support */ in parse_regex()
3050 if (!get_ucp(&ptr, &negated, &ptype, &pdata, &errorcode, cb)) in parse_regex()
3058 errorcode = ERR45; in parse_regex()
3074 errorcode = (escape == ESC_g)? ERR57 : ERR69; in parse_regex()
3088 &errorcode)) in parse_regex()
3092 errorcode = ERR57; in parse_regex()
3098 if (errorcode != 0) goto ESCAPE_FAILED; in parse_regex()
3104 &errorcode, cb)) goto ESCAPE_FAILED; in parse_regex()
3156 &errorcode)) in parse_regex()
3158 if (errorcode != 0) goto FAILED; /* Error in quantifier. */ in parse_regex()
3173 errorcode = ERR9; in parse_regex()
3257 errorcode = (*ptr-- == CHAR_COLON)? ERR12 : ERR13; in parse_regex()
3357 errorcode = ERR50; in parse_regex()
3363 errorcode = ERR13; in parse_regex()
3376 errorcode = ERR30; in parse_regex()
3390 errorcode = ERR50; in parse_regex()
3457 errorcode = ERR8; in parse_regex()
3481 escape = PRIV(check_escape)(&ptr, ptrend, &c, &errorcode, options, in parse_regex()
3484 if (errorcode != 0) in parse_regex()
3517 errorcode = ERR7; in parse_regex()
3530 errorcode = ERR50; in parse_regex()
3541 errorcode = ERR71; in parse_regex()
3597 if (!get_ucp(&ptr, &negated, &ptype, &pdata, &errorcode, cb)) in parse_regex()
3604 errorcode = ERR45; in parse_regex()
3610 errorcode = ERR7; in parse_regex()
3621 errorcode = ERR50; in parse_regex()
3631 errorcode = ERR6; /* Missing terminating ']' */ in parse_regex()
3672 errorcode = ERR97; in parse_regex()
3699 &errorcode, cb)) goto FAILED; in parse_regex()
3702 errorcode = ERR95; /* Malformed */ in parse_regex()
3718 errorcode = ERR95; /* Alpha assertion not recognized */ in parse_regex()
3729 errorcode = (meta == META_LOOKAHEAD_NA || meta == META_LOOKBEHIND_NA)? in parse_regex()
3740 errorcode = ERR89; /* Unknown code; should never occur because */ in parse_regex()
3779 errorcode = ERR84; in parse_regex()
3788 errorcode = ERR96; in parse_regex()
3801 &errorcode, cb)) goto FAILED; in parse_regex()
3805 errorcode = ERR60; /* Malformed */ in parse_regex()
3821 errorcode = ERR60; /* Verb not recognized */ in parse_regex()
3835 errorcode = ERR66; in parse_regex()
3911 errorcode = ERR84; in parse_regex()
3961 errorcode = ERR94; in parse_regex()
3992 errorcode = ERR11; in parse_regex()
4059 errorcode = ERR41; in parse_regex()
4063 &namelen, &errorcode, cb)) goto FAILED; in parse_regex()
4078 errorcode = ERR58; in parse_regex()
4089 errorcode = ERR29; /* Missing number */ in parse_regex()
4100 &i, &errorcode)) goto FAILED; in parse_regex()
4103 errorcode = ERR15; /* Unknown group */ in parse_regex()
4123 &namelen, &errorcode, cb)) goto FAILED; in parse_regex()
4180 errorcode = ERR82; in parse_regex()
4191 errorcode = ERR81; in parse_regex()
4202 errorcode = ERR72; in parse_regex()
4223 errorcode = ERR38; in parse_regex()
4234 errorcode = ERR39; in parse_regex()
4289 &errorcode)) in parse_regex()
4293 errorcode = ERR15; in parse_regex()
4301 else if (errorcode != 0) goto FAILED; /* Number too big */ in parse_regex()
4326 if (!read_number(&ptr, ptrend, -1, 1000, ERR79, &major, &errorcode)) in parse_regex()
4371 &errorcode, cb)) goto FAILED; in parse_regex()
4414 errorcode = ERR24; in parse_regex()
4493 errorcode = ERR84; in parse_regex()
4514 &errorcode, cb)) goto FAILED; in parse_regex()
4521 errorcode = ERR97; in parse_regex()
4532 errorcode = ERR49; in parse_regex()
4558 errorcode = ERR43; in parse_regex()
4566 errorcode = ERR65; in parse_regex()
4583 errorcode = ERR21; in parse_regex()
4648 errorcode = ERR22; in parse_regex()
4661 errorcode = ERR60; in parse_regex()
4690 errorcode = ERR63; /* Internal error (parsed pattern overflow) */ in parse_regex()
4698 errorcode = ERR14; in parse_regex()
4704 return errorcode; in parse_regex()
4715 errorcode = ERR79; in parse_regex()
9480 int errorcode = 0; in check_lookbehinds() local
9607 if (!set_lookbehind_lengths(&pptr, &errorcode, &loopcount, recurses, cb)) in check_lookbehinds()
9608 return errorcode; in check_lookbehinds()
9671 int errorcode = 0; /* Initialize to avoid compiler warn */ in pcre2_compile() local
9860 errorcode = ERR60; in pcre2_compile()
9871 errorcode = ERR60; in pcre2_compile()
9897 errorcode = ERR32; in pcre2_compile()
9912 errorcode = ERR74; in pcre2_compile()
9916 (errorcode = PRIV(valid_utf)(pattern, patlen, erroroffset)) != 0) in pcre2_compile()
9922 errorcode = ERR91; in pcre2_compile()
9933 errorcode = ERR75; in pcre2_compile()
9977 errorcode = ERR56; in pcre2_compile()
10032 errorcode = parse_regex(ptr, cb.external_options, &has_lookbehind, &cb); in pcre2_compile()
10033 if (errorcode != 0) goto HAD_CB_ERROR; in pcre2_compile()
10050 errorcode = ERR21; in pcre2_compile()
10062 errorcode = check_lookbehinds(cb.parsed_pattern, NULL, NULL, &cb); in pcre2_compile()
10063 if (errorcode != 0) goto HAD_CB_ERROR; in pcre2_compile()
10103 (void)compile_regex(cb.external_options, &code, &pptr, &errorcode, 0, &firstcu, in pcre2_compile()
10106 if (errorcode != 0) goto HAD_CB_ERROR; /* Offset is in cb.erroroffset */ in pcre2_compile()
10112 errorcode = ERR20; in pcre2_compile()
10128 errorcode = ERR21; in pcre2_compile()
10201 regexrc = compile_regex(re->overall_options, &code, &pptr, &errorcode, 0, in pcre2_compile()
10222 if (usedlength > length) errorcode = ERR23; else in pcre2_compile()
10236 if (errorcode == 0 && cb.had_recurse) in pcre2_compile()
10275 errorcode = ERR53; in pcre2_compile()
10304 if (errorcode == 0 && (re->overall_options & PCRE2_NO_AUTO_POSSESS) == 0) in pcre2_compile()
10307 if (PRIV(auto_possessify)(temp, &cb) != 0) errorcode = ERR80; in pcre2_compile()
10312 if (errorcode != 0) goto HAD_CB_ERROR; in pcre2_compile()
10445 errorcode = ERR31; in pcre2_compile()
10492 *errorptr = errorcode; in pcre2_compile()