Lines Matching refs:error

753     if (parser->stream_end_produced || parser->error) {  in yaml_parser_scan()
785 parser->error = YAML_SCANNER_ERROR; in yaml_parser_set_scanner_error()
1173 parser->error = YAML_MEMORY_ERROR; in yaml_parser_increase_flow_level()
1228 parser->error = YAML_MEMORY_ERROR; in yaml_parser_roll_indent()
2013 goto error; in yaml_parser_scan_directive()
2023 goto error; in yaml_parser_scan_directive()
2041 goto error; in yaml_parser_scan_directive()
2057 goto error; in yaml_parser_scan_directive()
2062 if (!CACHE(parser, 1)) goto error; in yaml_parser_scan_directive()
2066 if (!CACHE(parser, 1)) goto error; in yaml_parser_scan_directive()
2072 if (!CACHE(parser, 1)) goto error; in yaml_parser_scan_directive()
2081 goto error; in yaml_parser_scan_directive()
2087 if (!CACHE(parser, 2)) goto error; in yaml_parser_scan_directive()
2095 error: in yaml_parser_scan_directive()
2118 if (!STRING_INIT(parser, string, INITIAL_STRING_SIZE)) goto error; in yaml_parser_scan_directive_name()
2122 if (!CACHE(parser, 1)) goto error; in yaml_parser_scan_directive_name()
2126 if (!READ(parser, string)) goto error; in yaml_parser_scan_directive_name()
2127 if (!CACHE(parser, 1)) goto error; in yaml_parser_scan_directive_name()
2135 goto error; in yaml_parser_scan_directive_name()
2143 goto error; in yaml_parser_scan_directive_name()
2150 error: in yaml_parser_scan_directive_name()
2266 if (!CACHE(parser, 1)) goto error; in yaml_parser_scan_tag_directive_value()
2270 if (!CACHE(parser, 1)) goto error; in yaml_parser_scan_tag_directive_value()
2276 goto error; in yaml_parser_scan_tag_directive_value()
2280 if (!CACHE(parser, 1)) goto error; in yaml_parser_scan_tag_directive_value()
2285 goto error; in yaml_parser_scan_tag_directive_value()
2292 if (!CACHE(parser, 1)) goto error; in yaml_parser_scan_tag_directive_value()
2298 goto error; in yaml_parser_scan_tag_directive_value()
2302 if (!CACHE(parser, 1)) goto error; in yaml_parser_scan_tag_directive_value()
2307 goto error; in yaml_parser_scan_tag_directive_value()
2315 error: in yaml_parser_scan_tag_directive_value()
2329 if (!STRING_INIT(parser, string, INITIAL_STRING_SIZE)) goto error; in yaml_parser_scan_anchor()
2339 if (!CACHE(parser, 1)) goto error; in yaml_parser_scan_anchor()
2342 if (!READ(parser, string)) goto error; in yaml_parser_scan_anchor()
2343 if (!CACHE(parser, 1)) goto error; in yaml_parser_scan_anchor()
2364 goto error; in yaml_parser_scan_anchor()
2378 error: in yaml_parser_scan_anchor()
2398 if (!CACHE(parser, 2)) goto error; in yaml_parser_scan_tag()
2405 if (!handle) goto error; in yaml_parser_scan_tag()
2416 goto error; in yaml_parser_scan_tag()
2423 goto error; in yaml_parser_scan_tag()
2435 goto error; in yaml_parser_scan_tag()
2444 goto error; in yaml_parser_scan_tag()
2451 goto error; in yaml_parser_scan_tag()
2457 if (!handle) goto error; in yaml_parser_scan_tag()
2476 if (!CACHE(parser, 1)) goto error; in yaml_parser_scan_tag()
2481 goto error; in yaml_parser_scan_tag()
2492 error: in yaml_parser_scan_tag()
2508 if (!STRING_INIT(parser, string, INITIAL_STRING_SIZE)) goto error; in yaml_parser_scan_tag_handle()
2512 if (!CACHE(parser, 1)) goto error; in yaml_parser_scan_tag_handle()
2518 goto error; in yaml_parser_scan_tag_handle()
2523 if (!READ(parser, string)) goto error; in yaml_parser_scan_tag_handle()
2527 if (!CACHE(parser, 1)) goto error; in yaml_parser_scan_tag_handle()
2531 if (!READ(parser, string)) goto error; in yaml_parser_scan_tag_handle()
2532 if (!CACHE(parser, 1)) goto error; in yaml_parser_scan_tag_handle()
2539 if (!READ(parser, string)) goto error; in yaml_parser_scan_tag_handle()
2552 goto error; in yaml_parser_scan_tag_handle()
2560 error: in yaml_parser_scan_tag_handle()
2576 if (!STRING_INIT(parser, string, INITIAL_STRING_SIZE)) goto error; in yaml_parser_scan_tag_uri()
2582 parser->error = YAML_MEMORY_ERROR; in yaml_parser_scan_tag_uri()
2583 goto error; in yaml_parser_scan_tag_uri()
2600 if (!CACHE(parser, 1)) goto error; in yaml_parser_scan_tag_uri()
2626 goto error; in yaml_parser_scan_tag_uri()
2629 directive, start_mark, &string)) goto error; in yaml_parser_scan_tag_uri()
2632 if (!READ(parser, string)) goto error; in yaml_parser_scan_tag_uri()
2636 if (!CACHE(parser, 1)) goto error; in yaml_parser_scan_tag_uri()
2643 goto error; in yaml_parser_scan_tag_uri()
2648 goto error; in yaml_parser_scan_tag_uri()
2655 error: in yaml_parser_scan_tag_uri()
2748 if (!STRING_INIT(parser, string, INITIAL_STRING_SIZE)) goto error; in yaml_parser_scan_block_scalar()
2749 if (!STRING_INIT(parser, leading_break, INITIAL_STRING_SIZE)) goto error; in yaml_parser_scan_block_scalar()
2750 if (!STRING_INIT(parser, trailing_breaks, INITIAL_STRING_SIZE)) goto error; in yaml_parser_scan_block_scalar()
2760 if (!CACHE(parser, 1)) goto error; in yaml_parser_scan_block_scalar()
2774 if (!CACHE(parser, 1)) goto error; in yaml_parser_scan_block_scalar()
2783 goto error; in yaml_parser_scan_block_scalar()
2801 goto error; in yaml_parser_scan_block_scalar()
2808 if (!CACHE(parser, 1)) goto error; in yaml_parser_scan_block_scalar()
2819 if (!CACHE(parser, 1)) goto error; in yaml_parser_scan_block_scalar()
2823 if (!CACHE(parser, 1)) goto error; in yaml_parser_scan_block_scalar()
2829 if (!CACHE(parser, 1)) goto error; in yaml_parser_scan_block_scalar()
2838 goto error; in yaml_parser_scan_block_scalar()
2844 if (!CACHE(parser, 2)) goto error; in yaml_parser_scan_block_scalar()
2859 start_mark, &end_mark)) goto error; in yaml_parser_scan_block_scalar()
2863 if (!CACHE(parser, 1)) goto error; in yaml_parser_scan_block_scalar()
2883 if (!STRING_EXTEND(parser, string)) goto error; in yaml_parser_scan_block_scalar()
2890 if (!JOIN(parser, string, leading_break)) goto error; in yaml_parser_scan_block_scalar()
2896 if (!JOIN(parser, string, trailing_breaks)) goto error; in yaml_parser_scan_block_scalar()
2906 if (!READ(parser, string)) goto error; in yaml_parser_scan_block_scalar()
2907 if (!CACHE(parser, 1)) goto error; in yaml_parser_scan_block_scalar()
2912 if (!CACHE(parser, 2)) goto error; in yaml_parser_scan_block_scalar()
2914 if (!READ_LINE(parser, leading_break)) goto error; in yaml_parser_scan_block_scalar()
2919 &indent, &trailing_breaks, start_mark, &end_mark)) goto error; in yaml_parser_scan_block_scalar()
2925 if (!JOIN(parser, string, leading_break)) goto error; in yaml_parser_scan_block_scalar()
2928 if (!JOIN(parser, string, trailing_breaks)) goto error; in yaml_parser_scan_block_scalar()
2942 error: in yaml_parser_scan_block_scalar()
3029 if (!STRING_INIT(parser, string, INITIAL_STRING_SIZE)) goto error; in yaml_parser_scan_flow_scalar()
3030 if (!STRING_INIT(parser, leading_break, INITIAL_STRING_SIZE)) goto error; in yaml_parser_scan_flow_scalar()
3031 if (!STRING_INIT(parser, trailing_breaks, INITIAL_STRING_SIZE)) goto error; in yaml_parser_scan_flow_scalar()
3032 if (!STRING_INIT(parser, whitespaces, INITIAL_STRING_SIZE)) goto error; in yaml_parser_scan_flow_scalar()
3046 if (!CACHE(parser, 4)) goto error; in yaml_parser_scan_flow_scalar()
3059 goto error; in yaml_parser_scan_flow_scalar()
3067 goto error; in yaml_parser_scan_flow_scalar()
3072 if (!CACHE(parser, 2)) goto error; in yaml_parser_scan_flow_scalar()
3083 if (!STRING_EXTEND(parser, string)) goto error; in yaml_parser_scan_flow_scalar()
3101 if (!CACHE(parser, 3)) goto error; in yaml_parser_scan_flow_scalar()
3114 if (!STRING_EXTEND(parser, string)) goto error; in yaml_parser_scan_flow_scalar()
3214 goto error; in yaml_parser_scan_flow_scalar()
3229 if (!CACHE(parser, code_length)) goto error; in yaml_parser_scan_flow_scalar()
3235 goto error; in yaml_parser_scan_flow_scalar()
3245 goto error; in yaml_parser_scan_flow_scalar()
3279 if (!READ(parser, string)) goto error; in yaml_parser_scan_flow_scalar()
3282 if (!CACHE(parser, 2)) goto error; in yaml_parser_scan_flow_scalar()
3291 if (!CACHE(parser, 1)) goto error; in yaml_parser_scan_flow_scalar()
3297 if (!CACHE(parser, 1)) goto error; in yaml_parser_scan_flow_scalar()
3306 if (!READ(parser, whitespaces)) goto error; in yaml_parser_scan_flow_scalar()
3314 if (!CACHE(parser, 2)) goto error; in yaml_parser_scan_flow_scalar()
3321 if (!READ_LINE(parser, leading_break)) goto error; in yaml_parser_scan_flow_scalar()
3326 if (!READ_LINE(parser, trailing_breaks)) goto error; in yaml_parser_scan_flow_scalar()
3329 if (!CACHE(parser, 1)) goto error; in yaml_parser_scan_flow_scalar()
3340 if (!STRING_EXTEND(parser, string)) goto error; in yaml_parser_scan_flow_scalar()
3344 if (!JOIN(parser, string, trailing_breaks)) goto error; in yaml_parser_scan_flow_scalar()
3350 if (!JOIN(parser, string, leading_break)) goto error; in yaml_parser_scan_flow_scalar()
3351 if (!JOIN(parser, string, trailing_breaks)) goto error; in yaml_parser_scan_flow_scalar()
3358 if (!JOIN(parser, string, whitespaces)) goto error; in yaml_parser_scan_flow_scalar()
3381 error: in yaml_parser_scan_flow_scalar()
3406 if (!STRING_INIT(parser, string, INITIAL_STRING_SIZE)) goto error; in yaml_parser_scan_plain_scalar()
3407 if (!STRING_INIT(parser, leading_break, INITIAL_STRING_SIZE)) goto error; in yaml_parser_scan_plain_scalar()
3408 if (!STRING_INIT(parser, trailing_breaks, INITIAL_STRING_SIZE)) goto error; in yaml_parser_scan_plain_scalar()
3409 if (!STRING_INIT(parser, whitespaces, INITIAL_STRING_SIZE)) goto error; in yaml_parser_scan_plain_scalar()
3419 if (!CACHE(parser, 4)) goto error; in yaml_parser_scan_plain_scalar()
3446 goto error; in yaml_parser_scan_plain_scalar()
3469 if (!STRING_EXTEND(parser, string)) goto error; in yaml_parser_scan_plain_scalar()
3473 if (!JOIN(parser, string, trailing_breaks)) goto error; in yaml_parser_scan_plain_scalar()
3479 if (!JOIN(parser, string, leading_break)) goto error; in yaml_parser_scan_plain_scalar()
3480 if (!JOIN(parser, string, trailing_breaks)) goto error; in yaml_parser_scan_plain_scalar()
3489 if (!JOIN(parser, string, whitespaces)) goto error; in yaml_parser_scan_plain_scalar()
3496 if (!READ(parser, string)) goto error; in yaml_parser_scan_plain_scalar()
3500 if (!CACHE(parser, 2)) goto error; in yaml_parser_scan_plain_scalar()
3510 if (!CACHE(parser, 1)) goto error; in yaml_parser_scan_plain_scalar()
3522 goto error; in yaml_parser_scan_plain_scalar()
3528 if (!READ(parser, whitespaces)) goto error; in yaml_parser_scan_plain_scalar()
3536 if (!CACHE(parser, 2)) goto error; in yaml_parser_scan_plain_scalar()
3543 if (!READ_LINE(parser, leading_break)) goto error; in yaml_parser_scan_plain_scalar()
3548 if (!READ_LINE(parser, trailing_breaks)) goto error; in yaml_parser_scan_plain_scalar()
3551 if (!CACHE(parser, 1)) goto error; in yaml_parser_scan_plain_scalar()
3577 error: in yaml_parser_scan_plain_scalar()