Lines Matching refs:itself
69 XML_Parser itself; member
125 XML_Parser parser = self->itself; in set_error()
257 XML_SetExternalEntityRefHandler(self->itself, in flag_error()
359 XML_StopParser(self->itself, XML_FALSE); in call_with_frame()
434 XML_SetCharacterDataHandler(self->itself, in call_character_handler()
448 XML_SetCharacterDataHandler(self->itself, in call_character_handler()
511 max = XML_GetSpecifiedAttributeCount(self->itself); in my_StartElementHandler()
761 XML_FreeContentModel(self->itself, model); in my_ElementDeclHandler()
880 return set_error(self, XML_GetErrorCode(self->itself)); in get_parse_result()
902 return get_parse_result(self, XML_Parse(self->itself, s, slen, isFinal)); in xmlparse_Parse()
976 void *buf = XML_GetBuffer(self->itself, BUF_SIZE); in xmlparse_ParseFile()
988 rv = XML_ParseBuffer(self->itself, bytes_read, bytes_read == 0); in xmlparse_ParseFile()
1012 if (!XML_SetBase(self->itself, base)) { in xmlparse_SetBase()
1026 return Py_BuildValue("z", XML_GetBase(self->itself)); in xmlparse_GetBase()
1041 = XML_GetInputContext(self->itself, &offset, &size); in xmlparse_GetInputContext()
1103 new_parser->itself = XML_ExternalEntityParserCreate(self->itself, context, in xmlparse_ExternalEntityParserCreate()
1114 if (!new_parser->itself) { in xmlparse_ExternalEntityParserCreate()
1119 XML_SetUserData(new_parser->itself, (void *)new_parser); in xmlparse_ExternalEntityParserCreate()
1138 handler_info[i].setter(new_parser->itself, in xmlparse_ExternalEntityParserCreate()
1159 flag = XML_SetParamEntityParsing(p->itself, flag); in xmlparse_SetParamEntityParsing()
1186 rc = XML_UseForeignDTD(self->itself, flag ? XML_TRUE : XML_FALSE); in xmlparse_UseForeignDTD()
1310 self->itself = XML_ParserCreateNS(encoding, *namespace_separator); in newxmlparseobject()
1313 self->itself = XML_ParserCreate(encoding); in newxmlparseobject()
1315 if (self->itself == NULL) { in newxmlparseobject()
1323 XML_SetHashSalt(self->itself, in newxmlparseobject()
1333 XML_SetUserData(self->itself, (void *)self); in newxmlparseobject()
1335 XML_SetUnknownEncodingHandler(self->itself, in newxmlparseobject()
1362 if (self->itself != NULL) in xmlparse_dealloc()
1363 XML_ParserFree(self->itself); in xmlparse_dealloc()
1364 self->itself = NULL; in xmlparse_dealloc()
1425 XML_GetErrorCode(self->itself)); in xmlparse_getattr()
1428 XML_GetErrorLineNumber(self->itself)); in xmlparse_getattr()
1431 XML_GetErrorColumnNumber(self->itself)); in xmlparse_getattr()
1434 XML_GetErrorByteIndex(self->itself)); in xmlparse_getattr()
1439 XML_GetCurrentLineNumber(self->itself)); in xmlparse_getattr()
1442 XML_GetCurrentColumnNumber(self->itself)); in xmlparse_getattr()
1445 XML_GetCurrentByteIndex(self->itself)); in xmlparse_getattr()
1545 handler_info[handlernum].setter(self->itself, c_handler); in sethandler()
1586 XML_SetReturnNSTriplet(self->itself, self->ns_prefixes); in xmlparse_setattr()
2065 handler_info[i].setter(self->itself, NULL); in clear_handlers()