Lines Matching refs:errorcode

2531 int errorcode = 0;  in parse_regex()  local
2571 errorcode = ERR63; /* Internal error (parsed pattern overflow) */ in parse_regex()
2615 errorcode = ERR63; /* Internal error (parsed pattern overflow) */ in parse_regex()
2621 errorcode = ERR19; in parse_regex()
2645 errorcode = ERR28; in parse_regex()
2713 errorcode = ERR76; in parse_regex()
2732 escape = PRIV(check_escape)(&ptr, ptrend, &c, &errorcode, options, in parse_regex()
2734 if (errorcode != 0) goto FAILED; in parse_regex()
2755 errorcode = ERR40; /* Invalid in verb name */ in parse_regex()
2817 errorcode = ERR18; /* A special error for missing ) in a comment */ in parse_regex()
2830 !read_repeat_counts(&tempptr, ptrend, NULL, NULL, &errorcode)))) in parse_regex()
2878 errorcode = ERR28; in parse_regex()
2925 escape = PRIV(check_escape)(&ptr, ptrend, &c, &errorcode, options, in parse_regex()
2927 if (errorcode != 0) in parse_regex()
2991 errorcode = ERR85; in parse_regex()
2996 errorcode = ERR83; in parse_regex()
3006 errorcode = ERR45; /* Supported only with Unicode support */ in parse_regex()
3071 if (!get_ucp(&ptr, &negated, &ptype, &pdata, &errorcode, cb)) in parse_regex()
3079 errorcode = ERR45; in parse_regex()
3095 errorcode = (escape == ESC_g)? ERR57 : ERR69; in parse_regex()
3109 &errorcode)) in parse_regex()
3113 errorcode = ERR57; in parse_regex()
3119 if (errorcode != 0) goto ESCAPE_FAILED; in parse_regex()
3125 &errorcode, cb)) goto ESCAPE_FAILED; in parse_regex()
3177 &errorcode)) in parse_regex()
3179 if (errorcode != 0) goto FAILED; /* Error in quantifier. */ in parse_regex()
3194 errorcode = ERR9; in parse_regex()
3278 errorcode = (*ptr-- == CHAR_COLON)? ERR12 : ERR13; in parse_regex()
3378 errorcode = ERR50; in parse_regex()
3384 errorcode = ERR13; in parse_regex()
3397 errorcode = ERR30; in parse_regex()
3411 errorcode = ERR50; in parse_regex()
3478 errorcode = ERR8; in parse_regex()
3502 escape = PRIV(check_escape)(&ptr, ptrend, &c, &errorcode, options, in parse_regex()
3505 if (errorcode != 0) in parse_regex()
3538 errorcode = ERR7; in parse_regex()
3551 errorcode = ERR50; in parse_regex()
3562 errorcode = ERR71; in parse_regex()
3618 if (!get_ucp(&ptr, &negated, &ptype, &pdata, &errorcode, cb)) in parse_regex()
3625 errorcode = ERR45; in parse_regex()
3631 errorcode = ERR7; in parse_regex()
3642 errorcode = ERR50; in parse_regex()
3652 errorcode = ERR6; /* Missing terminating ']' */ in parse_regex()
3693 errorcode = ERR97; in parse_regex()
3720 &errorcode, cb)) goto FAILED; in parse_regex()
3723 errorcode = ERR95; /* Malformed */ in parse_regex()
3739 errorcode = ERR95; /* Alpha assertion not recognized */ in parse_regex()
3750 errorcode = (meta == META_LOOKAHEAD_NA || meta == META_LOOKBEHIND_NA)? in parse_regex()
3761 errorcode = ERR89; /* Unknown code; should never occur because */ in parse_regex()
3800 errorcode = ERR84; in parse_regex()
3809 errorcode = ERR96; in parse_regex()
3822 &errorcode, cb)) goto FAILED; in parse_regex()
3826 errorcode = ERR60; /* Malformed */ in parse_regex()
3842 errorcode = ERR60; /* Verb not recognized */ in parse_regex()
3856 errorcode = ERR66; in parse_regex()
3932 errorcode = ERR84; in parse_regex()
3982 errorcode = ERR94; in parse_regex()
4013 errorcode = ERR11; in parse_regex()
4080 errorcode = ERR41; in parse_regex()
4084 &namelen, &errorcode, cb)) goto FAILED; in parse_regex()
4099 errorcode = ERR58; in parse_regex()
4110 errorcode = ERR29; /* Missing number */ in parse_regex()
4121 &i, &errorcode)) goto FAILED; in parse_regex()
4124 errorcode = ERR15; /* Unknown group */ in parse_regex()
4144 &namelen, &errorcode, cb)) goto FAILED; in parse_regex()
4201 errorcode = ERR82; in parse_regex()
4212 errorcode = ERR81; in parse_regex()
4223 errorcode = ERR72; in parse_regex()
4244 errorcode = ERR38; in parse_regex()
4255 errorcode = ERR39; in parse_regex()
4310 &errorcode)) in parse_regex()
4314 errorcode = ERR15; in parse_regex()
4322 else if (errorcode != 0) goto FAILED; /* Number too big */ in parse_regex()
4347 if (!read_number(&ptr, ptrend, -1, 1000, ERR79, &major, &errorcode)) in parse_regex()
4393 &errorcode, cb)) goto FAILED; in parse_regex()
4436 errorcode = ERR24; in parse_regex()
4515 errorcode = ERR84; in parse_regex()
4536 &errorcode, cb)) goto FAILED; in parse_regex()
4543 errorcode = ERR97; in parse_regex()
4554 errorcode = ERR49; in parse_regex()
4580 errorcode = ERR43; in parse_regex()
4588 errorcode = ERR65; in parse_regex()
4605 errorcode = ERR21; in parse_regex()
4670 errorcode = ERR22; in parse_regex()
4683 errorcode = ERR60; in parse_regex()
4712 errorcode = ERR63; /* Internal error (parsed pattern overflow) */ in parse_regex()
4720 errorcode = ERR14; in parse_regex()
4726 return errorcode; in parse_regex()
4737 errorcode = ERR79; in parse_regex()
9513 int errorcode = 0; in check_lookbehinds() local
9639 if (!set_lookbehind_lengths(&pptr, &errorcode, lcptr, recurses, cb)) in check_lookbehinds()
9640 return errorcode; in check_lookbehinds()
9703 int errorcode = 0; /* Initialize to avoid compiler warn */ in pcre2_compile() local
9892 errorcode = ERR60; in pcre2_compile()
9903 errorcode = ERR60; in pcre2_compile()
9929 errorcode = ERR32; in pcre2_compile()
9944 errorcode = ERR74; in pcre2_compile()
9948 (errorcode = PRIV(valid_utf)(pattern, patlen, erroroffset)) != 0) in pcre2_compile()
9954 errorcode = ERR91; in pcre2_compile()
9965 errorcode = ERR75; in pcre2_compile()
10009 errorcode = ERR56; in pcre2_compile()
10064 errorcode = parse_regex(ptr, cb.external_options, &has_lookbehind, &cb); in pcre2_compile()
10065 if (errorcode != 0) goto HAD_CB_ERROR; in pcre2_compile()
10082 errorcode = ERR21; in pcre2_compile()
10095 errorcode = check_lookbehinds(cb.parsed_pattern, NULL, NULL, &cb, &loopcount); in pcre2_compile()
10096 if (errorcode != 0) goto HAD_CB_ERROR; in pcre2_compile()
10136 (void)compile_regex(cb.external_options, &code, &pptr, &errorcode, 0, &firstcu, in pcre2_compile()
10139 if (errorcode != 0) goto HAD_CB_ERROR; /* Offset is in cb.erroroffset */ in pcre2_compile()
10145 errorcode = ERR20; in pcre2_compile()
10161 errorcode = ERR21; in pcre2_compile()
10234 regexrc = compile_regex(re->overall_options, &code, &pptr, &errorcode, 0, in pcre2_compile()
10255 if (usedlength > length) errorcode = ERR23; else in pcre2_compile()
10269 if (errorcode == 0 && cb.had_recurse) in pcre2_compile()
10308 errorcode = ERR53; in pcre2_compile()
10337 if (errorcode == 0 && (re->overall_options & PCRE2_NO_AUTO_POSSESS) == 0) in pcre2_compile()
10340 if (PRIV(auto_possessify)(temp, &cb) != 0) errorcode = ERR80; in pcre2_compile()
10345 if (errorcode != 0) goto HAD_CB_ERROR; in pcre2_compile()
10478 errorcode = ERR31; in pcre2_compile()
10525 *errorptr = errorcode; in pcre2_compile()