Home
last modified time | relevance | path

Searched refs:paramType (Results 1 – 25 of 80) sorted by relevance

1234

/external/guava/guava-tests/test/com/google/common/reflect/
DSubtypeTester.java86 Type paramType = getOnlyParameterType(); in isSubtype() local
88 assertWithMessage("%s is subtype of %s", paramType, returnType) in isSubtype()
89 .that(TypeToken.of(paramType).isSubtypeOf(returnType)) in isSubtype()
91 assertWithMessage("%s is supertype of %s", returnType, paramType) in isSubtype()
92 .that(TypeToken.of(returnType).isSupertypeOf(paramType)) in isSubtype()
95 assertThat(getSubtype(returnType, TypeToken.of(paramType).getRawType())).isEqualTo(paramType); in isSubtype()
98 assertThat(getSupertype(paramType, TypeToken.of(returnType).getRawType())) in isSubtype()
110 Type paramType = getOnlyParameterType(); in notSubtype() local
112 assertWithMessage("%s is subtype of %s", paramType, returnType) in notSubtype()
113 .that(TypeToken.of(paramType).isSubtypeOf(returnType)) in notSubtype()
[all …]
/external/guava/android/guava-tests/test/com/google/common/reflect/
DSubtypeTester.java86 Type paramType = getOnlyParameterType(); in isSubtype() local
88 assertWithMessage("%s is subtype of %s", paramType, returnType) in isSubtype()
89 .that(TypeToken.of(paramType).isSubtypeOf(returnType)) in isSubtype()
91 assertWithMessage("%s is supertype of %s", returnType, paramType) in isSubtype()
92 .that(TypeToken.of(returnType).isSupertypeOf(paramType)) in isSubtype()
95 assertThat(getSubtype(returnType, TypeToken.of(paramType).getRawType())).isEqualTo(paramType); in isSubtype()
98 assertThat(getSupertype(paramType, TypeToken.of(returnType).getRawType())) in isSubtype()
110 Type paramType = getOnlyParameterType(); in notSubtype() local
112 assertWithMessage("%s is subtype of %s", paramType, returnType) in notSubtype()
113 .that(TypeToken.of(paramType).isSubtypeOf(returnType)) in notSubtype()
[all …]
/external/llvm-project/flang/test/Semantics/
Dresolve89.f90127 type paramType(lenParam) type
129 end type paramType
146 type(paramType(iabs(iArg))) :: fieldWithIntrinsic
148 type(paramType(merge(1, 2, allocated(allocArg)))) :: allocField
150 type(paramType(merge(1, 2, associated(pointerArg)))) :: assocField
152 type(paramType(merge(1, 2, is_contiguous(arrayArg)))) :: contigField
154 type(paramType(merge(1, 2, present(optionalArg)))) :: presentField
Dresolve31.f9090 type :: paramType(param) type
94 end type paramType
/external/junit/src/main/java/org/junit/experimental/theories/internal/
DAssignments.java87 Class<?> paramType = unassigned.getType(); in generateAssignmentsFromTypeAlone() local
89 if (paramType.isEnum()) { in generateAssignmentsFromTypeAlone()
90 return new EnumSupplier(paramType).getValueSources(unassigned); in generateAssignmentsFromTypeAlone()
91 } else if (paramType.equals(Boolean.class) || paramType.equals(boolean.class)) { in generateAssignmentsFromTypeAlone()
/external/connectedappssdk/processor/src/main/java/com/google/android/enterprise/connectedapps/processor/
DCrossProfileCallbackCodeGenerator.java107 TypeMirror paramType = in generateMultiMergerResultClass() local
113 ClassName.get(generatorUtilities.boxIfNecessary(paramType))); in generateMultiMergerResultClass()
115 ParameterizedTypeName multiParameterType = getMultiParameterType(paramType); in generateMultiMergerResultClass()
160 TypeMirror paramType = in generateMultiMergerInputClass() local
182 ClassName.get(generatorUtilities.boxIfNecessary(paramType))), in generateMultiMergerInputClass()
194 ClassName.get(generatorUtilities.boxIfNecessary(paramType))), in generateMultiMergerInputClass()
207 methodBuilder.addParameter(ClassName.get(paramType), paramName); in generateMultiMergerInputClass()
230 ParameterizedTypeName paramType = getMultiParameterType(param.asType()); in addMultiMethod() local
235 .addParameter(paramType, param.getSimpleName().toString()) in addMultiMethod()
239 private ParameterizedTypeName getMultiParameterType(TypeMirror paramType) { in getMultiParameterType() argument
[all …]
DMultipleProfilesGenerator.java243 TypeMirror paramType = in generateCrossProfileCallbackMethodOnMultipleProfilesClass() local
248 if (paramType.getKind().isPrimitive()) { in generateCrossProfileCallbackMethodOnMultipleProfilesClass()
249 PrimitiveType primitiveType = (PrimitiveType) paramType; in generateCrossProfileCallbackMethodOnMultipleProfilesClass()
250 paramType = generatorContext.types().boxedClass(primitiveType).asType(); in generateCrossProfileCallbackMethodOnMultipleProfilesClass()
265 paramType); in generateCrossProfileCallbackMethodOnMultipleProfilesClass()
288 paramType); in generateCrossProfileCallbackMethodOnMultipleProfilesClass()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/
DReferenceUtil.java58 for (CharSequence paramType: methodReference.getParameterTypes()) { in getMethodDescriptor()
59 sb.append(paramType); in getMethodDescriptor()
80 for (CharSequence paramType : methodProtoReference.getParameterTypes()) { in writeMethodProtoDescriptor()
81 writer.write(paramType.toString()); in writeMethodProtoDescriptor()
99 for (CharSequence paramType: methodReference.getParameterTypes()) { in writeMethodDescriptor()
100 writer.write(paramType.toString()); in writeMethodDescriptor()
DMethodUtil.java89 for (CharSequence paramType: parameterTypes) { in getParameterRegisterCount()
90 int firstChar = paramType.charAt(0); in getParameterRegisterCount()
/external/angle/src/libANGLE/capture/
DFrameCapture.h57 void addValueParam(const char *paramName, ParamType paramType, T paramValue);
59 void setValueParamAtIndex(const char *paramName, ParamType paramType, T paramValue, int index);
63 ParamType paramType,
66 ParamCapture &getParam(const char *paramName, ParamType paramType, int index);
67 const ParamCapture &getParam(const char *paramName, ParamType paramType, int index) const;
70 ParamType paramType,
74 ParamType paramType,
550 void ParamBuffer::addValueParam(const char *paramName, ParamType paramType, T paramValue) in addValueParam() argument
552 ParamCapture capture(paramName, paramType); in addValueParam()
553 InitParamValue(paramType, paramValue, &capture.value); in addValueParam()
[all …]
/external/mockito/src/main/java/org/mockito/internal/creation/instance/
DConstructorInstantiator.java165 Class<?> paramType = paramTypes[i]; in evaluateConstructor() local
166 if (!paramType.isPrimitive()) { in evaluateConstructor()
169 if (paramType != existingParamType) { in evaluateConstructor()
170 if (paramType.isAssignableFrom(existingParamType)) { in evaluateConstructor()
/external/angle/src/compiler/translator/
DUtilsHLSL.cpp22 void DisambiguateFunctionNameForParameterType(const TType &paramType, in DisambiguateFunctionNameForParameterType() argument
28 if (paramType.getObjectSize() == 4 && paramType.getBasicType() == EbtFloat) in DisambiguateFunctionNameForParameterType()
33 *disambiguatingStringOut += "_" + TypeString(paramType); in DisambiguateFunctionNameForParameterType()
35 else if (paramType.getBasicType() == EbtStruct) in DisambiguateFunctionNameForParameterType()
39 ASSERT(paramType.getStruct()->symbolType() != SymbolType::Empty); in DisambiguateFunctionNameForParameterType()
40 *disambiguatingStringOut += "_" + TypeString(paramType); in DisambiguateFunctionNameForParameterType()
DStructureHLSL.cpp82 const TType &paramType = parameters[parameter]; in WriteParameterList() local
85 TypeString(paramType) + " x" + str(parameter) + ArrayString(paramType).data(); in WriteParameterList()
451 const TType &paramType = parameter->getAsTyped()->getType(); in addBuiltInConstructor() local
452 ASSERT(!paramType.isArray()); in addBuiltInConstructor()
453 ctorParameters.push_back(paramType); in addBuiltInConstructor()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/type/
DTestTypeFactory1604.java47 JavaType paramType = subtype.containedType(0); in testCustomTypesRefinedSimple() local
48 assertEquals(Long.class, paramType.getRawClass()); in testCustomTypesRefinedSimple()
62 JavaType paramType = subtype.containedType(0); in testCustomTypesRefinedNested() local
63 assertEquals(Long.class, paramType.getRawClass()); in testCustomTypesRefinedNested()
/external/dokka/core/src/test/kotlin/javadoc/
DJavadocTest.kt65 val paramType = member.parameters()[0].type() in <lambda>() constant
66 assertNull(paramType.asParameterizedType()) in <lambda>()
67 assertEquals("String", paramType.typeName()) in <lambda>()
68 assertEquals("String", paramType.asClassDoc().name()) in <lambda>()
/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/
DShadowWrangler.java104 public static Class<?> loadClass(String paramType, ClassLoader classLoader) { in loadClass() argument
105 Class primitiveClass = RoboType.findPrimitiveClass(paramType); in loadClass()
109 while (paramType.endsWith("[]")) { in loadClass()
111 paramType = paramType.substring(0, paramType.length() - 2); in loadClass()
114 Class<?> clazz = RoboType.findPrimitiveClass(paramType); in loadClass()
117 clazz = classLoader.loadClass(paramType); in loadClass()
DInvocationProfile.java27 String paramType = paramTypes[i]; in getParamClasses() local
28 classes[i] = ShadowWrangler.loadClass(paramType, classLoader); in getParamClasses()
/external/angle/src/compiler/translator/TranslatorMetalDirect/
DRewriteUnaddressableReferences.cpp17 bool IsOutParam(const TType &paramType) in IsOutParam() argument
19 const TQualifier qual = paramType.getQualifier(); in IsOutParam()
277 const TType &paramType = param.getType(); in visitAggregatePre() local
281 mRequiresAddressingStack.push_back(IsOutParam(paramType)); in visitAggregatePre()
/external/starlark-go/starlark/
Dunpack.go264 paramType := paramVar.Type().String()
269 paramType = paramVar.MethodByName("Type").Call(nil)[0].String()
271 return fmt.Errorf("got %s, want %s", v.Type(), paramType)
/external/escapevelocity/src/main/java/com/google/escapevelocity/
DReferenceNode.java270 Class<?> paramType = paramTypes[i]; in compatibleArgs() local
272 if (paramType.isPrimitive()) { in compatibleArgs()
273 return primitiveIsCompatible(paramType, argValue); in compatibleArgs()
274 } else if (argValue != null && !paramType.isInstance(argValue)) { in compatibleArgs()
/external/jdiff/src/jdiff/
DAPIHandler.java139 String paramType = attributes.getValue("type"); in startElement() local
140 XMLToAPI.addParam(paramName, paramType, currentElement.compareTo("constructor") == 0); in startElement()
143 String paramType = attributes.getValue("type"); in startElement() local
144 XMLToAPI.addException(paramName, paramType, currentElement); in startElement()
/external/guice/extensions/grapher/src/com/google/inject/grapher/
DShortNameFactory.java125 for (Class<?> paramType : method.getParameterTypes()) { in getMethodString()
126 paramStrings.add(paramType.getSimpleName()); in getMethodString()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/std/
DFactoryBasedEnumDeserializer.java47 public FactoryBasedEnumDeserializer(Class<?> cls, AnnotatedMethod f, JavaType paramType, in FactoryBasedEnumDeserializer() argument
54 _inputType = paramType.hasRawClass(String.class) ? null : paramType; in FactoryBasedEnumDeserializer()
/external/guava/android/guava/src/com/google/common/util/concurrent/
DFuturesGetChecked.java264 Class<?> paramType = paramTypes[i]; in newFromConstructor() local
265 if (paramType.equals(String.class)) { in newFromConstructor()
267 } else if (paramType.equals(Throwable.class)) { in newFromConstructor()
/external/guava/guava/src/com/google/common/util/concurrent/
DFuturesGetChecked.java263 Class<?> paramType = paramTypes[i]; in newFromConstructor() local
264 if (paramType.equals(String.class)) { in newFromConstructor()
266 } else if (paramType.equals(Throwable.class)) { in newFromConstructor()

1234