Home
last modified time | relevance | path

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

12

/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/printer/
DPrettyPrinterTest.java39 return new PrettyPrinter().print(cu.findFirst(FieldDeclaration.class).get()); in prettyPrintField()
44 return new PrettyPrinter().print(cu.findAll(VariableDeclarationExpr.class).get(0)); in prettyPrintVar()
87PrettyPrinter printer = new PrettyPrinter(new PrettyPrinterConfiguration().setVisitorFactory(TestV… in prettyPrintConfigurable()
119 assertEquals(expected, new PrettyPrinter(config).print(parse(code))); in prettyColumnAlignParameters_enabled()
136 assertEquals(expected, new PrettyPrinter(config).print(parse(code))); in prettyColumnAlignParameters_disabled()
160 assertEquals(expected, new PrettyPrinter(config).print(parse(code))); in prettyAlignMethodCallChains_enabled()
177 assertEquals(expected, new PrettyPrinter(config).print(parse(code))); in prettyAlignMethodCallChains_disabled()
183 assertEqualsNoEol("enum X {\n\n A, B, C, D, E\n}\n", new PrettyPrinter().print(cu)); in enumConstantsHorizontally()
189 …l("enum X {\n\n A,\n B,\n C,\n D,\n E,\n F\n}\n", new PrettyPrinter().print(cu)); in enumConstantsVertically()
DPrettyPrintVisitorTest.java64 return new PrettyPrinter().print(node); in print()
/external/python/cpython2/Doc/library/
Dpprint.rst22 Construct :class:`PrettyPrinter` objects explicitly if you need to adjust the
39 .. class:: PrettyPrinter(indent=1, width=80, depth=None, stream=None)
41 Construct a :class:`PrettyPrinter` instance. This constructor understands
44 :meth:`write` method. If not specified, the :class:`PrettyPrinter` adopts
60 >>> pp = pprint.PrettyPrinter(indent=4)
70 >>> pp = pprint.PrettyPrinter(depth=6)
74 The :class:`PrettyPrinter` class supports several derivative functions:
79 and *depth* will be passed to the :class:`PrettyPrinter` constructor as
92 :class:`PrettyPrinter` constructor as formatting parameters.
141 PrettyPrinter Objects
[all …]
/external/deqp/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()
/external/python/cpython3/Doc/library/
Dpprint.rst23 Construct :class:`PrettyPrinter` objects explicitly if you need to adjust the
33 .. class:: PrettyPrinter(indent=1, width=80, depth=None, stream=None, *, \
36 Construct a :class:`PrettyPrinter` instance. This constructor understands
39 :meth:`write` method. If not specified, the :class:`PrettyPrinter` adopts
59 >>> pp = pprint.PrettyPrinter(indent=4)
67 >>> pp = pprint.PrettyPrinter(width=41, compact=True)
75 >>> pp = pprint.PrettyPrinter(depth=6)
85 *width*, *depth* and *compact* will be passed to the :class:`PrettyPrinter`
100 to the :class:`PrettyPrinter` constructor as formatting parameters.
149 PrettyPrinter Objects
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/
DPrettyPrinter.java29 public class PrettyPrinter { class
32 public PrettyPrinter() { in PrettyPrinter() method in PrettyPrinter
36 public PrettyPrinter(PrettyPrinterConfiguration configuration) { in PrettyPrinter() method in PrettyPrinter
/external/python/cpython3/Lib/test/
Dtest_pprint.py80 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()
116 pp = pprint.PrettyPrinter()
[all …]
/external/python/cpython2/Lib/test/
Dtest_pprint.py57 pp = pprint.PrettyPrinter()
80 pp = pprint.PrettyPrinter()
107 pp = pprint.PrettyPrinter()
473 class DottedPrettyPrinter(pprint.PrettyPrinter):
482 return pprint.PrettyPrinter.format(
/external/python/cpython2/Lib/
Dpprint.py57 printer = PrettyPrinter(
63 return PrettyPrinter(indent=indent, width=width, depth=depth).pformat(object)
84 class PrettyPrinter: class
336 p = PrettyPrinter()
/external/tensorflow/tensorflow/contrib/py2tf/pyct/
Dpretty_printer.py25 class PrettyPrinter(gast.NodeVisitor): class
107 printer = PrettyPrinter(color)
/external/mesa3d/src/gallium/tools/trace/
Dmodel.py53 pretty_printer = PrettyPrinter(formatter)
170 class PrettyPrinter: class
Dparse.py358 self.pretty_printer = PrettyPrinter(self.formatter)
/external/javaparser/javaparser-metamodel-generator/src/main/java/com/github/javaparser/generator/metamodel/
DMetaModelGenerator.java13 import com.github.javaparser.printer.PrettyPrinter;
160 …sourceRoot.setPrinter(new PrettyPrinter(new PrettyPrinterConfiguration().setEndOfLineCharacter("\n… in main()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/
DNode.java39 import com.github.javaparser.printer.PrettyPrinter;
146 …private static final PrettyPrinter toStringPrinter = new PrettyPrinter(new PrettyPrinterConfigurat…
288 return new PrettyPrinter(prettyPrinterConfiguration).print(this); in toString()
DCompilationUnit.java44 import com.github.javaparser.printer.PrettyPrinter;
623 save(cu -> new PrettyPrinter().print(cu)); in save()
/external/python/cpython3/Lib/
Dpprint.py50 printer = PrettyPrinter(
57 return PrettyPrinter(indent=indent, width=width, depth=depth,
98 class PrettyPrinter: class
570 p = PrettyPrinter()
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/bdd/steps/
DCommentParsingSteps.java36 import com.github.javaparser.printer.PrettyPrinter;
67 private PrettyPrinter prettyPrinter = new PrettyPrinter(new PrettyPrinterConfiguration());
/external/llvm/tools/llvm-objdump/
Dllvm-objdump.cpp363 class PrettyPrinter { class
365 virtual ~PrettyPrinter(){} in ~PrettyPrinter()
381 PrettyPrinter PrettyPrinterInst;
382 class HexagonPrettyPrinter : public PrettyPrinter {
441 class AMDGCNPrettyPrinter : public PrettyPrinter {
474 PrettyPrinter &selectPrettyPrinter(Triple const &Triple) { in selectPrettyPrinter()
986 PrettyPrinter &PIP = selectPrettyPrinter(Triple(TripleName)); in DisassembleObject()
/external/javassist/src/main/javassist/bytecode/
DDescriptor.java737 return PrettyPrinter.toString(desc); in toString()
740 static class PrettyPrinter { class in Descriptor
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/utils/
DSourceRoot.java8 import com.github.javaparser.printer.PrettyPrinter;
62 private Function<CompilationUnit, String> printer = new PrettyPrinter()::print;
/external/clang/include/clang/Analysis/Analyses/
DThreadSafetyTraverse.h384 class PrettyPrinter {
391 PrettyPrinter(bool V = false, bool C = true, bool CS = true)
894 class StdPrinter : public PrettyPrinter<StdPrinter, std::ostream> { };
/external/fio/unit_tests/
Dsteadystate_tests.py73 pp = pprint.PrettyPrinter(indent=4)
/external/javaparser/
Dchangelog.md410 * 344 529 turn DumpVisitor into an official PrettyPrinter

12