Lines Matching refs:parser

560 metaLocation(XML_Parser parser) {  in metaLocation()  argument
561 const XML_Char *uri = XML_GetBase(parser); in metaLocation()
562 FILE *fp = ((XmlwfUserData *)XML_GetUserData(parser))->fp; in metaLocation()
569 XML_GetCurrentByteIndex(parser), XML_GetCurrentByteCount(parser), in metaLocation()
570 XML_GetCurrentLineNumber(parser), in metaLocation()
571 XML_GetCurrentColumnNumber(parser)); in metaLocation()
588 XML_Parser parser = (XML_Parser)userData; in metaStartElement() local
589 XmlwfUserData *data = (XmlwfUserData *)XML_GetUserData(parser); in metaStartElement()
592 = atts + XML_GetSpecifiedAttributeCount(parser); in metaStartElement()
594 int idAttIndex = XML_GetIdAttributeIndex(parser); in metaStartElement()
601 metaLocation(parser); in metaStartElement()
621 XML_Parser parser = (XML_Parser)userData; in metaEndElement() local
622 XmlwfUserData *data = (XmlwfUserData *)XML_GetUserData(parser); in metaEndElement()
625 metaLocation(parser); in metaEndElement()
632 XML_Parser parser = (XML_Parser)userData; in metaProcessingInstruction() local
633 XmlwfUserData *usrData = (XmlwfUserData *)XML_GetUserData(parser); in metaProcessingInstruction()
638 metaLocation(parser); in metaProcessingInstruction()
644 XML_Parser parser = (XML_Parser)userData; in metaComment() local
645 XmlwfUserData *usrData = (XmlwfUserData *)XML_GetUserData(parser); in metaComment()
650 metaLocation(parser); in metaComment()
656 XML_Parser parser = (XML_Parser)userData; in metaStartCdataSection() local
657 XmlwfUserData *data = (XmlwfUserData *)XML_GetUserData(parser); in metaStartCdataSection()
660 metaLocation(parser); in metaStartCdataSection()
666 XML_Parser parser = (XML_Parser)userData; in metaEndCdataSection() local
667 XmlwfUserData *data = (XmlwfUserData *)XML_GetUserData(parser); in metaEndCdataSection()
670 metaLocation(parser); in metaEndCdataSection()
676 XML_Parser parser = (XML_Parser)userData; in metaCharacterData() local
677 XmlwfUserData *data = (XmlwfUserData *)XML_GetUserData(parser); in metaCharacterData()
682 metaLocation(parser); in metaCharacterData()
690 XML_Parser parser = (XML_Parser)userData; in metaStartDoctypeDecl() local
691 XmlwfUserData *data = (XmlwfUserData *)XML_GetUserData(parser); in metaStartDoctypeDecl()
697 metaLocation(parser); in metaStartDoctypeDecl()
703 XML_Parser parser = (XML_Parser)userData; in metaEndDoctypeDecl() local
704 XmlwfUserData *data = (XmlwfUserData *)XML_GetUserData(parser); in metaEndDoctypeDecl()
707 metaLocation(parser); in metaEndDoctypeDecl()
715 XML_Parser parser = (XML_Parser)userData; in metaNotationDecl() local
716 XmlwfUserData *data = (XmlwfUserData *)XML_GetUserData(parser); in metaNotationDecl()
727 metaLocation(parser); in metaNotationDecl()
736 XML_Parser parser = (XML_Parser)userData; in metaEntityDecl() local
737 XmlwfUserData *data = (XmlwfUserData *)XML_GetUserData(parser); in metaEntityDecl()
744 metaLocation(parser); in metaEntityDecl()
756 metaLocation(parser); in metaEntityDecl()
765 metaLocation(parser); in metaEntityDecl()
773 XML_Parser parser = (XML_Parser)userData; in metaStartNamespaceDecl() local
774 XmlwfUserData *data = (XmlwfUserData *)XML_GetUserData(parser); in metaStartNamespaceDecl()
789 XML_Parser parser = (XML_Parser)userData; in metaEndNamespaceDecl() local
790 XmlwfUserData *data = (XmlwfUserData *)XML_GetUserData(parser); in metaEndNamespaceDecl()
1159 XML_Parser parser; in tmain() local
1161 parser = XML_ParserCreateNS(encoding, NSSEP); in tmain()
1163 parser = XML_ParserCreate(encoding); in tmain()
1165 if (! parser) { in tmain()
1173 parser, attackMaximumAmplification); in tmain()
1179 parser, attackThresholdBytes); in tmain()
1186 const XML_Bool success = XML_SetReparseDeferralEnabled(parser, XML_FALSE); in tmain()
1196 XML_SetNotStandaloneHandler(parser, notStandalone); in tmain()
1197 XML_SetParamEntityParsing(parser, paramEntityParsing); in tmain()
1202 XML_SetElementHandler(parser, nopStartElement, nopEndElement); in tmain()
1203 XML_SetCharacterDataHandler(parser, nopCharacterData); in tmain()
1204 XML_SetProcessingInstructionHandler(parser, nopProcessingInstruction); in tmain()
1238 XML_ParserFree(parser); in tmain()
1249 XML_SetUserData(parser, &userData); in tmain()
1252 XML_UseParserAsHandlerArg(parser); in tmain()
1253 XML_SetElementHandler(parser, metaStartElement, metaEndElement); in tmain()
1254 XML_SetProcessingInstructionHandler(parser, metaProcessingInstruction); in tmain()
1255 XML_SetCommentHandler(parser, metaComment); in tmain()
1256 XML_SetCdataSectionHandler(parser, metaStartCdataSection, in tmain()
1258 XML_SetCharacterDataHandler(parser, metaCharacterData); in tmain()
1259 XML_SetDoctypeDeclHandler(parser, metaStartDoctypeDecl, in tmain()
1261 XML_SetEntityDeclHandler(parser, metaEntityDecl); in tmain()
1262 XML_SetNotationDeclHandler(parser, metaNotationDecl); in tmain()
1263 XML_SetNamespaceDeclHandler(parser, metaStartNamespaceDecl, in tmain()
1265 metaStartDocument(parser); in tmain()
1268 XML_UseParserAsHandlerArg(parser); in tmain()
1269 XML_SetDefaultHandler(parser, markup); in tmain()
1270 XML_SetElementHandler(parser, defaultStartElement, defaultEndElement); in tmain()
1271 XML_SetCharacterDataHandler(parser, defaultCharacterData); in tmain()
1272 XML_SetProcessingInstructionHandler(parser, in tmain()
1277 XML_SetElementHandler(parser, startElementNS, endElementNS); in tmain()
1279 XML_SetElementHandler(parser, startElement, endElement); in tmain()
1280 XML_SetCharacterDataHandler(parser, characterData); in tmain()
1282 XML_SetProcessingInstructionHandler(parser, processingInstruction); in tmain()
1284 XML_SetDoctypeDeclHandler(parser, startDoctypeDecl, endDoctypeDecl); in tmain()
1285 XML_SetNotationDeclHandler(parser, notationDecl); in tmain()
1292 XML_SetUnknownEncodingHandler(parser, unknownEncoding, 0); in tmain()
1293 result = XML_ProcessFile(parser, useStdin ? NULL : argv[i], processFlags); in tmain()
1296 metaEndDocument(parser); in tmain()
1303 XML_ParserFree(parser); in tmain()