Lines Matching defs:userData

62 /* Variable holding the expected handler userData */
74 start_element_event_handler(void *userData, const XML_Char *name,
77 CharData_AppendXMLChars((CharData *)userData, name, -1);
81 end_element_event_handler(void *userData, const XML_Char *name) {
82 CharData *storage = (CharData *)userData;
88 start_element_event_handler2(void *userData, const XML_Char *name,
90 StructData *storage = (StructData *)userData;
97 end_element_event_handler2(void *userData, const XML_Char *name) {
98 StructData *storage = (StructData *)userData;
104 counting_start_element_handler(void *userData, const XML_Char *name,
107 = (ParserAndElementInfo *)userData;
160 suspending_end_handler(void *userData, const XML_Char *s) {
162 XML_StopParser((XML_Parser)userData, 1);
166 start_element_suspender(void *userData, const XML_Char *name,
168 UNUSED_P(userData);
178 provided as the userData argument; the first is the expected
185 triplet_start_checker(void *userData, const XML_Char *name,
187 XML_Char **elemstr = (XML_Char **)userData;
204 in an array of strings passed as the userData argument.
207 triplet_end_checker(void *userData, const XML_Char *name) {
208 XML_Char **elemstr = (XML_Char **)userData;
219 overwrite_start_checker(void *userData, const XML_Char *name,
221 CharData *storage = (CharData *)userData;
233 overwrite_end_checker(void *userData, const XML_Char *name) {
234 CharData *storage = (CharData *)userData;
241 start_element_fail(void *userData, const XML_Char *name,
243 UNUSED_P(userData);
252 start_ns_clearing_start_element(void *userData, const XML_Char *prefix,
256 XML_SetStartElementHandler((XML_Parser)userData, NULL);
260 start_element_issue_240(void *userData, const XML_Char *name,
262 DataIssue240 *mydata = (DataIssue240 *)userData;
269 end_element_issue_240(void *userData, const XML_Char *name) {
270 DataIssue240 *mydata = (DataIssue240 *)userData;
396 long_encoding_handler(void *userData, const XML_Char *encoding,
400 UNUSED_P(userData);
551 entity_suspending_decl_handler(void *userData, const XML_Char *name,
553 XML_Parser ext_parser = (XML_Parser)userData;
589 entity_suspending_xdecl_handler(void *userData, const XML_Char *version,
591 XML_Parser ext_parser = (XML_Parser)userData;
1536 reject_not_standalone_handler(void *userData) {
1537 UNUSED_P(userData);
1542 accept_not_standalone_handler(void *userData) {
1543 UNUSED_P(userData);
1549 verify_attlist_decl_handler(void *userData, const XML_Char *element_name,
1553 AttTest *at = (AttTest *)userData;
1572 clearing_aborting_character_handler(void *userData, const XML_Char *s,
1574 UNUSED_P(userData);
1582 parser_stop_character_handler(void *userData, const XML_Char *s, int len) {
1583 UNUSED_P(userData);
1613 cr_cdata_handler(void *userData, const XML_Char *s, int len) {
1614 int *pfound = (int *)userData;
1624 rsqb_handler(void *userData, const XML_Char *s, int len) {
1625 int *pfound = (int *)userData;
1632 byte_character_handler(void *userData, const XML_Char *s, int len) {
1636 ByteTestData *data = (ByteTestData *)userData;
1654 UNUSED_P(userData);
1660 ext2_accumulate_characters(void *userData, const XML_Char *s, int len) {
1661 ExtTest2 *test_data = (ExtTest2 *)userData;
1678 record_default_handler(void *userData, const XML_Char *s, int len) {
1680 record_call((struct handler_record_list *)userData, __func__, len);
1684 record_cdata_handler(void *userData, const XML_Char *s, int len) {
1686 record_call((struct handler_record_list *)userData, __func__, len);
1691 record_cdata_nodefault_handler(void *userData, const XML_Char *s, int len) {
1693 record_call((struct handler_record_list *)userData, __func__, len);
1697 record_skip_handler(void *userData, const XML_Char *entityName,
1700 record_call((struct handler_record_list *)userData, __func__,
1705 record_element_start_handler(void *userData, const XML_Char *name,
1708 CharData_AppendXMLChars((CharData *)userData, name, (int)xcstrlen(name));
1712 record_element_end_handler(void *userData, const XML_Char *name) {
1713 CharData *storage = (CharData *)userData;
1734 param_entity_match_handler(void *userData, const XML_Char *entityName,
1739 UNUSED_P(userData);
1778 xml_decl_handler(void *userData, const XML_Char *version,
1782 if (userData != g_handler_data)
1790 param_check_skip_handler(void *userData, const XML_Char *entityName,
1794 if (userData != g_handler_data)
1800 data_check_comment_handler(void *userData, const XML_Char *data) {
1802 /* Check that the userData passed through is what we expect */
1803 if (userData != g_handler_data)
1806 if (XML_GetUserData(userData) != (void *)1)
1812 selective_aborting_default_handler(void *userData, const XML_Char *s, int len) {
1813 const XML_Char trigger_char = *(const XML_Char *)userData;
1830 suspending_comment_handler(void *userData, const XML_Char *data) {
1832 XML_Parser parser = (XML_Parser)userData;
1837 element_decl_suspender(void *userData, const XML_Char *name,
1839 UNUSED_P(userData);
1846 accumulate_pi_characters(void *userData, const XML_Char *target,
1848 CharData *storage = (CharData *)userData;
1857 accumulate_comment(void *userData, const XML_Char *data) {
1858 CharData *storage = (CharData *)userData;
1864 accumulate_entity_decl(void *userData, const XML_Char *entityName,
1869 CharData *storage = (CharData *)userData;
1886 accumulate_start_element(void *userData, const XML_Char *name,
1888 CharData *const storage = (CharData *)userData;
1910 accumulate_characters(void *userData, const XML_Char *s, int len) {
1911 CharData *const storage = (CharData *)userData;
1916 accumulate_attribute(void *userData, const XML_Char *name,
1918 CharData *const storage = (CharData *)userData;
1932 ext_accumulate_characters(void *userData, const XML_Char *s, int len) {
1933 ExtTest *const test_data = (ExtTest *)userData;
1938 checking_default_handler(void *userData, const XML_Char *s, int len) {
1939 DefaultCheck *data = (DefaultCheck *)userData;
1952 accumulate_and_suspend_comment_handler(void *userData, const XML_Char *data) {
1953 ParserPlusStorage *const parserPlusStorage = (ParserPlusStorage *)userData;