Lines Matching refs:simple_key
822 yaml_simple_key_t *simple_key; in yaml_parser_fetch_more_tokens() local
829 for (simple_key = parser->simple_keys.start; in yaml_parser_fetch_more_tokens()
830 simple_key != parser->simple_keys.top; simple_key++) { in yaml_parser_fetch_more_tokens()
831 if (simple_key->possible in yaml_parser_fetch_more_tokens()
832 && simple_key->token_number == parser->tokens_parsed) { in yaml_parser_fetch_more_tokens()
1058 yaml_simple_key_t *simple_key; in yaml_parser_stale_simple_keys() local
1062 for (simple_key = parser->simple_keys.start; in yaml_parser_stale_simple_keys()
1063 simple_key != parser->simple_keys.top; simple_key ++) in yaml_parser_stale_simple_keys()
1072 if (simple_key->possible in yaml_parser_stale_simple_keys()
1073 && (simple_key->mark.line < parser->mark.line in yaml_parser_stale_simple_keys()
1074 || simple_key->mark.index+1024 < parser->mark.index)) { in yaml_parser_stale_simple_keys()
1078 if (simple_key->required) { in yaml_parser_stale_simple_keys()
1080 "while scanning a simple key", simple_key->mark, in yaml_parser_stale_simple_keys()
1084 simple_key->possible = 0; in yaml_parser_stale_simple_keys()
1114 yaml_simple_key_t simple_key; in yaml_parser_save_simple_key() local
1115 simple_key.possible = 1; in yaml_parser_save_simple_key()
1116 simple_key.required = required; in yaml_parser_save_simple_key()
1117 simple_key.token_number = in yaml_parser_save_simple_key()
1119 simple_key.mark = parser->mark; in yaml_parser_save_simple_key()
1123 *(parser->simple_keys.top-1) = simple_key; in yaml_parser_save_simple_key()
1136 yaml_simple_key_t *simple_key = parser->simple_keys.top-1; in yaml_parser_remove_simple_key() local
1138 if (simple_key->possible) in yaml_parser_remove_simple_key()
1142 if (simple_key->required) { in yaml_parser_remove_simple_key()
1144 "while scanning a simple key", simple_key->mark, in yaml_parser_remove_simple_key()
1151 simple_key->possible = 0; in yaml_parser_remove_simple_key()
1295 yaml_simple_key_t simple_key = { 0, 0, 0, { 0, 0, 0 } }; in yaml_parser_fetch_stream_start() local
1304 if (!PUSH(parser, parser->simple_keys, simple_key)) in yaml_parser_fetch_stream_start()
1689 yaml_simple_key_t *simple_key = parser->simple_keys.top-1; in yaml_parser_fetch_value() local
1693 if (simple_key->possible) in yaml_parser_fetch_value()
1698 TOKEN_INIT(token, YAML_KEY_TOKEN, simple_key->mark, simple_key->mark); in yaml_parser_fetch_value()
1701 simple_key->token_number - parser->tokens_parsed, token)) in yaml_parser_fetch_value()
1706 if (!yaml_parser_roll_indent(parser, simple_key->mark.column, in yaml_parser_fetch_value()
1707 simple_key->token_number, in yaml_parser_fetch_value()
1708 YAML_BLOCK_MAPPING_START_TOKEN, simple_key->mark)) in yaml_parser_fetch_value()
1713 simple_key->possible = 0; in yaml_parser_fetch_value()