Lines Matching refs:ctxt
180 static OUString make_error_message(xmlParserCtxtPtr ctxt) in make_error_message() argument
183 buf.appendAscii(ctxt->lastError.message); in make_error_message()
185 buf.append(static_cast<sal_Int32>(ctxt->lastError.line)); in make_error_message()
187 buf.append(static_cast<sal_Int32>(ctxt->lastError.int2)); in make_error_message()
250 xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr)ctx; in resolve_func() local
251 CDocumentBuilder *builder = static_cast< CDocumentBuilder* >(ctxt->_private); in resolve_func()
276 xmlNewIOInputStream(ctxt, pBuffer, XML_CHAR_ENCODING_NONE); in resolve_func()
281 …lParserInputPtr external_entity_loader(const char *URL, const char * /*ID*/, xmlParserCtxtPtr ctxt)
284 return resolve_func(ctxt, 0, (const xmlChar*)URL);
308 void throwEx(xmlParserCtxtPtr ctxt) { in throwEx() argument
309 OUString msg = make_error_message(ctxt); in throwEx()
312 saxex.LineNumber = static_cast<sal_Int32>(ctxt->lastError.line); in throwEx()
313 saxex.ColumnNumber = static_cast<sal_Int32>(ctxt->lastError.int2); in throwEx()