Home
last modified time | relevance | path

Searched refs:new_parser (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython3/Modules/
Dpyexpat.c930 xmlparseobject *new_parser; in pyexpat_xmlparser_ExternalEntityParserCreate_impl() local
933 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 …]
/external/python/cpython2/Modules/
Dpyexpat.c1063 xmlparseobject *new_parser; in xmlparse_ExternalEntityParserCreate() local
1073 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 …]
/external/python/cpython3/Lib/idlelib/idle_test/
Dtest_config.py100 def new_parser(self, path=''): member in IdleUserConfParserTest
104 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)
/external/expat/tests/
Druntests.c8431 XML_Parser new_parser; in external_entity_duff_loader() local
8439 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() local
8532 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 …]
/external/pdfium/core/fpdfapi/page/
Dcpdf_streamcontentparser.cpp63 CPDF_StreamParser* new_parser) in CPDF_StreamParserAutoClearer() argument
65 *scoped_variable_ = new_parser; in CPDF_StreamParserAutoClearer()