/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javaparser_methodcalls_expected_output/ |
D | com_github_javaparser_ast_CompilationUnit.txt | 47 Line 284) getTypes().add(classOrInterfaceDeclaration) ==> java.util.List.add(E) 48 Line 284) getTypes() ==> com.github.javaparser.ast.CompilationUnit.getTypes() 55 Line 311) getTypes().add(classOrInterfaceDeclaration) ==> java.util.List.add(E) 56 Line 311) getTypes() ==> com.github.javaparser.ast.CompilationUnit.getTypes() 63 Line 336) getTypes().add(enumDeclaration) ==> java.util.List.add(E) 64 Line 336) getTypes() ==> com.github.javaparser.ast.CompilationUnit.getTypes() 71 Line 361) getTypes().add(annotationDeclaration) ==> java.util.List.add(E) 72 Line 361) getTypes() ==> com.github.javaparser.ast.CompilationUnit.getTypes() 74 …Line 373) getTypes().stream().filter(type -> type.getName().equals(className) && type instanceof C… 75 …Line 373) getTypes().stream().filter(type -> type.getName().equals(className) && type instanceof C… [all …]
|
/external/dagger2/compiler/src/test/java/dagger/internal/codegen/writer/ |
D | TypeNamesTest.java | 57 compilation.getTypes().getDeclaredType(getElement(Set.class), getType(Object.class)); in forTypeMirror_parameterizedType() 71 assertThat(TypeNames.forTypeMirror(compilation.getTypes().getPrimitiveType(TypeKind.BOOLEAN))) in forTypeMirror_primitive() 73 assertThat(TypeNames.forTypeMirror(compilation.getTypes().getPrimitiveType(TypeKind.BYTE))) in forTypeMirror_primitive() 75 assertThat(TypeNames.forTypeMirror(compilation.getTypes().getPrimitiveType(TypeKind.SHORT))) in forTypeMirror_primitive() 77 assertThat(TypeNames.forTypeMirror(compilation.getTypes().getPrimitiveType(TypeKind.INT))) in forTypeMirror_primitive() 79 assertThat(TypeNames.forTypeMirror(compilation.getTypes().getPrimitiveType(TypeKind.LONG))) in forTypeMirror_primitive() 81 assertThat(TypeNames.forTypeMirror(compilation.getTypes().getPrimitiveType(TypeKind.CHAR))) in forTypeMirror_primitive() 83 assertThat(TypeNames.forTypeMirror(compilation.getTypes().getPrimitiveType(TypeKind.FLOAT))) in forTypeMirror_primitive() 85 assertThat(TypeNames.forTypeMirror(compilation.getTypes().getPrimitiveType(TypeKind.DOUBLE))) in forTypeMirror_primitive() 91 assertThat(TypeNames.forTypeMirror(compilation.getTypes().getArrayType(getType(Object.class)))) in forTypeMirror_arrays() [all …]
|
/external/clang/lib/CodeGen/ |
D | CodeGenABITypes.cpp | 33 return CGM.getTypes().arrangeObjCMessageSendSignature(MD, receiverType); in arrangeObjCMessageSendSignature() 40 return CGM.getTypes().arrangeFreeFunctionType(Ty, FD); in arrangeFreeFunctionType() 46 return CGM.getTypes().arrangeFreeFunctionType(Ty); in arrangeFreeFunctionType() 54 return CGM.getTypes().arrangeCXXMethodType(RD, FTP, MD); in arrangeCXXMethodType() 63 return CGM.getTypes().arrangeLLVMFunctionInfo( in arrangeFreeFunctionCall()
|
D | CGCXX.cpp | 146 llvm::Type *AliasValueType = getTypes().GetFunctionType(AliasDecl); in TryEmitDefinitionAsAlias() 220 getTypes().arrangeCXXStructorDeclaration(MD, Type); in codegenCXXStructor() 254 FnInfo = &getTypes().arrangeCXXStructorDeclaration(MD, Type); in getAddrOfCXXStructor() 255 FnType = getTypes().GetFunctionType(*FnInfo); in getAddrOfCXXStructor() 320 const CGFunctionInfo &FInfo = CGM.getTypes().arrangeCXXStructorDeclaration( in BuildAppleKextVirtualDestructorCall() 322 llvm::Type *Ty = CGM.getTypes().GetFunctionType(FInfo); in BuildAppleKextVirtualDestructorCall()
|
D | CGDeclCXX.cpp | 107 addr.getPointer(), CGF.getTypes().ConvertType(type)->getPointerTo()); in EmitDeclDestroy() 165 llvm::Type *LTy = CGM.getTypes().ConvertTypeForMem(T); in EmitCXXGlobalVarDeclInit() 205 const CGFunctionInfo &FI = CGM.getTypes().arrangeNullaryFunction(); in createAtExitStub() 341 getTypes().arrangeNullaryFunction(), in EmitCXXGlobalVarDeclInitFunc() 417 const CGFunctionInfo &FI = getTypes().arrangeNullaryFunction(); in EmitCXXGlobalInitFunc() 486 const CGFunctionInfo &FI = getTypes().arrangeNullaryFunction(); in EmitCXXGlobalDtorFunc() 506 getTypes().arrangeNullaryFunction(), in GenerateCXXGlobalVarDeclInitFunc() 529 getTypes().arrangeNullaryFunction(), FunctionArgList()); in GenerateCXXGlobalInitFunc() 580 getTypes().arrangeNullaryFunction(), FunctionArgList()); in GenerateCXXGlobalDtorsFunc() 610 CGM.getTypes().arrangeBuiltinFunctionDeclaration(getContext().VoidTy, args); in generateDestroyHelper() [all …]
|
D | CGObjCRuntime.cpp | 94 llvm::Type *LTy = CGF.CGM.getTypes().ConvertTypeForMem(IvarTy); in EmitValueForIvarAtOffset() 134 CGBitFieldInfo::MakeInfo(CGF.CGM.getTypes(), Ivar, BitOffset, BitFieldSize, in EmitValueForIvarAtOffset() 361 CGM.getTypes().arrangeObjCMessageSendSignature(method, callArgs[0].Ty); in getMessageSendInfo() 364 CGM.getTypes().GetFunctionType(signature)->getPointerTo(); in getMessageSendInfo() 367 CGM.getTypes().arrangeCall(signature, callArgs); in getMessageSendInfo() 374 CGM.getTypes().arrangeUnprototypedObjCMessageSend(resultType, callArgs); in getMessageSendInfo() 378 CGM.getTypes().GetFunctionType(argsInfo)->getPointerTo(); in getMessageSendInfo()
|
D | CGCXXABI.cpp | 68 return llvm::Constant::getNullValue(CGM.getTypes().ConvertType(T)); in GetBogusMemberPointer() 73 return CGM.getTypes().ConvertType(CGM.getContext().getPointerDiffType()); in ConvertMemberPointerType() 87 llvm::FunctionType *FTy = CGM.getTypes().GetFunctionType( in EmitLoadOfMemberFunctionPointer() 88 CGM.getTypes().arrangeCXXMethodType(RD, FPT, /*FD=*/nullptr)); in EmitLoadOfMemberFunctionPointer()
|
D | CGVTables.cpp | 48 llvm::Type *Ty = getTypes().GetFunctionTypeForVTable(GD); in GetAddrOfThunk() 153 llvm::Type *Ty = CGM.getTypes().GetFunctionType(FnInfo); in GenerateVarArgsThunk() 293 const CGFunctionInfo &CallFnInfo = CGM.getTypes().arrangeCXXMethodCall( in EmitCallAndReturnForThunk() 403 CGM.getTypes().GetFunctionType(CGM.getTypes().arrangeGlobalDeclaration(GD)); in generateThunk() 412 const CGFunctionInfo &FnInfo = CGM.getTypes().arrangeGlobalDeclaration(GD); in emitThunk() 429 CGM.getTypes().GetFunctionTypeForVTable(GD)) { in emitThunk() 497 if (!CGM.getTypes().isFuncTypeConvertible( in maybeEmitThunkForVTable() 532 CGM.getTypes().ConvertType(CGM.getContext().getPointerDiffType()); in CreateVTableInitializer() 637 llvm::Type *Ty = CGM.getTypes().GetFunctionTypeForVTable(GD); in CreateVTableInitializer()
|
D | CGBlocks.cpp | 80 llvm::Type *ulong = CGM.getTypes().ConvertType(C.UnsignedLongTy); in buildBlockDescriptor() 87 i8p = CGM.getTypes().ConvertType(C.VoidPtrTy); in buildBlockDescriptor() 354 llvm::Type *llvmType = CGM.getTypes().ConvertType(thisType); in computeBlockInfo() 440 CGM.getTypes().ConvertTypeForMem(VT); in computeBlockInfo() 909 getTypes().ConvertType(getContext().UnsignedLongTy); in getBlockDescriptorType() 990 CGM.getTypes().arrangeBlockFunctionCall(Args, FuncTy); in EmitBlockCallExpr() 993 llvm::Type *BlockFTy = CGM.getTypes().GetFunctionType(FnInfo); in EmitBlockCallExpr() 1097 CGM.getTypes().ConvertType(blockInfo.getBlockExpr()->getType()); in buildGlobalBlock() 1181 CGM.getTypes().arrangeBlockFunctionDeclaration(fnType, args); in GenerateBlockFunction() 1185 llvm::FunctionType *fnLLVMType = CGM.getTypes().GetFunctionType(fnInfo); in GenerateBlockFunction() [all …]
|
D | CGExprConstant.cpp | 546 llvm::Type *ValTy = CGM.getTypes().ConvertType(Ty); in Finalize() 991 return CGM.getTypes().ConvertType(T); in ConvertType() 1161 if (CGM.getTypes().ConvertType(Field->getType()) != EltInit->getType() || in Build() 1231 llvm::Type *BoolTy = getTypes().ConvertTypeForMem(E->getType()); in EmitConstantInit() 1256 llvm::Type *BoolTy = getTypes().ConvertTypeForMem(E->getType()); in EmitConstantExpr() 1288 llvm::Type *DestTy = getTypes().ConvertTypeForMem(DestType); in EmitConstantValue() 1400 llvm::Type *ResultType = getTypes().ConvertType(DestType); in EmitConstantValue() 1426 getTypes().ConvertType(CAT->getElementType()); in EmitConstantValue() 1477 llvm::Type *BoolTy = getTypes().ConvertTypeForMem(DestType); in EmitConstantValueForMemory() 1512 const CGRecordLayout &layout = CGM.getTypes().getCGRecordLayout(record); in EmitNullConstant() [all …]
|
D | CodeGenModule.cpp | 1044 SetLLVMFunctionAttributes(FD, getTypes().arrangeGlobalDeclaration(GD), F); in SetFunctionAttributes() 1496 llvm::Type *DeclTy = getTypes().ConvertTypeForMem(VD->getType()); in GetWeakRefReference() 1585 const CGFunctionInfo &FI = getTypes().arrangeGlobalDeclaration(GD); in EmitGlobal() 1586 llvm::Type *Ty = getTypes().GetFunctionType(FI); in EmitGlobal() 1991 Ty = getTypes().ConvertFunctionType(CanonTy, FD); in GetAddrOfFunction() 2192 auto FInfo = &getTypes().arrangeCXXMethodDeclaration( in GetAddrOfGlobal() 2194 auto Ty = getTypes().GetFunctionType(*FInfo); in GetAddrOfGlobal() 2198 const CGFunctionInfo &FI = getTypes().arrangeGlobalDeclaration(GD); in GetAddrOfGlobal() 2199 llvm::FunctionType *Ty = getTypes().GetFunctionType(FI); in GetAddrOfGlobal() 2261 Ty = getTypes().ConvertTypeForMem(ASTTy); in GetAddrOfGlobalVar() [all …]
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/ |
D | CompilationUnit.java | 150 public List<TypeDeclaration<?>> getTypes() { in getTypes() method in CompilationUnit 284 getTypes().add(classOrInterfaceDeclaration); in addClass() 311 getTypes().add(classOrInterfaceDeclaration); in addInterface() 336 getTypes().add(enumDeclaration); in addEnum() 361 getTypes().add(annotationDeclaration); in addAnnotationDeclaration() 373 …return (ClassOrInterfaceDeclaration) getTypes().stream().filter(type -> type.getName().equals(clas… in getClassByName() 385 …return (ClassOrInterfaceDeclaration) getTypes().stream().filter(type -> type.getName().equals(inte… in getInterfaceByName() 397 return (EnumDeclaration) getTypes().stream().filter(type -> type.getName().equals(enumName) in getEnumByName() 409 …return (AnnotationDeclaration) getTypes().stream().filter(type -> type.getName().equals(annotation… in getAnnotationDeclarationByName()
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/ |
D | CompilationUnit.java | 186 public NodeList<TypeDeclaration<?>> getTypes() { in getTypes() method in CompilationUnit 197 return getTypes().get(i); in getType() 267 copy.addAll(getTypes()); in setType() 268 getTypes().set(i, type); in setType() 275 copy.addAll(getTypes()); in addType() 276 getTypes().add(type); in addType() 370 getTypes().add(classOrInterfaceDeclaration); in addClass() 393 getTypes().add(classOrInterfaceDeclaration); in addInterface() 416 getTypes().add(enumDeclaration); in addEnum() 439 getTypes().add(annotationDeclaration); in addAnnotationDeclaration() [all …]
|
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/builders/ |
D | CompilationUnitBuildersTest.java | 80 assertEquals(1, cu.getTypes().size()); in testAddClass() 90 assertEquals(1, cu.getTypes().size()); in testAddInterface() 100 assertEquals(1, cu.getTypes().size()); in testAddEnum() 109 assertEquals(1, cu.getTypes().size()); in testAddAnnotationDeclaration()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/ |
D | com_github_javaparser_symbolsolver_javaparser_Navigator.txt | 3 Line 49) cu.getTypes().isEmpty() ==> com.github.javaparser.ast.NodeList.isEmpty() 4 Line 49) cu.getTypes() ==> com.github.javaparser.ast.CompilationUnit.getTypes() 7 …Line 54) cu.getTypes().stream().filter((t) -> t.getName().getId().equals(typeName)).findFirst() ==… 8 Line 54) cu.getTypes().stream().filter((t) -> t.getName().getId().equals(typeName)) ==> ERROR 9 Line 54) cu.getTypes().stream() ==> java.util.Collection.stream() 10 Line 54) cu.getTypes() ==> com.github.javaparser.ast.CompilationUnit.getTypes()
|
D | com_github_javaparser_symbolsolver_javaparsermodel_contexts_CompilationUnitContext.txt | 24 Line 112) wrappedNode.getTypes() ==> com.github.javaparser.ast.CompilationUnit.getTypes() 25 Line 113) wrappedNode.getTypes() ==> com.github.javaparser.ast.CompilationUnit.getTypes() 108 …Line 235) this.wrappedNode.getTypes().stream().anyMatch(it -> it.getName().getIdentifier().equals(… 109 Line 235) this.wrappedNode.getTypes().stream() ==> java.util.Collection.stream() 110 Line 235) this.wrappedNode.getTypes() ==> com.github.javaparser.ast.CompilationUnit.getTypes()
|
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/remove/ |
D | NodeRemovalTest.java | 42 assertEquals(1, cu.getTypes().size()); in testRemoveClassFromCompilationUnit() 45 assertEquals(0, cu.getTypes().size()); in testRemoveClassFromCompilationUnit()
|
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/utils/ |
D | SourceZipTest.java | 54 assertTrue(units.stream().noneMatch(unit -> unit.getTypes().isEmpty())); in parseTestDirectory() 69 assertTrue(units.stream().noneMatch(unit -> unit.getTypes().isEmpty())); in parseTestDirectoryWithCallback()
|
/external/guava/guava-tests/test/com/google/common/reflect/ |
D | TypeTokenTest.java | 162 TypeToken<Object>.TypeSet types = new TypeToken<Object>() {}.getTypes(); in testGetTypes_noSuperclass() 172 TypeToken<Interface1>.TypeSet types = new TypeToken<Interface1>() {}.getTypes(); in testGetTypes_fromInterface() 182 TypeToken<Integer>.TypeSet types = TypeToken.of(int.class).getTypes(); in testGetTypes_fromPrimitive() 194 TypeToken<Class3<String>>.TypeSet types = new TypeToken<Class3<String>>() {}.getTypes(); in testGetTypes_withInterfacesAndSuperclasses() 222 TypeToken<Class3<String>>.TypeSet types = new TypeToken<Class3<String>>() {}.getTypes(); in testGetTypes_rawTypes_withInterfacesAndSuperclasses() 248 TypeToken<?>.TypeSet types = TypeToken.of(new TypeCapture<B>() {}.capture()).getTypes(); in testGetTypes_ignoresTypeVariablesByDefault() 263 TypeToken<?>.TypeSet types = TypeToken.of(new TypeCapture<B>() {}.capture()).getTypes(); in testGetTypes_rawTypes_ignoresTypeVariablesByDefault() 276 TypeToken<?>.TypeSet types = TypeToken.of(new TypeCapture<A>() {}.capture()).getTypes(); in testGetTypes_manyBounds() 1463 reserialize(TypeToken.of(String.class).getTypes()); in testSerializable() 1464 reserialize(TypeToken.of(String.class).getTypes().classes()); in testSerializable() [all …]
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/ |
D | CompilationUnitContext.java | 116 if (wrappedNode.getTypes() != null) { in solveType() 117 for (TypeDeclaration<?> type : wrappedNode.getTypes()) { in solveType() 241 …&& this.wrappedNode.getTypes().stream().anyMatch(it -> it.getName().getIdentifier().equals(toSimpl… in solveMethod()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/javaparser/contexts/ |
D | MethodCallExprContextResolutionTest.java | 97 …tions.singletonList("java.lang.Integer"), ref.get().typeParametersMap().getTypes().stream().map(ty… in assertCanSolveGenericMethodCallMustUseProvidedTypeArgs() 124 …ctions.singletonList("java.lang.String"), ref.get().typeParametersMap().getTypes().stream().map(ty… in assertCanSolveGenericMethodCallCanInferFromArguments()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/ |
D | TypeListSection.java | 40 @Nonnull Collection<? extends TypeKey> getTypes(@Nullable TypeListKey key); in getTypes() method
|
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/ |
D | LexicalPreservingPrinterTest.java | 527 cu.getTypes() in handleOverrideAnnotation() 793 cu.getTypes() in moveOverrideAnnotations() 832 cu.getTypes() in moveOrAddOverrideAnnotations() 873 cu.getTypes() in handleAddingMarkerAnnotation() 908 cu.getTypes() in handleOverrideMarkerAnnotation() 936 cu.getTypes() in handleOverrideAnnotationAlternative() 967 cu.getTypes().forEach(type -> type.addAndGetAnnotation(Deprecated.class)); in handleDeprecatedAnnotationFinalClass() 981 cu.getTypes().forEach(type -> type.addAndGetAnnotation(Deprecated.class)); in handleDeprecatedAnnotationAbstractClass()
|
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/ |
D | FindUsedTypes.h | 36 const SetVector<Type *> &getTypes() const { return UsedTypes; } in getTypes() function
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparser/ |
D | Navigator.java | 55 if (cu.getTypes().isEmpty()) { in findType() 60 …Optional<TypeDeclaration<?>> type = cu.getTypes().stream().filter((t) -> t.getName().getId().equal… in findType()
|