Home
last modified time | relevance | path

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

1234

/external/dagger2/compiler/src/test/java/dagger/internal/codegen/writer/
DTypeNamesTest.java57 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/
DCodeGenABITypes.cpp43 return CGM->getTypes().arrangeObjCMessageSendSignature(MD, receiverType); in arrangeObjCMessageSendSignature()
49 return CGM->getTypes().arrangeFreeFunctionType(Ty, FD); in arrangeFreeFunctionType()
54 return CGM->getTypes().arrangeFreeFunctionType(Ty); in arrangeFreeFunctionType()
61 return CGM->getTypes().arrangeCXXMethodType(RD, FTP, MD); in arrangeCXXMethodType()
67 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.cpp99 addr.getPointer(), CGF.getTypes().ConvertType(type)->getPointerTo()); in EmitDeclDestroy()
157 llvm::Type *LTy = CGM.getTypes().ConvertTypeForMem(T); in EmitCXXGlobalVarDeclInit()
197 const CGFunctionInfo &FI = CGM.getTypes().arrangeNullaryFunction(); in createAtExitStub()
322 getTypes().arrangeNullaryFunction(), in EmitCXXGlobalVarDeclInitFunc()
398 const CGFunctionInfo &FI = getTypes().arrangeNullaryFunction(); in EmitCXXGlobalInitFunc()
467 const CGFunctionInfo &FI = getTypes().arrangeNullaryFunction(); in EmitCXXGlobalDtorFunc()
487 getTypes().arrangeNullaryFunction(), in GenerateCXXGlobalVarDeclInitFunc()
510 getTypes().arrangeNullaryFunction(), FunctionArgList()); in GenerateCXXGlobalInitFunc()
561 getTypes().arrangeNullaryFunction(), FunctionArgList()); in GenerateCXXGlobalDtorsFunc()
590 const CGFunctionInfo &FI = CGM.getTypes().arrangeFreeFunctionDeclaration( in generateDestroyHelper()
[all …]
DCGObjCRuntime.cpp94 llvm::Type *LTy = CGF.CGM.getTypes().ConvertTypeForMem(IvarTy); in EmitValueForIvarAtOffset()
135 CGBitFieldInfo::MakeInfo(CGF.CGM.getTypes(), Ivar, BitOffset, BitFieldSize, in EmitValueForIvarAtOffset()
362 CGM.getTypes().arrangeObjCMessageSendSignature(method, callArgs[0].Ty); in getMessageSendInfo()
365 CGM.getTypes().GetFunctionType(signature)->getPointerTo(); in getMessageSendInfo()
375 CGM.getTypes().arrangeFreeFunctionCall(resultType, callArgs, einfo, in getMessageSendInfo()
383 CGM.getTypes().arrangeFreeFunctionCall(resultType, callArgs, in getMessageSendInfo()
389 CGM.getTypes().GetFunctionType(argsInfo)->getPointerTo(); in getMessageSendInfo()
DCGVTables.cpp48 llvm::Type *Ty = getTypes().GetFunctionTypeForVTable(GD); in GetAddrOfThunk()
153 llvm::Type *Ty = CGM.getTypes().GetFunctionType(FnInfo); in GenerateVarArgsThunk()
296 CGM.getTypes().arrangeCXXMethodCall(CallArgs, FPT, in EmitCallAndReturnForThunk()
406 CGM.getTypes().GetFunctionType(CGM.getTypes().arrangeGlobalDeclaration(GD)); in generateThunk()
415 const CGFunctionInfo &FnInfo = CGM.getTypes().arrangeGlobalDeclaration(GD); in emitThunk()
432 CGM.getTypes().GetFunctionTypeForVTable(GD)) { in emitThunk()
500 if (!CGM.getTypes().isFuncTypeConvertible( in maybeEmitThunkForVTable()
535 CGM.getTypes().ConvertType(CGM.getContext().getPointerDiffType()); in CreateVTableInitializer()
636 llvm::Type *Ty = CGM.getTypes().GetFunctionTypeForVTable(GD); in CreateVTableInitializer()
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()
DCGBlocks.cpp80 llvm::Type *ulong = CGM.getTypes().ConvertType(C.UnsignedLongTy); in buildBlockDescriptor()
87 i8p = CGM.getTypes().ConvertType(C.VoidPtrTy); in buildBlockDescriptor()
349 llvm::Type *llvmType = CGM.getTypes().ConvertType(thisType); in computeBlockInfo()
435 CGM.getTypes().ConvertTypeForMem(VT); in computeBlockInfo()
906 getTypes().ConvertType(getContext().UnsignedLongTy); in getBlockDescriptorType()
987 CGM.getTypes().arrangeBlockFunctionCall(Args, FuncTy); in EmitBlockCallExpr()
990 llvm::Type *BlockFTy = CGM.getTypes().GetFunctionType(FnInfo); in EmitBlockCallExpr()
1094 CGM.getTypes().ConvertType(blockInfo.getBlockExpr()->getType()); in buildGlobalBlock()
1177 const CGFunctionInfo &fnInfo = CGM.getTypes().arrangeFreeFunctionDeclaration( in GenerateBlockFunction()
1183 llvm::FunctionType *fnLLVMType = CGM.getTypes().GetFunctionType(fnInfo); in GenerateBlockFunction()
[all …]
DCGExprConstant.cpp541 llvm::Type *ValTy = CGM.getTypes().ConvertType(Ty); in Finalize()
978 return CGM.getTypes().ConvertType(T); in ConvertType()
1141 if (CGM.getTypes().ConvertType(Field->getType()) != EltInit->getType() || in Build()
1211 llvm::Type *BoolTy = getTypes().ConvertTypeForMem(E->getType()); in EmitConstantInit()
1236 llvm::Type *BoolTy = getTypes().ConvertTypeForMem(E->getType()); in EmitConstantExpr()
1268 llvm::Type *DestTy = getTypes().ConvertTypeForMem(DestType); in EmitConstantValue()
1374 llvm::Type *ResultType = getTypes().ConvertType(DestType); in EmitConstantValue()
1400 getTypes().ConvertType(CAT->getElementType()); in EmitConstantValue()
1451 llvm::Type *BoolTy = getTypes().ConvertTypeForMem(DestType); in EmitConstantValueForMemory()
1486 const CGRecordLayout &layout = CGM.getTypes().getCGRecordLayout(record); in EmitNullConstant()
[all …]
DCodeGenModule.cpp1011 SetLLVMFunctionAttributes(FD, getTypes().arrangeGlobalDeclaration(GD), F); in SetFunctionAttributes()
1437 llvm::Type *DeclTy = getTypes().ConvertTypeForMem(VD->getType()); in GetWeakRefReference()
1503 const CGFunctionInfo &FI = getTypes().arrangeGlobalDeclaration(GD); in EmitGlobal()
1504 llvm::Type *Ty = getTypes().GetFunctionType(FI); in EmitGlobal()
1896 Ty = getTypes().ConvertFunctionType(CanonTy, FD); in GetAddrOfFunction()
2055 auto FInfo = &getTypes().arrangeCXXMethodDeclaration( in GetAddrOfGlobal()
2057 auto Ty = getTypes().GetFunctionType(*FInfo); in GetAddrOfGlobal()
2061 const CGFunctionInfo &FI = getTypes().arrangeGlobalDeclaration(GD); in GetAddrOfGlobal()
2062 llvm::FunctionType *Ty = getTypes().GetFunctionType(FI); in GetAddrOfGlobal()
2120 Ty = getTypes().ConvertTypeForMem(ASTTy); in GetAddrOfGlobalVar()
[all …]
DCGObjC.cpp195 llvm::ConstantInt::get(CGM.getTypes().ConvertType(ArgQT), NumElements); in EmitObjCCollectionLiteral()
528 const CGFunctionInfo &FI = CGM.getTypes().arrangeObjCMethodDeclaration(OMD); in StartObjCMethod()
593 CGF.EmitCall(CGF.getTypes().arrangeFreeFunctionCall(Context.VoidTy, args, in emitStructGetterCall()
859 CGF.EmitCall(CGF.getTypes().arrangeFreeFunctionCall(CGF.getContext().VoidTy, in emitCPPObjectAtomicGetterCall()
953 getTypes().arrangeFreeFunctionCall( in generateObjCGetterBody()
965 getTypes().ConvertType(getterMethod->getReturnType()))); in generateObjCGetterBody()
1070 CGF.EmitCall(CGF.getTypes().arrangeFreeFunctionCall(CGF.getContext().VoidTy, in emitStructSetterCall()
1108 CGF.EmitCall(CGF.getTypes().arrangeFreeFunctionCall(CGF.getContext().VoidTy, in emitCPPObjectAtomicSetterCall()
1241 EmitCall(getTypes().arrangeFreeFunctionCall(getContext().VoidTy, args, in generateObjCSetterBody()
1254 EmitCall(getTypes().arrangeFreeFunctionCall(getContext().VoidTy, args, in generateObjCSetterBody()
[all …]
DCGExprCXX.cpp81 return EmitCall(CGM.getTypes().arrangeCXXMethodCall(Args, FPT, required), in EmitCXXMemberOrOperatorCall()
92 return EmitCall(CGM.getTypes().arrangeCXXStructorDeclaration(MD, Type), in EmitCXXStructorCall()
210 FInfo = &CGM.getTypes().arrangeCXXStructorDeclaration( in EmitCXXMemberOrOperatorMemberCallExpr()
213 FInfo = &CGM.getTypes().arrangeCXXStructorDeclaration( in EmitCXXMemberOrOperatorMemberCallExpr()
216 FInfo = &CGM.getTypes().arrangeCXXMethodDeclaration(CalleeDecl); in EmitCXXMemberOrOperatorMemberCallExpr()
218 llvm::FunctionType *Ty = CGM.getTypes().GetFunctionType(*FInfo); in EmitCXXMemberOrOperatorMemberCallExpr()
330 return EmitCall(CGM.getTypes().arrangeCXXMethodCall(Args, FPT, required), in EmitCXXMemberPointerCallExpr()
921 if (!CGM.getTypes().isZeroInitializable(ElementType)) in EmitNewArrayInitializer()
1111 CGF.EmitCall(CGF.CGM.getTypes().arrangeFreeFunctionCall( in EmitNewDeleteCall()
DCGOpenMPRuntime.cpp1115 auto &FI = CGM.getTypes().arrangeFreeFunctionDeclaration( in emitThreadPrivateVarDefinition()
1118 auto FTy = CGM.getTypes().GetFunctionType(FI); in emitThreadPrivateVarDefinition()
1147 auto &FI = CGM.getTypes().arrangeFreeFunctionDeclaration( in emitThreadPrivateVarDefinition()
1150 auto FTy = CGM.getTypes().GetFunctionType(FI); in emitThreadPrivateVarDefinition()
1191 CGM.getTypes().arrangeNullaryFunction()); in emitThreadPrivateVarDefinition()
1195 CGM.getTypes().arrangeNullaryFunction(), ArgList, in emitThreadPrivateVarDefinition()
1521 auto &CGFI = CGM.getTypes().arrangeFreeFunctionDeclaration( in emitCopyprivateCopyFunction()
1524 CGM.getTypes().GetFunctionType(CGFI), llvm::GlobalValue::InternalLinkage, in emitCopyprivateCopyFunction()
1980 KmpRoutineEntryPtrTy = CGM.getTypes().ConvertType(KmpRoutineEntryPtrQTy); in emitKmpRoutineEntryT()
2098 CGM.getTypes().arrangeFreeFunctionDeclaration(KmpInt32Ty, Args, Info, in emitProxyTaskFunction()
[all …]
/external/mockito/cglib-and-asm/src/org/mockito/cglib/transform/impl/
DAddDelegateTransformer.java54 Type[] all = TypeUtils.add(interfaces, TypeUtils.getTypes(delegateIf)); in begin_class()
108 Type[] exceptions = TypeUtils.getTypes(m.getExceptionTypes()); in addDelegate()
DFieldProviderTransformer.java95 getTypes(); in generate()
127 private void getTypes() { in getTypes() method in FieldProviderTransformer
/external/guava/guava-tests/test/com/google/common/reflect/
DTypeTokenTest.java162 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/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/
DTypeListSection.java40 @Nonnull Collection<? extends TypeKey> getTypes(@Nullable TypeListKey key); in getTypes() method
/external/mockito/cglib-and-asm/src/org/mockito/cglib/core/
DReflectUtils.java94 return TypeUtils.getTypes(((Method)member).getExceptionTypes()); in getExceptionTypes()
96 return TypeUtils.getTypes(((Constructor)member).getExceptionTypes()); in getExceptionTypes()
106 Type[] types = TypeUtils.getTypes(((Constructor)member).getParameterTypes()); in getSignature()
436 return TypeUtils.getTypes(clazz.getInterfaces()); in getClassInfo()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src/org/eclipse/releng/generators/
DErrorTracker.java51 String[] theTypes = anInstance.getTypes(); in main()
197 public String[] getTypes() { in getTypes() method in ErrorTracker
/external/dagger2/compiler/src/test/java/dagger/internal/codegen/
DMethodSignatureFormatterTest.java54 String formatted = new MethodSignatureFormatter(compilationRule.getTypes()).format(method); in methodSignatureTest()
DBindingFieldTest.java52 this.types = compilationRule.getTypes(); in setUp()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/
DTypeIdItem.java78 public static String[] getTypes(@Nonnull RawDexFile dexFile) {
/external/mockito/cglib-and-asm/src/org/mockito/cglib/proxy/
DMixinEmitter.java45 TypeUtils.getTypes(getInterfaces(classes)), in MixinEmitter()
/external/guava/guava-testlib/src/com/google/common/testing/
DDummyProxy.java48 interfaceClasses.addAll(interfaceType.getTypes().interfaces().rawTypes()); in newProxy()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/builder/
DBuilderTypeListPool.java83 public Collection<? extends BuilderTypeReference> getTypes(@Nullable BuilderTypeList key) { in getTypes() method in BuilderTypeListPool

1234