Lines Matching refs:to
466 xmlErrorPtr to = &xmlLastError; in __xmlRaiseError() local
520 to = &ctxt->lastError; in __xmlRaiseError()
545 xmlResetError(to); in __xmlRaiseError()
546 to->domain = domain; in __xmlRaiseError()
547 to->code = code; in __xmlRaiseError()
548 to->message = str; in __xmlRaiseError()
549 to->level = level; in __xmlRaiseError()
551 to->file = (char *) xmlStrdup((const xmlChar *) file); in __xmlRaiseError()
580 to->file = href; in __xmlRaiseError()
583 to->file = (char *) xmlStrdup(baseptr->doc->URL); in __xmlRaiseError()
584 if ((to->file == NULL) && (node != NULL) && (node->doc != NULL)) { in __xmlRaiseError()
585 to->file = (char *) xmlStrdup(node->doc->URL); in __xmlRaiseError()
588 to->line = line; in __xmlRaiseError()
590 to->str1 = (char *) xmlStrdup((const xmlChar *) str1); in __xmlRaiseError()
592 to->str2 = (char *) xmlStrdup((const xmlChar *) str2); in __xmlRaiseError()
594 to->str3 = (char *) xmlStrdup((const xmlChar *) str3); in __xmlRaiseError()
595 to->int1 = int1; in __xmlRaiseError()
596 to->int2 = col; in __xmlRaiseError()
597 to->node = node; in __xmlRaiseError()
598 to->ctxt = ctx; in __xmlRaiseError()
600 if (to != &xmlLastError) in __xmlRaiseError()
601 xmlCopyError(to,&xmlLastError); in __xmlRaiseError()
604 schannel(data, to); in __xmlRaiseError()
633 xmlReportError(to, ctxt, str, NULL, NULL); in __xmlRaiseError()
636 xmlReportError(to, ctxt, str, channel, data); in __xmlRaiseError()
957 xmlCopyError(xmlErrorPtr from, xmlErrorPtr to) { in xmlCopyError() argument
960 if ((from == NULL) || (to == NULL)) in xmlCopyError()
969 if (to->message != NULL) in xmlCopyError()
970 xmlFree(to->message); in xmlCopyError()
971 if (to->file != NULL) in xmlCopyError()
972 xmlFree(to->file); in xmlCopyError()
973 if (to->str1 != NULL) in xmlCopyError()
974 xmlFree(to->str1); in xmlCopyError()
975 if (to->str2 != NULL) in xmlCopyError()
976 xmlFree(to->str2); in xmlCopyError()
977 if (to->str3 != NULL) in xmlCopyError()
978 xmlFree(to->str3); in xmlCopyError()
979 to->domain = from->domain; in xmlCopyError()
980 to->code = from->code; in xmlCopyError()
981 to->level = from->level; in xmlCopyError()
982 to->line = from->line; in xmlCopyError()
983 to->node = from->node; in xmlCopyError()
984 to->int1 = from->int1; in xmlCopyError()
985 to->int2 = from->int2; in xmlCopyError()
986 to->node = from->node; in xmlCopyError()
987 to->ctxt = from->ctxt; in xmlCopyError()
988 to->message = message; in xmlCopyError()
989 to->file = file; in xmlCopyError()
990 to->str1 = str1; in xmlCopyError()
991 to->str2 = str2; in xmlCopyError()
992 to->str3 = str3; in xmlCopyError()