Home
last modified time | relevance | path

Searched refs:typeParam (Results 1 – 25 of 36) sorted by relevance

12

/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-model/com/github/javaparser/symbolsolver/model/typesystem/parametrization/
DTypeParameterValueProvider.java28 Optional<Type> typeParam = typeParamValue(typeParameter); in useThisTypeParametersOnTheGivenType() local
29 if (typeParam.isPresent()) { in useThisTypeParametersOnTheGivenType()
30 type = typeParam.get(); in useThisTypeParametersOnTheGivenType()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/resolution/types/parametrization/
DResolvedTypeParameterValueProvider.java49 Optional<ResolvedType> typeParam = typeParamValue(typeParameter); in useThisTypeParametersOnTheGivenType() local
50 if (typeParam.isPresent()) { in useThisTypeParametersOnTheGivenType()
51 type = typeParam.get(); in useThisTypeParametersOnTheGivenType()
/external/kotlinpoet/interop/kotlinx-metadata/src/main/kotlin/com/squareup/kotlinpoet/metadata/specs/
DKmTypes.kt228 for (typeParam in this) { in toTypeParameterResolver() method
231 parametersMap[typeParam.id] = TypeVariableName(typeParam.name) in toTypeParameterResolver()
234 for (typeParam in this) { in toTypeParameterResolver() method
236 parametersMap[typeParam.id] = typeParam.toTypeVariableName(resolver) in toTypeParameterResolver()
/external/kotlinpoet/interop/ksp/test-processor/src/main/kotlin/com/squareup/kotlinpoet/ksp/test/processor/
DTestProcessor.kt72 decl.typeParameters.map { typeParam -> in <lambda>() method
73 typeParam.toTypeVariableName(classTypeParams).let { in <lambda>()
121 function.typeParameters.map { typeParam -> in <lambda>() method
122 typeParam.toTypeVariableName(functionTypeParams).let { in <lambda>()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/declarations/common/
DMethodDeclarationCommonLogic.java73 … Optional<Type> typeParam = typeParamByName(typeParameter.getName(), typeSolver, context); in replaceTypeParams() local
74 if (typeParam.isPresent()) { in replaceTypeParams()
75 type = typeParam.get(); in replaceTypeParams()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/declarations/common/
DMethodDeclarationCommonLogic.java73 … Optional<ResolvedType> typeParam = typeParamByName(typeParameter.getName(), context); in replaceTypeParams() local
74 if (typeParam.isPresent()) { in replaceTypeParams()
75 type = typeParam.get(); in replaceTypeParams()
/external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/
DRobolectricModel.java242 for (TypeParameterElement typeParam : type.getTypeParameters()) { in registerType()
243 for (TypeMirror bound : typeParam.getBounds()) { in registerType()
357 for (TypeParameterElement typeParam : actualType.getTypeParameters()) { in prepare()
363 paramDef.append(typeParam); in prepare()
364 paramUse.append(typeParam); in prepare()
365 for (TypeMirror bound : helpers.getExplicitBounds(typeParam)) { in prepare()
DHelpers.java120 List<TypeMirror> getExplicitBounds(TypeParameterElement typeParam) { in getExplicitBounds() argument
121 return newArrayList(Iterables.filter(typeParam.getBounds(), notObject)); in getExplicitBounds()
/external/robolectric/processor/src/main/java/org/robolectric/annotation/processing/
DRobolectricModel.java265 for (TypeParameterElement typeParam : type.getTypeParameters()) { in registerType()
266 for (TypeMirror bound : typeParam.getBounds()) { in registerType()
384 for (TypeParameterElement typeParam : actualType.getTypeParameters()) { in prepare()
390 paramDef.append(typeParam); in prepare()
391 paramUse.append(typeParam); in prepare()
392 for (TypeMirror bound : helpers.getExplicitBounds(typeParam)) { in prepare()
DHelpers.java120 List<TypeMirror> getExplicitBounds(TypeParameterElement typeParam) { in getExplicitBounds() argument
121 return newArrayList(Iterables.filter(typeParam.getBounds(), notObject)); in getExplicitBounds()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-model/
Dcom_github_javaparser_symbolsolver_model_typesystem_parametrization_TypeParameterValueProvider.txt5 Line 29) typeParam.isPresent() ==> java.util.Optional.isPresent()
6 Line 30) typeParam.get() ==> java.util.Optional.get()
/external/kotlinpoet/kotlinpoet/src/test/java/com/squareup/kotlinpoet/
DTypeAliasSpecTest.kt175 val typeParam = TypeVariableName("V") in generalBuilderEqualityTest() constant
180 .addTypeVariable(typeParam) in generalBuilderEqualityTest()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_declarations_common_MethodDeclarationCommonLogic.txt21 Line 74) typeParam.isPresent() ==> java.util.Optional.isPresent()
22 Line 75) typeParam.get() ==> java.util.Optional.get()
/external/javassist/src/main/javassist/bytecode/
DSignatureAttribute.java1054 List<TypeParameter> typeParam = new ArrayList<TypeParameter>(); in parseTypeParams() local
1070 typeParam.add(p); in parseTypeParams()
1076 return typeParam.toArray(new TypeParameter[typeParam.size()]); in parseTypeParams()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/
DGenericsResolutionTest.java133 ResolvedType typeParam = type.asReferenceType().typeParametersValues().get(0); in resolveFieldOfGenericReferringToVariableType() local
134 assertEquals(true, typeParam.isTypeVariable()); in resolveFieldOfGenericReferringToVariableType()
135 assertEquals("A", typeParam.describe()); in resolveFieldOfGenericReferringToVariableType()
/external/clang/lib/Sema/
DSemaDeclObjC.cpp708 for (auto typeParam : typeParams) { in actOnObjCTypeParamList() local
709 auto known = knownParams.find(typeParam->getIdentifier()); in actOnObjCTypeParamList()
711 Diag(typeParam->getLocation(), diag::err_objc_type_param_redecl) in actOnObjCTypeParamList()
712 << typeParam->getIdentifier() in actOnObjCTypeParamList()
715 typeParam->setInvalidDecl(); in actOnObjCTypeParamList()
717 knownParams.insert(std::make_pair(typeParam->getIdentifier(), typeParam)); in actOnObjCTypeParamList()
720 PushOnScopeChains(typeParam, S, /*AddToContext=*/false); in actOnObjCTypeParamList()
729 for (auto typeParam : *typeParamList) { in popObjCTypeParamList()
730 if (!typeParam->isInvalidDecl()) { in popObjCTypeParamList()
731 S->RemoveDecl(typeParam); in popObjCTypeParamList()
[all …]
/external/guava/android/guava/src/com/google/common/reflect/
DTypeToken.java235 public final <X> TypeToken<T> where(TypeParameter<X> typeParam, TypeToken<X> typeArg) { in where() argument
240 new TypeResolver.TypeVariableKey(typeParam.typeVariable), typeArg.runtimeType)); in where()
267 public final <X> TypeToken<T> where(TypeParameter<X> typeParam, Class<X> typeArg) { in where() argument
268 return where(typeParam, of(typeArg)); in where()
DTypeResolver.java505 private WildcardCapturer forTypeVariable(TypeVariable<?> typeParam) { in forTypeVariable() argument
516 combined.addAll(asList(typeParam.getBounds())); in forTypeVariable()
/external/guava/guava/src/com/google/common/reflect/
DTypeToken.java235 public final <X> TypeToken<T> where(TypeParameter<X> typeParam, TypeToken<X> typeArg) { in where() argument
240 new TypeResolver.TypeVariableKey(typeParam.typeVariable), typeArg.runtimeType)); in where()
267 public final <X> TypeToken<T> where(TypeParameter<X> typeParam, Class<X> typeArg) { in where() argument
268 return where(typeParam, of(typeArg)); in where()
DTypeResolver.java505 private WildcardCapturer forTypeVariable(TypeVariable<?> typeParam) { in forTypeVariable() argument
516 combined.addAll(asList(typeParam.getBounds())); in forTypeVariable()
/external/angle/src/libANGLE/capture/
Dcapture_gles_2_0_autogen.cpp1026 ParamCapture typeParam("type", ParamType::TGLenumPointer); in CaptureGetActiveAttrib() local
1027 InitParamValue(ParamType::TGLenumPointer, type, &typeParam.value); in CaptureGetActiveAttrib()
1029 size, type, name, &typeParam); in CaptureGetActiveAttrib()
1030 paramBuffer.addParam(std::move(typeParam)); in CaptureGetActiveAttrib()
1034 ParamCapture typeParam("type", ParamType::TGLenumPointer); in CaptureGetActiveAttrib() local
1035 InitParamValue(ParamType::TGLenumPointer, static_cast<GLenum *>(nullptr), &typeParam.value); in CaptureGetActiveAttrib()
1036 paramBuffer.addParam(std::move(typeParam)); in CaptureGetActiveAttrib()
1106 ParamCapture typeParam("type", ParamType::TGLenumPointer); in CaptureGetActiveUniform() local
1107 InitParamValue(ParamType::TGLenumPointer, type, &typeParam.value); in CaptureGetActiveUniform()
1109 size, type, name, &typeParam); in CaptureGetActiveUniform()
[all …]
Dcapture_gles_3_0_autogen.cpp1463 ParamCapture typeParam("type", ParamType::TGLenumPointer); in CaptureGetTransformFeedbackVarying() local
1464 InitParamValue(ParamType::TGLenumPointer, type, &typeParam.value); in CaptureGetTransformFeedbackVarying()
1466 length, size, type, name, &typeParam); in CaptureGetTransformFeedbackVarying()
1467 paramBuffer.addParam(std::move(typeParam)); in CaptureGetTransformFeedbackVarying()
1471 ParamCapture typeParam("type", ParamType::TGLenumPointer); in CaptureGetTransformFeedbackVarying() local
1472 InitParamValue(ParamType::TGLenumPointer, static_cast<GLenum *>(nullptr), &typeParam.value); in CaptureGetTransformFeedbackVarying()
1473 paramBuffer.addParam(std::move(typeParam)); in CaptureGetTransformFeedbackVarying()
/external/clang/lib/AST/
DDeclObjC.cpp310 for (auto typeParam : *TypeParamList) in setTypeParamList()
311 typeParam->setDeclContext(this); in setTypeParamList()
1376 for (auto typeParam : *this) in gatherDefaultTypeArgs()
1377 typeArgs.push_back(typeParam->getUnderlyingType()); in gatherDefaultTypeArgs()
1968 for (auto typeParam : *TypeParamList) in setTypeParamList()
1969 typeParam->setDeclContext(this); in setTypeParamList()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/
DMethodResolutionLogic.java249 …result = result.transformTypeParameters(typeParam -> replaceTypeParam(typeParam, tp, typeSolver)).… in replaceTypeParam()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/resolution/
DMethodResolutionLogic.java245 …result = result.transformTypeParameters(typeParam -> replaceTypeParam(typeParam, tp, typeSolver)).… in replaceTypeParam()

12