Lines Matching refs:parser_data
74 void add_link(ParserData *parser_data, const StringRef &uri, in add_link() argument
78 reinterpret_cast<const xmlChar *>(parser_data->base_uri.c_str())); in add_link()
80 parser_data->links.push_back( in add_link()
90 auto parser_data = static_cast<ParserData *>(user_data); in start_element_func() local
94 ++parser_data->inside_head; in start_element_func()
103 add_link(parser_data, href_attr, REQ_OTHERS); in start_element_func()
105 add_link(parser_data, href_attr, REQ_CSS); in start_element_func()
111 add_link(parser_data, href_attr, in start_element_func()
119 add_link(parser_data, src_attr, REQ_IMG); in start_element_func()
125 if (parser_data->inside_head) { in start_element_func()
126 add_link(parser_data, src_attr, REQ_JS); in start_element_func()
128 add_link(parser_data, src_attr, REQ_UNBLOCK_JS); in start_element_func()
136 auto parser_data = static_cast<ParserData *>(user_data); in end_element_func() local
140 --parser_data->inside_head; in end_element_func()