/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/ |
D | JavadocParserTest.java | 30 import static com.github.javaparser.utils.Utils.EOL; 50 JavadocParser.parse(EOL + in parseSingleLineWithNewLines() 51 " * The string image of the token." + EOL + in parseSingleLineWithNewLines() 57 String text = EOL + in parseCommentWithNewLines() 58 " * The version identifier for this Serializable class." + EOL + in parseCommentWithNewLines() 59 " * Increment only if the <i>serialized</i> form of the" + EOL + in parseCommentWithNewLines() 60 " * class changes." + EOL + in parseCommentWithNewLines() 62 … Javadoc(JavadocDescription.parseText("The version identifier for this Serializable class." + EOL + in parseCommentWithNewLines() 63 "Increment only if the <i>serialized</i> form of the" + EOL + in parseCommentWithNewLines() 70 String text = "Returns a new Token object, by default." + EOL + in parseCommentWithIndentation() [all …]
|
D | CommentsInserterTest.java | 32 import static com.github.javaparser.utils.Utils.EOL; 65 CompilationUnit cu = parse("public enum X {" + EOL + in issue200EnumConstantsWithCommentsForceVerticalAlignment() 66 " /** const1 javadoc */" + EOL + in issue200EnumConstantsWithCommentsForceVerticalAlignment() 67 " BORDER_CONSTANT," + EOL + in issue200EnumConstantsWithCommentsForceVerticalAlignment() 68 " /** const2 javadoc */" + EOL + in issue200EnumConstantsWithCommentsForceVerticalAlignment() 69 " ANOTHER_CONSTANT" + EOL + in issue200EnumConstantsWithCommentsForceVerticalAlignment() 86 CompilationUnit cu = parse("@Anno(stuff={" + EOL + in issue234LosingCommentsInArrayInitializerExpr() 87 " // Just," + EOL + in issue234LosingCommentsInArrayInitializerExpr() 88 " // an," + EOL + in issue234LosingCommentsInArrayInitializerExpr() 89 " // example" + EOL + in issue234LosingCommentsInArrayInitializerExpr() [all …]
|
D | JavaParserTest.java | 46 import static com.github.javaparser.utils.Utils.EOL; 127 String code = "class A {" + EOL in rangeOfIntersectionType() 128 + " Object f() {" + EOL in rangeOfIntersectionType() 129 …(Comparator<Map.Entry<K, V>> & Serializable)(c1, c2) -> c1.getKey().compareTo(c2.getKey()); " + EOL in rangeOfIntersectionType() 141 String code = "class A {" + EOL in rangeOfCast() 142 + " Object f() {" + EOL in rangeOfCast() 143 …(Comparator<Map.Entry<K, V>> & Serializable)(c1, c2) -> c1.getKey().compareTo(c2.getKey()); " + EOL in rangeOfCast() 154 String code = "class A {" + EOL in rangeOfCastNonIntersection() 155 + " Object f() {" + EOL in rangeOfCastNonIntersection() 156 …(Comparator<Map.Entry<K, V>> )(c1, c2) -> c1.getKey().compareTo(c2.getKey()); " + EOL in rangeOfCastNonIntersection() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/ARM/ |
D | directive_parsing.s | 7 .word 0 @ EOL COMMENT 11 .short 0 @ EOL COMMENT 15 .hword 0 @ EOL COMMENT 21 .thumb @ EOL COMMENT 26 .arm @ EOL COMMENT 30 .thumb_func @ EOL COMMENT 34 .code 16 @ EOL COMMENTS 38 .syntax unified @ EOL COMMENT 43 .unreq fred @ EOL COMMENTS 48 .fnstart @ EOL COMMENT [all …]
|
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/javadoc/ |
D | JavadocTest.java | 31 import static com.github.javaparser.utils.Utils.EOL; 45 … Javadoc javadoc = new Javadoc(JavadocDescription.parseText("first line" + EOL + "second line")); in toTextForJavadocWithTwoLinesOfJustDescription() 46 assertEquals("first line" + EOL + "second line" + EOL, javadoc.toText()); in toTextForJavadocWithTwoLinesOfJustDescription() 51 … Javadoc javadoc = new Javadoc(JavadocDescription.parseText("first line" + EOL + "second line")); in toTextForJavadocWithTwoLinesOfJustDescriptionAndOneBlockTag() 53 …assertEquals("first line" + EOL + "second line" + EOL + EOL + "@foo something useful" + EOL, javad… in toTextForJavadocWithTwoLinesOfJustDescriptionAndOneBlockTag() 59 assertEquals(new JavadocComment("" + EOL + "\t\t "), javadoc.toComment("\t\t")); in toCommentForEmptyJavadoc() 64 … Javadoc javadoc = new Javadoc(JavadocDescription.parseText("first line" + EOL + "second line")); in toCommentorJavadocWithTwoLinesOfJustDescription() 65 …assertEquals(new JavadocComment("" + EOL + "\t\t * first line" + EOL + "\t\t * second line" + EOL … in toCommentorJavadocWithTwoLinesOfJustDescription() 70 … Javadoc javadoc = new Javadoc(JavadocDescription.parseText("first line" + EOL + "second line")); in toCommentForJavadocWithTwoLinesOfJustDescriptionAndOneBlockTag() 72 …vadocComment("" + EOL + "\t\t * first line" + EOL + "\t\t * second line" + EOL + "\t\t * " + EOL +… in toCommentForJavadocWithTwoLinesOfJustDescriptionAndOneBlockTag() [all …]
|
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/printer/ |
D | PrettyPrinterTest.java | 104 final String EOL = config.getEndOfLineCharacter(); in prettyColumnAlignParameters_enabled() local 107 String expected = "class Example {" + EOL + in prettyColumnAlignParameters_enabled() 108 "" + EOL + in prettyColumnAlignParameters_enabled() 109 "\tvoid foo(Object arg0, Object arg1) {" + EOL + in prettyColumnAlignParameters_enabled() 110 "\t\tmyMethod(1," + EOL + in prettyColumnAlignParameters_enabled() 111 "\t\t 2," + EOL + in prettyColumnAlignParameters_enabled() 112 "\t\t 3," + EOL + in prettyColumnAlignParameters_enabled() 113 "\t\t 5," + EOL + in prettyColumnAlignParameters_enabled() 114 "\t\t Object.class);" + EOL + in prettyColumnAlignParameters_enabled() 115 "\t}" + EOL + in prettyColumnAlignParameters_enabled() [all …]
|
D | PrettyPrintVisitorTest.java | 37 import static com.github.javaparser.utils.Utils.EOL; 88 assertEquals("class A {" + EOL + in printSimplestClass() 89 "}" + EOL, print(node)); in printSimplestClass() 95 assertEquals("class A {" + EOL in printAClassWithField() 96 + EOL + in printAClassWithField() 97 " int a;" + EOL + in printAClassWithField() 98 "}" + EOL, print(node)); in printAClassWithField() 104 assertEquals("int x(@O X A.B.this, int y) {" + EOL + "}", print(node)); in printAReceiverParameter() 109 String code = "class A {" + EOL + in printLambdaIntersectionTypeAssignment() 110 " void f() {" + EOL + in printLambdaIntersectionTypeAssignment() [all …]
|
D | ConcreteSyntaxModelTest.java | 29 import static com.github.javaparser.utils.Utils.EOL; 59 assertEquals("class A {" + EOL + in printSimplestClass() 60 "}" + EOL, print(node)); in printSimplestClass() 66 assertEquals("class A {" + EOL in printAClassWithField() 67 + EOL + in printAClassWithField() 68 " int a;" + EOL + in printAClassWithField() 69 "}" + EOL, print(node)); in printAClassWithField() 75 assertEquals("int x(int y, int z) {" + EOL + "}", print(node)); in printParameters() 81 assertEquals("int x(X A.B.this, int y, int z) {" + EOL + "}", print(node)); in printReceiverParameter() 87 assertEquals("interface A {" + EOL + in printAnEmptyInterface() [all …]
|
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/ |
D | LexicalPreservingPrinterTest.java | 22 import static com.github.javaparser.utils.Utils.EOL; 266 …assertEquals("class A {" + EOL + " int myField;"+EOL+"}", LexicalPreservingPrinter.print(classA… in printASuperSimpleClassWithAFieldAdded() 279 …String code = "class /*a comment*/ A {\t\t"+EOL+" int f;"+EOL+EOL+EOL+" void foo(int p ) … in printASimpleCUWithoutChanges() 289 …String code = "class /*a comment*/ A {\t\t"+EOL+" int f;"+EOL+EOL+EOL+" void foo(int p ) … in printASimpleClassRemovingAField() 294 assertEquals("class /*a comment*/ A {\t\t"+ EOL + in printASimpleClassRemovingAField() 295 EOL + in printASimpleClassRemovingAField() 360 assertEquals("void foo(char p1, int p2) {"+EOL + in printASimpleMethodAddingAStatement() 361 " 10 + 2;"+ EOL + in printASimpleMethodAddingAStatement() 491 String code = "class A {" + EOL + in printLambdaIntersectionTypeAssignment() 492 " void f() {" + EOL + in printLambdaIntersectionTypeAssignment() [all …]
|
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/modules/ |
D | ModuleDeclarationTest.java | 22 import static com.github.javaparser.utils.Utils.EOL; 129 "@Foo(1) @Foo(2) @Bar " + EOL + in testPrettyPrinting() 130 "module M.N {" + EOL + in testPrettyPrinting() 131 " requires A.B;" + EOL + in testPrettyPrinting() 132 " requires transitive C.D;" + EOL + in testPrettyPrinting() 133 " requires static E.F;" + EOL + in testPrettyPrinting() 134 " requires static transitive G.H;" + EOL + in testPrettyPrinting() 135 " exports P.Q;" + EOL + in testPrettyPrinting() 136 " exports R.S to T1.U1, T2.U2;" + EOL + in testPrettyPrinting() 137 " opens P.Q;" + EOL + in testPrettyPrinting() [all …]
|
/external/emma/core/java12/ |
D | emma.java | 50 private static final String EOL = System.getProperty ("line.separator", "\n"); field in emma 53 "emma usage: emma <command> [command options]," + EOL + 54 " where <command> is one of:" + EOL + 55 EOL + 56 " run application runner {same as 'emmarun' tool};" + EOL + 57 " instr offline instrumentation processor;" + EOL + 58 " report offline report generator;" + EOL + 59 " merge offline data file merge processor." + EOL + 60 EOL + 61 " {use '<command> -h' to see usage help for a given command}" + EOL + [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/PowerPC/ |
D | directive-parse-err.s | 11 .word # EOL COMMENT 15 .word 0 # EOL COMMENT 19 .llong 0 # EOL COMMENT 23 .tc number64[TC],number64 # EOL COMMENT 27 .machine any # EOL COMMENT 31 .machine "any" # EOL COMMENT 35 .abiversion 2 # EOL COMMENT 43 .localentry callee1, .-callee1 # EOL COMMENT
|
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/ast/expr/ |
D | NameTest.java | 31 import static com.github.javaparser.utils.Utils.EOL; 70 assertEquals("import java.@Abc util.List;" + EOL, importDeclaration.toString()); in importName() 71 …assertEquals("import java.@Abc util.List;" + EOL, ConcreteSyntaxModel.genericPrettyPrint(importDec… in importName() 80 assertEquals("package @Abc p1.p2;" + EOL + EOL, cu.toString()); in packageName() 81 assertEquals("package @Abc p1.p2;" + EOL + EOL, ConcreteSyntaxModel.genericPrettyPrint(cu)); in packageName()
|
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/transformations/ast/ |
D | CompilationUnitTransformationsTest.java | 31 import static com.github.javaparser.utils.Utils.EOL; 44 assertTransformedToString("package foo.bar;"+ EOL + EOL + "class A {}", cu); in addingPackageDeclaration() 59 EOL + EOL + in replacingPackageDeclaration()
|
/external/javaparser/javaparser-core/generated-sources/javacc/com/github/javaparser/ |
D | ParseException.java | 48 protected static String EOL = "\n"; field in ParseException 145 expected.append(INDENT).append(option).append(EOL); in initialise() 167 …sb.append(EOL).append(INDENT).append("at line " + currentToken.next.beginLine + ", column " + curr… in initialise() 168 sb.append(".").append(EOL); in initialise() 174 … sb.append(EOL).append("Was expecting"+ (numExpectedTokens == 1 ? ":" : " one of:") + EOL + EOL); in initialise()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-generated-sources/com/github/javaparser/ |
D | ParseException.java | 40 protected static String EOL = "\n"; field in ParseException 137 expected.append(INDENT).append(option).append(EOL); in initialise() 159 …sb.append(EOL).append(INDENT).append("at line " + currentToken.next.beginLine + ", column " + curr… in initialise() 160 sb.append(".").append(EOL); in initialise() 166 … sb.append(EOL).append("Was expecting"+ (numExpectedTokens == 1 ? ":" : " one of:") + EOL + EOL); in initialise()
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/javadoc/ |
D | Javadoc.java | 86 sb.append(EOL); in toText() 89 sb.append(EOL); in toText() 93 sb.append(EOL); in toText() 115 sb.append(EOL); in toComment() 118 for (String line : text.split(EOL)) { in toComment() 122 sb.append(EOL); in toComment()
|
/external/oauth/core/src/main/java/net/oauth/client/httpclient4/ |
D | HttpMethodResponse.java | 103 request.append(EOL); in dump() 105 request.append(header.getName()).append(": ").append(header.getValue()).append(EOL); in dump() 111 request.append("Content-Length: ").append(contentLength).append(EOL); in dump() 114 request.append(EOL); in dump() 123 response.append(value).append(EOL); in dump() 127 response.append(name).append(": ").append(value).append(EOL); in dump() 129 response.append(EOL); in dump()
|
/external/testng/src/main/java/org/testng/reporters/ |
D | XMLStringBuffer.java | 18 private static final String EOL = System.getProperty("line.separator", "\n"); field in XMLStringBuffer 82 m_buffer.append("<?xml version=\"" + v + "\" encoding=\"" + enc + "\"?>").append(EOL); in setXmlDetails() 91 m_buffer.append("<!DOCTYPE " + docType + ">" + EOL); in setDocType() 280 m_buffer.append("/>").append(EOL); in addEmptyElement() 316 m_buffer.append(EOL); in addCDATA() 318 m_buffer.append(m_currentIndent).append("<![CDATA[").append(content).append("]]>" + EOL); in addCDATA() 355 …assert ("<family>" + EOL + "<cedric>true</cedric>" + EOL + "<alois>true</alois>" + EOL + "</family… in main()
|
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/transformations/ast/body/ |
D | AnnotationMemberDeclarationTransformationsTest.java | 35 import static com.github.javaparser.utils.Utils.EOL; 119 assertTransformedToString("@myAnno()" + EOL + "int foo();", it); in addingAnnotation() 127 assertTransformedToString("@myAnno()" + EOL + "@myAnno2()" + EOL + "int foo();", it); in addingTwoAnnotations() 139 AnnotationMemberDeclaration it = consider("@myAnno" + EOL + "int foo();"); in removingAnnotationOnPrevLine() 157 assertTransformedToString("@interface AD { /** Cool this annotation!*/" + EOL + in addingJavadoc()
|
/external/oauth/core/src/main/java/net/oauth/client/ |
D | URLConnectionClient.java | 64 headers.append(EOL); in execute() 69 headers.append(key).append(": ").append(value).append(EOL); in execute() 82 headers.append(key).append(": ").append(header.getValue()).append(EOL); in execute() 111 private static final String EOL = HttpResponseMessage.EOL; field in URLConnectionClient
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ |
D | TokenTypes.java | 4 import static com.github.javaparser.utils.Utils.EOL; 50 if (EOL.equals("\n")) { in eolTokenKind() 53 if (EOL.equals("\r\n")) { in eolTokenKind() 56 if (EOL.equals("\r")) { in eolTokenKind() 86 return JavaToken.Category.EOL; in getCategory()
|
D | JavadocParser.java | 50 List<String> cleanLines = cleanLines(normalizeEolInTextBlock(commentContent, EOL)); in parse() 59 descriptionText = trimRight(String.join(EOL, cleanLines)); in parse() 62 … descriptionText = trimRight(String.join(EOL, cleanLines.subList(0, indexOfFirstBlockTag))); in parse() 68 .collect(Collectors.joining(EOL)); in parse() 103 String[] lines = content.split(EOL); in cleanLines()
|
D | Problem.java | 27 import static com.github.javaparser.utils.Utils.EOL; 50 str.append(EOL).append("Problem stacktrace : ").append(EOL); in toString() 55 str.append(EOL); in toString()
|
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/builders/ |
D | CompilationUnitBuildersTest.java | 24 import static com.github.javaparser.utils.Utils.EOL; 53 assertEquals("import " + Map.class.getName() + ";" + EOL, cu.getImport(0).toString()); in testAddImport() 54 assertEquals("import " + List.class.getName() + ";" + EOL, cu.getImport(1).toString()); in testAddImport() 55 assertEquals("import myImport;" + EOL, cu.getImport(2).toString()); in testAddImport() 65 assertEquals("import " + testInnerClass.class.getName().replace("$", ".") + ";" + EOL, in testAddImportAnonymousClass()
|