Lines Matching defs:channel
174 xmlGenericErrorFunc channel, void *data ) {
206 channel(data ,"%s\n", content);
218 channel(data ,"%s\n", content);
244 xmlGenericErrorFunc channel, void *data)
259 if (channel == NULL) {
260 channel = xmlGenericError;
288 channel(data, "%s:%d: ", input->filename, input->line);
290 channel(data, "Entity: line %d: ", input->line);
294 channel(data, "%s:%d: ", file, line);
296 channel(data, "Entity: line %d: ", line);
299 channel(data, "element %s: ", name);
303 channel(data, "parser ");
306 channel(data, "namespace ");
310 channel(data, "validity ");
313 channel(data, "HTML parser ");
316 channel(data, "memory ");
319 channel(data, "output ");
322 channel(data, "I/O ");
325 channel(data, "XInclude ");
328 channel(data, "XPath ");
331 channel(data, "parser ");
334 channel(data, "regexp ");
337 channel(data, "module ");
340 channel(data, "Schemas validity ");
343 channel(data, "Schemas parser ");
346 channel(data, "Relax-NG parser ");
349 channel(data, "Relax-NG validity ");
352 channel(data, "Catalog ");
355 channel(data, "C14N ");
358 channel(data, "XSLT ");
361 channel(data, "encoding ");
368 channel(data, ": ");
371 channel(data, "warning : ");
374 channel(data, "error : ");
377 channel(data, "error : ");
384 channel(data, "%s\n", str);
386 channel(data, "%s", str);
388 channel(data, "%s\n", "out of memory error");
392 xmlParserPrintFileContextInternal(input, channel, data);
395 channel(data, "%s:%d: \n", cur->filename, cur->line);
397 channel(data, "Entity: line %d: \n", cur->line);
398 xmlParserPrintFileContextInternal(cur, channel, data);
407 channel(data, "%s\n", err->str1);
412 channel(data, "%s\n", buf);
418 * @schannel: the structured callback channel
419 * @channel: the old callback channel
442 xmlGenericErrorFunc channel, void *data, void *ctx,
477 ((channel == xmlParserValidityError) ||
478 (channel == xmlParserValidityWarning))) {
594 * Find the callback channel if channel param is NULL
596 if ((ctxt != NULL) && (channel == NULL) && (xmlStructuredError == NULL) && (ctxt->sax != NULL)) {
598 channel = ctxt->sax->warning;
600 channel = ctxt->sax->error;
602 } else if (channel == NULL) {
606 channel = xmlGenericError;
615 if (channel == NULL)
618 if ((channel == xmlParserError) ||
619 (channel == xmlParserWarning) ||
620 (channel == xmlParserValidityError) ||
621 (channel == xmlParserValidityWarning))
623 else if ((channel == (xmlGenericErrorFunc) fprintf) ||
624 (channel == xmlGenericErrorDefaultFunc))
625 xmlReportError(to, ctxt, str, channel, data);
627 channel(data, "%s", str);