• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/libxml2-2.7.2/

Lines Matching refs:to

65  * @msg:  the message to display/transmit
87 * to the builtin error function.
103 * Function to reset the handler and the error context for out of
107 * be passed as first argument to @handler
108 * One can simply force messages to be emitted to another FILE * than
109 * stderr by setting @ctx to this file handle and @handler to NULL.
126 * Function to reset the handler and the error context for out of
130 * be passed as first argument to @handler
188 /* search backwards for beginning-of-line (to max buff size) */
195 /* search forward for end-of-line (to max buff size) */
198 /* copy selected text to our buffer */
433 * @msg: the message to display/transmit
452 xmlErrorPtr to = &xmlLastError;
471 * if user has defined handler, change data ptr to user's choice
511 to = &ctxt->lastError;
534 xmlResetError(to);
535 to->domain = domain;
536 to->code = code;
537 to->message = str;
538 to->level = level;
540 to->file = (char *) xmlStrdup((const xmlChar *) file);
545 * if so, attempt to print out the href of the XInclude instead
565 to->file = (char *) xmlGetProp(prev, BAD_CAST "href");
568 to->file = (char *) xmlGetProp(prev, BAD_CAST "href");
572 to->file = (char *) xmlStrdup(baseptr->doc->URL);
573 if ((to->file == NULL) && (node != NULL) && (node->doc != NULL)) {
574 to->file = (char *) xmlStrdup(node->doc->URL);
576 file = to->file;
578 to->line = line;
580 to->str1 = (char *) xmlStrdup((const xmlChar *) str1);
582 to->str2 = (char *) xmlStrdup((const xmlChar *) str2);
584 to->str3 = (char *) xmlStrdup((const xmlChar *) str3);
585 to->int1 = int1;
586 to->int2 = col;
587 to->node = node;
588 to->ctxt = ctx;
590 if (to != &xmlLastError)
591 xmlCopyError(to,&xmlLastError);
612 schannel(data, to);
622 xmlReportError(to, ctxt, str, NULL, NULL);
625 xmlReportError(to, ctxt, str, channel, data);
663 * @msg: the message to display/transmit
706 * @msg: the message to display/transmit
755 * @msg: the message to display/transmit
799 * @msg: the message to display/transmit
845 * Returns NULL if no error occured or a pointer to the error
857 * @err: pointer to the error.
902 * Returns NULL if no error occured or a pointer to the error
938 * @to: a target error
940 * Save the original error to the new place.
945 xmlCopyError(xmlErrorPtr from, xmlErrorPtr to) {
948 if ((from == NULL) || (to == NULL))
957 if (to->message != NULL)
958 xmlFree(to->message);
959 if (to->file != NULL)
960 xmlFree(to->file);
961 if (to->str1 != NULL)
962 xmlFree(to->str1);
963 if (to->str2 != NULL)
964 xmlFree(to->str2);
965 if (to->str3 != NULL)
966 xmlFree(to->str3);
967 to->domain = from->domain;
968 to->code = from->code;
969 to->level = from->level;
970 to->line = from->line;
971 to->node = from->node;
972 to->int1 = from->int1;
973 to->int2 = from->int2;
974 to->node = from->node;
975 to->ctxt = from->ctxt;
976 to->message = message;
977 to->file = file;
978 to->str1 = str1;
979 to->str2 = str2;
980 to->str3 = str3;