/external/llvm-project/mlir/lib/TableGen/ |
D | TypeDef.cpp | 109 llvm::Init *parameterType = def->getArg(num); in getAllocator() local 110 if (isa<llvm::StringInit>(parameterType)) in getAllocator() 113 if (auto *typeParameter = dyn_cast<llvm::DefInit>(parameterType)) { in getAllocator() 132 auto *parameterType = def->getArg(num); in getCppType() local 133 if (auto *stringType = dyn_cast<llvm::StringInit>(parameterType)) in getCppType() 135 if (auto *typeParameter = dyn_cast<llvm::DefInit>(parameterType)) in getCppType() 142 auto *parameterType = def->getArg(num); in getDescription() local 143 if (auto *typeParameter = dyn_cast<llvm::DefInit>(parameterType)) { in getDescription() 151 auto *parameterType = def->getArg(num); in getSyntax() local 152 if (auto *stringType = dyn_cast<llvm::StringInit>(parameterType)) in getSyntax() [all …]
|
/external/sl4a/Common/src/com/googlecode/android_scripting/rpc/ |
D | MethodDescriptor.java | 93 final Type parameterType = parameterTypes[i]; in invoke() local 95 args[i] = convertParameter(parameters, i, parameterType); in invoke() 97 args[i] = MethodDescriptor.getDefaultValue(parameterType, annotations[i]); in invoke() 120 Class<?> parameterType = parameterTypes[i]; in invoke() local 123 args[i] = convertParameter(parameters, parameterType, parameterName); in invoke() 125 args[i] = MethodDescriptor.getDefaultValue(parameterType, annotations[i]); in invoke() 351 private static String getHelpForParameter(Type parameterType, Annotation[] annotations) { in getHelpForParameter() argument 354 appendTypeName(result, parameterType); in getHelpForParameter() 360 result.append(", default " + getDefaultValue(parameterType, annotations)); in getHelpForParameter() 491 public static Object getDefaultValue(Type parameterType, Annotation[] annotations) { in getDefaultValue() argument [all …]
|
/external/proguard/src/proguard/optimize/ |
D | TailRecursionSimplifier.java | 296 String parameterType = internalTypeEnumeration.nextType(); in storeParameters() local 297 parameterTypes[parameterIndex] = parameterType; in storeParameters() 298 if (ClassUtil.internalTypeSize(parameterType) == 2) in storeParameters() 310 String parameterType = parameterTypes[parameterIndex]; in storeParameters() local 311 if (parameterType != null) in storeParameters() 314 switch (parameterType.charAt(0)) in storeParameters()
|
/external/slf4j/slf4j-ext/src/main/java/org/slf4j/instrumentation/ |
D | JavassistHelper.java | 116 CtClass parameterType = parameterTypes[i]; in getSignature() local 117 boolean isArray = parameterType.isArray(); in getSignature() 118 CtClass arrayType = parameterType.getComponentType(); in getSignature() 133 if (parameterType.isPrimitive()) { in getSignature()
|
/external/auto/value/src/main/java/com/google/auto/value/processor/ |
D | BuilderMethodClassifier.java | 397 TypeMirror parameterType = Iterables.getOnlyElement(methodMirror.getParameterTypes()); in classifyMethodOneArg() local 399 propertyName, new PropertySetter(method, parameterType, function.get())); in classifyMethodOneArg() 443 TypeMirror parameterType = finalSetter.getParameterTypes().get(0); in getSetterFunction() local 447 if (typeUtils.isAssignable(parameterType, targetType) in getSetterFunction() 448 && typeUtils.isAssignable(targetType, parameterType)) { in getSetterFunction() 468 return getConvertingSetterFunction(copyOfMethods, valueGetter, setter, parameterType); in getSetterFunction() 473 parameterType, targetType, autoValueClass, valueGetter.getSimpleName()); in getSetterFunction() 486 TypeMirror parameterType) { in getConvertingSetterFunction() argument 490 getConvertingSetterFunction(copyOfMethod, targetType, parameterType); in getConvertingSetterFunction() 500 parameterType, in getConvertingSetterFunction() [all …]
|
D | BuilderSpec.java | 405 PropertySetter(ExecutableElement setter, TypeMirror parameterType, Copier copier) { in PropertySetter() argument 410 primitiveParameter = parameterType.getKind().isPrimitive(); in PropertySetter() 411 this.parameterTypeString = parameterTypeString(setter, parameterType); in PropertySetter() 413 Optional<String> maybeNullable = nullableAnnotationFor(parameterElement, parameterType); in PropertySetter() 421 private static String parameterTypeString(ExecutableElement setter, TypeMirror parameterType) { in parameterTypeString() argument 423 TypeMirror componentType = MoreTypes.asArray(parameterType).getComponentType(); in parameterTypeString() 431 return TypeEncoder.encodeWithAnnotations(parameterType); in parameterTypeString()
|
D | AutoAnnotationProcessor.java | 336 TypeMirror parameterType = parameter.asType(); in getParameters() local 338 if (compatibleTypes(parameterType, memberType)) { in getParameters() 339 parameters.put(name, new Parameter(parameterType)); in getParameters() 345 parameterType, in getParameters() 389 private boolean compatibleTypes(TypeMirror parameterType, TypeMirror memberType) { in compatibleTypes() argument 390 if (typeUtils.isAssignable(parameterType, memberType)) { in compatibleTypes() 411 return typeUtils.isAssignable(parameterType, collectionOfElement); in compatibleTypes()
|
/external/dagger2/java/dagger/internal/codegen/binding/ |
D | AssistedInjectionAnnotations.java | 231 public static AssistedParameter create(VariableElement parameter, TypeMirror parameterType) { in create() argument 237 MoreTypes.equivalence().wrap(parameterType)); in create() 279 TypeMirror parameterType = assistedInjectConstructorType.getParameterTypes().get(i); in assistedInjectAssistedParameters() local 281 builder.add(AssistedParameter.create(parameter, parameterType)); in assistedInjectAssistedParameters() 292 TypeMirror parameterType = factoryMethodType.getParameterTypes().get(i); in assistedFactoryAssistedParameters() local 293 builder.add(AssistedParameter.create(parameter, parameterType)); in assistedFactoryAssistedParameters()
|
D | ComponentCreatorDescriptor.java | 175 TypeMirror parameterType = getOnlyElement(resolvedMethodType.getParameterTypes()); in create() local 177 requirement(method, parameter, parameterType, dependencyRequestFactory, method), in create() 192 TypeMirror parameterType = parameterTypes.get(i); in create() local 194 requirement(factoryMethod, parameter, parameterType, dependencyRequestFactory, parameter), in create()
|
/external/proguard/src/proguard/optimize/peephole/ |
D | MethodInliner.java | 272 String parameterType = internalTypeEnumeration.nextType(); in storeParameters() local 273 parameterTypes[parameterIndex] = parameterType; in storeParameters() 274 if (ClassUtil.internalTypeSize(parameterType) == 2) in storeParameters() 286 String parameterType = parameterTypes[parameterIndex]; in storeParameters() local 287 if (parameterType != null) in storeParameters() 290 switch (parameterType.charAt(0)) in storeParameters()
|
/external/proguard/src/proguard/optimize/evaluation/ |
D | SimpleEnumUseChecker.java | 381 …x, int parameterCount, int parameterOffset, int parameterSize, String parameterType, Clazz referen… in visitParameter() argument 386 if (ClassUtil.isInternalClassType(parameterType) && in visitParameter() 388 ClassUtil.isInternalArrayType(parameterType) ? in visitParameter() 389 parameterType : in visitParameter() 390 ClassUtil.internalClassNameFromClassType(parameterType))) in visitParameter() 400 …("is stored as more general type ["+parameterType+"] in field ["+clazz.getName()+"."+member.getNam… in visitParameter() 401 …("is passed as more general argument #"+parameterIndex+" ["+parameterType+"] to ["+clazz.getName()… in visitParameter()
|
/external/emma/core/java12/com/vladium/jcd/lib/ |
D | Types.java | 414 parameterType (type); in typeDescriptor() 426 parameterType (_parameterTypes [p]); in parameterTypes() 437 parameterType (_returnType); in returnType() 441 private void parameterType (Class _parameterType) in parameterType() method in Types.signatureCompiler 458 emit ('['); parameterType (_parameterType.getComponentType ()); in parameterType()
|
/external/auto/value/src/it/functional/src/test/java/com/google/auto/value/ |
D | AutoOneOfJava8Test.java | 73 AnnotatedType parameterType = equals.getAnnotatedParameterTypes()[0]; in equalsNullable() local 74 assertThat(parameterType.isAnnotationPresent(EqualsNullable.Nullable.class)).isTrue(); in equalsNullable()
|
/external/dagger2/java/dagger/android/processor/ |
D | AndroidMapKeyValidator.java | 156 TypeMirror parameterType = getOnlyElement(method.getParameters()).asType(); in validateMapKeyMatchesBindsParameter() local 160 if (!types.isAssignable(parameterType, injectorFactoryOf(mapKeyType))) { in validateMapKeyMatchesBindsParameter() 163 String.format("%s does not implement AndroidInjector<%s>", parameterType, mapKeyType), in validateMapKeyMatchesBindsParameter()
|
/external/dagger2/java/dagger/internal/codegen/validation/ |
D | ComponentValidator.java | 335 TypeMirror parameterType = parameterTypes.get(i); in validateSubcomponentFactoryMethod() local 337 parameterType.accept( in validateSubcomponentFactoryMethod() 378 parameterType), in validateSubcomponentFactoryMethod() 403 TypeMirror parameterType = getOnlyElement(parameterTypes); in validateMembersInjectionMethod() local 405 membersInjectionValidator.validateMembersInjectionMethod(method, parameterType)); in validateMembersInjectionMethod() 406 if (!(returnType.getKind().equals(VOID) || types.isSameType(returnType, parameterType))) { in validateMembersInjectionMethod()
|
/external/proguard/src/proguard/classfile/visitor/ |
D | ParameterVisitor.java | 54 String parameterType, in visitParameter() argument
|
/external/guava/guava-tests/test/com/google/common/reflect/ |
D | TypesTest.java | 207 ParameterizedType parameterType = in getWildcardType() local 211 return (WildcardType) parameterType.getActualTypeArguments()[0]; in getWildcardType() 275 ParameterizedType parameterType = in getTypeVariable() local 279 return (TypeVariable<?>) parameterType.getActualTypeArguments()[0]; in getTypeVariable()
|
D | TypeTokenResolutionTest.java | 437 ParameterizedType parameterType = 441 parameterType = 442 (ParameterizedType) TypeToken.of(this.getClass()).resolveType(parameterType).getType(); 443 return parameterType.getActualTypeArguments()[0];
|
/external/skia/src/sksl/ir/ |
D | SkSLFunctionDeclaration.cpp | 384 const Type& parameterType = parameters[i]->type(); in determineFinalTypes() local 385 if (parameterType.typeKind() != Type::TypeKind::kGeneric) { in determineFinalTypes() 386 outParameterTypes->push_back(¶meterType); in determineFinalTypes() 391 const std::vector<const Type*>& types = parameterType.coercibleTypes(); in determineFinalTypes()
|
/external/guava/android/guava-tests/test/com/google/common/reflect/ |
D | TypesTest.java | 207 ParameterizedType parameterType = in getWildcardType() local 211 return (WildcardType) parameterType.getActualTypeArguments()[0]; in getWildcardType() 275 ParameterizedType parameterType = in getTypeVariable() local 279 return (TypeVariable<?>) parameterType.getActualTypeArguments()[0]; in getTypeVariable()
|
D | TypeTokenResolutionTest.java | 437 ParameterizedType parameterType = 441 parameterType = 442 (ParameterizedType) TypeToken.of(this.getClass()).resolveType(parameterType).getType(); 443 return parameterType.getActualTypeArguments()[0];
|
/external/dagger2/java/dagger/internal/codegen/writing/ |
D | AnnotationCreatorGenerator.java | 126 TypeName parameterType = TypeName.get(annotationMember.getReturnType()); in buildCreateMethod() local 127 createMethod.addParameter(parameterType, parameterName); in buildCreateMethod()
|
/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/ |
D | MethodCallSite.java | 30 return isStatic() ? null : type().parameterType(0); in thisType()
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/ |
D | MethodCallExprContext.java | 196 ResolvedType parameterType = parameter.getType(); in solveMethodAsUsage() local 198 parameterType = parameterType.asArrayType().getComponentType(); in solveMethodAsUsage() 200 inferTypes(argumentsTypes.get(i), parameterType, derivedValues); in solveMethodAsUsage() local
|
/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 | MethodCallExprContext.java | 238 Type parameterType = parameter.getType(); in solveMethodAsUsage() local 240 parameterType = parameterType.asArrayType().getComponentType(); in solveMethodAsUsage() 242 inferTypes(argumentsTypes.get(i), parameterType, derivedValues); in solveMethodAsUsage() local
|