Home
last modified time | relevance | path

Searched refs:PrettyPrinter (Results 1 – 14 of 14) sorted by relevance

/third_party/vk-gl-cts/framework/randomshaders/
DrsgPrettyPrinter.cpp117 PrettyPrinter::PrettyPrinter (std::ostringstream& str) in PrettyPrinter() function in rsg::PrettyPrinter
123 inline const char* PrettyPrinter::getSimpleTokenStr (Token::Type token) in getSimpleTokenStr()
129 void PrettyPrinter::append (const TokenStream& tokens) in append()
140 void PrettyPrinter::processToken (const Token& token) in processToken()
DrsgPrettyPrinter.hpp35 class PrettyPrinter class
38 PrettyPrinter (std::ostringstream& str);
39 ~PrettyPrinter (void) {} in ~PrettyPrinter()
DrsgShaderGenerator.cpp346 PrettyPrinter printer(str); in generate()
/third_party/python/Doc/library/
Dpprint.rst23 Construct :class:`PrettyPrinter` objects explicitly if you need to adjust the
41 .. class:: PrettyPrinter(indent=1, width=80, depth=None, stream=None, *, \
44 Construct a :class:`PrettyPrinter` instance. This constructor understands
90 >>> pp = pprint.PrettyPrinter(indent=4)
98 >>> pp = pprint.PrettyPrinter(width=41, compact=True)
106 >>> pp = pprint.PrettyPrinter(depth=6)
118 :class:`PrettyPrinter` constructor as formatting parameters.
149 be passed to the :class:`PrettyPrinter` constructor as formatting parameters.
204 PrettyPrinter Objects
207 :class:`PrettyPrinter` instances have the following methods:
[all …]
/third_party/python/Lib/test/
Dtest_pprint.py133 pp = pprint.PrettyPrinter()
134 pp = pprint.PrettyPrinter(indent=4, width=40, depth=5,
136 pp = pprint.PrettyPrinter(4, 40, 5, io.StringIO())
137 pp = pprint.PrettyPrinter(sort_dicts=False)
139 pp = pprint.PrettyPrinter(4, 40, 5, io.StringIO(), True)
140 self.assertRaises(ValueError, pprint.PrettyPrinter, indent=-1)
141 self.assertRaises(ValueError, pprint.PrettyPrinter, depth=0)
142 self.assertRaises(ValueError, pprint.PrettyPrinter, depth=-1)
143 self.assertRaises(ValueError, pprint.PrettyPrinter, width=0)
147 pp = pprint.PrettyPrinter()
[all …]
/third_party/python/Lib/
Dpprint.py51 printer = PrettyPrinter(
60 return PrettyPrinter(indent=indent, width=width, depth=depth,
70 return PrettyPrinter()._safe_repr(object, {}, None, 0)[0]
74 return PrettyPrinter()._safe_repr(object, {}, None, 0)[1]
78 return PrettyPrinter()._safe_repr(object, {}, None, 0)[2]
106 class PrettyPrinter: class
643 p = PrettyPrinter()
/third_party/mesa3d/src/gallium/tools/trace/
Dmodel.py48 pretty_printer = PrettyPrinter(formatter, {})
197 class PrettyPrinter: class
Dparse.py361 self.pretty_printer = PrettyPrinter(self.formatter, options)
/third_party/skia/third_party/externals/angle2/infra/specs/
Dgenerate_test_spec_json.py135 pp = pprint.PrettyPrinter(indent=2)
/third_party/python/Misc/NEWS.d/
D3.10.0b4.rst131 Break up paragraph about :class:`pprint.PrettyPrinter` construction
D3.8.0a3.rst539 `pprint.PrettyPrinter`. Contributed by Rémi Lapeyre.
D3.10.0a3.rst794 Fix :meth:`pprint.PrettyPrinter.format` overrides being ignored for contents
/third_party/cef/tools/
Dcef_parser.py2075 pp = pprint.PrettyPrinter(indent=4)
/third_party/python/Doc/whatsnew/
D3.4.rst1259 The :mod:`pprint` module's :class:`~pprint.PrettyPrinter` class and its