Home
last modified time | relevance | path

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

/external/python/cpython3/Modules/
Dpyexpat.c923 xmlparseobject *new_parser; in pyexpat_xmlparser_ExternalEntityParserCreate_impl() local
926 new_parser = PyObject_GC_New(xmlparseobject, &Xmlparsetype); in pyexpat_xmlparser_ExternalEntityParserCreate_impl()
927 if (new_parser == NULL) in pyexpat_xmlparser_ExternalEntityParserCreate_impl()
929 new_parser->buffer_size = self->buffer_size; in pyexpat_xmlparser_ExternalEntityParserCreate_impl()
930 new_parser->buffer_used = 0; in pyexpat_xmlparser_ExternalEntityParserCreate_impl()
931 new_parser->buffer = NULL; in pyexpat_xmlparser_ExternalEntityParserCreate_impl()
932 new_parser->ordered_attributes = self->ordered_attributes; in pyexpat_xmlparser_ExternalEntityParserCreate_impl()
933 new_parser->specified_attributes = self->specified_attributes; in pyexpat_xmlparser_ExternalEntityParserCreate_impl()
934 new_parser->in_callback = 0; in pyexpat_xmlparser_ExternalEntityParserCreate_impl()
935 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/Tools/peg_generator/scripts/
Dshow_parse.py93 new_parser = args.parser == "new"
99 if new_parser:
/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)
/external/expat/tests/
Druntests.c7816 XML_Parser new_parser; in external_entity_duff_loader() local
7826 new_parser = XML_ExternalEntityParserCreate(parser, context, NULL); in external_entity_duff_loader()
7827 if (new_parser != NULL) { in external_entity_duff_loader()
7828 XML_ParserFree(new_parser); in external_entity_duff_loader()
7897 XML_Parser new_parser; in external_entity_dbl_handler() local
7910 new_parser = XML_ExternalEntityParserCreate(parser, context, NULL); in external_entity_dbl_handler()
7911 if (new_parser == NULL) { in external_entity_dbl_handler()
7923 new_parser = XML_ExternalEntityParserCreate(parser, context, NULL); in external_entity_dbl_handler()
7924 if (new_parser != NULL) in external_entity_dbl_handler()
7929 XML_ParserFree(new_parser); in external_entity_dbl_handler()
[all …]
/external/pdfium/core/fpdfapi/page/
Dcpdf_streamcontentparser.cpp66 CPDF_StreamParser* new_parser) in CPDF_StreamParserAutoClearer() argument
68 *scoped_variable_ = new_parser; in CPDF_StreamParserAutoClearer()