Home
last modified time | relevance | path

Searched refs:specified_attributes (Results 1 – 12 of 12) sorted by relevance

/external/python/cpython3/Modules/
Dpyexpat.c61 int specified_attributes; /* Report only specified attributes. */ member
348 if (self->specified_attributes) { in my_StartElementHandler()
933 new_parser->specified_attributes = self->specified_attributes; in pyexpat_xmlparser_ExternalEntityParserCreate_impl()
1120 self->specified_attributes = 0; in newxmlparseobject()
1400 return PyBool_FromLong((long) self->specified_attributes); in xmlparse_specified_attributes_getter()
1413 self->specified_attributes = b; in xmlparse_specified_attributes_setter()
1441 XMLPARSE_GETTER_SETTER_DEF(specified_attributes)
/external/python/cpython2/Modules/
Dpyexpat.c73 int specified_attributes; /* Report only specified attributes. */ member
510 if (self->specified_attributes) { in my_StartElementHandler()
1100 new_parser->specified_attributes = self->specified_attributes; in xmlparse_ExternalEntityParserCreate()
1305 self->specified_attributes = 0; in newxmlparseobject()
1462 return get_pybool((long) self->specified_attributes); in xmlparse_getattr()
1614 self->specified_attributes = b; in xmlparse_setattr()
/external/python/cpython2/Lib/test/
Dtest_pyexpat.py42 self.assertIs(self.parser.specified_attributes, False)
44 self.parser.specified_attributes = x
45 self.assertIs(self.parser.specified_attributes, bool(x))
/external/python/cpython3/Lib/test/
Dtest_pyexpat.py41 self.assertIs(self.parser.specified_attributes, False)
43 self.parser.specified_attributes = x
44 self.assertIs(self.parser.specified_attributes, bool(x))
/external/python/cpython2/Lib/xml/etree/
DElementTree.py1229 parser.specified_attributes = 1
1508 self._parser.specified_attributes = 1
/external/python/cpython3/Lib/xml/etree/
DElementTree.py1563 parser.specified_attributes = 1
1583 parser.specified_attributes = 1
/external/python/cpython3/Doc/library/
Dpyexpat.rst171 :attr:`ordered_attributes` and :attr:`specified_attributes` set to the values of
237 .. attribute:: xmlparser.specified_attributes
/external/python/cpython2/Doc/library/
Dpyexpat.rst174 :attr:`specified_attributes` set to the values of this parser.
262 .. attribute:: xmlparser.specified_attributes
/external/python/cpython3/Lib/xml/dom/
Dexpatbuilder.py162 self._parser.specified_attributes = True
/external/python/cpython2/Lib/xml/dom/
Dexpatbuilder.py162 self._parser.specified_attributes = True
/external/python/cpython2/Misc/
DHISTORY7820 specified_attributes attributes. A new module expat.model was added,
/external/python/cpython3/Misc/
DHISTORY25199 specified_attributes attributes. A new module expat.model was added,