Lines Matching refs:first_event
45 yaml_parser_load_document(yaml_parser_t *parser, yaml_event_t *first_event);
48 yaml_parser_load_node(yaml_parser_t *parser, yaml_event_t *first_event);
51 yaml_parser_load_alias(yaml_parser_t *parser, yaml_event_t *first_event);
54 yaml_parser_load_scalar(yaml_parser_t *parser, yaml_event_t *first_event);
57 yaml_parser_load_sequence(yaml_parser_t *parser, yaml_event_t *first_event);
60 yaml_parser_load_mapping(yaml_parser_t *parser, yaml_event_t *first_event);
165 yaml_parser_load_document(yaml_parser_t *parser, yaml_event_t *first_event) in yaml_parser_load_document() argument
169 assert(first_event->type == YAML_DOCUMENT_START_EVENT); in yaml_parser_load_document()
173 = first_event->data.document_start.version_directive; in yaml_parser_load_document()
175 = first_event->data.document_start.tag_directives.start; in yaml_parser_load_document()
177 = first_event->data.document_start.tag_directives.end; in yaml_parser_load_document()
179 = first_event->data.document_start.implicit; in yaml_parser_load_document()
180 parser->document->start_mark = first_event->start_mark; in yaml_parser_load_document()
201 yaml_parser_load_node(yaml_parser_t *parser, yaml_event_t *first_event) in yaml_parser_load_node() argument
203 switch (first_event->type) { in yaml_parser_load_node()
205 return yaml_parser_load_alias(parser, first_event); in yaml_parser_load_node()
207 return yaml_parser_load_scalar(parser, first_event); in yaml_parser_load_node()
209 return yaml_parser_load_sequence(parser, first_event); in yaml_parser_load_node()
211 return yaml_parser_load_mapping(parser, first_event); in yaml_parser_load_node()
260 yaml_parser_load_alias(yaml_parser_t *parser, yaml_event_t *first_event) in yaml_parser_load_alias() argument
262 yaml_char_t *anchor = first_event->data.alias.anchor; in yaml_parser_load_alias()
275 first_event->start_mark); in yaml_parser_load_alias()
283 yaml_parser_load_scalar(yaml_parser_t *parser, yaml_event_t *first_event) in yaml_parser_load_scalar() argument
287 yaml_char_t *tag = first_event->data.scalar.tag; in yaml_parser_load_scalar()
297 SCALAR_NODE_INIT(node, tag, first_event->data.scalar.value, in yaml_parser_load_scalar()
298 first_event->data.scalar.length, first_event->data.scalar.style, in yaml_parser_load_scalar()
299 first_event->start_mark, first_event->end_mark); in yaml_parser_load_scalar()
306 first_event->data.scalar.anchor)) return 0; in yaml_parser_load_scalar()
312 yaml_free(first_event->data.scalar.anchor); in yaml_parser_load_scalar()
313 yaml_free(first_event->data.scalar.value); in yaml_parser_load_scalar()
322 yaml_parser_load_sequence(yaml_parser_t *parser, yaml_event_t *first_event) in yaml_parser_load_sequence() argument
332 yaml_char_t *tag = first_event->data.sequence_start.tag; in yaml_parser_load_sequence()
345 first_event->data.sequence_start.style, in yaml_parser_load_sequence()
346 first_event->start_mark, first_event->end_mark); in yaml_parser_load_sequence()
353 first_event->data.sequence_start.anchor)) return 0; in yaml_parser_load_sequence()
375 yaml_free(first_event->data.sequence_start.anchor); in yaml_parser_load_sequence()
384 yaml_parser_load_mapping(yaml_parser_t *parser, yaml_event_t *first_event) in yaml_parser_load_mapping() argument
395 yaml_char_t *tag = first_event->data.mapping_start.tag; in yaml_parser_load_mapping()
408 first_event->data.mapping_start.style, in yaml_parser_load_mapping()
409 first_event->start_mark, first_event->end_mark); in yaml_parser_load_mapping()
416 first_event->data.mapping_start.anchor)) return 0; in yaml_parser_load_mapping()
441 yaml_free(first_event->data.mapping_start.anchor); in yaml_parser_load_mapping()