Lines Matching defs:parser

7                                  |_| XML parser
125 count = XML_GetSpecifiedAttributeCount(parserAndElementInfos->parser);
130 id = XML_GetIdAttributeIndex(parserAndElementInfos->parser);
275 XML_StopParser(mydata->parser, 0);
413 external_entity_optioner(XML_Parser parser, const XML_Char *context,
416 ExtOption *options = (ExtOption *)XML_GetUserData(parser);
424 ext_parser = XML_ExternalEntityParserCreate(parser, context, NULL);
439 external_entity_loader(XML_Parser parser, const XML_Char *context,
442 ExtTest *test_data = (ExtTest *)XML_GetUserData(parser);
448 extparser = XML_ExternalEntityParserCreate(parser, context, NULL);
450 fail("Could not create external entity parser.");
466 external_entity_faulter(XML_Parser parser, const XML_Char *context,
470 ExtFaults *fault = (ExtFaults *)XML_GetUserData(parser);
475 ext_parser = XML_ExternalEntityParserCreate(parser, context, NULL);
477 fail("Could not create external entity parser");
494 external_entity_null_loader(XML_Parser parser, const XML_Char *context,
497 UNUSED_P(parser);
506 external_entity_resetter(XML_Parser parser, const XML_Char *context,
516 ext_parser = XML_ExternalEntityParserCreate(parser, context, NULL);
518 fail("Could not create external entity parser");
526 xml_failure(parser);
557 fail("Attempting to suspend a subordinate parser not faulted");
559 fail("Suspending subordinate parser get wrong code");
565 external_entity_suspender(XML_Parser parser, const XML_Char *context,
574 ext_parser = XML_ExternalEntityParserCreate(parser, context, NULL);
576 fail("Could not create external entity parser");
601 external_entity_suspend_xmldecl(XML_Parser parser, const XML_Char *context,
612 ext_parser = XML_ExternalEntityParserCreate(parser, context, NULL);
614 fail("Could not create external entity parser");
638 external_entity_suspending_faulter(XML_Parser parser, const XML_Char *context,
643 ExtFaults *fault = (ExtFaults *)XML_GetUserData(parser);
650 ext_parser = XML_ExternalEntityParserCreate(parser, context, NULL);
652 fail("Could not create external entity parser");
675 external_entity_failer__if_not_xml_ge(XML_Parser parser,
680 UNUSED_P(parser);
693 external_entity_cr_catcher(XML_Parser parser, const XML_Char *context,
702 ext_parser = XML_ExternalEntityParserCreate(parser, context, NULL);
704 fail("Could not create external entity parser");
714 external_entity_bad_cr_catcher(XML_Parser parser, const XML_Char *context,
723 ext_parser = XML_ExternalEntityParserCreate(parser, context, NULL);
725 fail("Could not create external entity parser");
737 external_entity_rsqb_catcher(XML_Parser parser, const XML_Char *context,
746 ext_parser = XML_ExternalEntityParserCreate(parser, context, NULL);
748 fail("Could not create external entity parser");
760 external_entity_good_cdata_ascii(XML_Parser parser, const XML_Char *context,
772 ext_parser = XML_ExternalEntityParserCreate(parser, context, NULL);
774 fail("Could not create external entity parser");
788 external_entity_param_checker(XML_Parser parser, const XML_Char *context,
791 const char *text = "<!-- Subordinate parser -->\n"
798 ext_parser = XML_ExternalEntityParserCreate(parser, context, NULL);
800 fail("Could not create external entity parser");
804 xml_failure(parser);
807 g_handler_data = parser;
826 /* Here we use the global 'parser' variable */
829 fail("Could not create external entity parser");
839 external_entity_param(XML_Parser parser, const XML_Char *context,
855 ext_parser = XML_ExternalEntityParserCreate(parser, context, NULL);
857 fail("Could not create external entity parser");
880 external_entity_load_ignore(XML_Parser parser, const XML_Char *context,
889 ext_parser = XML_ExternalEntityParserCreate(parser, context, NULL);
891 fail("Could not create external entity parser");
894 xml_failure(parser);
901 external_entity_load_ignore_utf16(XML_Parser parser, const XML_Char *context,
915 ext_parser = XML_ExternalEntityParserCreate(parser, context, NULL);
917 fail("Could not create external entity parser");
920 xml_failure(parser);
927 external_entity_load_ignore_utf16_be(XML_Parser parser, const XML_Char *context,
941 ext_parser = XML_ExternalEntityParserCreate(parser, context, NULL);
943 fail("Could not create external entity parser");
946 xml_failure(parser);
953 external_entity_valuer(XML_Parser parser, const XML_Char *context,
966 ext_parser = XML_ExternalEntityParserCreate(parser, context, NULL);
968 fail("Could not create external entity parser");
974 ExtFaults *fault = (ExtFaults *)XML_GetUserData(parser);
999 external_entity_not_standalone(XML_Parser parser, const XML_Char *context,
1012 ext_parser = XML_ExternalEntityParserCreate(parser, context, NULL);
1014 fail("Could not create external entity parser");
1036 external_entity_value_aborter(XML_Parser parser, const XML_Char *context,
1050 ext_parser = XML_ExternalEntityParserCreate(parser, context, NULL);
1052 fail("Could not create external entity parser");
1073 external_entity_public(XML_Parser parser, const XML_Char *context,
1076 const char *text1 = (const char *)XML_GetUserData(parser);
1083 ext_parser = XML_ExternalEntityParserCreate(parser, context, NULL);
1091 fail("Unexpected parameters to external entity parser");
1100 external_entity_devaluer(XML_Parser parser, const XML_Char *context,
1107 int clear_handler_flag = (XML_GetUserData(parser) != NULL);
1115 ext_parser = XML_ExternalEntityParserCreate(parser, context, NULL);
1117 fail("Could note create external entity parser");
1129 external_entity_oneshot_loader(XML_Parser parser, const XML_Char *context,
1132 ExtHdlrData *test_data = (ExtHdlrData *)XML_GetUserData(parser);
1138 ext_parser = XML_ExternalEntityParserCreate(parser, context, NULL);
1140 fail("Could not create external entity parser.");
1141 /* Use the requested entity parser for further externals */
1154 external_entity_loader2(XML_Parser parser, const XML_Char *context,
1157 ExtTest2 *test_data = (ExtTest2 *)XML_GetUserData(parser);
1163 extparser = XML_ExternalEntityParserCreate(parser, context, NULL);
1165 fail("Coulr not create external entity parser");
1181 external_entity_faulter2(XML_Parser parser, const XML_Char *context,
1184 ExtFaults2 *test_data = (ExtFaults2 *)XML_GetUserData(parser);
1190 extparser = XML_ExternalEntityParserCreate(parser, context, NULL);
1192 fail("Could not create external entity parser");
1209 external_entity_unfinished_attlist(XML_Parser parser, const XML_Char *context,
1223 ext_parser = XML_ExternalEntityParserCreate(parser, context, NULL);
1225 fail("Could not create external entity parser");
1236 external_entity_handler(XML_Parser parser, const XML_Char *context,
1239 void *user_data = XML_GetUserData(parser);
1255 XML_SetUserData(parser, parser);
1256 p2 = XML_ExternalEntityParserCreate(parser, context, NULL);
1267 external_entity_duff_loader(XML_Parser parser, const XML_Char *context,
1280 new_parser = XML_ExternalEntityParserCreate(parser, context, NULL);
1287 fail("External parser creation ignored failing allocator");
1289 fail("Extern parser not created with max allocation count");
1299 external_entity_dbl_handler(XML_Parser parser, const XML_Char *context,
1302 int *pcallno = (int *)XML_GetUserData(parser);
1318 new_parser = XML_ExternalEntityParserCreate(parser, context, NULL);
1320 fail("Unable to allocate first external parser");
1331 new_parser = XML_ExternalEntityParserCreate(parser, context, NULL);
1336 fail("Second external parser unexpectedly created");
1340 fail("Second external parser not created");
1356 external_entity_dbl_handler_2(XML_Parser parser, const XML_Char *context,
1359 int *pcallno = (int *)XML_GetUserData(parser);
1374 new_parser = XML_ExternalEntityParserCreate(parser, context, NULL);
1382 new_parser = XML_ExternalEntityParserCreate(parser, context, NULL);
1394 external_entity_alloc_set_encoding(XML_Parser parser, const XML_Char *context,
1407 ext_parser = XML_ExternalEntityParserCreate(parser, context, NULL);
1423 external_entity_reallocator(XML_Parser parser, const XML_Char *context,
1434 ext_parser = XML_ExternalEntityParserCreate(parser, context, NULL);
1436 fail("Could not create external entity parser");
1438 g_reallocation_count = *(int *)XML_GetUserData(parser);
1451 external_entity_alloc(XML_Parser parser, const XML_Char *context,
1454 const char *text = (const char *)XML_GetUserData(parser);
1461 ext_parser = XML_ExternalEntityParserCreate(parser, context, NULL);
1471 external_entity_parser_create_alloc_fail_handler(XML_Parser parser,
1484 // "parser->m_protocolEncodingName = copyString(encodingName,
1485 // &(parser->m_mem));" in function parserInit.
1490 = XML_ExternalEntityParserCreate(parser, context, encodingName);
1501 accounting_external_entity_ref_handler(XML_Parser parser,
1510 = (const struct AccountingTestCase *)XML_GetUserData(parser);
1522 XML_Parser entParser = XML_ExternalEntityParserCreate(parser, context, 0);
1589 return; // the parser was stopped by a previous call to this handler.
1594 /* Check that aborting an aborted parser is faulted */
1596 fail("Aborting aborted parser not faulted");
1600 /* Check that aborting a suspended parser works */
1604 /* Check that suspending a suspended parser works */
1606 fail("Suspending suspended parser not faulted");
1804 fail("User data (parser) not correctly set");
1805 /* Check that the user data in the parser is appropriate */
1807 fail("User data in parser not correctly set");
1832 XML_Parser parser = (XML_Parser)userData;
1833 XML_StopParser(parser, XML_TRUE);
1955 XML_StopParser(parserPlusStorage->parser, XML_TRUE);