Lines Matching refs:parser
172 parse_config_cmd(char *begin, lt_parser_t *parser) in parse_config_cmd() argument
206 g_sequence_append(parser->lt_pr_cmd_disable, in parse_config_cmd()
338 parse_dmacro(char *begin, lt_parser_t *parser) in parse_dmacro() argument
445 g_assert(parser->lt_pr_dmacro != NULL); in parse_dmacro()
447 dmacro = g_hash_table_lookup(parser->lt_pr_dmacro, probepair); in parse_dmacro()
453 g_hash_table_insert(parser->lt_pr_dmacro, lt_strdup(probepair), in parse_dmacro()
491 lt_parser_t parser; in parse_config() local
499 parser.lt_pr_cmd_disable = g_sequence_new((GDestroyNotify)free); in parse_config()
500 lt_check_null(parser.lt_pr_cmd_disable); in parse_config()
502 parser.lt_pr_dmacro = g_hash_table_new_full(g_str_hash, in parse_config()
504 lt_check_null(parser.lt_pr_dmacro); in parse_config()
544 ret = parse_config_cmd(begin, &parser); in parse_config()
555 ret = parse_dmacro(begin, &parser); in parse_config()
581 g_hash_table_foreach(parser.lt_pr_dmacro, (GHFunc)genscript, script); in parse_config()
589 g_sequence_foreach(parser.lt_pr_cmd_disable, (GFunc)disable_cause, in parse_config()
591 g_sequence_free(parser.lt_pr_cmd_disable); in parse_config()
596 g_sequence_free(parser.lt_pr_cmd_disable); in parse_config()
597 g_hash_table_destroy(parser.lt_pr_dmacro); in parse_config()