Home | History | Annotate | Download | only in libxml2

Lines Matching full:ctxt

228 			 xmlParserCtxtPtr ctxt) {
232 ret = xmlNoNetExternalEntityLoader(URL, ID, ctxt);
235 ret = xmlNoNetExternalEntityLoader(URL, ID, ctxt);
362 xmlParserCtxtPtr ctxt = NULL;
376 ctxt = err->ctxt;
389 if (ctxt != NULL) {
390 input = ctxt->input;
392 (ctxt->inputNr > 1)) {
394 input = ctxt->inputTab[ctxt->inputNr - 2];
506 if (ctxt != NULL) {
818 * @ctxt: An XML parser context
836 * @ctxt: An XML parser context
854 * @ctxt: An XML parser context
872 * @ctxt: An XML parser context
896 * @ctxt: An XML parser context
920 * @ctxt: An XML parser context
938 /* xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx; */
952 return(xmlNewInputFromFile(ctxt, (char *) systemId));
960 * @ctxt: An XML parser context
979 * @ctxt: An XML parser context
999 * @ctxt: An XML parser context
1029 * @ctxt: An XML parser context
1054 * @ctxt: An XML parser context
1074 * @ctxt: An XML parser context
1094 * @ctxt: An XML parser context
1125 * @ctxt: An XML parser context
1142 * @ctxt: An XML parser context
1157 * @ctxt: An XML parser context
1172 * @ctxt: An XML parser context
1198 * @ctxt: An XML parser context
1214 * @ctxt: An XML parser context
1239 * @ctxt: An XML parser context
1255 * @ctxt: An XML parser context
1280 * @ctxt: An XML parser context
1322 * @ctxt: An XML parser context
1338 * @ctxt: An XML parser context
1361 * @ctxt: An XML parser context
1384 * @ctxt: An XML parser context
1447 * @ctxt: An XML parser context
1504 * @ctxt: An XML parser context
1569 * @ctxt: An XML parser context
1604 * @ctxt: An XML parser context
1625 * @ctxt: An XML parser context
1723 xmlParserCtxtPtr ctxt = xmlCreateFileParserCtxt(filename);
1724 memcpy(ctxt->sax, emptySAXHandler, sizeof(xmlSAXHandler));
1725 xmlCtxtUseOptions(ctxt, options);
1726 xmlParseDocument(ctxt);
1727 ret = ctxt->wellFormed ? 0 : ctxt->errNo;
1728 xmlFreeDoc(ctxt->myDoc);
1729 xmlFreeParserCtxt(ctxt);
1747 xmlParserCtxtPtr ctxt = xmlCreateFileParserCtxt(filename);
1749 memcpy(ctxt->sax, debugSAXHandler, sizeof(xmlSAXHandler));
1752 memcpy(ctxt->sax, debugSAX2Handler, sizeof(xmlSAXHandler));
1754 xmlCtxtUseOptions(ctxt, options);
1755 xmlParseDocument(ctxt);
1756 ret = ctxt->wellFormed ? 0 : ctxt->errNo;
1757 xmlFreeDoc(ctxt->myDoc);
1758 xmlFreeParserCtxt(ctxt);
1869 xmlParserCtxtPtr ctxt;
1890 ctxt = htmlCreatePushParserCtxt(NULL, NULL, base + cur, chunkSize, filename,
1894 ctxt = xmlCreatePushParserCtxt(NULL, NULL, base + cur, chunkSize, filename);
1895 xmlCtxtUseOptions(ctxt, options);
1902 htmlParseChunk(ctxt, base + cur, size - cur, 1);
1905 xmlParseChunk(ctxt, base + cur, size - cur, 1);
1910 htmlParseChunk(ctxt, base + cur, chunkSize, 0);
1913 xmlParseChunk(ctxt, base + cur, chunkSize, 0);
1917 doc = ctxt->myDoc;
1923 res = ctxt->wellFormed;
1924 xmlFreeParserCtxt(ctxt);
2351 xmlXPathContextPtr ctxt;
2359 ctxt = xmlXPtrNewContext(xpathDocument, NULL, NULL);
2360 res = xmlXPtrEval(BAD_CAST str, ctxt);
2363 ctxt = xmlXPathNewContext(xpathDocument);
2364 ctxt->node = xmlDocGetRootElement(xpathDocument);
2366 res = xmlXPathEvalExpression(BAD_CAST str, ctxt);
2368 /* res = xmlXPathEval(BAD_CAST str, ctxt); */
2373 res = xmlXPathCompiledEval(comp, ctxt);
2383 xmlXPathFreeContext(ctxt);
2988 xmlSchemaValidCtxtPtr ctxt;
3013 ctxt = xmlSchemaNewValidCtxt(schemas);
3014 xmlSchemaSetValidErrors(ctxt,
3017 ctxt);
3018 validResult = xmlSchemaValidateDoc(ctxt, doc);
3046 xmlSchemaFreeValidCtxt(ctxt);
3069 xmlSchemaParserCtxtPtr ctxt;
3081 ctxt = xmlSchemaNewParserCtxt(filename);
3082 xmlSchemaSetParserErrors(ctxt,
3085 ctxt);
3086 schemas = xmlSchemaParse(ctxt);
3087 xmlSchemaFreeParserCtxt(ctxt);
3164 xmlRelaxNGValidCtxtPtr ctxt;
3188 ctxt = xmlRelaxNGNewValidCtxt(schemas);
3189 xmlRelaxNGSetValidErrors(ctxt,
3192 ctxt);
3193 ret = xmlRelaxNGValidateDoc(ctxt, doc);
3224 xmlRelaxNGFreeValidCtxt(ctxt);
3246 xmlRelaxNGParserCtxtPtr ctxt;
3258 ctxt = xmlRelaxNGNewParserCtxt(filename);
3259 xmlRelaxNGSetParserErrors(ctxt,
3262 ctxt);
3263 schemas = xmlRelaxNGParse(ctxt);
3264 xmlRelaxNGFreeParserCtxt(ctxt);