Searched refs:new_parser (Results 1 – 5 of 5) sorted by relevance
930 xmlparseobject *new_parser; in pyexpat_xmlparser_ExternalEntityParserCreate_impl() local933 new_parser = PyObject_GC_New(xmlparseobject, &Xmlparsetype); in pyexpat_xmlparser_ExternalEntityParserCreate_impl()934 if (new_parser == NULL) in pyexpat_xmlparser_ExternalEntityParserCreate_impl()936 new_parser->buffer_size = self->buffer_size; in pyexpat_xmlparser_ExternalEntityParserCreate_impl()937 new_parser->buffer_used = 0; in pyexpat_xmlparser_ExternalEntityParserCreate_impl()938 new_parser->buffer = NULL; in pyexpat_xmlparser_ExternalEntityParserCreate_impl()939 new_parser->ordered_attributes = self->ordered_attributes; in pyexpat_xmlparser_ExternalEntityParserCreate_impl()940 new_parser->specified_attributes = self->specified_attributes; in pyexpat_xmlparser_ExternalEntityParserCreate_impl()941 new_parser->in_callback = 0; in pyexpat_xmlparser_ExternalEntityParserCreate_impl()942 new_parser->ns_prefixes = self->ns_prefixes; in pyexpat_xmlparser_ExternalEntityParserCreate_impl()[all …]
1063 xmlparseobject *new_parser; in xmlparse_ExternalEntityParserCreate() local1073 new_parser = PyObject_New(xmlparseobject, &Xmlparsetype); in xmlparse_ExternalEntityParserCreate()1076 new_parser = PyObject_GC_New(xmlparseobject, &Xmlparsetype); in xmlparse_ExternalEntityParserCreate()1079 if (new_parser == NULL) in xmlparse_ExternalEntityParserCreate()1081 new_parser->buffer_size = self->buffer_size; in xmlparse_ExternalEntityParserCreate()1082 new_parser->buffer_used = 0; in xmlparse_ExternalEntityParserCreate()1084 new_parser->buffer = malloc(new_parser->buffer_size); in xmlparse_ExternalEntityParserCreate()1085 if (new_parser->buffer == NULL) { in xmlparse_ExternalEntityParserCreate()1088 PyObject_Del(new_parser); in xmlparse_ExternalEntityParserCreate()1091 PyObject_GC_Del(new_parser); in xmlparse_ExternalEntityParserCreate()[all …]
100 def new_parser(self, path=''): member in IdleUserConfParserTest104 parser = self.new_parser()120 parser = self.new_parser()129 parser = self.new_parser()140 parser = self.new_parser()150 parser = self.new_parser()165 parser = self.new_parser(path)178 parser = self.new_parser(path)
8431 XML_Parser new_parser; in external_entity_duff_loader() local8439 new_parser = XML_ExternalEntityParserCreate(parser, context, NULL); in external_entity_duff_loader()8440 if (new_parser != NULL) in external_entity_duff_loader()8442 XML_ParserFree(new_parser); in external_entity_duff_loader()8522 XML_Parser new_parser; in external_entity_dbl_handler() local8532 new_parser = XML_ExternalEntityParserCreate(parser, context, NULL); in external_entity_dbl_handler()8533 if (new_parser == NULL) { in external_entity_dbl_handler()8545 new_parser = XML_ExternalEntityParserCreate(parser, in external_entity_dbl_handler()8548 if (new_parser != NULL) in external_entity_dbl_handler()8553 XML_ParserFree(new_parser); in external_entity_dbl_handler()[all …]
63 CPDF_StreamParser* new_parser) in CPDF_StreamParserAutoClearer() argument65 *scoped_variable_ = new_parser; in CPDF_StreamParserAutoClearer()