• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/libxml2-2.7.2/

Lines Matching defs:sax

206 	              xmlSAXHandlerPtr sax,
519 if ((ctxt != NULL) && (ctxt->sax != NULL) &&
520 (ctxt->sax->initialized == XML_SAX2_MAGIC))
521 schannel = ctxt->sax->serror;
523 (ctxt->sax) ? ctxt->sax->warning : NULL,
551 if ((ctxt->sax != NULL) && (ctxt->sax->initialized == XML_SAX2_MAGIC))
552 schannel = ctxt->sax->serror;
962 if ((ctxt->sax) && (ctxt->sax->initialized == XML_SAX2_MAGIC) &&
963 ((ctxt->sax->startElementNs != NULL) ||
964 (ctxt->sax->endElementNs != NULL))) ctxt->sax2 = 1;
2344 if ((ctxt->sax != NULL) && (ctxt->sax->getParameterEntity != NULL))
2345 entity = ctxt->sax->getParameterEntity(ctxt->userData, name);
2683 if (ctxt->sax->ignorableWhitespace == ctxt->sax->characters)
4069 if ((ctxt->sax != NULL) &&
4070 (ctxt->sax->ignorableWhitespace !=
4071 ctxt->sax->characters)) {
4073 if (ctxt->sax->ignorableWhitespace != NULL)
4074 ctxt->sax->ignorableWhitespace(ctxt->userData,
4077 if (ctxt->sax->characters != NULL)
4078 ctxt->sax->characters(ctxt->userData,
4083 } else if ((ctxt->sax != NULL) &&
4084 (ctxt->sax->characters != NULL)) {
4085 ctxt->sax->characters(ctxt->userData,
4118 if ((ctxt->sax != NULL) &&
4119 (ctxt->sax->ignorableWhitespace !=
4120 ctxt->sax->characters) &&
4126 if (ctxt->sax->ignorableWhitespace != NULL)
4127 ctxt->sax->ignorableWhitespace(ctxt->userData,
4130 if (ctxt->sax->characters != NULL)
4131 ctxt->sax->characters(ctxt->userData,
4138 } else if (ctxt->sax != NULL) {
4139 if (ctxt->sax->characters != NULL)
4140 ctxt->sax->characters(ctxt->userData,
4210 if ((ctxt->sax != NULL) && (!ctxt->disableSAX)) {
4212 if (ctxt->sax->ignorableWhitespace != NULL)
4213 ctxt->sax->ignorableWhitespace(ctxt->userData,
4216 if (ctxt->sax->characters != NULL)
4217 ctxt->sax->characters(ctxt->userData, buf, nbchar);
4218 if ((ctxt->sax->characters !=
4219 ctxt->sax->ignorableWhitespace) &&
4239 if ((ctxt->sax != NULL) && (!ctxt->disableSAX)) {
4241 if (ctxt->sax->ignorableWhitespace != NULL)
4242 ctxt->sax->ignorableWhitespace(ctxt->userData, buf, nbchar);
4244 if (ctxt->sax->characters != NULL)
4245 ctxt->sax->characters(ctxt->userData, buf, nbchar);
4246 if ((ctxt->sax->characters != ctxt->sax->ignorableWhitespace) &&
4453 if ((ctxt->sax != NULL) && (ctxt->sax->comment != NULL) &&
4455 ctxt->sax->comment(ctxt->userData, buf);
4531 if ((ctxt->sax != NULL) &&
4532 (ctxt->sax->comment != NULL)) {
4589 if ((ctxt->sax != NULL) && (ctxt->sax->comment != NULL) &&
4592 ctxt->sax->comment(ctxt->userData, buf);
4594 ctxt->sax->comment(ctxt->userData, BAD_CAST "");
4777 if ((ctxt->sax) && (!ctxt->disableSAX) &&
4778 (ctxt->sax->processingInstruction != NULL))
4779 ctxt->sax->processingInstruction(ctxt->userData,
4852 if ((ctxt->sax) && (!ctxt->disableSAX) &&
4853 (ctxt->sax->processingInstruction != NULL))
4854 ctxt->sax->processingInstruction(ctxt->userData,
4927 if ((ctxt->sax != NULL) && (!ctxt->disableSAX) &&
4928 (ctxt->sax->notationDecl != NULL))
4929 ctxt->sax->notationDecl(ctxt->userData, name, Pubid, Systemid);
5016 if ((ctxt->sax != NULL) &&
5017 (!ctxt->disableSAX) && (ctxt->sax->entityDecl != NULL))
5018 ctxt->sax->entityDecl(ctxt->userData, name,
5047 if ((ctxt->sax != NULL) &&
5049 (ctxt->sax->entityDecl != NULL))
5050 ctxt->sax->entityDecl(ctxt->userData, name,
5061 if ((ctxt->sax != NULL) &&
5062 (!ctxt->disableSAX) && (ctxt->sax->entityDecl != NULL))
5063 ctxt->sax->entityDecl(ctxt->userData, name,
5127 if ((ctxt->sax != NULL) && (!ctxt->disableSAX) &&
5128 (ctxt->sax->unparsedEntityDecl != NULL))
5129 ctxt->sax->unparsedEntityDecl(ctxt->userData, name,
5132 if ((ctxt->sax != NULL) &&
5133 (!ctxt->disableSAX) && (ctxt->sax->entityDecl != NULL))
5134 ctxt->sax->entityDecl(ctxt->userData, name,
5181 if ((ctxt->sax != NULL) &&
5182 (ctxt->sax->getParameterEntity != NULL))
5183 cur = ctxt->sax->getParameterEntity(ctxt->userData, name);
5185 if ((ctxt->sax != NULL) &&
5186 (ctxt->sax->getEntity != NULL))
5187 cur = ctxt->sax->getEntity(ctxt->userData, name);
5618 if ((ctxt->sax != NULL) && (!ctxt->disableSAX) &&
5619 (ctxt->sax->attributeDecl != NULL))
5620 ctxt->sax->attributeDecl(ctxt->userData, elemName, attrName,
6177 if ((ctxt->sax != NULL) && (!ctxt->disableSAX) &&
6178 (ctxt->sax->elementDecl != NULL)) {
6181 ctxt->sax->elementDecl(ctxt->userData, name, ret,
6629 if ((ctxt->sax != NULL) && (ctxt->sax->characters != NULL) &&
6631 ctxt->sax->characters(ctxt->userData, out, 1);
6637 if ((ctxt->sax != NULL) && (ctxt->sax->reference != NULL) &&
6639 ctxt->sax->reference(ctxt->userData, out);
6647 if ((ctxt->sax != NULL) && (ctxt->sax->characters != NULL) &&
6649 ctxt->sax->characters(ctxt->userData, out, i);
6671 if ((ctxt->sax != NULL) && (ctxt->sax->characters != NULL) &&
6673 ctxt->sax->characters(ctxt->userData, val, xmlStrlen(val));
6710 ret = xmlParseExternalEntityPrivate(ctxt->myDoc, ctxt, ctxt->sax,
6826 ctxt->sax, user_data, ctxt->depth,
6839 if ((ctxt->sax != NULL) && (ctxt->sax->reference != NULL) &&
6845 ctxt->sax->reference(ctxt->userData, ent->name);
6853 if ((ctxt->sax != NULL) && (ctxt->sax->reference != NULL) &&
6858 ctxt->sax->reference(ctxt->userData, ent->name);
7057 if (ctxt->sax != NULL) {
7058 if (ctxt->sax->getEntity != NULL)
7059 ent = ctxt->sax->getEntity(ctxt->userData, name);
7096 (ctxt->sax != NULL) &&
7097 (ctxt->sax->reference != NULL)) {
7098 ctxt->sax->reference(ctxt->userData, name);
7244 if (ctxt->sax != NULL) {
7245 if (ctxt->sax->getEntity != NULL)
7246 ent = ctxt->sax->getEntity(ctxt->userData, name);
7409 if ((ctxt->sax != NULL) &&
7410 (ctxt->sax->getParameterEntity != NULL))
7411 entity = ctxt->sax->getParameterEntity(ctxt->userData,
7635 if ((ctxt->sax != NULL) &&
7636 (ctxt->sax->getParameterEntity != NULL))
7637 entity = ctxt->sax->getParameterEntity(ctxt->userData,
7737 if ((ctxt->sax != NULL) && (ctxt->sax->internalSubset != NULL) &&
7739 ctxt->sax->internalSubset(ctxt->userData, name, ExternalID, URI);
8048 if ((ctxt->sax != NULL) && (ctxt->sax->startElement != NULL) &&
8051 ctxt->sax->startElement(ctxt->userData, name, atts);
8053 ctxt->sax->startElement(ctxt->userData, name, NULL);
8120 if ((ctxt->sax != NULL) && (ctxt->sax->endElement != NULL) &&
8122 ctxt->sax->endElement(ctxt->userData, ctxt->name);
8998 if ((ctxt->sax != NULL) && (ctxt->sax->startElementNs != NULL) &&
9001 ctxt->sax->startElementNs(ctxt->userData, localname, prefix,
9005 ctxt->sax->startElementNs(ctxt->userData, localname, prefix,
9106 if ((ctxt->sax != NULL) && (ctxt->sax->endElementNs != NULL) &&
9108 ctxt->sax->endElementNs(ctxt->userData, ctxt->name, prefix, URI);
9207 if ((ctxt->sax != NULL) && (!ctxt->disableSAX)) {
9208 if (ctxt->sax->cdataBlock != NULL)
9209 ctxt->sax->cdataBlock(ctxt->userData, buf, len);
9210 else if (ctxt->sax->characters != NULL)
9211 ctxt->sax->characters(ctxt->userData, buf, len);
9379 if ((ctxt->sax != NULL) && (ctxt->sax->endElementNs != NULL) &&
9381 ctxt->sax->endElementNs(ctxt->userData, name, prefix, URI);
9384 if ((ctxt->sax != NULL) && (ctxt->sax->endElement != NULL) &&
9386 ctxt->sax->endElement(ctxt->userData, name);
9991 if ((ctxt->sax) && (ctxt->sax->setDocumentLocator))
9992 ctxt->sax->setDocumentLocator(ctxt->userData, &xmlDefaultSAXLocator);
10037 if ((ctxt->sax) && (ctxt->sax->startDocument) && (!ctxt->disableSAX))
10038 ctxt->sax->startDocument(ctxt->userData);
10064 if ((ctxt->sax != NULL) && (ctxt->sax->externalSubset != NULL) &&
10066 ctxt->sax->externalSubset(ctxt->userData, ctxt->intSubName,
10103 if ((ctxt->sax) && (ctxt->sax->endDocument != NULL))
10104 ctxt->sax->endDocument(ctxt->userData);
10162 if ((ctxt->sax) && (ctxt->sax->setDocumentLocator))
10163 ctxt->sax->setDocumentLocator(ctxt->userData, &xmlDefaultSAXLocator);
10206 if ((ctxt->sax) && (ctxt->sax->startDocument) && (!ctxt->disableSAX))
10207 ctxt->sax->startDocument(ctxt->userData);
10228 if ((ctxt->sax) && (ctxt->sax->endDocument != NULL))
10229 ctxt->sax->endDocument(ctxt->userData);
10602 if ((ctxt->sax) && (ctxt->sax->setDocumentLocator))
10603 ctxt->sax->setDocumentLocator(ctxt->userData,
10611 if ((ctxt->sax) && (ctxt->sax->endDocument != NULL))
10612 ctxt->sax->endDocument(ctxt->userData);
10621 if ((ctxt->sax) && (ctxt->sax->setDocumentLocator))
10622 ctxt->sax->setDocumentLocator(ctxt->userData,
10646 if ((ctxt->sax) && (ctxt->sax->startDocument) &&
10648 ctxt->sax->startDocument(ctxt->userData);
10656 if ((ctxt->sax) && (ctxt->sax->startDocument) &&
10658 ctxt->sax->startDocument(ctxt->userData);
10666 if ((ctxt->sax) && (ctxt->sax->setDocumentLocator))
10667 ctxt->sax->setDocumentLocator(ctxt->userData,
10674 if ((ctxt->sax) && (ctxt->sax->startDocument) &&
10676 ctxt->sax->startDocument(ctxt->userData);
10696 if ((ctxt->sax) && (ctxt->sax->endDocument != NULL))
10697 ctxt->sax->endDocument(ctxt->userData);
10726 if ((ctxt->sax) && (ctxt->sax->endDocument != NULL))
10727 ctxt->sax->endDocument(ctxt->userData);
10748 if ((ctxt->sax != NULL) &&
10749 (ctxt->sax->endElementNs != NULL) &&
10751 ctxt->sax->endElementNs(ctxt->userData, name,
10757 if ((ctxt->sax != NULL) &&
10758 (ctxt->sax->endElement != NULL) &&
10760 ctxt->sax->endElement(ctxt->userData, name);
10934 if ((ctxt->sax != NULL) && (!ctxt->disableSAX)) {
10935 if (ctxt->sax->cdataBlock != NULL)
10936 ctxt->sax->cdataBlock(ctxt->userData,
10938 else if (ctxt->sax->characters != NULL)
10939 ctxt->sax->characters(ctxt->userData,
10955 if ((ctxt->sax != NULL) && (base == 0) &&
10956 (ctxt->sax->cdataBlock != NULL) &&
10966 ctxt->sax->cdataBlock(ctxt->userData,
10968 } else if ((ctxt->sax != NULL) && (base > 0) &&
10970 if (ctxt->sax->cdataBlock != NULL)
10971 ctxt->sax->cdataBlock(ctxt->userData,
10973 else if (ctxt->sax->characters != NULL)
10974 ctxt->sax->characters(ctxt->userData,
11050 if ((ctxt->sax != NULL) && (!ctxt->disableSAX) &&
11051 (ctxt->sax->externalSubset != NULL))
11052 ctxt->sax->externalSubset(ctxt->userData,
11161 if ((ctxt->sax) && (ctxt->sax->endDocument != NULL))
11162 ctxt->sax->endDocument(ctxt->userData);
11279 if ((ctxt->sax != NULL) && (!ctxt->disableSAX) &&
11280 (ctxt->sax->externalSubset != NULL))
11281 ctxt->sax->externalSubset(ctxt->userData, ctxt->intSubName,
11480 if ((ctxt->sax) && (ctxt->sax->endDocument != NULL))
11481 ctxt->sax->endDocument(ctxt->userData);
11496 * @sax: a SAX handler
11514 xmlCreatePushParserCtxt(xmlSAXHandlerPtr sax, void *user_data,
11544 if (sax != NULL) {
11546 if (ctxt->sax != (xmlSAXHandlerPtr) &xmlDefaultSAXHandler)
11548 xmlFree(ctxt->sax);
11549 ctxt->sax = (xmlSAXHandlerPtr) xmlMalloc(sizeof(xmlSAXHandler));
11550 if (ctxt->sax == NULL) {
11556 memset(ctxt->sax, 0, sizeof(xmlSAXHandler));
11557 if (sax->initialized == XML_SAX2_MAGIC)
11558 memcpy(ctxt->sax, sax, sizeof(xmlSAXHandler));
11560 memcpy(ctxt->sax, sax, sizeof(xmlSAXHandlerV1));
11646 * @sax: a SAX handler
11659 xmlCreateIOParserCtxt(xmlSAXHandlerPtr sax, void *user_data,
11676 if (sax != NULL) {
11678 if (ctxt->sax != (xmlSAXHandlerPtr) &xmlDefaultSAXHandler)
11680 xmlFree(ctxt->sax);
11681 ctxt->sax = (xmlSAXHandlerPtr) xmlMalloc(sizeof(xmlSAXHandler));
11682 if (ctxt->sax == NULL) {
11687 memset(ctxt->sax, 0, sizeof(xmlSAXHandler));
11688 if (sax->initialized == XML_SAX2_MAGIC)
11689 memcpy(ctxt->sax, sax, sizeof(xmlSAXHandler));
11691 memcpy(ctxt->sax, sax, sizeof(xmlSAXHandlerV1));
11715 * @sax: the SAX handler block or NULL
11726 xmlIOParseDTD(xmlSAXHandlerPtr sax, xmlParserInputBufferPtr input,
11745 if (sax != NULL) {
11746 if (ctxt->sax != NULL)
11747 xmlFree(ctxt->sax);
11748 ctxt->sax = sax;
11759 if (sax != NULL) ctxt->sax = NULL;
11769 if (sax != NULL) ctxt->sax = NULL;
11836 if (sax != NULL) ctxt->sax = NULL;
11844 * @sax: the SAX handler block
11854 xmlSAXParseDTD(xmlSAXHandlerPtr sax, const xmlChar *ExternalID,
11872 if (sax != NULL) {
11873 if (ctxt->sax != NULL)
11874 xmlFree(ctxt->sax);
11875 ctxt->sax = sax;
11892 if ((ctxt->sax != NULL) && (ctxt->sax->resolveEntity != NULL))
11893 input = ctxt->sax->resolveEntity(ctxt->userData, ExternalID,
11896 if (sax != NULL) ctxt->sax = NULL;
11907 if (sax != NULL) ctxt->sax = NULL;
11935 if (sax != NULL) ctxt->sax = NULL;
11964 if (sax != NULL) ctxt->sax = NULL;
12058 oldsax = ctxt->sax;
12059 ctxt->sax = ctx->sax;
12080 ctxt->sax = oldsax;
12194 ctxt->sax = oldsax;
12210 * @sax: the SAX handler bloc (possibly NULL)
12225 xmlSAXHandlerPtr sax,
12272 if (sax != NULL) {
12273 oldsax = ctxt->sax;
12274 ctxt->sax = sax;
12298 if (sax != NULL)
12299 ctxt->sax = oldsax;
12394 if (sax != NULL)
12395 ctxt->sax = oldsax;
12414 * @sax: the SAX handler bloc (possibly NULL)
12432 xmlParseExternalEntity(xmlDocPtr doc, xmlSAXHandlerPtr sax, void *user_data,
12434 return(xmlParseExternalEntityPrivate(doc, NULL, sax, user_data, depth, URL,
12441 * @sax: the SAX handler bloc (possibly NULL)
12459 xmlParseBalancedChunkMemory(xmlDocPtr doc, xmlSAXHandlerPtr sax,
12461 return xmlParseBalancedChunkMemoryRecover( doc, sax, user_data,
12524 oldsax = ctxt->sax;
12525 ctxt->sax = oldctxt->sax;
12534 ctxt->sax = oldsax;
12550 ctxt->sax = oldsax;
12636 ctxt->sax = oldsax;
12856 * @sax: the SAX handler bloc (possibly NULL)
12879 xmlParseBalancedChunkMemoryRecover(xmlDocPtr doc, xmlSAXHandlerPtr sax,
12904 if (sax != NULL) {
12905 oldsax = ctxt->sax;
12906 ctxt->sax = sax;
12933 if (sax != NULL)
12934 ctxt->sax = oldsax;
13006 if (sax != NULL)
13007 ctxt->sax = oldsax;
13019 * @sax: the SAX handler block
13024 * If sax is NULL, fallback to the default DOM tree building routines.
13034 xmlSAXParseEntity(xmlSAXHandlerPtr sax, const char *filename) {
13042 if (sax != NULL) {
13043 if (ctxt->sax != NULL)
13044 xmlFree(ctxt->sax);
13045 ctxt->sax = sax;
13058 if (sax != NULL)
13059 ctxt->sax = NULL;
13211 * @sax: the SAX handler block
13220 * If sax is NULL, fallback to the default DOM tree building routines.
13229 xmlSAXParseFileWithData(xmlSAXHandlerPtr sax, const char *filename,
13240 if (sax != NULL) {
13241 if (ctxt->sax != NULL)
13242 xmlFree(ctxt->sax);
13243 ctxt->sax = sax;
13271 if (sax != NULL)
13272 ctxt->sax = NULL;
13280 * @sax: the SAX handler block
13288 * If sax is NULL, fallback to the default DOM tree building routines.
13294 xmlSAXParseFile(xmlSAXHandlerPtr sax, const char *filename,
13296 return(xmlSAXParseFileWithData(sax,filename,recovery,NULL));
13386 * @sax: a SAX handler
13396 xmlSAXUserParseFile(xmlSAXHandlerPtr sax, void *user_data,
13403 if (ctxt->sax != (xmlSAXHandlerPtr) &xmlDefaultSAXHandler)
13404 xmlFree(ctxt->sax);
13405 ctxt->sax = sax;
13421 if (sax != NULL)
13422 ctxt->sax = NULL;
13490 * @sax: the SAX handler block
13498 * to handle the parsing callback. If sax is NULL, fallback to the default
13508 xmlSAXParseMemoryWithData(xmlSAXHandlerPtr sax, const char *buffer,
13515 if (sax != NULL) {
13516 if (ctxt->sax != NULL)
13517 xmlFree(ctxt->sax);
13518 ctxt->sax = sax;
13535 if (sax != NULL)
13536 ctxt->sax = NULL;
13544 * @sax: the SAX handler block
13551 * to handle the parsing callback. If sax is NULL, fallback to the default
13557 xmlSAXParseMemory(xmlSAXHandlerPtr sax, const char *buffer,
13559 return xmlSAXParseMemoryWithData(sax, buffer, size, recovery, NULL);
13594 * @sax: a SAX handler
13604 int xmlSAXUserParseMemory(xmlSAXHandlerPtr sax, void *user_data,
13611 if (ctxt->sax != (xmlSAXHandlerPtr) &xmlDefaultSAXHandler)
13612 xmlFree(ctxt->sax);
13613 ctxt->sax = sax;
13629 if (sax != NULL)
13630 ctxt->sax = NULL;
13662 * @sax: the SAX handler block
13669 * If sax is NULL, fallback to the default DOM tree building routines.
13675 xmlSAXParseDoc(xmlSAXHandlerPtr sax, const xmlChar *cur, int recovery) {
13685 if (sax != NULL) {
13686 oldsax = ctxt->sax;
13687 ctxt->sax = sax;
13699 if (sax != NULL)
13700 ctxt->sax = oldsax;
14137 ctxt->sax->ignorableWhitespace = xmlSAX2IgnorableWhitespace;
14153 ctxt->sax->warning = NULL;
14157 ctxt->sax->error = NULL;
14158 ctxt->sax->fatalError = NULL;
14163 ctxt->sax->startElement = xmlSAX2StartElement;
14164 ctxt->sax->endElement = xmlSAX2EndElement;
14165 ctxt->sax->startElementNs = NULL;
14166 ctxt->sax->endElementNs = NULL;
14167 ctxt->sax->initialized = 1;
14180 ctxt->sax->cdataBlock = NULL;