/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/typeinference/bounds/ |
D | SameAsBoundTest.java | 19 …private ResolvedType stringType = new ReferenceTypeImpl(new ReflectionTypeSolver().solveType(Strin… field in SameAsBoundTest 25 Bound bound1 = new SameAsBound(inferenceVariable, stringType); in recognizeInstantiation() 26 Bound bound2 = new SameAsBound(stringType, inferenceVariable); in recognizeInstantiation() 28 …assertEquals(Optional.of(new Instantiation(inferenceVariable, stringType)), bound1.isAnInstantiati… in recognizeInstantiation() 29 …assertEquals(Optional.of(new Instantiation(inferenceVariable, stringType)), bound2.isAnInstantiati… in recognizeInstantiation()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/ |
D | ExprResolutionTest.java | 38 private ResolvedType stringType; field in ExprResolutionTest 43 stringType = new ReferenceTypeImpl(ts.solveType(String.class.getCanonicalName()), ts); in setup() 339 assertEquals(stringType, JavaParserFacade.get(ts).getType(bExprs.get(0))); in typeOfPlusExpressionsDoubleAndString() 355 assertEquals(stringType, JavaParserFacade.get(ts).getType(bExprs.get(0))); in typeOfPlusExpressionsIntAndString() 371 assertEquals(stringType, JavaParserFacade.get(ts).getType(bExprs.get(0))); in typeOfPlusExpressionsCharAndString() 387 assertEquals(stringType, JavaParserFacade.get(ts).getType(bExprs.get(0))); in typeOfPlusExpressionsStringAndDouble() 403 assertEquals(stringType, JavaParserFacade.get(ts).getType(bExprs.get(0))); in typeOfPlusExpressionsStringAndInt() 419 assertEquals(stringType, JavaParserFacade.get(ts).getType(bExprs.get(0))); in typeOfPlusExpressionsStringAndChar()
|
D | MethodsResolutionLogicTest.java | 54 …ResolvedReferenceType stringType = (ResolvedReferenceType) ReflectionFactory.typeUsageFor(String.c… in compatibilityShouldConsiderAlsoTypeVariablesNegative() local 57 …ype.replaceTypeVariables(rawClassType.getTypeDeclaration().getTypeParameters().get(0), stringType); in compatibilityShouldConsiderAlsoTypeVariablesNegative()
|
/external/dagger2/javatests/dagger/internal/codegen/ |
D | KeyFactoryTest.java | 89 TypeMirror stringType = elements.getTypeElement(String.class.getCanonicalName()).asType(); in forProvidesMethod() local 95 assertThat(key).isEqualTo(Key.builder(stringType).build()); in forProvidesMethod() 107 TypeMirror stringType = elements.getTypeElement(String.class.getCanonicalName()).asType(); in forProvidesMethod_qualified() local 118 .isEqualTo(MoreTypes.equivalence().wrap(stringType)); in forProvidesMethod_qualified() 197 TypeMirror stringType = elements.getTypeElement(String.class.getCanonicalName()).asType(); in forProvidesMethod_sets() local 198 TypeMirror setOfStringsType = types.getDeclaredType(setElement, stringType); in forProvidesMethod_sets() 267 TypeMirror stringType = elements.getTypeElement(String.class.getCanonicalName()).asType(); in forProducesMethod() local 273 assertThat(key).isEqualTo(Key.builder(stringType).build()); in forProducesMethod() 291 TypeMirror stringType = elements.getTypeElement(String.class.getCanonicalName()).asType(); in forProducesMethod_sets() local 292 TypeMirror setOfStringsType = types.getDeclaredType(setElement, stringType); in forProducesMethod_sets()
|
/external/auto/common/src/test/java/com/google/auto/common/ |
D | MoreTypesTest.java | 67 TypeMirror stringType = elements.getTypeElement(String.class.getCanonicalName()).asType(); in equivalence() local 85 types.getDeclaredType(setElement, types.getDeclaredType(setElement, stringType)); in equivalence() 90 DeclaredType containerOfString = types.getDeclaredType(container, stringType); in equivalence() 98 .addEquivalenceGroup(stringType) in equivalence() 115 .addEquivalenceGroup(types.getDeclaredType(mapElement, objectType, stringType)) in equivalence() 116 .addEquivalenceGroup(types.getDeclaredType(mapElement, stringType, objectType)) in equivalence() 117 .addEquivalenceGroup(types.getDeclaredType(mapElement, stringType, stringType)) in equivalence() 126 .addEquivalenceGroup(types.getWildcardType(stringType, null)) in equivalence() 128 .addEquivalenceGroup(types.getWildcardType(null, stringType)) in equivalence() 130 .addEquivalenceGroup(types.getDeclaredType(mapElement, stringType, in equivalence() [all …]
|
/external/guice/core/test/com/google/inject/internal/ |
D | MapBinderTest.java | 102 private final TypeLiteral<String> stringType = TypeLiteral.get(String.class); field in MapBinderTest 215 stringType, in testMapBinderAggregatesMultipleModules() local 216 stringType, in testMapBinderAggregatesMultipleModules() local 254 stringType, in testMapBinderAggregationForAnnotationInstance() 255 stringType, in testMapBinderAggregationForAnnotationInstance() 290 stringType, in testMapBinderAggregationForAnnotationType() 291 stringType, in testMapBinderAggregationForAnnotationType() 332 stringType, in testMapBinderWithMultipleAnnotationValueSets() 333 stringType, in testMapBinderWithMultipleAnnotationValueSets() 343 stringType, in testMapBinderWithMultipleAnnotationValueSets() [all …]
|
D | MultibinderTest.java | 95 final TypeLiteral<String> stringType = TypeLiteral.get(String.class); field in MultibinderTest 131 stringType, in testMultibinderAggregatesMultipleModules() 165 stringType, in testMultibinderAggregationForAnnotationInstance() 197 stringType, in testMultibinderAggregationForAnnotationType() 236 stringType, in testMultibinderWithMultipleAnnotationValueSets() 245 deSetKey, stringType, setOf(module), BOTH, false, 1, instance("D"), instance("E")); in testMultibinderWithMultipleAnnotationValueSets() 277 stringType, in testMultibinderWithMultipleAnnotationTypeSets() 286 deSetKey, stringType, setOf(module), BOTH, false, 1, instance("D"), instance("E")); in testMultibinderWithMultipleAnnotationTypeSets() 303 Key.get(setOfString), stringType, setOf(module), BOTH, false, 1, instance("A")); in testMultibinderWithMultipleSetTypes() local 319 assertSetVisitor(Key.get(setOfString), stringType, setOf(module), BOTH, false, 0); in testMultibinderWithEmptySet() local [all …]
|
/external/llvm-project/mlir/unittests/IR/ |
D | AttributeTest.cpp | 153 Type stringType = in TEST() local 156 testSplat(stringType, value); in TEST() 161 Type stringType = in TEST() local 163 Attribute stringAttr = StringAttr::get("test-string", stringType); in TEST() 164 testSplat(stringType, stringAttr); in TEST()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/typeinference/constraintformulas/ |
D | ConstraintFormulaTest.java | 21 …private ResolvedType stringType = new ReferenceTypeImpl(new ReflectionTypeSolver().solveType(Strin… field in ConstraintFormulaTest 40 …onResult.empty().withConstraint(new TypeCompatibleWithType(typeSolver, stringType, inferenceVariab… in testExpressionCompatibleWithTypeReduce1() 44 …ductionResult.empty().withConstraint(new TypeSubtypeOfType(typeSolver, stringType, inferenceVariab… in testExpressionCompatibleWithTypeReduce1()
|
/external/llvm-project/mlir/lib/TableGen/ |
D | TypeDef.cpp | 133 if (auto *stringType = dyn_cast<llvm::StringInit>(parameterType)) in getCppType() local 134 return stringType->getValue(); in getCppType() 152 if (auto *stringType = dyn_cast<llvm::StringInit>(parameterType)) in getSyntax() local 153 return stringType->getValue(); in getSyntax()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/util/ |
D | ClassUtilTest.java | 218 final JavaType stringType = TypeFactory.defaultInstance().constructType(String.class); in testDescs() local 219 assertEquals(stringExp, ClassUtil.getTypeDescription(stringType)); in testDescs() 228 final JavaType stringType = TypeFactory.defaultInstance().constructType(String.class); in testSubtypes() local 229 List<JavaType> supers = ClassUtil.findSuperTypes(stringType, Object.class, false); in testSubtypes() 232 supers = ClassUtil.findSuperTypes(stringType, Object.class, true); in testSubtypes() 233 assertEquals(Collections.singletonList(stringType), supers); in testSubtypes()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/javaparser/contexts/ |
D | MethodCallExprContextResolutionTest.java | 123 ResolvedReferenceTypeDeclaration stringType = typeSolver.solveType("java.lang.String"); in assertCanSolveGenericMethodCallCanInferFromArguments() local 126 argumentsTypes.add(new ReferenceTypeImpl(stringType, typeSolver)); in assertCanSolveGenericMethodCallCanInferFromArguments()
|
D | ClassOrInterfaceDeclarationContextResolutionTest.java | 399 …ResolvedType stringType = new ReferenceTypeImpl(new ReflectionClassDeclaration(String.class, typeS… in solveMethodWithMoreSpecializedParameter() local 401 …<ResolvedMethodDeclaration> ref = context.solveMethod("foo4", ImmutableList.of(stringType), false); in solveMethodWithMoreSpecializedParameter() 479 …ResolvedType stringType = new ReferenceTypeImpl(new ReflectionClassDeclaration(String.class, typeS… in solveMethodAsUsageWithMoreSpecializedParameter() local 481 … Optional<MethodUsage> ref = context.solveMethodAsUsage("foo4", ImmutableList.of(stringType)); in solveMethodAsUsageWithMoreSpecializedParameter()
|
/external/boringssl/src/util/fipstools/acvp/acvptool/acvp/ |
D | acvp.go | 478 stringType = reflect.TypeOf("") var 501 {Name: "Next", Type: stringType, Tag: `json:"next"`},
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/std/ |
D | UntypedObjectDeserializer.java | 134 JavaType stringType = ctxt.constructType(String.class); in resolve() local 154 …izer = _clearIfStdImpl(_findCustomDeser(ctxt, tf.constructMapType(Map.class, stringType, obType))); in resolve() 159 _stringDeserializer = _clearIfStdImpl(_findCustomDeser(ctxt, stringType)); in resolve()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/ |
D | JavaParserClassDeclarationTest.java | 824 …ResolvedReferenceType stringType = (ResolvedReferenceType) ReflectionFactory.typeUsageFor(String.c… in testSolveMethodNotExistingBecauseOfTypeParameters() local 826 …ype.replaceTypeVariables(rawClassType.getTypeDeclaration().getTypeParameters().get(0), stringType); in testSolveMethodNotExistingBecauseOfTypeParameters()
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | StandardCodes.java | 267 public Set<String> getGoodAvailableCodes(String stringType) { in getGoodAvailableCodes() argument 268 return getGoodAvailableCodes(CodeType.from(stringType)); in getGoodAvailableCodes()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/ |
D | MethodAnalyzer.java | 1176 RegisterType stringType = RegisterType.getRegisterType(RegisterType.REFERENCE, stringClass); 1177 setDestinationRegisterTypeAndPropagateChanges(analyzedInstruction, stringType);
|
/external/libxml2/ |
D | xmlschemastypes.c | 5434 int stringType; in xmlSchemaValidateFacetInternal() local 5452 stringType = val && ((val->type >= XML_SCHEMAS_STRING && val->type <= XML_SCHEMAS_NORMSTRING) in xmlSchemaValidateFacetInternal() 5455 (stringType && val->value.str) ? val->value.str : value); in xmlSchemaValidateFacetInternal()
|