Lines Matching refs:itself
58 XML_Parser itself; member
114 XML_Parser parser = self->itself; in set_error()
214 XML_SetExternalEntityRefHandler(self->itself, in flag_error()
227 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()
588 XML_FreeContentModel(self->itself, model); in my_ElementDeclHandler()
698 return set_error(self, XML_GetErrorCode(self->itself)); in get_parse_result()
736 (void)XML_SetEncoding(self->itself, "utf-8"); in pyexpat_xmlparser_Parse_impl()
746 rc = XML_Parse(self->itself, s, MAX_CHUNK_SIZE, 0); in pyexpat_xmlparser_Parse_impl()
754 rc = XML_Parse(self->itself, s, (int)slen, isfinal); in pyexpat_xmlparser_Parse_impl()
830 void *buf = XML_GetBuffer(self->itself, BUF_SIZE); in pyexpat_xmlparser_ParseFile()
841 rv = XML_ParseBuffer(self->itself, bytes_read, bytes_read == 0); in pyexpat_xmlparser_ParseFile()
867 if (!XML_SetBase(self->itself, base)) { in pyexpat_xmlparser_SetBase_impl()
883 return Py_BuildValue("z", XML_GetBase(self->itself)); in pyexpat_xmlparser_GetBase_impl()
902 = XML_GetInputContext(self->itself, &offset, &size); in pyexpat_xmlparser_GetInputContext_impl()
943 new_parser->itself = XML_ExternalEntityParserCreate(self->itself, context, in pyexpat_xmlparser_ExternalEntityParserCreate_impl()
957 if (!new_parser->itself) { in pyexpat_xmlparser_ExternalEntityParserCreate_impl()
962 XML_SetUserData(new_parser->itself, (void *)new_parser); in pyexpat_xmlparser_ExternalEntityParserCreate_impl()
981 handler_info[i].setter(new_parser->itself, in pyexpat_xmlparser_ExternalEntityParserCreate_impl()
1006 flag = XML_SetParamEntityParsing(self->itself, flag); in pyexpat_xmlparser_SetParamEntityParsing_impl()
1031 rc = XML_UseForeignDTD(self->itself, flag ? XML_TRUE : XML_FALSE); in pyexpat_xmlparser_UseForeignDTD_impl()
1187 self->itself = XML_ParserCreate_MM(encoding, &ExpatMemoryHandler, in newxmlparseobject()
1189 if (self->itself == NULL) { in newxmlparseobject()
1197 XML_SetHashSalt(self->itself, in newxmlparseobject()
1200 XML_SetUserData(self->itself, (void *)self); in newxmlparseobject()
1201 XML_SetUnknownEncodingHandler(self->itself, in newxmlparseobject()
1223 if (self->itself != NULL) in xmlparse_dealloc()
1224 XML_ParserFree(self->itself); in xmlparse_dealloc()
1225 self->itself = NULL; in xmlparse_dealloc()
1286 XML_GetErrorCode(self->itself)); in xmlparse_getattro()
1289 XML_GetErrorLineNumber(self->itself)); in xmlparse_getattro()
1292 XML_GetErrorColumnNumber(self->itself)); in xmlparse_getattro()
1295 XML_GetErrorByteIndex(self->itself)); in xmlparse_getattro()
1300 XML_GetCurrentLineNumber(self->itself)); in xmlparse_getattro()
1303 XML_GetCurrentColumnNumber(self->itself)); in xmlparse_getattro()
1306 XML_GetCurrentByteIndex(self->itself)); in xmlparse_getattro()
1363 handler_info[handlernum].setter(self->itself, c_handler); in sethandler()
1410 XML_SetReturnNSTriplet(self->itself, self->ns_prefixes); in xmlparse_setattro()
1907 handler_info[i].setter(self->itself, NULL); in clear_handlers()