Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/test/
Dtest_pyexpat.py30 self.assertIs(self.parser.returns_unicode, test_support.have_unicode)
32 self.parser.returns_unicode = x
33 self.assertIs(self.parser.returns_unicode, bool(x))
154 parser.returns_unicode = 0
181 parser.returns_unicode = 1
210 parser.returns_unicode = 1
/external/python/cpython2/Modules/
Dpyexpat.c70 int returns_unicode; /* True if Unicode strings are returned; member
383 #define STRING_CONV_FUNC (self->returns_unicode \
425 temp = (self->returns_unicode in call_character_handler()
668 (self->returns_unicode
727 (self->returns_unicode in my_ElementDeclHandler()
831 ("(N)", (self->returns_unicode
837 ("(N)", (self->returns_unicode
1098 new_parser->returns_unicode = self->returns_unicode; in xmlparse_ExternalEntityParserCreate()
1296 self->returns_unicode = 1; in newxmlparseobject()
1298 self->returns_unicode = 0; in newxmlparseobject()
[all …]
/external/python/cpython3/Lib/test/
Dtest_pyexpat.py48 self.parser.returns_unicode = 1
50 self.parser.returns_unicode
/external/python/cpython2/Doc/library/
Dpyexpat.rst173 :attr:`ordered_attributes`, :attr:`returns_unicode` and
251 .. attribute:: xmlparser.returns_unicode
254 passed Unicode strings. If :attr:`returns_unicode` is :const:`False`, 8-bit
337 :attr:`returns_unicode` attribute, and *standalone* will be ``1`` if the
/external/python/cpython2/Lib/
Dxmlrpclib.py553 if not parser.returns_unicode: