Home
last modified time | relevance | path

Searched refs:pprint (Results 1 – 25 of 141) sorted by relevance

123456

/external/python/cpython3/Lib/test/
Dtest_pprint.py6 import pprint
80 pp = pprint.PrettyPrinter()
81 pp = pprint.PrettyPrinter(indent=4, width=40, depth=5,
83 pp = pprint.PrettyPrinter(4, 40, 5, io.StringIO())
85 pp = pprint.PrettyPrinter(4, 40, 5, io.StringIO(), True)
86 self.assertRaises(ValueError, pprint.PrettyPrinter, indent=-1)
87 self.assertRaises(ValueError, pprint.PrettyPrinter, depth=0)
88 self.assertRaises(ValueError, pprint.PrettyPrinter, depth=-1)
89 self.assertRaises(ValueError, pprint.PrettyPrinter, width=0)
93 pp = pprint.PrettyPrinter()
[all …]
Dtest_sys_setprofile.py2 import pprint
96 % (pprint.pformat(expected), pprint.pformat(events)))
371 import pprint
372 pprint.pprint(capture_events(callable))
/external/python/cpython2/Lib/test/
Dtest_pprint.py1 import pprint
57 pp = pprint.PrettyPrinter()
62 self.assertFalse(pprint.isrecursive(safe),
64 self.assertTrue(pprint.isreadable(safe),
80 pp = pprint.PrettyPrinter()
83 self.assertTrue(pprint.isrecursive(icky), "expected isrecursive")
84 self.assertFalse(pprint.isreadable(icky), "expected not isreadable")
95 self.assertFalse(pprint.isrecursive(safe),
97 self.assertTrue(pprint.isreadable(safe),
107 pp = pprint.PrettyPrinter()
[all …]
Dtest_sys_setprofile.py2 import pprint
97 % (pprint.pformat(expected), pprint.pformat(events)))
373 import pprint
374 pprint.pprint(capture_events(callable))
/external/python/cpython2/Lib/bsddb/test/
Dtest_queue.py6 from pprint import pprint
37 pprint(d.stat())
53 pprint(d.stat())
62 pprint(d.stat())
73 pprint(d.stat())
84 pprint(d.stat())
108 pprint(d.stat())
124 pprint(d.stat())
134 pprint(d.stat())
140 pprint(d.stat())
[all …]
/external/python/cpython2/Doc/library/
Dpprint.rst1 :mod:`pprint` --- Data pretty printer
4 .. module:: pprint
9 **Source code:** :source:`Lib/pprint.py`
13 The :mod:`pprint` module provides a capability to "pretty-print" arbitrary
34 The :mod:`pprint` module defines one class:
57 >>> import pprint
60 >>> pp = pprint.PrettyPrinter(indent=4)
61 >>> pp.pprint(stuff)
70 >>> pp = pprint.PrettyPrinter(depth=6)
71 >>> pp.pprint(tup)
[all …]
/external/python/cpython3/Doc/library/
Dpprint.rst1 :mod:`pprint` --- Data pretty printer
4 .. module:: pprint
10 **Source code:** :source:`Lib/pprint.py`
14 The :mod:`pprint` module provides a capability to "pretty-print" arbitrary
28 The :mod:`pprint` module defines one class:
56 >>> import pprint
59 >>> pp = pprint.PrettyPrinter(indent=4)
60 >>> pp.pprint(stuff)
67 >>> pp = pprint.PrettyPrinter(width=41, compact=True)
68 >>> pp.pprint(stuff)
[all …]
/external/python/cpython3/Lib/lib2to3/pgen2/
Dgrammar.py126 from pprint import pprint
128 pprint(self.symbol2number)
130 pprint(self.number2symbol)
132 pprint(self.states)
134 pprint(self.dfas)
136 pprint(self.labels)
/external/python/cpython2/Lib/lib2to3/pgen2/
Dgrammar.py127 from pprint import pprint
129 pprint(self.symbol2number)
131 pprint(self.number2symbol)
133 pprint(self.states)
135 pprint(self.dfas)
137 pprint(self.labels)
/external/python/cpython3/Doc/includes/
Ddbpickle.py51 import pprint
73 pprint.pprint(memos)
83 pprint.pprint(memos)
/external/autotest/client/cros/scripts/
Ddevice7 import pprint
46 pprint.pprint(
50 pprint.pprint({property_key:
Dprofile7 import pprint
96 pprint.pprint(shill.dbus2primitive(profile.GetEntry(ident)),
110 pprint.pprint(properties, indent=2)
/external/clang/bindings/python/examples/cindex/
Dcindex-dump.py58 from pprint import pprint
82 pprint(('diags', map(get_diag_info, tu.diagnostics)))
83 pprint(('nodes', get_info(tu.cursor)))
/external/python/cpython3/Tools/scripts/
Dimport_diagnostics.py6 from pprint import pprint
12 pprint(getattr(sys, name))
/external/ltp/android/tools/
Dmake_install_parser.py22 import pprint
90 print pprint.pprint(result)
/external/autotest/client/cros/faft/utils/
Dfirmware_check_keys.py7 import pprint
56 print 'Keys mismatched %s' % pprint.pformat(uniq_actual_output)
58 print 'Key match expected: %s' % pprint.pformat(uniq_actual_output)
/external/llvm/tools/llvm-c-test/
Ddisassemble.c23 static void pprint(int pos, unsigned char *buf, int len, const char *disasm) { in pprint() function
54 pprint(pos, buf + pos, 1, "\t???"); in do_disassemble()
57 pprint(pos, buf + pos, l, outline); in do_disassemble()
/external/skia/tools/
DBUILD_simulator.py15 import pprint
97 pprint.pprint(value, out)
/external/skqp/tools/
DBUILD_simulator.py15 import pprint
97 pprint.pprint(value, out)
/external/autotest/contrib/
Ddhcp_failed_machines.py19 import pprint
75 pprint.pprint(hosts)
/external/autotest/server/site_tests/network_FirewallHolePunchServer/
Dnetwork_FirewallHolePunchServer.py6 import pprint
85 logging.debug(pprint.pprint(test))
/external/autotest/client/cros/cellular/wardmodem/
Dmodem_configuration.py7 import pprint
46 pprint.pformat(self.base_conf))
55 pprint.pformat(self.plugin_conf))
/external/autotest/server/cros/multimedia/
Dremote_facade_factory.py11 import pprint
141 logging.debug('RPC %s returns %s.', rpc, pprint.pformat(value))
168 (pprint.pformat(name), pprint.pformat(args),
169 pprint.pformat(dargs)))
/external/python/cpython2/Demo/tix/
Dgrid.py3 from pprint import pprint
/external/autotest/server/cros/faft/config/
Dconfig.py6 import pprint
86 pprint.pformat(dir(cfg_obj))))

123456