Lines Matching defs:parser
28 #include "cr-parser.h"
125 CRParser *parser = NULL;
133 parser = cr_parser_new_from_buf ((guchar*)a_str, strlen ((const char *) a_str), a_enc, FALSE);
134 g_return_val_if_fail (parser, NULL);
136 status = cr_parser_try_to_skip_spaces_and_comments (parser);
140 status = cr_parser_parse_declaration (parser, &property,
154 if (parser) {
155 cr_parser_destroy (parser);
156 parser = NULL;
191 CRParser *parser = NULL;
197 parser = cr_parser_new_from_buf ((guchar*)a_str, strlen ((const char *) a_str), a_enc, FALSE);
198 g_return_val_if_fail (parser, NULL);
199 status = cr_parser_get_tknzr (parser, &tokenizer);
205 status = cr_parser_try_to_skip_spaces_and_comments (parser);
209 status = cr_parser_parse_declaration (parser, &property,
226 cr_parser_try_to_skip_spaces_and_comments (parser);
240 cr_parser_try_to_skip_spaces_and_comments (parser);
241 status = cr_parser_parse_declaration (parser, &property,
265 if (parser) {
266 cr_parser_destroy (parser);
267 parser = NULL;