Lines Matching refs:ctxt
31 xmlChar *htmlDecodeEntities(htmlParserCtxtPtr ctxt, int len, xmlChar end,
50 htmlDecodeEntities(htmlParserCtxtPtr ctxt ATTRIBUTE_UNUSED, in htmlDecodeEntities()
172 xmlGetFeature(xmlParserCtxtPtr ctxt, const char *name, void *result) in xmlGetFeature() argument
174 if ((ctxt == NULL) || (name == NULL) || (result == NULL)) in xmlGetFeature()
178 *((int *) result) = ctxt->validate; in xmlGetFeature()
180 *((int *) result) = ctxt->keepBlanks; in xmlGetFeature()
182 *((int *) result) = ctxt->disableSAX; in xmlGetFeature()
184 *((int *) result) = ctxt->loadsubset; in xmlGetFeature()
186 *((int *) result) = ctxt->replaceEntities; in xmlGetFeature()
188 *((int *) result) = ctxt->record_info; in xmlGetFeature()
190 *((void **) result) = ctxt->userData; in xmlGetFeature()
192 *((int *) result) = ctxt->html; in xmlGetFeature()
194 *((int *) result) = ctxt->standalone; in xmlGetFeature()
196 *((xmlDocPtr *) result) = ctxt->myDoc; in xmlGetFeature()
198 *((int *) result) = ctxt->wellFormed; in xmlGetFeature()
200 *((int *) result) = ctxt->valid; in xmlGetFeature()
202 *((xmlSAXHandlerPtr *) result) = ctxt->sax; in xmlGetFeature()
204 *((internalSubsetSAXFunc *) result) = ctxt->sax->internalSubset; in xmlGetFeature()
206 *((isStandaloneSAXFunc *) result) = ctxt->sax->isStandalone; in xmlGetFeature()
209 ctxt->sax->hasInternalSubset; in xmlGetFeature()
212 ctxt->sax->hasExternalSubset; in xmlGetFeature()
214 *((resolveEntitySAXFunc *) result) = ctxt->sax->resolveEntity; in xmlGetFeature()
216 *((getEntitySAXFunc *) result) = ctxt->sax->getEntity; in xmlGetFeature()
218 *((entityDeclSAXFunc *) result) = ctxt->sax->entityDecl; in xmlGetFeature()
220 *((notationDeclSAXFunc *) result) = ctxt->sax->notationDecl; in xmlGetFeature()
222 *((attributeDeclSAXFunc *) result) = ctxt->sax->attributeDecl; in xmlGetFeature()
224 *((elementDeclSAXFunc *) result) = ctxt->sax->elementDecl; in xmlGetFeature()
227 ctxt->sax->unparsedEntityDecl; in xmlGetFeature()
230 ctxt->sax->setDocumentLocator; in xmlGetFeature()
232 *((startDocumentSAXFunc *) result) = ctxt->sax->startDocument; in xmlGetFeature()
234 *((endDocumentSAXFunc *) result) = ctxt->sax->endDocument; in xmlGetFeature()
236 *((startElementSAXFunc *) result) = ctxt->sax->startElement; in xmlGetFeature()
238 *((endElementSAXFunc *) result) = ctxt->sax->endElement; in xmlGetFeature()
240 *((referenceSAXFunc *) result) = ctxt->sax->reference; in xmlGetFeature()
242 *((charactersSAXFunc *) result) = ctxt->sax->characters; in xmlGetFeature()
245 ctxt->sax->ignorableWhitespace; in xmlGetFeature()
248 ctxt->sax->processingInstruction; in xmlGetFeature()
250 *((commentSAXFunc *) result) = ctxt->sax->comment; in xmlGetFeature()
252 *((warningSAXFunc *) result) = ctxt->sax->warning; in xmlGetFeature()
254 *((errorSAXFunc *) result) = ctxt->sax->error; in xmlGetFeature()
256 *((fatalErrorSAXFunc *) result) = ctxt->sax->fatalError; in xmlGetFeature()
259 ctxt->sax->getParameterEntity; in xmlGetFeature()
261 *((cdataBlockSAXFunc *) result) = ctxt->sax->cdataBlock; in xmlGetFeature()
263 *((externalSubsetSAXFunc *) result) = ctxt->sax->externalSubset; in xmlGetFeature()
281 xmlSetFeature(xmlParserCtxtPtr ctxt, const char *name, void *value) in xmlSetFeature() argument
283 if ((ctxt == NULL) || (name == NULL) || (value == NULL)) in xmlSetFeature()
289 if ((!ctxt->validate) && (newvalidate != 0)) { in xmlSetFeature()
290 if (ctxt->vctxt.warning == NULL) in xmlSetFeature()
291 ctxt->vctxt.warning = xmlParserValidityWarning; in xmlSetFeature()
292 if (ctxt->vctxt.error == NULL) in xmlSetFeature()
293 ctxt->vctxt.error = xmlParserValidityError; in xmlSetFeature()
294 ctxt->vctxt.nodeMax = 0; in xmlSetFeature()
296 ctxt->validate = newvalidate; in xmlSetFeature()
298 ctxt->keepBlanks = *((int *) value); in xmlSetFeature()
300 ctxt->disableSAX = *((int *) value); in xmlSetFeature()
302 ctxt->loadsubset = *((int *) value); in xmlSetFeature()
304 ctxt->replaceEntities = *((int *) value); in xmlSetFeature()
306 ctxt->record_info = *((int *) value); in xmlSetFeature()
308 ctxt->userData = *((void **) value); in xmlSetFeature()
310 ctxt->html = *((int *) value); in xmlSetFeature()
312 ctxt->standalone = *((int *) value); in xmlSetFeature()
314 ctxt->myDoc = *((xmlDocPtr *) value); in xmlSetFeature()
316 ctxt->wellFormed = *((int *) value); in xmlSetFeature()
318 ctxt->valid = *((int *) value); in xmlSetFeature()
320 ctxt->sax = *((xmlSAXHandlerPtr *) value); in xmlSetFeature()
322 ctxt->sax->internalSubset = *((internalSubsetSAXFunc *) value); in xmlSetFeature()
324 ctxt->sax->isStandalone = *((isStandaloneSAXFunc *) value); in xmlSetFeature()
326 ctxt->sax->hasInternalSubset = in xmlSetFeature()
329 ctxt->sax->hasExternalSubset = in xmlSetFeature()
332 ctxt->sax->resolveEntity = *((resolveEntitySAXFunc *) value); in xmlSetFeature()
334 ctxt->sax->getEntity = *((getEntitySAXFunc *) value); in xmlSetFeature()
336 ctxt->sax->entityDecl = *((entityDeclSAXFunc *) value); in xmlSetFeature()
338 ctxt->sax->notationDecl = *((notationDeclSAXFunc *) value); in xmlSetFeature()
340 ctxt->sax->attributeDecl = *((attributeDeclSAXFunc *) value); in xmlSetFeature()
342 ctxt->sax->elementDecl = *((elementDeclSAXFunc *) value); in xmlSetFeature()
344 ctxt->sax->unparsedEntityDecl = in xmlSetFeature()
347 ctxt->sax->setDocumentLocator = in xmlSetFeature()
350 ctxt->sax->startDocument = *((startDocumentSAXFunc *) value); in xmlSetFeature()
352 ctxt->sax->endDocument = *((endDocumentSAXFunc *) value); in xmlSetFeature()
354 ctxt->sax->startElement = *((startElementSAXFunc *) value); in xmlSetFeature()
356 ctxt->sax->endElement = *((endElementSAXFunc *) value); in xmlSetFeature()
358 ctxt->sax->reference = *((referenceSAXFunc *) value); in xmlSetFeature()
360 ctxt->sax->characters = *((charactersSAXFunc *) value); in xmlSetFeature()
362 ctxt->sax->ignorableWhitespace = in xmlSetFeature()
365 ctxt->sax->processingInstruction = in xmlSetFeature()
368 ctxt->sax->comment = *((commentSAXFunc *) value); in xmlSetFeature()
370 ctxt->sax->warning = *((warningSAXFunc *) value); in xmlSetFeature()
372 ctxt->sax->error = *((errorSAXFunc *) value); in xmlSetFeature()
374 ctxt->sax->fatalError = *((fatalErrorSAXFunc *) value); in xmlSetFeature()
376 ctxt->sax->getParameterEntity = in xmlSetFeature()
379 ctxt->sax->cdataBlock = *((cdataBlockSAXFunc *) value); in xmlSetFeature()
381 ctxt->sax->externalSubset = *((externalSubsetSAXFunc *) value); in xmlSetFeature()
410 xmlDecodeEntities(xmlParserCtxtPtr ctxt ATTRIBUTE_UNUSED, in xmlDecodeEntities()
444 xmlNamespaceParseNCName(xmlParserCtxtPtr ctxt ATTRIBUTE_UNUSED) in xmlNamespaceParseNCName()
477 xmlNamespaceParseQName(xmlParserCtxtPtr ctxt ATTRIBUTE_UNUSED, in xmlNamespaceParseQName()
508 xmlNamespaceParseNSDef(xmlParserCtxtPtr ctxt ATTRIBUTE_UNUSED) in xmlNamespaceParseNSDef()
531 xmlParseQuotedString(xmlParserCtxtPtr ctxt ATTRIBUTE_UNUSED) in xmlParseQuotedString()
559 xmlParseNamespace(xmlParserCtxtPtr ctxt ATTRIBUTE_UNUSED) in xmlParseNamespace()
591 xmlScanName(xmlParserCtxtPtr ctxt ATTRIBUTE_UNUSED) in xmlScanName()
631 xmlParserHandleReference(xmlParserCtxtPtr ctxt ATTRIBUTE_UNUSED) in xmlParserHandleReference()
656 xmlHandleEntity(xmlParserCtxtPtr ctxt ATTRIBUTE_UNUSED, in xmlHandleEntity()