/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/ |
D | LexicalDifferenceCalculatorTest.java | 73 assertEquals(new CsmChild(annotationDeclaration.getMember(0)), csm.elements.get(i++)); in annotationDeclarationModifiersExampleOriginal() 75 assertEquals(new CsmChild(annotationDeclaration.getMember(1)), csm.elements.get(i++)); in annotationDeclarationModifiersExampleOriginal() 77 assertEquals(new CsmChild(annotationDeclaration.getMember(2)), csm.elements.get(i++)); in annotationDeclarationModifiersExampleOriginal() 79 assertEquals(new CsmChild(annotationDeclaration.getMember(3)), csm.elements.get(i++)); in annotationDeclarationModifiersExampleOriginal() 81 assertEquals(new CsmChild(annotationDeclaration.getMember(4)), csm.elements.get(i++)); in annotationDeclarationModifiersExampleOriginal() 83 assertEquals(new CsmChild(annotationDeclaration.getMember(5)), csm.elements.get(i++)); in annotationDeclarationModifiersExampleOriginal() 106 assertEquals(new CsmChild(annotationDeclaration.getMember(0)), csm.elements.get(i++)); in annotationDeclarationModifiersExampleModified() 108 assertEquals(new CsmChild(annotationDeclaration.getMember(1)), csm.elements.get(i++)); in annotationDeclarationModifiersExampleModified() 110 assertEquals(new CsmChild(annotationDeclaration.getMember(2)), csm.elements.get(i++)); in annotationDeclarationModifiersExampleModified() 112 assertEquals(new CsmChild(annotationDeclaration.getMember(3)), csm.elements.get(i++)); in annotationDeclarationModifiersExampleModified() [all …]
|
D | DifferenceElementCalculatorTest.java | 117 … assertEquals(kept(new CsmChild(annotationDeclaration.getMember(0))), differenceElements.get(i++)); in annotationDeclarationExampleWithModifierAdded() 119 … assertEquals(kept(new CsmChild(annotationDeclaration.getMember(1))), differenceElements.get(i++)); in annotationDeclarationExampleWithModifierAdded() 121 … assertEquals(kept(new CsmChild(annotationDeclaration.getMember(2))), differenceElements.get(i++)); in annotationDeclarationExampleWithModifierAdded() 123 … assertEquals(kept(new CsmChild(annotationDeclaration.getMember(3))), differenceElements.get(i++)); in annotationDeclarationExampleWithModifierAdded() 125 … assertEquals(kept(new CsmChild(annotationDeclaration.getMember(4))), differenceElements.get(i++)); in annotationDeclarationExampleWithModifierAdded() 127 … assertEquals(kept(new CsmChild(annotationDeclaration.getMember(5))), differenceElements.get(i++)); in annotationDeclarationExampleWithModifierAdded() 153 … assertEquals(kept(new CsmChild(annotationDeclaration.getMember(0))), differenceElements.get(i++)); in annotationDeclarationExampleWithNameChanged() 155 … assertEquals(kept(new CsmChild(annotationDeclaration.getMember(1))), differenceElements.get(i++)); in annotationDeclarationExampleWithNameChanged() 157 … assertEquals(kept(new CsmChild(annotationDeclaration.getMember(2))), differenceElements.get(i++)); in annotationDeclarationExampleWithNameChanged() 159 … assertEquals(kept(new CsmChild(annotationDeclaration.getMember(3))), differenceElements.get(i++)); in annotationDeclarationExampleWithNameChanged() [all …]
|
D | TransformationsTest.java | 90 FieldDeclaration fd = cu.getClassByName("A").get().getMember(0).asFieldDeclaration(); in example8() 98 FieldDeclaration fd = cu.getClassByName("A").get().getMember(0).asFieldDeclaration(); in example9() 113 MethodDeclaration md = cu.getClassByName("A").get().getMember(0).asMethodDeclaration(); in exampleParam1() 121 MethodDeclaration md = cu.getClassByName("A").get().getMember(0).asMethodDeclaration(); in exampleParam2() 130 MethodDeclaration md = cu.getClassByName("A").get().getMember(0).asMethodDeclaration(); in exampleParam3() 138 MethodDeclaration md = cu.getClassByName("A").get().getMember(0).asMethodDeclaration(); in exampleParam4() 146 MethodDeclaration md = cu.getClassByName("A").get().getMember(0).asMethodDeclaration(); in exampleParam5()
|
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/ast/ |
D | AncestorDescendantTests.java | 25 .getMember(0).asMethodDeclaration() // method foo() in nodeIsNotAncestorOfItself() 43 .getMember(0).asMethodDeclaration() // method foo() in nodeIsNotDescendantOfItself() 61 .getMember(0).asMethodDeclaration() // method foo() in nodeInSameFileIsDescendantOfAncestor() 89 .getMember(0).asMethodDeclaration() // method foo() in nodesInTwoDifferentFilesAreNotDescendantOrAncestorOfEachOther() 97 .getMember(0).asMethodDeclaration() // method foo() in nodesInTwoDifferentFilesAreNotDescendantOrAncestorOfEachOther()
|
D | FindNodeTest.java | 36 MethodCallExpr expected = cu.getType(0).getMember(0) in testFindFirst() 76 BlockStmt expected = cu.getType(0).getMember(0) in testFindAncestralFinallyBlock()
|
D | NodeTest.java | 318 Comment comment = cu.getType(0).getMember(0) in findCompilationUnitOfCommentNode() 333 Comment comment = cu.getType(0).getMember(0) in findCompilationUnitOfOrphanCommentNode() 368 …VariableDeclarator x = cu.getClassByName("X").get().getMember(0).asFieldDeclaration().getVariables… in findCompilationUnit() 375 …SimpleName x = cu.getClassByName("X").get().getMember(0).asFieldDeclaration().getVariables().get(0… in findParent()
|
/external/clang/test/FixIt/ |
D | typo.cpp | 58 int getMember() const { in getMember() function 62 int &getMember(); 65 int &Derived::getMember() { in getMember() function in Derived
|
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/builders/ |
D | FieldDeclarationBuildersTest.java | 55 assertEquals(MethodDeclaration.class, testClass.getMember(1).getClass()); in testCreateGetterInAClass() 68 assertEquals(MethodDeclaration.class, testClass.getMember(1).getClass()); in testCreateSetterInAClass() 82 assertEquals(MethodDeclaration.class, testEnum.getMember(1).getClass()); in testCreateGetterInEnum() 95 assertEquals(MethodDeclaration.class, testEnum.getMember(1).getClass()); in testCreateSetterInEnum()
|
D | NodeWithMembersBuildersTest.java | 43 assertEquals(addField, classDeclaration.getMember(0)); in testAddField() 51 assertEquals(addMethod, classDeclaration.getMember(0)); in testAddMethod() 59 assertEquals(addCtor, classDeclaration.getMember(0)); in testAddCtor() 67 assertEquals(InitializerDeclaration.class, classDeclaration.getMember(0).getClass()); in testAddInitializers() 71 assertEquals(InitializerDeclaration.class, classDeclaration.getMember(0).getClass()); in testAddInitializers()
|
/external/guice/core/test/com/google/inject/spi/ |
D | InjectionPointTest.java | 64 assertSame(fooField, injectionPoint.getMember()); in testFieldInjectionPoint() 78 assertEquals(fooField, dependency.getInjectionPoint().getMember()); in testFieldInjectionPoint() 93 assertSame(barMethod, injectionPoint.getMember()); in testMethodInjectionPoint() 107 assertEquals(barMethod, dependency.getInjectionPoint().getMember()); in testMethodInjectionPoint() 123 assertSame(constructor, injectionPoint.getMember()); in testConstructorInjectionPoint() 137 assertEquals(constructor, dependency.getInjectionPoint().getMember()); in testConstructorInjectionPoint() 166 assertSame(constructor, injectionPoint.getMember()); in testForConstructor() 370 methods.add(point.getMember().getName()); in assertPoints()
|
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/ |
D | JavaParserTest.java | 76 …ation memberDeclaration = cu.getAnnotationDeclarationByName("AD").get().getMember(0).asAnnotationM… in rangeOfAnnotationMemberDeclarationIsCorrect() 85 …ation memberDeclaration = cu.getAnnotationDeclarationByName("AD").get().getMember(0).asAnnotationM… in testSourcePositionsWithUnicodeEscapes() 111 …ation memberDeclaration = cu.getAnnotationDeclarationByName("AD").get().getMember(0).asAnnotationM… in rangeOfAnnotationMemberDeclarationWithArrayTypeIsCorrect() 178 …MethodDeclaration methodDeclaration = cu.getClassByName("A").get().getMember(0).asMethodDeclaratio… in rangeOfIntersectionType() 192 …MethodDeclaration methodDeclaration = cu.getClassByName("A").get().getMember(0).asMethodDeclaratio… in rangeOfCast() 205 …MethodDeclaration methodDeclaration = cu.getClassByName("A").get().getMember(0).asMethodDeclaratio… in rangeOfCastNonIntersection() 218 …MethodDeclaration methodDeclaration = cu.getClassByName("A").get().getMember(0).asMethodDeclaratio… in rangeOfLambda() 234 …MethodDeclaration methodDeclaration = cu.getClassByName("A").get().getMember(0).asMethodDeclaratio… in rangeOfLambdaBody()
|
/external/guice/extensions/grapher/src/com/google/inject/grapher/ |
D | DefaultNodeCreator.java | 87 members.add(injectionPoint.getMember()); in newInstanceNode() 101 members.add(binding.getConstructor().getMember()); in visit() 103 members.add(injectionPoint.getMember()); in visit()
|
/external/clang/test/SemaTemplate/ |
D | instantiate-member-pointers.cpp | 43 int &getMember(Y& y) { return y.*Member; } in getMember() function 47 return x4.getMember(y); in get_X4()
|
/external/guice/core/src/com/google/inject/internal/ |
D | InternalProvisionException.java | 140 if (dependency.getInjectionPoint().getMember() instanceof Method) { in onNullInjectedIntoNonNullableDependency() 141 Method annotated = (Method) dependency.getInjectionPoint().getMember(); in onNullInjectedIntoNonNullableDependency() 168 : StackTraceElements.forMember(dependency.getInjectionPoint().getMember()); in onNullInjectedIntoNonNullableDependency()
|
D | ConstructorBindingImpl.java | 116 if (failIfNotExplicit && !hasAtInject((Constructor) constructorInjector.getMember())) { in create() 126 Class<?> annotatedType = constructorInjector.getMember().getDeclaringClass(); in create() 250 (Constructor) getConstructor().getMember(), in applyTo()
|
D | Messages.java | 263 Member member = injectionPoint.getMember(); in formatInjectionPoint() 276 formatSource(formatter, injectionPoint.getMember()); in formatInjectionPoint() 286 StackTraceElements.forMember(dependency.getInjectionPoint().getMember())); in formatParameter()
|
D | SingleFieldInjector.java | 34 this.field = (Field) injectionPoint.getMember(); in SingleFieldInjector()
|
D | ProxyFactory.java | 67 Constructor<T> constructor = (Constructor<T>) injectionPoint.getMember(); in ProxyFactory() 255 this.constructor = (Constructor<T>) injectionPoint.getMember(); in ProxyConstructor()
|
/external/javaparser/javaparser-core-testing-bdd/src/test/java/com/github/javaparser/steps/ |
D | ParsingSteps.java | 99 …ConstructorDeclaration constructor = (ConstructorDeclaration) clazz.getMember(constructorPosition … in thenTheConstructorDeclarationAsAStringIs() 107 …ConstructorDeclaration constructor = (ConstructorDeclaration) clazz.getMember(constructorPosition … in thenConstructorInClassDeclarationShortFormAsAStringIs() 115 MethodDeclaration method = (MethodDeclaration) clazz.getMember(methodPosition - 1); in thenMethod1InClass1DeclarationAsAStringIs() 123 MethodDeclaration method = (MethodDeclaration) clazz.getMember(methodPosition - 1); in thenMethodInClassDeclarationAsAStringShortFormIs() 328 ConstructorDeclaration ctor = classDeclaration.getMember(1).asConstructorDeclaration(); in thenTheAssignExprProducedDoesntHaveANullTarget()
|
/external/deqp/framework/opengl/ |
D | gluVarTypeUtil.cpp | 120 if (memberName == curType.getStructPtr()->getMember(ndx).getName()) in parseTypePath() 181 const StructMember& member = curType->getStructPtr()->getMember(iter->index); in operator <<()
|
/external/deqp/modules/gles31/functional/ |
D | es31fProgramInterfaceDefinitionUtil.cpp | 183 …ypeResourceNames(resources, name + "." + structType->getMember(ndx).getName(), structType->getMemb… in generateVariableTypeResourceNames() 311 collectNamedStructureDefinitions(dst, type.getStructPtr()->getMember(ndx).getType()); in collectNamedStructureDefinitions() 340 …) << glu::declare(namedStructs[structNdx]->getMember(memberNdx).getType(), namedStructs[structNdx]… in writeStructureDefinitions() 425 name + "." + varType.getStructPtr()->getMember(ndx).getName(), in writeVariableReadAccumulateExpression() 429 varType.getStructPtr()->getMember(ndx).getType()); in writeVariableReadAccumulateExpression() 584 name + "." + varType.getStructPtr()->getMember(ndx).getName(), in writeVariableWriteExpression() 588 varType.getStructPtr()->getMember(ndx).getType()); in writeVariableWriteExpression() 709 if (type.getStructPtr()->getMember(memberNdx).getName() == tokenizer.getIdentifier()) in traverseVariablePath() 710 … subPath + tokenizer.getCurrentTokenEndLocation(), type.getStructPtr()->getMember(memberNdx).getTy… in traverseVariablePath() 831 if (containsSubType(complexType.getStructPtr()->getMember(ndx).getType(), basicType)) in containsSubType() [all …]
|
D | es31fProgramInterfaceDefinition.cpp | 75 if (containsMatchingSubtype(varType.getStructPtr()->getMember(memberNdx).getType(), predicate)) in containsMatchingSubtype() 160 if (isIllegalVertexOutput(varType.getStructPtr()->getMember(ndx).getType(), true, insideAnArray)) in isIllegalVertexOutput() 213 if (isTypeIntegerOrContainsIntegers(varType.getStructPtr()->getMember(ndx).getType())) in isTypeIntegerOrContainsIntegers() 432 collectStructPtrs(dst, type.getStructPtr()->getMember(memberNdx).getType()); in collectStructPtrs()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/contexts/ |
D | CompilationUnitContext.java | 71 String memberName = getMember(itName); in solveSymbol() 95 String memberName = getMember(whole); in solveSymbol() 277 private String getMember(String qName) { in getMember() method in CompilationUnitContext
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/ |
D | CompilationUnitContext.java | 76 String memberName = getMember(itName); in solveSymbol() 100 String memberName = getMember(whole); in solveSymbol() 331 private String getMember(String qName) { in getMember() method in CompilationUnitContext
|
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/printer/ |
D | PrettyPrintVisitorTest.java | 116 MethodDeclaration methodDeclaration = (MethodDeclaration) cu.getType(0).getMember(0); in printLambdaIntersectionTypeAssignment() 137 MethodDeclaration methodDeclaration = (MethodDeclaration) cu.getType(0).getMember(0); in printLambdaIntersectionTypeReturn()
|