Home
last modified time | relevance | path

Searched refs:token (Results 1 – 6 of 6) sorted by relevance

/optee_benchmark/libyaml/src/
A Dparser.c315 yaml_token_t *token; in yaml_parser_parse_stream_start() local
327 token->start_mark, token->start_mark); in yaml_parser_parse_stream_start()
379 token->start_mark, token->start_mark); in yaml_parser_parse_document_start()
417 STREAM_END_EVENT_INIT(*event, token->start_mark, token->end_mark); in yaml_parser_parse_document_start()
547 token->start_mark, token->end_mark); in yaml_parser_parse_node()
653 token->data.scalar.value, token->data.scalar.length, in yaml_parser_parse_node()
875 MAPPING_END_EVENT_INIT(*event, token->start_mark, token->end_mark); in yaml_parser_parse_block_mapping_key()
986 token->start_mark, token->end_mark); in yaml_parser_parse_flow_sequence_entry()
1001 SEQUENCE_END_EVENT_INIT(*event, token->start_mark, token->end_mark); in yaml_parser_parse_flow_sequence_entry()
1084 MAPPING_END_EVENT_INIT(*event, token->start_mark, token->start_mark); in yaml_parser_parse_flow_sequence_entry_mapping_end()
[all …]
A Dscanner.c1210 yaml_token_t token; in yaml_parser_roll_indent() local
1262 yaml_token_t token; in yaml_parser_unroll_indent() local
1296 yaml_token_t token; in yaml_parser_fetch_stream_start() local
1333 yaml_token_t token; in yaml_parser_fetch_stream_end() local
1371 yaml_token_t token; in yaml_parser_fetch_directive() local
1409 yaml_token_t token; in yaml_parser_fetch_document_indicator() local
1454 yaml_token_t token; in yaml_parser_fetch_flow_collection_start() local
1497 yaml_token_t token; in yaml_parser_fetch_flow_collection_end() local
1539 yaml_token_t token; in yaml_parser_fetch_flow_entry() local
1574 yaml_token_t token; in yaml_parser_fetch_block_entry() local
[all …]
A Dyaml_private.h498 #define TOKEN_INIT(token,token_type,token_start_mark,token_end_mark) \ argument
499 (memset(&(token), 0, sizeof(yaml_token_t)), \
502 (token).end_mark = (token_end_mark))
506 (token).data.stream_start.encoding = (token_encoding))
509 (TOKEN_INIT((token),YAML_STREAM_END_TOKEN,(start_mark),(end_mark)))
513 (token).data.alias.value = (token_value))
517 (token).data.anchor.value = (token_value))
522 (token).data.tag.suffix = (token_suffix))
528 (token).data.scalar.style = (token_style))
533 (token).data.version_directive.minor = (token_minor))
[all …]
A Dapi.c578 yaml_token_delete(yaml_token_t *token) in yaml_token_delete() argument
580 assert(token); /* Non-NULL token object expected. */ in yaml_token_delete()
582 switch (token->type) in yaml_token_delete()
585 yaml_free(token->data.tag_directive.handle); in yaml_token_delete()
586 yaml_free(token->data.tag_directive.prefix); in yaml_token_delete()
590 yaml_free(token->data.alias.value); in yaml_token_delete()
594 yaml_free(token->data.anchor.value); in yaml_token_delete()
598 yaml_free(token->data.tag.handle); in yaml_token_delete()
599 yaml_free(token->data.tag.suffix); in yaml_token_delete()
603 yaml_free(token->data.scalar.value); in yaml_token_delete()
[all …]
/optee_benchmark/libyaml/tests/
A Drun-scanner.c25 yaml_token_t token; in main() local
42 if (!yaml_parser_scan(&parser, &token)) { in main()
47 done = (token.type == YAML_STREAM_END_TOKEN); in main()
49 yaml_token_delete(&token); in main()
/optee_benchmark/libyaml/include/
A Dyaml.h345 yaml_token_delete(yaml_token_t *token);
1404 yaml_parser_scan(yaml_parser_t *parser, yaml_token_t *token);

Completed in 20 milliseconds