/external/javaparser/javaparser-symbol-solver-logic/src/main/java/com/github/javaparser/symbolsolver/logic/ |
D | InferenceContext.java | 66 private void registerCorrespondance(ResolvedType formalType, ResolvedType actualType) { in registerCorrespondance() argument 67 if (formalType.isReferenceType() && actualType.isReferenceType()) { in registerCorrespondance() 69 ResolvedReferenceType actualTypeAsReference = actualType.asReferenceType(); in registerCorrespondance() 80 throw new ConfilictingGenericTypesException(formalType, actualType); in registerCorrespondance() 101 } else if (formalType instanceof InferenceVariableType && !actualType.isPrimitive()) { in registerCorrespondance() 102 ((InferenceVariableType) formalType).registerEquivalentType(actualType); in registerCorrespondance() 103 if (actualType instanceof InferenceVariableType) { in registerCorrespondance() 104 ((InferenceVariableType) actualType).registerEquivalentType(formalType); in registerCorrespondance() 106 } else if (actualType.isNull()) { in registerCorrespondance() 108 } else if (actualType.equals(formalType)) { in registerCorrespondance() [all …]
|
D | ConfilictingGenericTypesException.java | 10 public ConfilictingGenericTypesException(ResolvedType formalType, ResolvedType actualType) { in ConfilictingGenericTypesException() argument 11 … super(String.format("No matching between %s (formal) and %s (actual)", formalType, actualType)); in ConfilictingGenericTypesException()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-logic/com/github/javaparser/symbolsolver/logic/ |
D | InferenceContext.java | 68 private void registerCorrespondance(Type formalType, Type actualType) { in registerCorrespondance() argument 69 if (formalType.isReferenceType() && actualType.isReferenceType()) { in registerCorrespondance() 71 ReferenceType actualTypeAsReference = actualType.asReferenceType(); in registerCorrespondance() 82 throw new ConfilictingGenericTypesException(formalType, actualType); in registerCorrespondance() 103 } else if (formalType instanceof InferenceVariableType && !actualType.isPrimitive()) { in registerCorrespondance() 104 ((InferenceVariableType) formalType).registerEquivalentType(actualType); in registerCorrespondance() 105 if (actualType instanceof InferenceVariableType) { in registerCorrespondance() 106 ((InferenceVariableType) actualType).registerEquivalentType(formalType); in registerCorrespondance() 108 } else if (actualType.isNull()) { in registerCorrespondance() 110 } else if (actualType.equals(formalType)) { in registerCorrespondance() [all …]
|
D | ConfilictingGenericTypesException.java | 10 public ConfilictingGenericTypesException(Type formalType, Type actualType) { in ConfilictingGenericTypesException() argument 11 … super(String.format("No matching between %s (formal) and %s (actual)", formalType, actualType)); in ConfilictingGenericTypesException()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/resolution/ |
D | ConstructorResolutionLogic.java | 70 Type actualType = argumentsTypes.get(pos); in isApplicable() local 71 if (!expectedType.isAssignableBy(actualType)) { in isApplicable() 75 if (!expectedType.isAssignableBy(actualType)) { in isApplicable() 76 if (actualType.isArray() in isApplicable() 77 … && expectedType.isAssignableBy(actualType.asArrayType().getComponentType())) { in isApplicable() 78 argumentsTypes.set(pos, actualType.asArrayType().getComponentType()); in isApplicable() 101 Type actualType = argumentsTypes.get(i); in isApplicable() local 104 matchedParameters.put(expectedType.asTypeParameter().getName(), actualType); in isApplicable() local 108 expectedType.isAssignableBy(actualType) || (constructor.getParam(i).isVariadic() in isApplicable() 109 && new ArrayType(expectedType).isAssignableBy(actualType)); in isApplicable() [all …]
|
D | MethodResolutionLogic.java | 78 Type actualType = argumentsTypes.get(pos); in isApplicable() local 79 if (!expectedType.isAssignableBy(actualType)) { in isApplicable() 83 if (!expectedType.isAssignableBy(actualType)) { in isApplicable() 84 …if (actualType.isArray() && expectedType.isAssignableBy(actualType.asArrayType().getComponentType(… in isApplicable() 85 argumentsTypes.set(pos, actualType.asArrayType().getComponentType()); in isApplicable() 106 Type actualType = argumentsTypes.get(i); in isApplicable() local 108 matchedParameters.put(expectedType.asTypeParameter().getName(), actualType); in isApplicable() local 111 boolean isAssignableWithoutSubstitution = expectedType.isAssignableBy(actualType) || in isApplicable() 112 … (method.getParam(i).isVariadic() && new ArrayType(expectedType).isAssignableBy(actualType)); in isApplicable() 113 …if (!isAssignableWithoutSubstitution && expectedType.isReferenceType() && actualType.isReferenceTy… in isApplicable() [all …]
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/ |
D | ConstructorResolutionLogic.java | 70 ResolvedType actualType = argumentsTypes.get(pos); in isApplicable() local 71 if (!expectedType.isAssignableBy(actualType)) { in isApplicable() 75 if (!expectedType.isAssignableBy(actualType)) { in isApplicable() 76 if (actualType.isArray() in isApplicable() 77 … && expectedType.isAssignableBy(actualType.asArrayType().getComponentType())) { in isApplicable() 78 argumentsTypes.set(pos, actualType.asArrayType().getComponentType()); in isApplicable() 101 ResolvedType actualType = argumentsTypes.get(i); in isApplicable() local 104 matchedParameters.put(expectedType.asTypeParameter().getName(), actualType); in isApplicable() local 108 expectedType.isAssignableBy(actualType) || (constructor.getParam(i).isVariadic() in isApplicable() 109 && new ResolvedArrayType(expectedType).isAssignableBy(actualType)); in isApplicable() [all …]
|
D | MethodResolutionLogic.java | 73 ResolvedType actualType = argumentsTypes.get(pos); in isApplicable() local 74 if (!expectedType.isAssignableBy(actualType)) { in isApplicable() 78 if (!expectedType.isAssignableBy(actualType)) { in isApplicable() 79 …if (actualType.isArray() && expectedType.isAssignableBy(actualType.asArrayType().getComponentType(… in isApplicable() 80 argumentsTypes.set(pos, actualType.asArrayType().getComponentType()); in isApplicable() 101 ResolvedType actualType = argumentsTypes.get(i); in isApplicable() local 103 matchedParameters.put(expectedType.asTypeParameter().getName(), actualType); in isApplicable() local 106 boolean isAssignableWithoutSubstitution = expectedType.isAssignableBy(actualType) || in isApplicable() 107 …method.getParam(i).isVariadic() && new ResolvedArrayType(expectedType).isAssignableBy(actualType)); in isApplicable() 108 …if (!isAssignableWithoutSubstitution && expectedType.isReferenceType() && actualType.isReferenceTy… in isApplicable() [all …]
|
/external/llvm-project/flang/lib/Semantics/ |
D | check-call.cpp | 77 characteristics::TypeAndShape &actualType, in PadShortCharacterActual() argument 80 actualType.type().category() == TypeCategory::Character && in PadShortCharacterActual() 81 dummyType.type().kind() == actualType.type().kind() && in PadShortCharacterActual() 82 GetRank(actualType.shape()) == 0) { in PadShortCharacterActual() 83 if (dummyType.LEN() && actualType.LEN()) { in PadShortCharacterActual() 86 ToInt64(Fold(context, common::Clone(*actualType.LEN())))}; in PadShortCharacterActual() 94 actualType.set_LEN(SubscriptIntExpr{*dummyLength}); in PadShortCharacterActual() 107 characteristics::TypeAndShape &actualType, in ConvertIntegerActual() argument 110 actualType.type().category() == TypeCategory::Integer && in ConvertIntegerActual() 111 dummyType.type().kind() != actualType.type().kind() && in ConvertIntegerActual() [all …]
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/ |
D | MethodCallExprContext.java | 313 ResolvedType actualType = in resolveMethodTypeParameters() local 317 if (!expectedType.isAssignableBy(actualType)) { in resolveMethodTypeParameters() 322 if (!expectedType.isAssignableBy(actualType)) { in resolveMethodTypeParameters() 327 actualType, in resolveMethodTypeParameters() 332 matchTypeParameters(expectedType, actualType, matchedTypeParameters); in resolveMethodTypeParameters() 344 ResolvedType actualType = actualParamTypes.get(i); in resolveMethodTypeParameters() local 345 matchTypeParameters(expectedType, actualType, matchedTypeParameters); in resolveMethodTypeParameters() 353 …private void matchTypeParameters(ResolvedType expectedType, ResolvedType actualType, Map<ResolvedT… in matchTypeParameters() argument 355 if (!actualType.isTypeVariable() && !actualType.isReferenceType()) { in matchTypeParameters() 356 throw new UnsupportedOperationException(actualType.getClass().getCanonicalName()); in matchTypeParameters() [all …]
|
/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 | 349 Type actualType = in resolveMethodTypeParameters() local 353 if (!expectedType.isAssignableBy(actualType)) { in resolveMethodTypeParameters() 358 if (!expectedType.isAssignableBy(actualType)) { in resolveMethodTypeParameters() 363 actualType, in resolveMethodTypeParameters() 368 matchTypeParameters(expectedType, actualType, matchedTypeParameters); in resolveMethodTypeParameters() 380 Type actualType = actualParamTypes.get(i); in resolveMethodTypeParameters() local 381 matchTypeParameters(expectedType, actualType, matchedTypeParameters); in resolveMethodTypeParameters() 389 …private void matchTypeParameters(Type expectedType, Type actualType, Map<TypeParameterDeclaration,… in matchTypeParameters() argument 391 if (!actualType.isTypeVariable() && !actualType.isReferenceType()) { in matchTypeParameters() 392 throw new UnsupportedOperationException(actualType.getClass().getCanonicalName()); in matchTypeParameters() [all …]
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-logic/ |
D | com_github_javaparser_symbolsolver_logic_InferenceContext.txt | 14 …Line 69) actualType.isReferenceType() ==> com.github.javaparser.symbolsolver.model.typesystem.Type… 16 …Line 71) actualType.asReferenceType() ==> com.github.javaparser.symbolsolver.model.typesystem.Type… 50 …Line 103) actualType.isPrimitive() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.is… 51 …Line 104) ((InferenceVariableType) formalType).registerEquivalentType(actualType) ==> com.github.j… 52 …Line 106) ((InferenceVariableType) actualType).registerEquivalentType(formalType) ==> com.github.j… 53 …Line 108) actualType.isNull() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.isNull() 54 Line 110) actualType.equals(formalType) ==> java.lang.Object.equals(java.lang.Object) 55 …Line 112) actualType.isArray() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.isArra… 57 …Line 113) registerCorrespondance(formalType.asArrayType().getComponentType(), actualType.asArrayTy… 60 …Line 113) actualType.asArrayType().getComponentType() ==> com.github.javaparser.symbolsolver.model… [all …]
|
/external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/ |
D | RobolectricModel.java | 92 public void addShadowType(TypeElement shadowType, TypeElement actualType, in addShadowType() argument 105 new ShadowInfo(shadowType, actualType, shadowPickerType, shadowBaseType); in addShadowType() 109 registerType(shadowInfo.actualType); in addShadowType() 331 private final TypeElement actualType; field in RobolectricModel.ShadowInfo 345 ShadowInfo(TypeElement shadowType, TypeElement actualType, TypeElement shadowPickerType, in ShadowInfo() argument 348 this.actualType = actualType; in ShadowInfo() 357 for (TypeParameterElement typeParam : actualType.getTypeParameters()) { in prepare() 384 actualTypeReferent = referentResolver.getReferentFor(actualType); in prepare() 385 actualTypePackage = helpers.getPackageOf(actualType); in prepare() 386 actualBinaryName = helpers.getBinaryName(actualType); in prepare() [all …]
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/ |
D | com_github_javaparser_symbolsolver_resolution_ConstructorResolutionLogic.txt | 18 …Line 71) expectedType.isAssignableBy(actualType) ==> com.github.javaparser.symbolsolver.model.type… 21 …Line 75) expectedType.isAssignableBy(actualType) ==> com.github.javaparser.symbolsolver.model.type… 22 …Line 76) actualType.isArray() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.isArray… 23 …Line 77) expectedType.isAssignableBy(actualType.asArrayType().getComponentType()) ==> com.github.j… 24 …Line 77) actualType.asArrayType().getComponentType() ==> com.github.javaparser.symbolsolver.model.… 25 …Line 77) actualType.asArrayType() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.asA… 26 …Line 78) argumentsTypes.set(pos, actualType.asArrayType().getComponentType()) ==> java.util.List.s… 27 …Line 78) actualType.asArrayType().getComponentType() ==> com.github.javaparser.symbolsolver.model.… 28 …Line 78) actualType.asArrayType() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.asA… 46 …Line 104) matchedParameters.put(expectedType.asTypeParameter().getName(), actualType) ==> java.uti… [all …]
|
D | com_github_javaparser_symbolsolver_javaparsermodel_contexts_MethodCallExprContext.txt | 242 …Line 353) expectedType.isAssignableBy(actualType) ==> com.github.javaparser.symbolsolver.model.typ… 246 …Line 358) expectedType.isAssignableBy(actualType) ==> com.github.javaparser.symbolsolver.model.typ… 247 …tual type: %s. Method Declaration: %s. MethodUsage: %s", expectedType, actualType, methodUsage.get… 249 …Line 368) matchTypeParameters(expectedType, actualType, matchedTypeParameters) ==> com.github.java… 256 …Line 381) matchTypeParameters(expectedType, actualType, matchedTypeParameters) ==> com.github.java… 261 …Line 391) actualType.isTypeVariable() ==> com.github.javaparser.symbolsolver.model.typesystem.Type… 262 …Line 391) actualType.isReferenceType() ==> com.github.javaparser.symbolsolver.model.typesystem.Typ… 263 Line 392) actualType.getClass().getCanonicalName() ==> java.lang.Class.getCanonicalName() 264 Line 392) actualType.getClass() ==> java.lang.Object.getClass() 265 …Line 394) matchedTypeParameters.put(expectedType.asTypeParameter(), actualType) ==> java.util.Map.… [all …]
|
/external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/validator/ |
D | ImplementsValidator.java | 105 TypeElement actualType = null; in visitType() local 111 actualType = getClassNameTypeElement(cv); in visitType() 113 if (actualType == null in visitType() 126 actualType = Helpers.getAnnotationTypeMirrorValue(types.asElement(value)); in visitType() 129 if (actualType == null) { in visitType() 133 final List<? extends TypeParameterElement> typeTP = actualType.getTypeParameters(); in visitType() 139 helpers.appendParameterList(message, actualType.getTypeParameters()); in visitType() 145 helpers.appendParameterList(message, actualType.getTypeParameters()); in visitType() 158 validateShadowMethods(actualType, shadowType, minSdk, maxSdk, looseSignatures); in visitType() 160 modelBuilder.addShadowType(shadowType, actualType, in visitType()
|
/external/icu/icu4c/source/common/ |
D | locavailable.cpp | 148 ULocAvailableType actualType = fType; in next() local 155 actualType = ULOC_AVAILABLE_DEFAULT; in next() 158 actualType = ULOC_AVAILABLE_ONLY_LEGACY_ALIASES; in next() 163 int32_t count = gAvailableLocaleCounts[actualType]; in next() 166 result = gAvailableLocaleNames[actualType][actualIndex]; in next()
|
/external/OpenCL-CTS/test_conformance/gles/ |
D | test_renderbuffer.cpp | 68 ExplicitType actualType; in test_renderbuffer_read_image() local 70 …context, queue, attachment, glRenderbuffer, width, height, &clFormat, &actualType, (void **)&outBu… in test_renderbuffer_read_image() 86 …ningPtr<char> convertedInput(convert_to_expected( inputBuffer, width * height, type, actualType )); in test_renderbuffer_read_image() 90 DumpGLBuffer(GetGLTypeForExplicitType(actualType), width, height, convertedInput); in test_renderbuffer_read_image() 96 DumpGLBuffer(GetGLTypeForExplicitType(actualType), width, height, actualResults); in test_renderbuffer_read_image() 103 if( actualType == kFloat ) in test_renderbuffer_read_image() 106 …eger_results( convertedInput, actualResults, width, height, get_explicit_type_size( actualType ) ); in test_renderbuffer_read_image()
|
D | test_images_3D.cpp | 148 ExplicitType actualType; in test_image_format_read() local 150 …( context, queue, target, glTexture, width, height, depth, &clFormat, &actualType, (void **)&outBu… in test_image_format_read() 165 …har> convertedInputs(convert_to_expected( inputBuffer, width * height * depth, type, actualType )); in test_image_format_read() 170 if( actualType == kFloat ) in test_image_format_read() 173 …ults( convertedInputs, actualResults, width, height, depth, get_explicit_type_size( actualType ) ); in test_image_format_read()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/ |
D | PropertyBuilder.java | 131 JavaType actualType = (serializationType == null) ? declaredType : serializationType; in buildWriter() local 145 JsonInclude.Value inclV = _config.getDefaultInclusion(actualType.getRawClass(), in buildWriter() 180 valueToSuppress = BeanUtil.getDefaultValue(actualType); in buildWriter() 195 if (actualType.isReferenceType()) { in buildWriter() 219 if (actualType.isContainerType() in buildWriter()
|
/external/OpenCL-CTS/test_conformance/gl/ |
D | test_renderbuffer.cpp | 115 ExplicitType actualType; in test_renderbuffer_read_image() local 117 …context, queue, attachment, glRenderbuffer, width, height, &clFormat, &actualType, (void **)&outBu… in test_renderbuffer_read_image() 133 …convertedInput(convert_to_expected( inputBuffer, width * height, type, actualType, get_channel_ord… in test_renderbuffer_read_image() 137 DumpGLBuffer(GetGLTypeForExplicitType(actualType), width, height, convertedInput); in test_renderbuffer_read_image() 143 DumpGLBuffer(GetGLTypeForExplicitType(actualType), width, height, actualResults); in test_renderbuffer_read_image() 150 if( actualType == kFloat ) in test_renderbuffer_read_image() 153 …r_results( convertedInput, actualResults, width, height, 1, get_explicit_type_size( actualType ) ); in test_renderbuffer_read_image()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/type/ |
D | PlaceholderForType.java | 31 public JavaType actualType() { return _actualType; } in actualType() method in PlaceholderForType 32 public void actualType(JavaType t) { _actualType = t; } in actualType() method in PlaceholderForType
|
/external/guava/android/guava/src/com/google/common/net/ |
D | InternetDomainName.java | 609 Optional<PublicSuffixType> desiredType, Optional<PublicSuffixType> actualType) { in matchesType() argument 610 return desiredType.isPresent() ? desiredType.equals(actualType) : actualType.isPresent(); in matchesType()
|
/external/guava/guava/src/com/google/common/net/ |
D | InternetDomainName.java | 609 Optional<PublicSuffixType> desiredType, Optional<PublicSuffixType> actualType) { in matchesType() argument 610 return desiredType.isPresent() ? desiredType.equals(actualType) : actualType.isPresent(); in matchesType()
|
/external/mockito/src/main/java/org/mockito/internal/exceptions/ |
D | Reporter.java | 495 …public static MockitoException wrongTypeOfReturnValue(String expectedType, String actualType, Stri… in wrongTypeOfReturnValue() argument 497 actualType + " cannot be returned by " + methodName + "()", in wrongTypeOfReturnValue() 510 …ngTypeReturnedByDefaultAnswer(Object mock, String expectedType, String actualType, String methodNa… in wrongTypeReturnedByDefaultAnswer() argument 513 actualType + " cannot be returned by " + methodName + "()", in wrongTypeReturnedByDefaultAnswer() 773 …entToReturn(InvocationOnMock invocation, String expectedType, Class<?> actualType, int argumentInd… in wrongTypeOfArgumentToReturn() argument 775 …"The argument of type '" + actualType.getSimpleName() + "' cannot be returned because the followin… in wrongTypeOfArgumentToReturn()
|