Home
last modified time | relevance | path

Searched refs:lineSeparator (Results 1 – 25 of 118) sorted by relevance

12345

/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/printer/
DDotPrinterTest.java36 String expectedOutput = "digraph {" + System.lineSeparator(); in testWithType()
37 expectedOutput += "n0 [label=\"root (MethodCallExpr)\"];" + System.lineSeparator(); in testWithType()
38 expectedOutput += "n1 [label=\"name (SimpleName)\"];" + System.lineSeparator(); in testWithType()
39 expectedOutput += "n0 -> n1;" + System.lineSeparator(); in testWithType()
40 expectedOutput += "n2 [label=\"identifier='x'\"];" + System.lineSeparator(); in testWithType()
41 expectedOutput += "n1 -> n2;" + System.lineSeparator(); in testWithType()
42 expectedOutput += "n3 [label=\"arguments\"];" + System.lineSeparator(); in testWithType()
43 expectedOutput += "n0 -> n3;" + System.lineSeparator(); in testWithType()
44 expectedOutput += "n4 [label=\"argument (IntegerLiteralExpr)\"];" + System.lineSeparator(); in testWithType()
45 expectedOutput += "n3 -> n4;" + System.lineSeparator(); in testWithType()
[all …]
/external/sl4a/Common/src/org/apache/commons/codec/binary/
DBase64Codec.java160 private final byte[] lineSeparator; field in Base64Codec
290 public Base64Codec(int lineLength, byte[] lineSeparator) { in Base64Codec() argument
291 this(lineLength, lineSeparator, false); in Base64Codec()
319 public Base64Codec(int lineLength, byte[] lineSeparator, boolean urlSafe) { in Base64Codec() argument
320 if (lineSeparator == null) { in Base64Codec()
322 lineSeparator = CHUNK_SEPARATOR; // this just gets ignored in Base64Codec()
325 this.lineSeparator = new byte[lineSeparator.length]; in Base64Codec()
326 System.arraycopy(lineSeparator, 0, this.lineSeparator, 0, lineSeparator.length); in Base64Codec()
328 this.encodeSize = 4 + lineSeparator.length; in Base64Codec()
333 if (containsBase64Byte(lineSeparator)) { in Base64Codec()
[all …]
/external/guava/guava/src/com/google/common/io/
DCharSink.java124 public void writeLines(Iterable<? extends CharSequence> lines, String lineSeparator) in writeLines() argument
126 writeLines(lines.iterator(), lineSeparator); in writeLines() local
150 public void writeLines(Stream<? extends CharSequence> lines, String lineSeparator) in writeLines() argument
152 writeLines(lines.iterator(), lineSeparator); in writeLines() local
155 private void writeLines(Iterator<? extends CharSequence> lines, String lineSeparator) in writeLines() argument
157 checkNotNull(lineSeparator); in writeLines()
161 out.append(lines.next()).append(lineSeparator); in writeLines()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowTypedArray.java91 result.append("Index: ").append(index / STYLE_NUM_ENTRIES).append(System.lineSeparator()); in dump()
92 …ppend(Strings.padEnd("Type: ", 25, ' ')).append(TYPE_MAP.get(type)).append(System.lineSeparator()); in dump()
94 …gs.padEnd("Style data: ", 25, ' ')).append(data[index+ STYLE_DATA]).append(System.lineSeparator()); in dump()
95 …d("Asset cookie ", 25, ' ')).append(data[index+STYLE_ASSET_COOKIE]).append(System.lineSeparator()); in dump()
96 …yle resourceId: ", 25, ' ')).append(data[index+ STYLE_RESOURCE_ID]).append(System.lineSeparator()); in dump()
97 …ions ", 25, ' ')).append(data[index+STYLE_CHANGING_CONFIGURATIONS]).append(System.lineSeparator()); in dump()
98 …dEnd("Style density: ", 25, ' ')).append(data[index+STYLE_DENSITY]).append(System.lineSeparator()); in dump()
101 …lue: ", 25, ' ')).append(shadowTypedArray.loadStringValueAt(index)).append(System.lineSeparator()); in dump()
104 result.append(System.lineSeparator()); in dump()
/external/google-java-format/core/src/main/java/com/google/googlejavaformat/java/
DJavaCommentsHelper.java32 private final String lineSeparator; field in JavaCommentsHelper
35 public JavaCommentsHelper(String lineSeparator, JavaFormatterOptions options) { in JavaCommentsHelper() argument
36 this.lineSeparator = lineSeparator; in JavaCommentsHelper()
82 builder.append(lineSeparator).append(Strings.repeat(" ", column0)); in preserveIndentation()
100 builder.append(lineSeparator).append(indentString).append(lines.get(i).trim()); in indentLineComments()
149 builder.append(lineSeparator).append(indentString); in indentJavadoc()
DUsageException.java24 private static final Joiner NEWLINE_JOINER = Joiner.on(System.lineSeparator());
102 builder.append(line).append(System.lineSeparator()); in appendLine()
106 NEWLINE_JOINER.appendTo(builder, lines).append(System.lineSeparator()); in appendLines()
DImportOrderer.java88 result.append(lineSeparator).append(lineSeparator); in reorderImports()
100 result.append(lineSeparator); in reorderImports()
167 private final String lineSeparator; field in ImportOrderer
174 this.lineSeparator = Newlines.guessLineSeparator(text); in ImportOrderer()
256 sb.append(lineSeparator); in toString()
373 sb.append(lineSeparator); in reorderedImportsString()
DJavaOutput.java49 private final String lineSeparator; field in JavaOutput
69 public JavaOutput(String lineSeparator, Input javaInput, CommentsHelper commentsHelper) { in JavaOutput() argument
70 this.lineSeparator = lineSeparator; in JavaOutput()
258 replacement.append(lineSeparator); in getFormatReplacements()
296 replacement.append(lineSeparator); in getFormatReplacements()
303 replacement.append(lineSeparator); in getFormatReplacements()
DFormatter.java287 String lineSeparator = Newlines.guessLineSeparator(input); in getFormatReplacements() local
289 new JavaOutput(lineSeparator, javaInput, new JavaCommentsHelper(lineSeparator, options)); in getFormatReplacements()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/
DYamlPrinter.java50 output.append(System.lineSeparator() + "..."); in output()
66 …builder.append(System.lineSeparator() + indent(level) + name + "(Type=" + metaModel.getTypeName() … in output()
68 builder.append(System.lineSeparator() + indent(level) + name + ": "); in output()
72 …builder.append(System.lineSeparator() + indent(level) + a.getName() + ": " + escapeValue(a.getValu… in output()
84 builder.append(System.lineSeparator() + indent(level) + sl.getName() + ": "); in output()
/external/guava/android/guava/src/com/google/common/io/
DCharSink.java121 public void writeLines(Iterable<? extends CharSequence> lines, String lineSeparator) in writeLines() argument
124 checkNotNull(lineSeparator); in writeLines()
130 out.append(line).append(lineSeparator); in writeLines()
/external/cldr/tools/java/org/unicode/cldr/util/props/
DBagFormatter.java61 private String lineSeparator = System.lineSeparator(); field in BagFormatter
126 pw.print(lineSeparator); in showSetDifferences()
128 pw.print(lineSeparator); in showSetDifferences()
134 pw.print(lineSeparator); in showSetDifferences()
136 pw.print(lineSeparator); in showSetDifferences()
142 pw.print(lineSeparator); in showSetDifferences()
144 pw.print(lineSeparator); in showSetDifferences()
498 output.print(lineSeparator); in toOutput()
506 output.print(tabber.process(s) + lineSeparator); in toTable()
1020 return lineSeparator; in getLineSeparator()
[all …]
/external/cldr/tools/java/org/unicode/cldr/tool/
DShowData.java71 System.lineSeparator(); in dateFooter()
237 "<script>" + System.lineSeparator() in main()
238 … + "if (location.href.split('?')[1].split(',')[0]=='hide') {" + System.lineSeparator() in main()
239 + "document.write('<style>');" + System.lineSeparator() in main()
240 + "document.write('.xx {display:none}');" + System.lineSeparator() in main()
241 … + "document.write('</style>');" + System.lineSeparator() + "}" + System.lineSeparator() in main()
415 .append(System.lineSeparator()); in main()
647 pw.print(System.lineSeparator() + "<p style='margin-left:5em'>&gt; ");
651 pw.print("</p>" + System.lineSeparator() + "<p style='margin-left:5em'> ");
727 result.append(langTagPattern).append(System.lineSeparator()); in getChartTemplate()
DShowPlurals.java56 …" + CldrUtility.getDoubleLinkedText("rules", "1. " + section1) + "</h2>" + System.lineSeparator()); in printPlurals()
61 …ldrUtility.getDoubleLinkedText("comparison", "2. " + section2) + "</h2>" + System.lineSeparator()); in printPlurals()
65 … "The fractional and integral results are separated for clarity.</p>" + System.lineSeparator()); in printPlurals()
76 pw.append(Utility.repeat("<br>", 100)).append(System.lineSeparator()); in appendBlanksForScrolling()
220 appendable.append(tablePrinter.toTable()).append(System.lineSeparator()); in printPluralTable()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/
DDHUtil.java15 String nl = Strings.lineSeparator(); in privateKeyToString()
29 String nl = Strings.lineSeparator(); in publicKeyToString()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/dh/
DDHUtil.java16 String nl = Strings.lineSeparator(); in privateKeyToString()
30 String nl = Strings.lineSeparator(); in publicKeyToString()
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/external/biz/base64Coder/
DBase64Coder.java103 String lineSeparator) { in encodeLines() argument
108 int bufLen = ((iLen + 2) / 3) * 4 + lines * lineSeparator.length(); in encodeLines()
114 buf.append(lineSeparator); in encodeLines()
/external/google-java-format/core/src/test/java/com/google/googlejavaformat/java/
DMainTest.java51 private final Joiner joiner = Joiner.on(System.lineSeparator());
364 assertThat(out.toString()).isEqualTo("<stdin>" + System.lineSeparator()); in dryRunStdinChanged()
392 + System.lineSeparator() in dryRunFiles()
394 + System.lineSeparator()); in dryRunFiles()
452 assertThat(out).isEqualTo("<stdin>" + System.lineSeparator()); in exitIfChangedStdin()
477 assertThat(out).isEqualTo(path.toAbsolutePath().toString() + System.lineSeparator()); in exitIfChangedFiles()
511 assertThat(out.toString()).isEqualTo("Foo.java" + System.lineSeparator()); in assumeFilename_dryRun()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/asymmetric/dh/
DDHUtil.java16 String nl = Strings.lineSeparator(); in privateKeyToString()
30 String nl = Strings.lineSeparator(); in publicKeyToString()
/external/google-java-format/eclipse_plugin/src/com/google/googlejavaformat/java/
DGoogleJavaFormatter.java37 int kind, String source, int offset, int length, int indentationLevel, String lineSeparator) { in format() argument
44 int kind, String source, IRegion[] regions, int indentationLevel, String lineSeparator) { in format() argument
/external/turbine/java/com/google/turbine/diag/
DTurbineDiagnostic.java74 sb.append(message().trim()).append(System.lineSeparator()); in diagnostic()
77 .append(System.lineSeparator()); in diagnostic()
DTurbineError.java100 return diagnostics.stream().map(d -> d.diagnostic()).collect(joining(System.lineSeparator())); in getMessage()
/external/dokka/core/src/main/kotlin/Formats/
DMarkdownFormatService.kt20 private val TWO_LINE_BREAKS = System.lineSeparator() + System.lineSeparator()
/external/cldr/tools/java/org/unicode/cldr/util/
DDtdData.java41 private static final String COMMENT_PREFIX = System.lineSeparator() + " ";
599 System.out.println(System.lineSeparator() + "<!ELEMENT " + name + " " + model + " >"); in handleElementDecl()
932 System.lineSeparator() + System.lineSeparator() in toString()
934 + System.lineSeparator()); in toString()
1097 b.append(System.lineSeparator()); in showComments()
1106 .append(System.lineSeparator()) in showComments()
1108 .append(System.lineSeparator()) in showComments()
1112 b.append(System.lineSeparator()); in showComments()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
DCRLDistPoint.java85 String sep = Strings.lineSeparator(); in toString()

12345