• Home
  • History
  • Annotate
  • Raw
  • Download

Lines Matching refs:ctxt

245 xmlReportError(xmlErrorPtr err, xmlParserCtxtPtr ctxt, const char *str,  in xmlReportError()  argument
281 if (ctxt != NULL) { in xmlReportError()
282 input = ctxt->input; in xmlReportError()
284 (ctxt->inputNr > 1)) { in xmlReportError()
286 input = ctxt->inputTab[ctxt->inputNr - 2]; in xmlReportError()
405 if (ctxt != NULL) { in xmlReportError()
462 xmlParserCtxtPtr ctxt = NULL; in __xmlRaiseError() local
476 ctxt = (xmlParserCtxtPtr) ctx; in __xmlRaiseError()
477 if ((schannel == NULL) && (ctxt != NULL) && (ctxt->sax != NULL) && in __xmlRaiseError()
478 (ctxt->sax->initialized == XML_SAX2_MAGIC) && in __xmlRaiseError()
479 (ctxt->sax->serror != NULL)) { in __xmlRaiseError()
480 schannel = ctxt->sax->serror; in __xmlRaiseError()
481 data = ctxt->userData; in __xmlRaiseError()
507 if (ctxt != NULL) { in __xmlRaiseError()
509 input = ctxt->input; in __xmlRaiseError()
511 (ctxt->inputNr > 1)) { in __xmlRaiseError()
512 input = ctxt->inputTab[ctxt->inputNr - 2]; in __xmlRaiseError()
520 to = &ctxt->lastError; in __xmlRaiseError()
598 to->ctxt = ctx; in __xmlRaiseError()
611 if ((ctxt != NULL) && (channel == NULL) && in __xmlRaiseError()
612 (xmlStructuredError == NULL) && (ctxt->sax != NULL)) { in __xmlRaiseError()
614 channel = ctxt->sax->warning; in __xmlRaiseError()
616 channel = ctxt->sax->error; in __xmlRaiseError()
617 data = ctxt->userData; in __xmlRaiseError()
620 if (ctxt != NULL) { in __xmlRaiseError()
621 data = ctxt; in __xmlRaiseError()
633 xmlReportError(to, ctxt, str, NULL, NULL); in __xmlRaiseError()
636 xmlReportError(to, ctxt, str, channel, data); in __xmlRaiseError()
683 xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx; in xmlParserError() local
688 if (ctxt != NULL) { in xmlParserError()
689 input = ctxt->input; in xmlParserError()
691 (ctxt->inputNr > 1)) { in xmlParserError()
693 input = ctxt->inputTab[ctxt->inputNr - 2]; in xmlParserError()
704 if (ctxt != NULL) { in xmlParserError()
726 xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx; in xmlParserWarning() local
731 if (ctxt != NULL) { in xmlParserWarning()
732 input = ctxt->input; in xmlParserWarning()
734 (ctxt->inputNr > 1)) { in xmlParserWarning()
736 input = ctxt->inputTab[ctxt->inputNr - 2]; in xmlParserWarning()
747 if (ctxt != NULL) { in xmlParserWarning()
775 xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx; in xmlParserValidityError() local
782 if (ctxt != NULL) { in xmlParserValidityError()
783 input = ctxt->input; in xmlParserValidityError()
784 if ((input->filename == NULL) && (ctxt->inputNr > 1)) in xmlParserValidityError()
785 input = ctxt->inputTab[ctxt->inputNr - 2]; in xmlParserValidityError()
802 if ((ctxt != NULL) && (input != NULL)) { in xmlParserValidityError()
819 xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx; in xmlParserValidityWarning() local
824 if ((ctxt != NULL) && (len != 0) && (msg[len - 1] != ':')) { in xmlParserValidityWarning()
825 input = ctxt->input; in xmlParserValidityWarning()
826 if ((input->filename == NULL) && (ctxt->inputNr > 1)) in xmlParserValidityWarning()
827 input = ctxt->inputTab[ctxt->inputNr - 2]; in xmlParserValidityWarning()
838 if (ctxt != NULL) { in xmlParserValidityWarning()
918 xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx; in xmlCtxtGetLastError() local
920 if (ctxt == NULL) in xmlCtxtGetLastError()
922 if (ctxt->lastError.code == XML_ERR_OK) in xmlCtxtGetLastError()
924 return (&ctxt->lastError); in xmlCtxtGetLastError()
937 xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx; in xmlCtxtResetLastError() local
939 if (ctxt == NULL) in xmlCtxtResetLastError()
941 ctxt->errNo = XML_ERR_OK; in xmlCtxtResetLastError()
942 if (ctxt->lastError.code == XML_ERR_OK) in xmlCtxtResetLastError()
944 xmlResetError(&ctxt->lastError); in xmlCtxtResetLastError()
987 to->ctxt = from->ctxt; in xmlCopyError()