Lines Matching refs:itself
58 XML_Parser itself; member
114 XML_Parser parser = self->itself; in set_error()
216 XML_SetExternalEntityRefHandler(self->itself, in flag_error()
229 XML_StopParser(self->itself, XML_FALSE); in call_with_frame()
275 XML_SetCharacterDataHandler(self->itself, in call_character_handler()
289 XML_SetCharacterDataHandler(self->itself, in call_character_handler()
359 max = XML_GetSpecifiedAttributeCount(self->itself); in my_StartElementHandler()
586 XML_FreeContentModel(self->itself, model); in my_ElementDeclHandler()
696 return set_error(self, XML_GetErrorCode(self->itself)); in get_parse_result()
734 (void)XML_SetEncoding(self->itself, "utf-8"); in pyexpat_xmlparser_Parse_impl()
744 rc = XML_Parse(self->itself, s, MAX_CHUNK_SIZE, 0); in pyexpat_xmlparser_Parse_impl()
752 rc = XML_Parse(self->itself, s, (int)slen, isfinal); in pyexpat_xmlparser_Parse_impl()
828 void *buf = XML_GetBuffer(self->itself, BUF_SIZE); in pyexpat_xmlparser_ParseFile()
839 rv = XML_ParseBuffer(self->itself, bytes_read, bytes_read == 0); in pyexpat_xmlparser_ParseFile()
865 if (!XML_SetBase(self->itself, base)) { in pyexpat_xmlparser_SetBase_impl()
881 return Py_BuildValue("z", XML_GetBase(self->itself)); in pyexpat_xmlparser_GetBase_impl()
900 = XML_GetInputContext(self->itself, &offset, &size); in pyexpat_xmlparser_GetInputContext_impl()
941 new_parser->itself = XML_ExternalEntityParserCreate(self->itself, context, in pyexpat_xmlparser_ExternalEntityParserCreate_impl()
955 if (!new_parser->itself) { in pyexpat_xmlparser_ExternalEntityParserCreate_impl()
960 XML_SetUserData(new_parser->itself, (void *)new_parser); in pyexpat_xmlparser_ExternalEntityParserCreate_impl()
979 handler_info[i].setter(new_parser->itself, in pyexpat_xmlparser_ExternalEntityParserCreate_impl()
1004 flag = XML_SetParamEntityParsing(self->itself, flag); in pyexpat_xmlparser_SetParamEntityParsing_impl()
1029 rc = XML_UseForeignDTD(self->itself, flag ? XML_TRUE : XML_FALSE); in pyexpat_xmlparser_UseForeignDTD_impl()
1186 self->itself = XML_ParserCreate_MM(encoding, &ExpatMemoryHandler, in newxmlparseobject()
1188 if (self->itself == NULL) { in newxmlparseobject()
1198 XML_SetHashSalt(self->itself, in newxmlparseobject()
1201 XML_SetUserData(self->itself, (void *)self); in newxmlparseobject()
1202 XML_SetUnknownEncodingHandler(self->itself, in newxmlparseobject()
1224 if (self->itself != NULL) in xmlparse_dealloc()
1225 XML_ParserFree(self->itself); in xmlparse_dealloc()
1226 self->itself = NULL; in xmlparse_dealloc()
1287 XML_GetErrorCode(self->itself)); in xmlparse_getattro()
1290 XML_GetErrorLineNumber(self->itself)); in xmlparse_getattro()
1293 XML_GetErrorColumnNumber(self->itself)); in xmlparse_getattro()
1296 XML_GetErrorByteIndex(self->itself)); in xmlparse_getattro()
1301 XML_GetCurrentLineNumber(self->itself)); in xmlparse_getattro()
1304 XML_GetCurrentColumnNumber(self->itself)); in xmlparse_getattro()
1307 XML_GetCurrentByteIndex(self->itself)); in xmlparse_getattro()
1365 handler_info[handlernum].setter(self->itself, c_handler); in sethandler()
1412 XML_SetReturnNSTriplet(self->itself, self->ns_prefixes); in xmlparse_setattro()
1910 handler_info[i].setter(self->itself, NULL); in clear_handlers()