Home
last modified time | relevance | path

Searched defs:cu (Results 1 – 25 of 260) sorted by relevance

1234567891011

/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/javaparser/contexts/
DClassOrInterfaceDeclarationContextResolutionTest.java64 CompilationUnit cu = parseSample("ClassWithTypeVariables"); in getParentForTopClass() local
74 CompilationUnit cu = parseSample("ClassWithTypeVariables"); in solveExistingGenericType() local
94 CompilationUnit cu = parseSample("ClassWithTypeVariables"); in solveUnexistingGenericType() local
105 CompilationUnit cu = parseSample("ClassWithSymbols"); in solveSymbolReferringToDeclaredInstanceField() local
116 CompilationUnit cu = parseSample("ClassWithSymbols"); in solveSymbolReferringToDeclaredStaticField() local
127 CompilationUnit cu = parseSample("ClassWithSymbols"); in solveSymbolReferringToInheritedInstanceField() local
138 CompilationUnit cu = parseSample("ClassWithSymbols"); in solveSymbolReferringToInterfaceInheritedInstanceField() local
149 CompilationUnit cu = parseSample("ClassWithSymbols"); in solveSymbolReferringToInheritedStaticField() local
160 CompilationUnit cu = parseSample("ClassWithSymbols"); in solveSymbolReferringToUnknownElement() local
170 CompilationUnit cu = parseSample("ClassWithSymbols"); in solveSymbolAsValueReferringToDeclaredInstanceField() local
[all …]
DCompilationUnitContextResolutionTest.java64 CompilationUnit cu = parseSample("ClassWithTypeVariables"); in getParent() local
72 CompilationUnit cu = parseSample("ClassWithTypeVariables"); in solveExistingGenericType() local
86 CompilationUnit cu = parseSample("ClassWithTypeVariables"); in solveUnexistingGenericType() local
96 CompilationUnit cu = parseSample("CompilationUnitSymbols"); in solveSymbolReferringToStaticallyImportedValue() local
111 CompilationUnit cu = parseSample("CompilationUnitSymbols"); in solveSymbolReferringToStaticallyImportedUsingAsteriskValue() local
125 CompilationUnit cu = parseSample("CompilationUnitSymbols"); in solveSymbolReferringToStaticField() local
135 CompilationUnit cu = parseSample("CompilationUnitSymbols"); in solveSymbolAsValueReferringToStaticallyImportedValue() local
148 CompilationUnit cu = parseSample("CompilationUnitSymbols"); in solveSymbolAsValueReferringToStaticallyImportedUsingAsteriskValue() local
161 CompilationUnit cu = parseSample("CompilationUnitSymbols"); in solveSymbolAsValueReferringToStaticField() local
171 CompilationUnit cu = parseSample("CompilationUnitWithImports"); in solveTypeInSamePackage() local
[all …]
DEnumDeclarationContextResolutionTest.java51 CompilationUnit cu = parseSample("AnEnum"); in solveSymbolReferringToDeclaredInstanceField() local
62 CompilationUnit cu = parseSample("AnEnum"); in solveSymbolReferringToDeclaredStaticField() local
73 CompilationUnit cu = parseSample("AnEnum"); in solveSymbolReferringToValue() local
84 CompilationUnit cu = parseSample("AnEnum"); in solveSymbolAsValueReferringToDeclaredInstanceField() local
95 CompilationUnit cu = parseSample("AnEnum"); in solveSymbolAsValueReferringToDeclaredStaticField() local
106 CompilationUnit cu = parseSample("AnEnum"); in solveSymbolAsValueReferringToValue() local
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/printer/
DPrettyPrinterTest.java48 CompilationUnit cu = parse(code); in prettyPrintField() local
53 CompilationUnit cu = parse(code); in prettyPrintVar() local
96 CompilationUnit cu = parse(code); in prettyPrintConfigurable() local
190 CompilationUnit cu = parse("enum X{A, B, C, D, E}"); in enumConstantsHorizontally() local
196 CompilationUnit cu = parse("enum X{A, B, C, D, E, F}"); in enumConstantsVertically() local
218 …CompilationUnit cu = parse("class Foo { void bar() { a.b.c.d.e; a.b.c().d().e(); a.b.c().d.e(); fo… in prettyAlignMethodCallChainsIndentsArgumentsWithBlocksCorrectly() local
259 Statement cu = parseStatement("if (x.y().z()) { boo().baa().bee(); }"); in noChainsIndentsInIf() local
272 Statement cu = parseStatement("for(int x=1; x.y().z(); x.z().z()) { boo().baa().bee(); }"); in noChainsIndentsInFor() local
285 Statement cu = parseStatement("while(x.y().z()) { boo().baa().bee(); }"); in noChainsIndentsInWhile() local
299 …CompilationUnit cu = parse("class Foo { void bar() { foo().bar().baz(() -> { boo().baa().bee(a, b,… in indentWithTabsAsFarAsPossible() local
[all …]
DPrettyPrintVisitorTest.java115 CompilationUnit cu = parse(code); in printLambdaIntersectionTypeAssignment() local
136 CompilationUnit cu = parse(code); in printLambdaIntersectionTypeReturn() local
145 CompilationUnit cu = parse(code); in printClassWithoutJavaDocButWithComment() local
154 CompilationUnit cu = parse(code); in printImportsDefaultOrder() local
167 CompilationUnit cu = parse(code); in printImportsOrdered() local
180 CompilationUnit cu = new CompilationUnit(); in multilineJavadocGetsFormatted() local
197 CompilationUnit cu = new CompilationUnit(); in emptyJavadocGetsFormatted() local
211 CompilationUnit cu = new CompilationUnit(); in multilineJavadocWithLotsOfEmptyLinesGetsFormattedNeatly() local
228 CompilationUnit cu = new CompilationUnit(); in singlelineJavadocGetsFormatted() local
243 CompilationUnit cu = new CompilationUnit(); in javadocAlwaysGetsASpaceBetweenTheAsteriskAndTheRestOfTheLine() local
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/
DGenericsResolutionTest.java51 CompilationUnit cu = parseSample("Generics"); in resolveFieldWithGenericTypeToString() local
68 CompilationUnit cu = parseSample("Generics"); in resolveFieldWithGenericTypeToDeclaredClass() local
85 CompilationUnit cu = parseSample("Generics"); in resolveFieldWithGenericTypeToInteger() local
102 CompilationUnit cu = parseSample("Generics"); in resolveFieldOfVariableType() local
119 CompilationUnit cu = parseSample("Generics"); in resolveFieldOfGenericReferringToVariableType() local
140 CompilationUnit cu = parseSample("Generics"); in resolveUsageOfGenericFieldSimpleCase() local
156 CompilationUnit cu = parseSample("Generics"); in resolveUsageOfGenericFieldIntermediateCase() local
172 CompilationUnit cu = parseSample("Generics"); in resolveUsageOfGenericFieldAdvancedCase() local
190 CompilationUnit cu = parseSample("Generics"); in resolveUsageOfMethodOfGenericClass() local
202 CompilationUnit cu = parseSample("GenericsWildcard"); in resolveUsageOfMethodOfGenericClassWithUnboundedWildcard() local
[all …]
DAnnotationsResolutionTest.java55 CompilationUnit cu = parseSample("Annotations"); in solveJavaParserMarkerAnnotation() local
71 CompilationUnit cu = parseSample("Annotations"); in solveJavaParserSingleMemberAnnotation() local
87 CompilationUnit cu = parseSample("Annotations"); in solveJavaParserNormalAnnotation() local
103 CompilationUnit cu = parseSample("Annotations"); in solveReflectionMarkerAnnotation() local
120 CompilationUnit cu = parseSample("Annotations"); in solveReflectionSingleMemberAnnotation() local
140 CompilationUnit cu = parseSample("Annotations"); in solveJavassistMarkerAnnotation() local
157 CompilationUnit cu = parseSample("Annotations"); in solveJavassistSingleMemberAnnotation() local
174 CompilationUnit cu = parseSample("Annotations"); in solveJavassistNormalAnnotation() local
191 CompilationUnit cu = parseSample("Annotations"); in solveJavaParserMetaAnnotations() local
208 CompilationUnit cu = parseSample("Annotations"); in solveReflectionMetaAnnotations() local
[all …]
DMethodsResolutionTest.java60 CompilationUnit cu = parseSample("PlatformTestUtil"); in testConsistentMethodResultion() local
107 CompilationUnit cu = parseSample("AccessThroughSuper"); in solveMethodAccessThroughSuper() local
119 CompilationUnit cu = parseSample("ClassExpression"); in solveMethodWithClassExpressionAsParameter() local
130 CompilationUnit cu = parseSample("MethodCalls"); in solveMethodInInterfaceParent() local
145 CompilationUnit cu = parseSample("Issue338"); in solveMethodWithTypePromotionsToLong() local
179 CompilationUnit cu = parseSample("Issue338"); in solveMethodWithTypePromotionsToInt() local
212 CompilationUnit cu = parseSample("Issue338"); in solveMethodWithTypePromotionsToShort() local
244 CompilationUnit cu = parseSample("Issue338"); in solveMethodWithTypePromotionsToByte() local
275 CompilationUnit cu = parseSample("Issue338"); in solveMethodWithTypePromotionsToLongWithExtraParam() local
309 CompilationUnit cu = parseSample("Issue338"); in solveMethodWithTypePromotionsToIntWithExtraParam() local
[all …]
DContextTest.java68 CompilationUnit cu = parseSample("ReferencesToField"); in resolveDeclaredFieldReference() local
84 CompilationUnit cu = parseSample("ReferencesToField"); in resolveInheritedFieldReference() local
100 CompilationUnit cu = parseSample("ReferencesToParameter"); in resolveParameterReference() local
115 CompilationUnit cu = parseSample("Navigator"); in resolveReferenceToImportedType() local
138 CompilationUnit cu = parseSample("Navigator2"); in resolveReferenceUsingQualifiedName() local
162 CompilationUnit cu = parseSample("Navigator3"); in resolveReferenceToClassesInTheSamePackage() local
185 CompilationUnit cu = parseSample("Navigator"); in resolveReferenceToClassInJavaLang() local
209 CompilationUnit cu = parseSample("Navigator"); in resolveReferenceToMethod() local
228 CompilationUnit cu = parseSample("Navigator"); in resolveCascadeOfReferencesToMethod() local
244 CompilationUnit cu = parseSample("ArrayAccess"); in resolveReferenceToMethodCalledOnArrayAccess() local
[all …]
DFieldsResolutionTest.java57 CompilationUnit cu = parseSample("AccessClassMemberThroughThis"); in accessClassFieldThroughThis() local
69 CompilationUnit cu = parseSample("AccessClassMemberThroughThis"); in accessClassFieldThroughThisWithCompetingSymbolInParentContext() local
87 CompilationUnit cu = parseSample("AccessEnumMemberThroughThis"); in accessEnumFieldThroughThis() local
99 CompilationUnit cu = parseSample("AccessEnumMemberThroughThis"); in accessEnumMethodThroughThis() local
111 CompilationUnit cu = parseSample("AccessThroughSuper"); in accessClassFieldThroughSuper() local
127 CompilationUnit cu = parseSample("AccessClassMemberThroughThis"); in resolveClassFieldThroughThis() local
149 CompilationUnit cu = parseSample("AccessThroughSuper"); in resolveClassFieldThroughSuper() local
172 CompilationUnit cu = parseSample("ClassExtendingUnknownClass"); in resolveClassFieldOfClassExtendingUnknownClass1() local
194 CompilationUnit cu = parseSample("ClassExtendingUnknownClass"); in resolveClassFieldOfClassExtendingUnknownClass2() local
216 CompilationUnit cu = parseSample("ReflectionTypeSolverFieldFromInterfaceResolution"); in resolveInheritedFieldFromInterface() local
DLambdaResolutionTest.java37 CompilationUnit cu = parseSample("Lambda"); in lambdaMapParameter() local
51 CompilationUnit cu = parseSample("Lambda"); in personsStream() local
65 CompilationUnit cu = parseSample("Lambda"); in lambdaMap() local
83 CompilationUnit cu = parseSample("Lambda"); in lambdaReduce() local
96 CompilationUnit cu = parseSample("Lambda"); in lambdaPrint() local
109 CompilationUnit cu = parseSample("Lambda"); in lambdaBifunc() local
122 CompilationUnit cu = parseSample("LambdaCollect"); in lambdaCollectParam() local
137 CompilationUnit cu = parseSample("LambdaCollect"); in lambdaCollect() local
150 CompilationUnit cu = parseSample("LambdaMulti"); in lambdaBlockExplicitReturn() local
163 CompilationUnit cu = parseSample("LambdaMulti"); in lambdaBlockMultiLineReturn() local
[all …]
DStatementContextResolutionTest.java39 CompilationUnit cu = parseSample("LocalVariableInParent"); in resolveLocalVariableInParentOfParent() local
51 CompilationUnit cu = parseSample("LocalVariableInParent"); in resolveLocalVariableInParent() local
63 CompilationUnit cu = parseSample("LocalVariableInParent"); in resolveLocalVariableInSameParent() local
75 CompilationUnit cu = parseSample("LocalVariableInParent"); in resolveLocalAndSeveralAnnidatedLevels() local
92 CompilationUnit cu = parseSample("LocalVariableInParent"); in resolveMethodOnGenericClass() local
DConstructorsResolutionTest.java34 CompilationUnit cu = parseSample("ConstructorCalls"); in solveNormalConstructor() local
53 CompilationUnit cu = parseSample("ConstructorCalls"); in solveInnerClassConstructor() local
72 CompilationUnit cu = parseSample("ConstructorCalls"); in solveInnerClassConstructorWithNewScope() local
91 CompilationUnit cu = parseSample("ConstructorCalls"); in solveInnerInnerClassConstructor() local
113 CompilationUnit cu = parseSample("ConstructorCallsEnum"); in solveEnumConstructor() local
129 CompilationUnit cu = parseSample("ReflectionTypeSolverConstructorResolution"); in solveNonPublicParentConstructorReflection() local
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/
DJavaParserAPIIntegrationTest.java51 CompilationUnit cu = parseWithSymbolResolution(f); in annotationDeclarationResolve() local
62 …CompilationUnit cu = new JavaParser(parserConfiguration).parse(ParseStart.COMPILATION_UNIT, provid… in annotationMemberDeclarationResolve() local
72 CompilationUnit cu = parseWithSymbolResolution(f); in classDeclarationResolve() local
80 CompilationUnit cu = parseWithSymbolResolution(f); in interfaceDeclarationResolve() local
96 CompilationUnit cu = parseWithSymbolResolution(f); in constructorDeclarationResolve() local
104 CompilationUnit cu = parseWithSymbolResolution(f); in enumDeclarationResolve() local
113 CompilationUnit cu = parseWithSymbolResolution(f); in enumConstantDeclarationResolve() local
124 CompilationUnit cu = parseWithSymbolResolution(f); in fieldDeclarationResolve() local
136 CompilationUnit cu = parseWithSymbolResolution(f); in methodDeclarationResolve() local
150 …CompilationUnit cu = new JavaParser(parserConfiguration).parse(ParseStart.COMPILATION_UNIT, provid… in parameterDeclarationResolve() local
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/modules/
DModuleDeclarationTest.java35 CompilationUnit cu = parse("class module { }"); in moduleInfoKeywordsAreSeenAsIdentifiers() local
42 CompilationUnit cu = parse("module X { requires transitive; }"); in issue988RequireTransitiveShouldRequireAModuleCalledTransitive() local
50 CompilationUnit cu = parse( in jlsExample1() local
101 CompilationUnit cu = parse("open module M.N {}"); in jlsExample2HasAnOpenModule() local
110 CompilationUnit cu = parse( in testPrettyPrinting() local
149 CompilationUnit cu = parse( in testCsmPrinting() local
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/ast/
DCompilationUnitTest.java50 CompilationUnit cu = parse(testFile); in testGetSourceRoot() local
71 CompilationUnit cu = parse(testFile); in testGetSourceRootInDefaultPackage() local
80 CompilationUnit cu = parse(testFile); in testGetPrimaryTypeName() local
87 CompilationUnit cu = parse("class PrimaryType{}"); in testNoPrimaryTypeName() local
95 CompilationUnit cu = parse(testFile); in testGetPrimaryType() local
104 CompilationUnit cu = parse(testFile); in testNoPrimaryType() local
DNodeTest.java55 CompilationUnit cu = parse(code); in registerSubTree() local
85 CompilationUnit cu = parse(code); in registerWithJustNodeMode() local
113 CompilationUnit cu = parse(code); in registerWithNodeAndExistingDescendantsMode() local
149 CompilationUnit cu = parse(code); in registerWithSelfPropagatingMode() local
188 CompilationUnit cu = parse(code); in deleteAParameterTriggerNotifications() local
206 CompilationUnit cu = parse(code); in deleteClassNameDoesNotTriggerNotifications() local
225 CompilationUnit cu = parse(code); in deleteMethodBodyDoesTriggerNotifications() local
311 CompilationUnit cu = parse("class X {\n" + in findCompilationUnitOfCommentNode() local
327 CompilationUnit cu = parse("class X {\n" + in findCompilationUnitOfOrphanCommentNode() local
342 CompilationUnit cu = parse("class X{ void x(){}}"); in removeAllOnRequiredProperty() local
[all …]
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/
DParseErrorRecoveryTest.java18 … CompilationUnit cu = parser.parse(ParseStart.COMPILATION_UNIT, provider("XXX")).getResult().get(); in compilationUnitRecovery() local
24 …MethodDeclaration cu = parser.parse(ParseStart.CLASS_BODY, provider("int x(){X X X;}")).getResult(… in bodystatementSemicolonRecovery() local
31 …MethodDeclaration cu = parser.parse(ParseStart.CLASS_BODY, provider("int x(){X X X}")).getResult()… in bodystatementClosingBraceRecovery() local
38 …CompilationUnit cu = parser.parse(ParseStart.COMPILATION_UNIT, provider("class X{int x(){aaa:X X X… in labeledStatementSemicolonRecovery() local
DJavaParserTest.java75 CompilationUnit cu = parse(code); in rangeOfAnnotationMemberDeclarationIsCorrect() local
84 CompilationUnit cu = parseWithUnicodeEscapes(code).getResult().get(); in testSourcePositionsWithUnicodeEscapes() local
96 ParseResult<CompilationUnit> cu = parseWithUnicodeEscapes(code); in testSourcePositionsWithBrokenUnicodeEscapes() local
110 CompilationUnit cu = parse(code); in rangeOfAnnotationMemberDeclarationWithArrayTypeIsCorrect() local
177 CompilationUnit cu = parse(code); in rangeOfIntersectionType() local
191 CompilationUnit cu = parse(code); in rangeOfCast() local
204 CompilationUnit cu = parse(code); in rangeOfCastNonIntersection() local
217 CompilationUnit cu = parse(code); in rangeOfLambda() local
233 CompilationUnit cu = parse(code); in rangeOfLambdaBody() local
/external/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
DDWARFDebugInfoEntry.cpp40 const DWARFUnit *cu, in Extract()
227 DWARFUnit *cu, const char *&name, const char *&mangled, in GetDIENamesAndRanges()
402 size_t DWARFDebugInfoEntry::GetAttributes(DWARFUnit *cu, in GetAttributes()
465 const DWARFUnit *cu, const dw_attr_t attr, DWARFFormValue &form_value, in GetAttributeValue()
522 const DWARFUnit *cu, const dw_attr_t attr, const char *fail_value, in GetAttributeValueAsString()
535 const DWARFUnit *cu, const dw_attr_t attr, uint64_t fail_value, in GetAttributeValueAsUnsigned()
549 const DWARFUnit *cu, const dw_attr_t attr, in GetAttributeValueAsReference()
559 const DWARFUnit *cu, const dw_attr_t attr, uint64_t fail_value, in GetAttributeValueAsAddress()
575 const DWARFUnit *cu, dw_addr_t lo_pc, uint64_t fail_value, in GetAttributeHighPC()
598 const DWARFUnit *cu, dw_addr_t &lo_pc, dw_addr_t &hi_pc, in GetAttributeAddressRange()
[all …]
DDWARFBaseDIE.h29 DWARFBaseDIE(DWARFUnit *cu, DWARFDebugInfoEntry *die) in DWARFBaseDIE()
32 DWARFBaseDIE(const DWARFUnit *cu, DWARFDebugInfoEntry *die) in DWARFBaseDIE()
35 DWARFBaseDIE(DWARFUnit *cu, const DWARFDebugInfoEntry *die) in DWARFBaseDIE()
38 DWARFBaseDIE(const DWARFUnit *cu, const DWARFDebugInfoEntry *die) in DWARFBaseDIE()
60 void Set(DWARFUnit *cu, DWARFDebugInfoEntry *die) { in Set()
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/ast/body/
DClassOrInterfaceDeclarationTest.java14 CompilationUnit cu = parse("class X{static class Y{}}"); in staticNestedClass() local
24 CompilationUnit cu = parse("class X{interface Y{}}"); in nestedInterface() local
34 CompilationUnit cu = parse("class X{class Y{}}"); in nonStaticNestedClass() local
44 CompilationUnit cu = parse("class X{}"); in topClass() local
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/
DJavaParserAnonymousClassDeclarationTest.java22 CompilationUnit cu = parseSample("AnonymousClassDeclarations"); in anonymousClassAsMethodArgument() local
38 CompilationUnit cu = parseSample("AnonymousClassDeclarations"); in callingSuperClassInnerClassMethod() local
54 CompilationUnit cu = parseSample("AnonymousClassDeclarations"); in callingAnonymousClassInnerMethod() local
71 CompilationUnit cu = parseSample("AnonymousClassDeclarations"); in usingAnonymousSuperClassInnerType() local
86 CompilationUnit cu = parseSample("AnonymousClassDeclarations"); in usingAnonymousClassInnerType() local
101 CompilationUnit cu = parseSample("AnonymousClassDeclarations"); in callingScopedAnonymousClassInnerMethod() local
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/ast/comments/
DCommentTest.java70 CompilationUnit cu = parse("// xxx\\u2122xxx"); in unicodeEscapesArePreservedInComments() local
78 CompilationUnit cu = parse("public class MyClass {" + EOL + in testReplaceDuplicateJavaDocComment() local
119 CompilationUnit cu = parse("public class MyClass {" + EOL + in testRemoveDuplicateComment() local
157 CompilationUnit cu = parse("public class MyClass {" + EOL + in testRemoveDuplicateJavaDocComment() local
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/reflectionmodel/
DSymbolResolutionResolutionTest.java40 CompilationUnit cu = parseSample("ReflectionFieldOfItself"); in getTypeOfField() local
51 CompilationUnit cu = parseSample("ReflectionFieldOfItself"); in getTypeOfFieldAccess() local
62 CompilationUnit cu = parseSample("JreConditionalExpression"); in conditionalExpressionExample() local
75 CompilationUnit cu = parseSample("JreConditionalExpression"); in conditionalExpressionExampleFollowUp1() local

1234567891011