H A D | xmlparse.c | 7 |_| XML parser 242 static void copy_salt_to_sipkey(XML_Parser parser, struct sipkey *key); 305 A parser reuses these structures, maintaining a list of allocated 428 XML_ACCOUNT_DIRECT, /* bytes directly passed to the Expat parser */ 452 typedef enum XML_Error PTRCALL Processor(XML_Parser parser, const char *start, 474 static enum XML_Error handleUnknownEncoding(XML_Parser parser, 476 static enum XML_Error processXmlDecl(XML_Parser parser, int isGeneralTextEntity, 478 static enum XML_Error initializeEncoding(XML_Parser parser); 479 static enum XML_Error doProlog(XML_Parser parser, const ENCODING *enc, 484 static enum XML_Error processInternalEntity(XML_Parser parser, ENTIT 760 MALLOC(parser,s) global() argument 761 REALLOC(parser,p,s) global() argument 762 FREE(parser,p) global() argument 950 generate_hash_secret_salt(XML_Parser parser) generate_hash_secret_salt() argument 993 get_hash_secret_salt(XML_Parser parser) get_hash_secret_salt() argument 1000 callProcessor(XML_Parser parser,const char * start,const char * end,const char ** endPtr) callProcessor() argument 1043 startParsing(XML_Parser parser) startParsing() argument 1067 XML_Parser parser; parserCreate() local 1187 parserInit(XML_Parser parser,const XML_Char * encodingName) parserInit() argument 1275 moveToFreeBindingList(XML_Parser parser,BINDING * bindings) moveToFreeBindingList() argument 1285 XML_ParserReset(XML_Parser parser,const XML_Char * encodingName) XML_ParserReset() argument 1326 XML_SetEncoding(XML_Parser parser,const XML_Char * encodingName) XML_SetEncoding() argument 1355 XML_Parser parser = oldParser; XML_ExternalEntityParserCreate() local 1524 destroyBindings(BINDING * bindings,XML_Parser parser) destroyBindings() argument 1536 XML_ParserFree(XML_Parser parser) XML_ParserFree() argument 1602 XML_UseParserAsHandlerArg(XML_Parser parser) XML_UseParserAsHandlerArg() argument 1608 XML_UseForeignDTD(XML_Parser parser,XML_Bool useDTD) XML_UseForeignDTD() argument 1625 XML_SetReturnNSTriplet(XML_Parser parser,int do_nst) XML_SetReturnNSTriplet() argument 1636 XML_SetUserData(XML_Parser parser,void * p) XML_SetUserData() argument 1646 XML_SetBase(XML_Parser parser,const XML_Char * p) XML_SetBase() argument 1660 XML_GetBase(XML_Parser parser) XML_GetBase() argument 1667 XML_GetSpecifiedAttributeCount(XML_Parser parser) XML_GetSpecifiedAttributeCount() argument 1674 XML_GetIdAttributeIndex(XML_Parser parser) XML_GetIdAttributeIndex() argument 1682 XML_GetAttributeInfo(XML_Parser parser) XML_GetAttributeInfo() argument 1690 XML_SetElementHandler(XML_Parser parser,XML_StartElementHandler start,XML_EndElementHandler end) XML_SetElementHandler() argument 1699 XML_SetStartElementHandler(XML_Parser parser,XML_StartElementHandler start) XML_SetStartElementHandler() argument 1705 XML_SetEndElementHandler(XML_Parser parser,XML_EndElementHandler end) XML_SetEndElementHandler() argument 1711 XML_SetCharacterDataHandler(XML_Parser parser,XML_CharacterDataHandler handler) XML_SetCharacterDataHandler() argument 1718 XML_SetProcessingInstructionHandler(XML_Parser parser,XML_ProcessingInstructionHandler handler) XML_SetProcessingInstructionHandler() argument 1725 XML_SetCommentHandler(XML_Parser parser,XML_CommentHandler handler) XML_SetCommentHandler() argument 1731 XML_SetCdataSectionHandler(XML_Parser parser,XML_StartCdataSectionHandler start,XML_EndCdataSectionHandler end) XML_SetCdataSectionHandler() argument 1741 XML_SetStartCdataSectionHandler(XML_Parser parser,XML_StartCdataSectionHandler start) XML_SetStartCdataSectionHandler() argument 1748 XML_SetEndCdataSectionHandler(XML_Parser parser,XML_EndCdataSectionHandler end) XML_SetEndCdataSectionHandler() argument 1755 XML_SetDefaultHandler(XML_Parser parser,XML_DefaultHandler handler) XML_SetDefaultHandler() argument 1763 XML_SetDefaultHandlerExpand(XML_Parser parser,XML_DefaultHandler handler) XML_SetDefaultHandlerExpand() argument 1771 XML_SetDoctypeDeclHandler(XML_Parser parser,XML_StartDoctypeDeclHandler start,XML_EndDoctypeDeclHandler end) XML_SetDoctypeDeclHandler() argument 1780 XML_SetStartDoctypeDeclHandler(XML_Parser parser,XML_StartDoctypeDeclHandler start) XML_SetStartDoctypeDeclHandler() argument 1787 XML_SetEndDoctypeDeclHandler(XML_Parser parser,XML_EndDoctypeDeclHandler end) XML_SetEndDoctypeDeclHandler() argument 1793 XML_SetUnparsedEntityDeclHandler(XML_Parser parser,XML_UnparsedEntityDeclHandler handler) XML_SetUnparsedEntityDeclHandler() argument 1800 XML_SetNotationDeclHandler(XML_Parser parser,XML_NotationDeclHandler handler) XML_SetNotationDeclHandler() argument 1806 XML_SetNamespaceDeclHandler(XML_Parser parser,XML_StartNamespaceDeclHandler start,XML_EndNamespaceDeclHandler end) XML_SetNamespaceDeclHandler() argument 1816 XML_SetStartNamespaceDeclHandler(XML_Parser parser,XML_StartNamespaceDeclHandler start) XML_SetStartNamespaceDeclHandler() argument 1823 XML_SetEndNamespaceDeclHandler(XML_Parser parser,XML_EndNamespaceDeclHandler end) XML_SetEndNamespaceDeclHandler() argument 1830 XML_SetNotStandaloneHandler(XML_Parser parser,XML_NotStandaloneHandler handler) XML_SetNotStandaloneHandler() argument 1837 XML_SetExternalEntityRefHandler(XML_Parser parser,XML_ExternalEntityRefHandler handler) XML_SetExternalEntityRefHandler() argument 1844 XML_SetExternalEntityRefHandlerArg(XML_Parser parser,void * arg) XML_SetExternalEntityRefHandlerArg() argument 1854 XML_SetSkippedEntityHandler(XML_Parser parser,XML_SkippedEntityHandler handler) XML_SetSkippedEntityHandler() argument 1861 XML_SetUnknownEncodingHandler(XML_Parser parser,XML_UnknownEncodingHandler handler,void * data) XML_SetUnknownEncodingHandler() argument 1870 XML_SetElementDeclHandler(XML_Parser parser,XML_ElementDeclHandler eldecl) XML_SetElementDeclHandler() argument 1876 XML_SetAttlistDeclHandler(XML_Parser parser,XML_AttlistDeclHandler attdecl) XML_SetAttlistDeclHandler() argument 1882 XML_SetEntityDeclHandler(XML_Parser parser,XML_EntityDeclHandler handler) XML_SetEntityDeclHandler() argument 1888 XML_SetXmlDeclHandler(XML_Parser parser,XML_XmlDeclHandler handler) XML_SetXmlDeclHandler() argument 1894 XML_SetParamEntityParsing(XML_Parser parser,enum XML_ParamEntityParsing peParsing) XML_SetParamEntityParsing() argument 1911 XML_SetHashSalt(XML_Parser parser,unsigned long hash_salt) XML_SetHashSalt() argument 1925 XML_Parse(XML_Parser parser,const char * s,int len,int isFinal) XML_Parse() argument 2036 XML_ParseBuffer(XML_Parser parser,int len,int isFinal) XML_ParseBuffer() argument 2107 XML_GetBuffer(XML_Parser parser,int len) XML_GetBuffer() argument 2233 XML_StopParser(XML_Parser parser,XML_Bool resumable) XML_StopParser() argument 2263 XML_ResumeParser(XML_Parser parser) XML_ResumeParser() argument 2303 XML_GetParsingStatus(XML_Parser parser,XML_ParsingStatus * status) XML_GetParsingStatus() argument 2311 XML_GetErrorCode(XML_Parser parser) XML_GetErrorCode() argument 2318 XML_GetCurrentByteIndex(XML_Parser parser) XML_GetCurrentByteIndex() argument 2328 XML_GetCurrentByteCount(XML_Parser parser) XML_GetCurrentByteCount() argument 2337 XML_GetInputContext(XML_Parser parser,int * offset,int * size) XML_GetInputContext() argument 2357 XML_GetCurrentLineNumber(XML_Parser parser) XML_GetCurrentLineNumber() argument 2369 XML_GetCurrentColumnNumber(XML_Parser parser) XML_GetCurrentColumnNumber() argument 2381 XML_FreeContentModel(XML_Parser parser,XML_Content * model) XML_FreeContentModel() argument 2387 XML_MemMalloc(XML_Parser parser,size_t size) XML_MemMalloc() argument 2394 XML_MemRealloc(XML_Parser parser,void * ptr,size_t size) XML_MemRealloc() argument 2401 XML_MemFree(XML_Parser parser,void * ptr) XML_MemFree() argument 2407 XML_DefaultCurrent(XML_Parser parser) XML_DefaultCurrent() argument 2609 XML_SetBillionLaughsAttackProtectionMaximumAmplification(XML_Parser parser,float maximumAmplificationFactor) XML_SetBillionLaughsAttackProtectionMaximumAmplification() argument 2621 XML_SetBillionLaughsAttackProtectionActivationThreshold(XML_Parser parser,unsigned long long activationThresholdBytes) XML_SetBillionLaughsAttackProtectionActivationThreshold() argument 2631 XML_SetReparseDeferralEnabled(XML_Parser parser,XML_Bool enabled) XML_SetReparseDeferralEnabled() argument 2645 storeRawNames(XML_Parser parser) storeRawNames() argument 2694 contentProcessor(XML_Parser parser,const char * start,const char * end,const char ** endPtr) contentProcessor() argument 2707 externalEntityInitProcessor(XML_Parser parser,const char * start,const char * end,const char ** endPtr) externalEntityInitProcessor() argument 2717 externalEntityInitProcessor2(XML_Parser parser,const char * start,const char * end,const char ** endPtr) externalEntityInitProcessor2() argument 2762 externalEntityInitProcessor3(XML_Parser parser,const char * start,const char * end,const char ** endPtr) externalEntityInitProcessor3() argument 2809 externalEntityContentProcessor(XML_Parser parser,const char * start,const char * end,const char ** endPtr) externalEntityContentProcessor() argument 2823 doContent(XML_Parser parser,int startTagLevel,const ENCODING * enc,const char * s,const char * end,const char ** nextPtr,XML_Bool haveMore,enum XML_Account account) doContent() argument 3297 freeBindings(XML_Parser parser,BINDING * bindings) freeBindings() argument 3325 storeAtts(XML_Parser parser,const ENCODING * enc,const char * attStr,TAG_NAME * tagNamePtr,BINDING ** bindingsPtr,enum XML_Account account) storeAtts() argument 3908 addBinding(XML_Parser parser,PREFIX * prefix,const ATTRIBUTE_ID * attId,const XML_Char * uri,BINDING ** bindingsPtr) addBinding() argument 4075 cdataSectionProcessor(XML_Parser parser,const char * start,const char * end,const char ** endPtr) cdataSectionProcessor() argument 4098 doCdataSection(XML_Parser parser,const ENCODING * enc,const char ** startPtr,const char * end,const char ** nextPtr,XML_Bool haveMore,enum XML_Account account) doCdataSection() argument 4222 ignoreSectionProcessor(XML_Parser parser,const char * start,const char * end,const char ** endPtr) ignoreSectionProcessor() argument 4240 doIgnoreSection(XML_Parser parser,const ENCODING * enc,const char ** startPtr,const char * end,const char ** nextPtr,XML_Bool haveMore) doIgnoreSection() argument 4322 initializeEncoding(XML_Parser parser) initializeEncoding() argument 4352 processXmlDecl(XML_Parser parser,int isGeneralTextEntity,const char * s,const char * next) processXmlDecl() argument 4444 handleUnknownEncoding(XML_Parser parser,const XML_Char * encodingName) handleUnknownEncoding() argument 4478 prologInitProcessor(XML_Parser parser,const char * s,const char * end,const char ** nextPtr) prologInitProcessor() argument 4490 externalParEntInitProcessor(XML_Parser parser,const char * s,const char * end,const char ** nextPtr) externalParEntInitProcessor() argument 4510 entityValueInitProcessor(XML_Parser parser,const char * s,const char * end,const char ** nextPtr) entityValueInitProcessor() argument 4594 externalParEntProcessor(XML_Parser parser,const char * s,const char * end,const char ** nextPtr) externalParEntProcessor() argument 4640 entityValueProcessor(XML_Parser parser,const char * s,const char * end,const char ** nextPtr) entityValueProcessor() argument 4678 prologProcessor(XML_Parser parser,const char * s,const char * end,const char ** nextPtr) prologProcessor() argument 4688 doProlog(XML_Parser parser,const ENCODING * enc,const char * s,const char * end,int tok,const char * next,const char ** nextPtr,XML_Bool haveMore,XML_Bool allowClosingDoctype,enum XML_Account account) doProlog() argument 5753 epilogProcessor(XML_Parser parser,const char * s,const char * end,const char ** nextPtr) epilogProcessor() argument 5824 processInternalEntity(XML_Parser parser,ENTITY * entity,XML_Bool betweenDecl) processInternalEntity() argument 5887 internalEntityProcessor(XML_Parser parser,const char * s,const char * end,const char ** nextPtr) internalEntityProcessor() argument 5963 errorProcessor(XML_Parser parser,const char * s,const char * end,const char ** nextPtr) errorProcessor() argument 5972 storeAttributeValue(XML_Parser parser,const ENCODING * enc,XML_Bool isCdata,const char * ptr,const char * end,STRING_POOL * pool,enum XML_Account account) storeAttributeValue() argument 5987 appendAttributeValue(XML_Parser parser,const ENCODING * enc,XML_Bool isCdata,const char * ptr,const char * end,STRING_POOL * pool,enum XML_Account account) appendAttributeValue() argument 6188 storeEntityValue(XML_Parser parser,const ENCODING * enc,const char * entityTextPtr,const char * entityTextEnd,enum XML_Account account) storeEntityValue() argument 6374 storeSelfEntityValue(XML_Parser parser,ENTITY * entity) storeSelfEntityValue() argument 6419 reportProcessingInstruction(XML_Parser parser,const ENCODING * enc,const char * start,const char * end) reportProcessingInstruction() argument 6446 reportComment(XML_Parser parser,const ENCODING * enc,const char * start,const char * end) reportComment() argument 6466 reportDefault(XML_Parser parser,const ENCODING * enc,const char * s,const char * end) reportDefault() argument 6514 defineAttribute(ELEMENT_TYPE * type,ATTRIBUTE_ID * attId,XML_Bool isCdata,XML_Bool isId,const XML_Char * value,XML_Parser parser) defineAttribute() argument 6574 setElementTypePrefix(XML_Parser parser,ELEMENT_TYPE * elementType) setElementTypePrefix() argument 6603 getAttributeId(XML_Parser parser,const ENCODING * enc,const char * start,const char * end) getAttributeId() argument 6666 getContext(XML_Parser parser) getContext() argument 6762 setContext(XML_Parser parser,const XML_Char * context) setContext() argument 7167 copy_salt_to_sipkey(XML_Parser parser,struct sipkey * key) copy_salt_to_sipkey() argument 7173 hash(XML_Parser parser,KEY s) hash() argument 7184 lookup(XML_Parser parser,HASH_TABLE * table,KEY name,size_t createSize) lookup() argument 7567 nextScaffoldPart(XML_Parser parser) nextScaffoldPart() argument 7637 build_model(XML_Parser parser) build_model() argument 7764 getElementType(XML_Parser parser,const ENCODING * enc,const char * ptr,const char * end) getElementType() argument 7944 testingAccountingGetCountBytesDirect(XML_Parser parser) testingAccountingGetCountBytesDirect() argument 7951 testingAccountingGetCountBytesIndirect(XML_Parser parser) testingAccountingGetCountBytesIndirect() argument 8006 getRootParserOf(XML_Parser parser,unsigned int * outLevelDiff) getRootParserOf() argument [all...] |
H A D | handlers.c | 7 |_| XML parser 125 count = XML_GetSpecifiedAttributeCount(parserAndElementInfos->parser); in counting_start_element_handler() 130 id = XML_GetIdAttributeIndex(parserAndElementInfos->parser); in counting_start_element_handler() 275 XML_StopParser(mydata->parser, 0); in end_element_issue_240() 413 external_entity_optioner(XML_Parser parser, const XML_Char *context, in external_entity_optioner() 416 ExtOption *options = (ExtOption *)XML_GetUserData(parser); in external_entity_optioner() 424 ext_parser = XML_ExternalEntityParserCreate(parser, context, NULL); in external_entity_optioner() 439 external_entity_loader(XML_Parser parser, const XML_Char *context, in external_entity_loader() 442 ExtTest *test_data = (ExtTest *)XML_GetUserData(parser); in external_entity_loader() 448 extparser = XML_ExternalEntityParserCreate(parser, contex in external_entity_loader() 411 external_entity_optioner(XML_Parser parser,const XML_Char * context,const XML_Char * base,const XML_Char * systemId,const XML_Char * publicId) external_entity_optioner() argument 437 external_entity_loader(XML_Parser parser,const XML_Char * context,const XML_Char * base,const XML_Char * systemId,const XML_Char * publicId) external_entity_loader() argument 464 external_entity_faulter(XML_Parser parser,const XML_Char * context,const XML_Char * base,const XML_Char * systemId,const XML_Char * publicId) external_entity_faulter() argument 492 external_entity_null_loader(XML_Parser parser,const XML_Char * context,const XML_Char * base,const XML_Char * systemId,const XML_Char * publicId) external_entity_null_loader() argument 504 external_entity_resetter(XML_Parser parser,const XML_Char * context,const XML_Char * base,const XML_Char * systemId,const XML_Char * publicId) external_entity_resetter() argument 563 external_entity_suspender(XML_Parser parser,const XML_Char * context,const XML_Char * base,const XML_Char * systemId,const XML_Char * publicId) external_entity_suspender() argument 599 external_entity_suspend_xmldecl(XML_Parser parser,const XML_Char * context,const XML_Char * base,const XML_Char * systemId,const XML_Char * publicId) external_entity_suspend_xmldecl() argument 636 external_entity_suspending_faulter(XML_Parser parser,const XML_Char * context,const XML_Char * base,const XML_Char * systemId,const XML_Char * publicId) external_entity_suspending_faulter() argument 673 external_entity_failer__if_not_xml_ge(XML_Parser parser,const XML_Char * context,const XML_Char * base,const XML_Char * systemId,const XML_Char * publicId) external_entity_failer__if_not_xml_ge() argument 691 external_entity_cr_catcher(XML_Parser parser,const XML_Char * context,const XML_Char * base,const XML_Char * systemId,const XML_Char * publicId) external_entity_cr_catcher() argument 712 external_entity_bad_cr_catcher(XML_Parser parser,const XML_Char * context,const XML_Char * base,const XML_Char * systemId,const XML_Char * publicId) external_entity_bad_cr_catcher() argument 735 external_entity_rsqb_catcher(XML_Parser parser,const XML_Char * context,const XML_Char * base,const XML_Char * systemId,const XML_Char * publicId) external_entity_rsqb_catcher() argument 758 external_entity_good_cdata_ascii(XML_Parser parser,const XML_Char * context,const XML_Char * base,const XML_Char * systemId,const XML_Char * publicId) external_entity_good_cdata_ascii() argument 786 external_entity_param_checker(XML_Parser parser,const XML_Char * context,const XML_Char * base,const XML_Char * systemId,const XML_Char * publicId) external_entity_param_checker() argument 837 external_entity_param(XML_Parser parser,const XML_Char * context,const XML_Char * base,const XML_Char * systemId,const XML_Char * publicId) external_entity_param() argument 878 external_entity_load_ignore(XML_Parser parser,const XML_Char * context,const XML_Char * base,const XML_Char * systemId,const XML_Char * publicId) external_entity_load_ignore() argument 899 external_entity_load_ignore_utf16(XML_Parser parser,const XML_Char * context,const XML_Char * base,const XML_Char * systemId,const XML_Char * publicId) external_entity_load_ignore_utf16() argument 925 external_entity_load_ignore_utf16_be(XML_Parser parser,const XML_Char * context,const XML_Char * base,const XML_Char * systemId,const XML_Char * publicId) external_entity_load_ignore_utf16_be() argument 951 external_entity_valuer(XML_Parser parser,const XML_Char * context,const XML_Char * base,const XML_Char * systemId,const XML_Char * publicId) external_entity_valuer() argument 997 external_entity_not_standalone(XML_Parser parser,const XML_Char * context,const XML_Char * base,const XML_Char * systemId,const XML_Char * publicId) external_entity_not_standalone() argument 1034 external_entity_value_aborter(XML_Parser parser,const XML_Char * context,const XML_Char * base,const XML_Char * systemId,const XML_Char * publicId) external_entity_value_aborter() argument 1071 external_entity_public(XML_Parser parser,const XML_Char * context,const XML_Char * base,const XML_Char * systemId,const XML_Char * publicId) external_entity_public() argument 1098 external_entity_devaluer(XML_Parser parser,const XML_Char * context,const XML_Char * base,const XML_Char * systemId,const XML_Char * publicId) external_entity_devaluer() argument 1127 external_entity_oneshot_loader(XML_Parser parser,const XML_Char * context,const XML_Char * base,const XML_Char * systemId,const XML_Char * publicId) external_entity_oneshot_loader() argument 1152 external_entity_loader2(XML_Parser parser,const XML_Char * context,const XML_Char * base,const XML_Char * systemId,const XML_Char * publicId) external_entity_loader2() argument 1179 external_entity_faulter2(XML_Parser parser,const XML_Char * context,const XML_Char * base,const XML_Char * systemId,const XML_Char * publicId) external_entity_faulter2() argument 1207 external_entity_unfinished_attlist(XML_Parser parser,const XML_Char * context,const XML_Char * base,const XML_Char * systemId,const XML_Char * publicId) external_entity_unfinished_attlist() argument 1234 external_entity_handler(XML_Parser parser,const XML_Char * context,const XML_Char * base,const XML_Char * systemId,const XML_Char * publicId) external_entity_handler() argument 1265 external_entity_duff_loader(XML_Parser parser,const XML_Char * context,const XML_Char * base,const XML_Char * systemId,const XML_Char * publicId) external_entity_duff_loader() argument 1297 external_entity_dbl_handler(XML_Parser parser,const XML_Char * context,const XML_Char * base,const XML_Char * systemId,const XML_Char * publicId) external_entity_dbl_handler() argument 1354 external_entity_dbl_handler_2(XML_Parser parser,const XML_Char * context,const XML_Char * base,const XML_Char * systemId,const XML_Char * publicId) external_entity_dbl_handler_2() argument 1392 external_entity_alloc_set_encoding(XML_Parser parser,const XML_Char * context,const XML_Char * base,const XML_Char * systemId,const XML_Char * publicId) external_entity_alloc_set_encoding() argument 1421 external_entity_reallocator(XML_Parser parser,const XML_Char * context,const XML_Char * base,const XML_Char * systemId,const XML_Char * publicId) external_entity_reallocator() argument 1449 external_entity_alloc(XML_Parser parser,const XML_Char * context,const XML_Char * base,const XML_Char * systemId,const XML_Char * publicId) external_entity_alloc() argument 1469 external_entity_parser_create_alloc_fail_handler(XML_Parser parser,const XML_Char * context,const XML_Char * base,const XML_Char * systemId,const XML_Char * publicId) external_entity_parser_create_alloc_fail_handler() argument 1499 accounting_external_entity_ref_handler(XML_Parser parser,const XML_Char * context,const XML_Char * base,const XML_Char * systemId,const XML_Char * publicId) accounting_external_entity_ref_handler() argument 1830 XML_Parser parser = (XML_Parser)userData; suspending_comment_handler() local [all...] |