Home
last modified time | relevance | path

Searched refs:getTypes (Results 1 – 25 of 137) sorted by relevance

123456

/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/expected_output/
Dcom_github_javaparser_ast_CompilationUnit.txt47 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/clang/lib/CodeGen/
DCodeGenABITypes.cpp33 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()
DCGCXX.cpp146 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()
DCGDeclCXX.cpp107 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 …]
DCGObjCRuntime.cpp94 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()
DCGCXXABI.cpp68 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()
DCGVTables.cpp48 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()
DCGBlocks.cpp80 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 …]
DCGExprConstant.cpp546 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 …]
/external/javapoet/src/test/java/com/squareup/javapoet/
DAbstractTypesTest.java54 protected abstract Types getTypes(); in getTypes() method in AbstractTypesTest
75 getTypes().getDeclaredType(getElement(Set.class), getMirror(Object.class)); in getParameterizedTypeMirror()
170 assertThat(TypeName.get(getTypes().getPrimitiveType(TypeKind.BOOLEAN))) in getPrimitiveTypeMirror()
172 assertThat(TypeName.get(getTypes().getPrimitiveType(TypeKind.BYTE))) in getPrimitiveTypeMirror()
174 assertThat(TypeName.get(getTypes().getPrimitiveType(TypeKind.SHORT))) in getPrimitiveTypeMirror()
176 assertThat(TypeName.get(getTypes().getPrimitiveType(TypeKind.INT))) in getPrimitiveTypeMirror()
178 assertThat(TypeName.get(getTypes().getPrimitiveType(TypeKind.LONG))) in getPrimitiveTypeMirror()
180 assertThat(TypeName.get(getTypes().getPrimitiveType(TypeKind.CHAR))) in getPrimitiveTypeMirror()
182 assertThat(TypeName.get(getTypes().getPrimitiveType(TypeKind.FLOAT))) in getPrimitiveTypeMirror()
184 assertThat(TypeName.get(getTypes().getPrimitiveType(TypeKind.DOUBLE))) in getPrimitiveTypeMirror()
[all …]
DTypesTest.java37 protected Types getTypes() { in getTypes() method in TypesTest
38 return compilation.getTypes(); in getTypes()
DTypesEclipseTest.java125 public Types getTypes() { in getTypes() method
155 protected Types getTypes() {
156 return compilation.getTypes();
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/
DCompilationUnit.java150 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/
DCompilationUnit.java186 public NodeList<TypeDeclaration<?>> getTypes() { in getTypes() method in CompilationUnit
197 return getTypes().get(i); in getType()
269 copy.addAll(getTypes()); in setType()
270 getTypes().set(i, type); in setType()
277 copy.addAll(getTypes()); in addType()
278 getTypes().add(type); in addType()
367 getTypes().add(classOrInterfaceDeclaration); in addClass()
390 getTypes().add(classOrInterfaceDeclaration); in addInterface()
413 getTypes().add(enumDeclaration); in addEnum()
436 getTypes().add(annotationDeclaration); in addAnnotationDeclaration()
[all …]
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/builders/
DCompilationUnitBuildersTest.java132 assertEquals(1, cu.getTypes().size()); in testAddClass()
142 assertEquals(1, cu.getTypes().size()); in testAddInterface()
152 assertEquals(1, cu.getTypes().size()); in testAddEnum()
161 assertEquals(1, cu.getTypes().size()); in testAddAnnotationDeclaration()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_javaparser_Navigator.txt3 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)) ==> java.util.…
9 Line 54) cu.getTypes().stream() ==> java.util.Collection.stream()
10 Line 54) cu.getTypes() ==> com.github.javaparser.ast.CompilationUnit.getTypes()
Dcom_github_javaparser_symbolsolver_javaparsermodel_contexts_CompilationUnitContext.txt24 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/jacoco/org.jacoco.core.test/src/org/jacoco/core/test/validation/
DStatementExecutor.java32 target.getClass().getMethod(name, getTypes(args)).invoke(target, in visitInvocation()
52 private static Class<?>[] getTypes(Object[] instances) { in getTypes() method in StatementExecutor
/external/dagger2/javatests/dagger/internal/codegen/
DMethodSignatureFormatterTest.java58 new DaggerElements(compilationRule.getElements(), compilationRule.getTypes()); in methodSignatureTest()
59 DaggerTypes types = new DaggerTypes(compilationRule.getTypes(), elements); in methodSignatureTest()
DAnnotationProtoConverterTest.java46 this.elements = new DaggerElements(compilationRule.getElements(), compilationRule.getTypes()); in setUp()
47 this.types = new DaggerTypes(compilationRule.getTypes(), elements); in setUp()
DTypeProtoConverterTest.java49 this.elements = new DaggerElements(compilationRule.getElements(), compilationRule.getTypes()); in setUp()
50 this.types = new DaggerTypes(compilationRule.getTypes(), elements); in setUp()
/external/dagger2/javatests/dagger/internal/codegen/javapoet/
DExpressionTest.java46 elements = new DaggerElements(compilationRule.getElements(), compilationRule.getTypes()); in setUp()
47 types = new DaggerTypes(compilationRule.getTypes(), elements); in setUp()
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/utils/
DSourceZipTest.java55 assertTrue(units.stream().noneMatch(unit -> unit.getTypes().isEmpty())); in parseTestDirectory()
70 assertTrue(units.stream().noneMatch(unit -> unit.getTypes().isEmpty())); in parseTestDirectoryWithCallback()
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/remove/
DNodeRemovalTest.java47 assertEquals(1, cu.getTypes().size()); in testRemoveClassFromCompilationUnit()
50 assertEquals(0, cu.getTypes().size()); in testRemoveClassFromCompilationUnit()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/
DTypeListSection.java40 @Nonnull Collection<? extends TypeKey> getTypes(@Nullable TypeListKey key); in getTypes() method

123456