Lines Matching defs:ctx

211  * @ctx: the user data (XML parser context)
218 xmlSAX2GetPublicId(void *ctx ATTRIBUTE_UNUSED)
220 /* xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx; */
226 * @ctx: the user data (XML parser context)
234 xmlSAX2GetSystemId(void *ctx)
236 xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx;
237 if ((ctx == NULL) || (ctxt->input == NULL)) return(NULL);
243 * @ctx: the user data (XML parser context)
250 xmlSAX2GetLineNumber(void *ctx)
252 xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx;
253 if ((ctx == NULL) || (ctxt->input == NULL)) return(0);
259 * @ctx: the user data (XML parser context)
266 xmlSAX2GetColumnNumber(void *ctx)
268 xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx;
269 if ((ctx == NULL) || (ctxt->input == NULL)) return(0);
275 * @ctx: the user data (XML parser context)
282 xmlSAX2IsStandalone(void *ctx)
284 xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx;
285 if ((ctx == NULL) || (ctxt->myDoc == NULL)) return(0);
291 * @ctx: the user data (XML parser context)
298 xmlSAX2HasInternalSubset(void *ctx)
300 xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx;
307 * @ctx: the user data (XML parser context)
314 xmlSAX2HasExternalSubset(void *ctx)
316 xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx;
323 * @ctx: the user data (XML parser context)
331 xmlSAX2InternalSubset(void *ctx, const xmlChar *name,
334 xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx;
336 if (ctx == NULL) return;
361 * @ctx: the user data (XML parser context)
369 xmlSAX2ExternalSubset(void *ctx, const xmlChar *name,
372 xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx;
373 if (ctx == NULL) return;
474 * @ctx: the user data (XML parser context)
487 xmlSAX2ResolveEntity(void *ctx, const xmlChar *publicId, const xmlChar *systemId)
489 xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx;
494 if (ctx == NULL) return(NULL);
516 * @ctx: the user data (XML parser context)
524 xmlSAX2GetEntity(void *ctx, const xmlChar *name)
526 xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx;
529 if (ctx == NULL) return(NULL);
591 * @ctx: the user data (XML parser context)
599 xmlSAX2GetParameterEntity(void *ctx, const xmlChar *name)
601 xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx;
604 if (ctx == NULL) return(NULL);
617 * @ctx: the user data (XML parser context)
627 xmlSAX2EntityDecl(void *ctx, const xmlChar *name, int type,
631 xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx;
633 if (ctx == NULL) return;
686 * @ctx: the user data (XML parser context)
697 xmlSAX2AttributeDecl(void *ctx, const xmlChar *elem, const xmlChar *fullname,
701 xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx;
757 * @ctx: the user data (XML parser context)
765 xmlSAX2ElementDecl(void *ctx, const xmlChar * name, int type,
768 xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx;
803 * @ctx: the user data (XML parser context)
811 xmlSAX2NotationDecl(void *ctx, const xmlChar *name,
814 xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx;
853 * @ctx: the user data (XML parser context)
862 xmlSAX2UnparsedEntityDecl(void *ctx, const xmlChar *name,
867 xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx;
868 if (ctx == NULL) return;
923 * @ctx: the user data (XML parser context)
930 xmlSAX2SetDocumentLocator(void *ctx ATTRIBUTE_UNUSED, xmlSAXLocatorPtr loc ATTRIBUTE_UNUSED)
932 /* xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx; */
941 * @ctx: the user data (XML parser context)
946 xmlSAX2StartDocument(void *ctx)
948 xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx;
951 if (ctx == NULL) return;
1000 * @ctx: the user data (XML parser context)
1005 xmlSAX2EndDocument(void *ctx)
1007 xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx;
1012 if (ctx == NULL) return;
1042 * @ctx: the user data (XML parser context)
1053 xmlSAX2AttributeInternal(void *ctx, const xmlChar *fullname,
1056 xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx;
1514 * @ctx: the user data (XML parser context)
1521 xmlSAX2StartElement(void *ctx, const xmlChar *fullname, const xmlChar **atts)
1523 xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx;
1533 if ((ctx == NULL) || (fullname == NULL) || (ctxt->myDoc == NULL)) return;
1722 * @ctx: the user data (XML parser context)
1728 xmlSAX2EndElement(void *ctx, const xmlChar *name ATTRIBUTE_UNUSED)
1730 xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx;
1734 if (ctx == NULL) return;
1879 * @ctx: the user data (XML parser context)
2104 * @ctx: the user data (XML parser context)
2120 xmlSAX2StartElementNs(void *ctx,
2130 xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx;
2137 if (ctx == NULL) return;
2303 * @ctx: the user data (XML parser context)
2312 xmlSAX2EndElementNs(void *ctx,
2317 xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx;
2321 if (ctx == NULL) return;
2346 * @ctx: the user data (XML parser context)
2352 xmlSAX2Reference(void *ctx, const xmlChar *name)
2354 xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx;
2357 if (ctx == NULL) return;
2375 * @ctx: the user data (XML parser context)
2382 xmlSAX2Characters(void *ctx, const xmlChar *ch, int len)
2384 xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx;
2387 if (ctx == NULL) return;
2493 * @ctx: the user data (XML parser context)
2501 xmlSAX2IgnorableWhitespace(void *ctx ATTRIBUTE_UNUSED, const xmlChar *ch ATTRIBUTE_UNUSED, int len ATTRIBUTE_UNUSED)
2503 /* xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx; */
2512 * @ctx: the user data (XML parser context)
2519 xmlSAX2ProcessingInstruction(void *ctx, const xmlChar *target,
2522 xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx;
2526 if (ctx == NULL) return;
2578 * @ctx: the user data (XML parser context)
2584 xmlSAX2Comment(void *ctx, const xmlChar *value)
2586 xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx;
2590 if (ctx == NULL) return;
2639 * @ctx: the user data (XML parser context)
2646 xmlSAX2CDataBlock(void *ctx, const xmlChar *value, int len)
2648 xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx;
2651 if (ctx == NULL) return;