• Home
  • Raw
  • Download

Lines Matching refs:fault

1582   ExtFaults *fault = (ExtFaults *)XML_GetUserData(parser);  in external_entity_faulter()  local
1590 if (fault->encoding != NULL) { in external_entity_faulter()
1591 if (! XML_SetEncoding(ext_parser, fault->encoding)) in external_entity_faulter()
1594 if (_XML_Parse_SINGLE_BYTES(ext_parser, fault->parse_text, in external_entity_faulter()
1595 (int)strlen(fault->parse_text), XML_TRUE) in external_entity_faulter()
1597 fail(fault->fail_text); in external_entity_faulter()
1598 if (XML_GetErrorCode(ext_parser) != fault->error) in external_entity_faulter()
1610 ExtFaults fault in START_TEST() local
1615 XML_SetUserData(g_parser, &fault); in START_TEST()
1626 ExtFaults fault in START_TEST() local
1632 XML_SetUserData(g_parser, &fault); in START_TEST()
1804 const ExtFaults *fault = faults; in START_TEST() local
1806 for (; fault->parse_text != NULL; fault++) { in START_TEST()
1809 XML_SetUserData(g_parser, (void *)fault); in START_TEST()
3203 ExtFaults *fault = (ExtFaults *)XML_GetUserData(parser); in external_entity_suspending_faulter() local
3205 int parse_len = (int)strlen(fault->parse_text); in external_entity_suspending_faulter()
3220 memcpy(buffer, fault->parse_text, parse_len); in external_entity_suspending_faulter()
3226 fail(fault->fail_text); in external_entity_suspending_faulter()
3227 if (XML_GetErrorCode(ext_parser) != fault->error) in external_entity_suspending_faulter()
3247 ExtFaults *fault; in START_TEST() local
3249 for (fault = &faults[0]; fault->parse_text != NULL; fault++) { in START_TEST()
3253 XML_SetUserData(g_parser, fault); in START_TEST()
4211 ExtFaults *fault; in START_TEST() local
4213 for (fault = &faults[0]; fault->parse_text != NULL; fault++) { in START_TEST()
4216 XML_SetUserData(g_parser, fault); in START_TEST()
4247 ExtFaults *fault = (ExtFaults *)XML_GetUserData(parser); in external_entity_valuer() local
4251 status = _XML_Parse_SINGLE_BYTES(ext_parser, fault->parse_text, in external_entity_valuer()
4252 (int)strlen(fault->parse_text), XML_TRUE); in external_entity_valuer()
4253 if (fault->error == XML_ERROR_NONE) { in external_entity_valuer()
4258 fail(fault->fail_text); in external_entity_valuer()
4260 if (error != fault->error in external_entity_valuer()
4261 && (fault->error != XML_ERROR_XML_DECL in external_entity_valuer()
6382 ExtFaults fault = {"<![IGNORE[<!ELEMENT \xffG (#PCDATA)*>]]>", in START_TEST() local
6389 XML_SetUserData(g_parser, &fault); in START_TEST()