Home
last modified time | relevance | path

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

1234

/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))
Dtest_hotshot.py2 import pprint
63 % (pprint.pformat(events), pprint.pformat(expected)))
/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/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/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/ltp/android/tools/
Dmake_install_parser.py22 import pprint
90 print pprint.pprint(result)
Dmake_parser.py23 import pprint
204 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/autotest/server/cros/multimedia/
Dremote_facade_factory.py10 import pprint
108 (pprint.pformat(name), pprint.pformat(args),
109 pprint.pformat(dargs)))
114 logging.debug('RPC %s returns %s.', rpc, pprint.pformat(value))
130 logging.debug('RPC %s returns %s.', rpc, pprint.pformat(value))
/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/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/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))))
/external/autotest/server/site_tests/network_WiFi_ChaosLongConnect/
Dnetwork_WiFi_ChaosLongConnect.py6 import pprint
68 (DUT_CONNECTION_RETRIES, pprint.pformat(results),
/external/python/cpython2/Tools/i18n/
Dmakelocalealias.py53 def pprint(data): function
78 pprint(data)
/external/autotest/client/cros/cellular/wardmodem/state_machines/
Drequest_response.py5 import pprint
134 self._logger.debug(pprint.pformat(self._responses))
/external/autotest/scheduler/
Dgc_stats.py4 import gc, logging, pprint
51 whats_new_big_str = pprint.pformat(new_objects, indent=1)
/external/autotest/server/site_tests/network_WiFi_ChaosConfigSniffer/
Dnetwork_WiFi_ChaosConfigSniffer.py7 import pprint
32 f.write(pprint.pformat(network))

1234