Home
last modified time | relevance | path

Searched refs:MENTRY (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/lyaml/ext/yaml/
H A Dscanner.c55 #define MENTRY(_s) RAWSET_INTEGER (#_s, mark._s) in scanner_set_mark() macro
56 MENTRY( index ); in scanner_set_mark()
57 MENTRY( line ); in scanner_set_mark()
58 MENTRY( column ); in scanner_set_mark()
59 #undef MENTRY in scanner_set_mark()
72 #define MENTRY(_s) scanner_set_mark (L, #_s, scanner->token._s) in scanner_push_tokentable() macro
73 MENTRY( start_mark ); in scanner_push_tokentable()
74 MENTRY( end_mark ); in scanner_push_tokentable()
75 #undef MENTRY in scanner_push_tokentable()
87 #define MENTRY(_s) \ in scan_STREAM_START() macro
[all …]
H A Dparser.c54 #define MENTRY(_s) RAWSET_INTEGER(#_s, mark._s) in parser_set_mark() macro
55 MENTRY( index ); in parser_set_mark()
56 MENTRY( line ); in parser_set_mark()
57 MENTRY( column ); in parser_set_mark()
58 #undef MENTRY in parser_set_mark()
70 #define MENTRY(_s) parser_set_mark (L, #_s, parser->event._s) in parser_push_eventtable() macro
71 MENTRY( start_mark ); in parser_push_eventtable()
72 MENTRY( end_mark ); in parser_push_eventtable()
73 #undef MENTRY in parser_push_eventtable()
85 #define MENTRY(_s) \ in parse_STREAM_START() macro
[all …]
H A Demitter.c55 #define MENTRY(_s) (STREQ (encoding, #_s)) { yaml_encoding = YAML_##_s##_ENCODING; } in emit_STREAM_START() macro
57 if MENTRY( UTF8 ) else in emit_STREAM_START()
58 if MENTRY( UTF16LE ) else in emit_STREAM_START()
59 if MENTRY( UTF16BE ) else in emit_STREAM_START()
66 #undef MENTRY in emit_STREAM_START()
175 #define MENTRY(_s) (STREQ (style, #_s)) { yaml_style = YAML_##_s##_MAPPING_STYLE; } in emit_MAPPING_START() macro
177 if MENTRY( BLOCK ) else in emit_MAPPING_START()
178 if MENTRY( FLOW ) else in emit_MAPPING_START()
185 #undef MENTRY in emit_MAPPING_START()
220 #define MENTRY(_s) (STREQ (style, #_s)) { yaml_style = YAML_##_s##_SEQUENCE_STYLE; } in emit_SEQUENCE_START() macro
[all …]
H A Dyaml.c48 #define MENTRY(_s) {LYAML_STR_1(_s), (_s)} macro
49 MENTRY( Pemitter ),
50 MENTRY( Pparser ),
51 MENTRY( Pscanner ),
52 #undef MENTRY