Home
last modified time | relevance | path

Searched refs:Class (Results 1 – 25 of 2511) sorted by relevance

12345678910>>...101

/external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.cat/
Dmember_function_pointer.pass.cpp47 class Class class
55 test_member_function_pointer<void (Class::*)()>(); in main()
56 test_member_function_pointer<void (Class::*)(int)>(); in main()
57 test_member_function_pointer<void (Class::*)(int, char)>(); in main()
59 test_member_function_pointer<void (Class::*)() const>(); in main()
60 test_member_function_pointer<void (Class::*)(int) const>(); in main()
61 test_member_function_pointer<void (Class::*)(int, char) const>(); in main()
63 test_member_function_pointer<void (Class::*)() volatile>(); in main()
64 test_member_function_pointer<void (Class::*)(int) volatile>(); in main()
65 test_member_function_pointer<void (Class::*)(int, char) volatile>(); in main()
[all …]
Dmember_function_pointer_no_variadics.pass.cpp49 class Class class
57 test_member_function_pointer<void (Class::*)()>(); in main()
58 test_member_function_pointer<void (Class::*)(int)>(); in main()
59 test_member_function_pointer<void (Class::*)(int, char)>(); in main()
61 test_member_function_pointer<void (Class::*)() const>(); in main()
62 test_member_function_pointer<void (Class::*)(int) const>(); in main()
63 test_member_function_pointer<void (Class::*)(int, char) const>(); in main()
65 test_member_function_pointer<void (Class::*)() volatile>(); in main()
66 test_member_function_pointer<void (Class::*)(int) volatile>(); in main()
67 test_member_function_pointer<void (Class::*)(int, char) volatile>(); in main()
[all …]
/external/guava/guava/src/com/google/common/primitives/
DPrimitives.java37 private static final Map<Class<?>, Class<?>> PRIMITIVE_TO_WRAPPER_TYPE;
40 private static final Map<Class<?>, Class<?>> WRAPPER_TO_PRIMITIVE_TYPE;
45 Map<Class<?>, Class<?>> primToWrap = new HashMap<Class<?>, Class<?>>(16);
46 Map<Class<?>, Class<?>> wrapToPrim = new HashMap<Class<?>, Class<?>>(16);
62 private static void add(Map<Class<?>, Class<?>> forward, in add() argument
63 Map<Class<?>, Class<?>> backward, Class<?> key, Class<?> value) { in add()
75 public static Set<Class<?>> allPrimitiveTypes() { in allPrimitiveTypes()
85 public static Set<Class<?>> allWrapperTypes() { in allWrapperTypes()
95 public static boolean isWrapperType(Class<?> type) { in isWrapperType()
108 public static <T> Class<T> wrap(Class<T> type) { in wrap()
[all …]
/external/junit/src/main/java/org/junit/experimental/categories/
DCategories.java89 public Class<?>[] value() default {}; in value()
104 public Class<?>[] value() default {}; in value()
114 private final Set<Class<?>> included;
115 private final Set<Class<?>> excluded;
119 public static CategoryFilter include(boolean matchAny, Class<?>... categories) { in include()
126 public static CategoryFilter include(Class<?> category) { in include()
130 public static CategoryFilter include(Class<?>... categories) { in include()
134 public static CategoryFilter exclude(boolean matchAny, Class<?>... categories) { in exclude()
141 public static CategoryFilter exclude(Class<?> category) { in exclude()
145 public static CategoryFilter exclude(Class<?>... categories) { in exclude()
[all …]
/external/glide/library/src/main/java/com/bumptech/glide/load/model/
DGenericLoaderFactory.java17 …private final Map<Class/*T*/, Map<Class/*Y*/, ModelLoaderFactory/*T, Y*/>> modelClassToResourceFac…
18 new HashMap<Class, Map<Class, ModelLoaderFactory>>();
19 private final Map<Class/*T*/, Map<Class/*Y*/, ModelLoader/*T, Y*/>> cachedModelLoaders =
20 new HashMap<Class, Map<Class, ModelLoader>>();
49 …public synchronized <T, Y> ModelLoaderFactory<T, Y> unregister(Class<T> modelClass, Class<Y> resou… in unregister()
53 …Map<Class/*Y*/, ModelLoaderFactory/*T, Y*/> resourceToFactories = modelClassToResourceFactories.ge… in unregister()
71 …public synchronized <T, Y> ModelLoaderFactory<T, Y> register(Class<T> modelClass, Class<Y> resourc… in register()
75 …Map<Class/*Y*/, ModelLoaderFactory/*T, Y*/> resourceToFactories = modelClassToResourceFactories.ge… in register()
77 resourceToFactories = new HashMap<Class/*Y*/, ModelLoaderFactory/*T, Y*/>(); in register()
86 …for (Map<Class/*Y*/, ModelLoaderFactory/*T, Y*/> factories : modelClassToResourceFactories.values(… in register()
[all …]
/external/clang/test/SemaCXX/
Dexpression-traits.cpp180 struct Class : BaseClass struct
211 Class(); argument
212 Class(int,int);
227 ASSERT_LVALUE(::Class::function); // qualified-id: function in expr_prim_4() argument
228 ASSERT_LVALUE(::Class::variable); // qualified-id: variable in expr_prim_4()
236 __is_lvalue_expr(::Class::NestedFuncTemplate); // qualified-id: template \ in expr_prim_4()
239 __is_lvalue_expr(::Class::NestedMemfunTemplate); // qualified-id: template \ in expr_prim_4()
242 __is_lvalue_expr(::Class::operator+); // operator-function-id: template \ in expr_prim_4()
268 ASSERT_LVALUE(Class::dataMember); in expr_prim_7() argument
269 ASSERT_LVALUE(Class::StaticMemberFunction); in expr_prim_7()
[all …]
/external/v8/tools/clang/rewrite_to_chrome_style/tests/
Dtemplate-original.cc11 class Class { class
24 template <typename T = Class>
29 template <typename T = Class>
143 class Class { class
155 h<Class, &Class::method>(Class()); in test()
157 h<not_blink::Class, &not_blink::Class::method>(not_blink::Class()); in test()
185 struct Class { struct
197 h<int, Class::f>(0); in test()
199 h<int, not_blink::Class::staticMethodTemplate>(1); in test()
225 struct Class { struct
[all …]
Dtemplate-expected.cc11 class Class { class
24 template <typename T = Class>
29 template <typename T = Class>
144 class Class { class
156 H<Class, &Class::Method>(Class()); in Test()
158 H<not_blink::Class, &not_blink::Class::method>(not_blink::Class()); in Test()
186 struct Class { struct
198 H<int, Class::F>(0); in Test()
200 H<int, not_blink::Class::staticMethodTemplate>(1); in Test()
226 struct Class { struct
[all …]
/external/junit/src/main/java/org/junit/runners/model/
DTestClass.java35 private final Class<?> clazz;
36 private final Map<Class<? extends Annotation>, List<FrameworkMethod>> methodsForAnnotations;
37 private final Map<Class<? extends Annotation>, List<FrameworkField>> fieldsForAnnotations;
45 public TestClass(Class<?> clazz) { in TestClass()
52 Map<Class<? extends Annotation>, List<FrameworkMethod>> methodsForAnnotations = in TestClass()
53 new LinkedHashMap<Class<? extends Annotation>, List<FrameworkMethod>>(); in TestClass()
54 Map<Class<? extends Annotation>, List<FrameworkField>> fieldsForAnnotations = in TestClass()
55 new LinkedHashMap<Class<? extends Annotation>, List<FrameworkField>>(); in TestClass()
63 …ted void scanAnnotatedMembers(Map<Class<? extends Annotation>, List<FrameworkMethod>> methodsForAn… in scanAnnotatedMembers()
64 for (Class<?> eachClass : getSuperClasses(clazz)) { in scanAnnotatedMembers()
[all …]
DRunnerBuilder.java40 private final Set<Class<?>> parents = new HashSet<Class<?>>();
49 public abstract Runner runnerForClass(Class<?> testClass) throws Throwable; in runnerForClass()
57 public Runner safeRunnerForClass(Class<?> testClass) { in safeRunnerForClass()
65 Class<?> addParent(Class<?> parent) throws InitializationError { in addParent()
72 void removeParent(Class<?> klass) { in removeParent()
82 public List<Runner> runners(Class<?> parent, Class<?>[] children) in runners()
93 public List<Runner> runners(Class<?> parent, List<Class<?>> children) in runners()
95 return runners(parent, children.toArray(new Class<?>[0])); in runners()
98 private List<Runner> runners(Class<?>[] children) { in runners()
100 for (Class<?> each : children) { in runners()
/external/slf4j/slf4j-site/src/site/pages/changes/
Dchanges-1.3.txt9 INFO: 8000: org.slf4j.LoggerFactory: Class org.slf4j.LoggerFactory added
10 INFO: 8000: org.slf4j.MarkerFactory: Class org.slf4j.MarkerFactory added
11 INFO: 8000: org.slf4j.helpers.BasicMarker: Class org.slf4j.helpers.BasicMarker added
12 INFO: 8000: org.slf4j.helpers.BasicMarkerFactory: Class org.slf4j.helpers.BasicMarkerFactory added
13 INFO: 8000: org.slf4j.helpers.MarkerIgnoringBase: Class org.slf4j.helpers.MarkerIgnoringBase added
14 INFO: 8000: org.slf4j.helpers.MessageFormatter: Class org.slf4j.helpers.MessageFormatter added
15 INFO: 8000: org.slf4j.helpers.Util: Class org.slf4j.helpers.Util added
16 ERROR: 8001: org.slf4j.impl.BasicMarker: Class org.slf4j.impl.BasicMarker removed
17 ERROR: 8001: org.slf4j.impl.BasicMarkerFactory: Class org.slf4j.impl.BasicMarkerFactory removed
18 ERROR: 8001: org.slf4j.impl.MarkerIgnoringBase: Class org.slf4j.impl.MarkerIgnoringBase removed
[all …]
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/
DTypeDescription.java28 private final Class<? extends Object> type;
30 private Map<String, Class<? extends Object>> listProperties;
31 private Map<String, Class<? extends Object>> keyProperties;
32 private Map<String, Class<? extends Object>> valueProperties;
34 public TypeDescription(Class<? extends Object> clazz, Tag tag) { in TypeDescription()
37 listProperties = new HashMap<String, Class<? extends Object>>(); in TypeDescription()
38 keyProperties = new HashMap<String, Class<? extends Object>>(); in TypeDescription()
39 valueProperties = new HashMap<String, Class<? extends Object>>(); in TypeDescription()
42 public TypeDescription(Class<? extends Object> clazz, String tag) { in TypeDescription()
46 public TypeDescription(Class<? extends Object> clazz) { in TypeDescription()
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DImmutableClassToInstanceMapTest.java51 public Map<Class, Number> create(Object... elements) { in suite()
55 Entry<Class, Number> entry = (Entry<Class, Number>) object; in suite()
75 Map<Class<?>, Object> in = Collections.emptyMap(); in testCopyOf_map_empty()
83 Map<Class<? extends Number>, Number> in = Maps.newHashMap(); in testCopyOf_map_valid()
99 Map<Class<? extends Number>, Number> nullKey = Collections.singletonMap( in testCopyOf_map_nulls()
107 Map<? extends Class<? extends Number>, Number> nullValue in testCopyOf_map_nulls()
117 Map<Class<?>, Object> in = Collections.emptyMap(); in testCopyOf_imap_empty()
123 ImmutableMap<Class<? extends Number>, ? extends Number> in in testCopyOf_imap_valid()
148 implements TestMapGenerator<Class, Number> {
151 public Class[] createKeyArray(int length) { in createKeyArray()
[all …]
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/introspector/
DGenericProperty.java27 public GenericProperty(String name, Class<?> aClass, Type aType) { in GenericProperty()
34 private Class<?>[] actualClasses;
36 public Class<?>[] getActualTypeArguments() { // should we synchronize here ? in getActualTypeArguments()
42 actualClasses = new Class<?>[actualTypeArguments.length]; in getActualTypeArguments()
44 if (actualTypeArguments[i] instanceof Class<?>) { in getActualTypeArguments()
45 actualClasses[i] = (Class<?>) actualTypeArguments[i]; in getActualTypeArguments()
47 … actualClasses[i] = (Class<?>) ((ParameterizedType) actualTypeArguments[i]) in getActualTypeArguments()
52 if (componentType instanceof Class<?>) { in getActualTypeArguments()
53 actualClasses[i] = Array.newInstance((Class<?>) componentType, 0) in getActualTypeArguments()
67 if (componentType instanceof Class<?>) { in getActualTypeArguments()
[all …]
/external/junit/src/main/java/org/junit/experimental/theories/
DParameterSignature.java15 private static final Map<Class<?>, Class<?>> CONVERTABLE_TYPES_MAP = buildConvertableTypesMap();
17 private static Map<Class<?>, Class<?>> buildConvertableTypesMap() { in buildConvertableTypesMap()
18 Map<Class<?>, Class<?>> map = new HashMap<Class<?>, Class<?>>(); in buildConvertableTypesMap()
48 Class<?>[] parameterTypes, Annotation[][] parameterAnnotations) { in signatures()
57 private final Class<?> type;
61 private ParameterSignature(Class<?> type, Annotation[] annotations) { in ParameterSignature()
70 public boolean canAcceptType(Class<?> candidate) { in canAcceptType()
75 public boolean canPotentiallyAcceptType(Class<?> candidate) { in canPotentiallyAcceptType()
81 private boolean isAssignableViaTypeConversion(Class<?> targetType, Class<?> candidate) { in isAssignableViaTypeConversion()
83 Class<?> wrapperClass = CONVERTABLE_TYPES_MAP.get(candidate); in isAssignableViaTypeConversion()
[all …]
/external/tcpdump/tests/
Dospf-gmpls.out17 TE-Class 0: 622.080 Mbps
18 TE-Class 1: 622.080 Mbps
19 TE-Class 2: 622.080 Mbps
20 TE-Class 3: 622.080 Mbps
21 TE-Class 4: 622.080 Mbps
22 TE-Class 5: 622.080 Mbps
23 TE-Class 6: 622.080 Mbps
24 TE-Class 7: 622.080 Mbps
42 TE-Class 0: 622.080 Mbps
43 TE-Class 1: 622.080 Mbps
[all …]
Dlmp-v.out4 Link ID Object (3), Class-Type: IPv4 Local (1) Flags: [non-negotiable], length: 8
6 Message ID Object (5), Class-Type: 1 (1) Flags: [non-negotiable], length: 8
8 Link ID Object (3), Class-Type: IPv4 Remote (2) Flags: [non-negotiable], length: 8
10 Verify Begin Object (8), Class-Type: 1 (1) Flags: [negotiable], length: 24
21 Control Channel ID Object (1), Class-Type: Local (1) Flags: [non-negotiable], length: 8
23 Hello Object (7), Class-Type: 1 (1) Flags: [non-negotiable], length: 12
28 Control Channel ID Object (1), Class-Type: Local (1) Flags: [non-negotiable], length: 8
30 Node ID Object (2), Class-Type: Local (1) Flags: [non-negotiable], length: 8
32 Control Channel ID Object (1), Class-Type: Remote (2) Flags: [non-negotiable], length: 8
34 Message ID Object (5), Class-Type: 2 (2) Flags: [non-negotiable], length: 8
[all …]
/external/guice/core/src/com/google/inject/internal/
DAnnotations.java59 public static boolean isMarker(Class<? extends Annotation> annotationType) { in isMarker()
63 public static boolean isAllDefaultMethods(Class<? extends Annotation> annotationType) { in isAllDefaultMethods()
74 private static final LoadingCache<Class<? extends Annotation>, Annotation> cache =
76 new CacheLoader<Class<? extends Annotation>, Annotation>() {
78 public Annotation load(Class<? extends Annotation> input) {
87 public static <T extends Annotation> T generateAnnotation(Class<T> annotationType) { in generateAnnotation()
93 private static <T extends Annotation> T generateAnnotationImpl(final Class<T> annotationType) { in generateAnnotationImpl()
97 new Class<?>[] { annotationType }, in generateAnnotationImpl()
118 Class<? extends Annotation> annotationType) {
127 private static boolean annotationEquals(Class<? extends Annotation> type,
[all …]
/external/testng/src/main/java/org/testng/
DITestMethodFinder.java23 ITestNGMethod[] getTestMethods(Class<?> cls, XmlTest xmlTest); in getTestMethods()
29 ITestNGMethod[] getBeforeTestMethods(Class<?> cls); in getBeforeTestMethods()
35 ITestNGMethod[] getAfterTestMethods(Class<?> cls); in getAfterTestMethods()
42 ITestNGMethod[] getBeforeClassMethods(Class<?> cls); in getBeforeClassMethods()
49 ITestNGMethod[] getAfterClassMethods(Class<?> cls); in getAfterClassMethods()
55 ITestNGMethod[] getBeforeSuiteMethods(Class<?> cls); in getBeforeSuiteMethods()
61 ITestNGMethod[] getAfterSuiteMethods(Class<?> cls); in getAfterSuiteMethods()
63 ITestNGMethod[] getBeforeTestConfigurationMethods(Class<?> testClass); in getBeforeTestConfigurationMethods()
65 ITestNGMethod[] getAfterTestConfigurationMethods(Class<?> testClass); in getAfterTestConfigurationMethods()
67 ITestNGMethod[] getBeforeGroupsConfigurationMethods(Class<?> testClass); in getBeforeGroupsConfigurationMethods()
[all …]
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/bytecode/
DShadowWrangler.java33 private final Map<Class, MetaShadow> metaShadowMap = new HashMap<Class, MetaShadow>();
35 private Map<Class, Field> shadowFieldMap = new HashMap<Class, Field>();
81 public void bindShadowClass(Class<?> realClass, Class<?> shadowClass) { in bindShadowClass()
87 …public Object methodInvoked(Class clazz, String methodName, Object instance, String[] paramTypes, … in methodInvoked()
124 private void reportNoShadowMethodFound(Class clazz, String methodName, String[] paramTypes) { in reportNoShadowMethodFound()
131 public static Class<?> loadClass(String paramType, ClassLoader classLoader) { in loadClass()
132 Class primitiveClass = Type.findPrimitiveClass(paramType); in loadClass()
141 Class<?> clazz = Type.findPrimitiveClass(paramType); in loadClass()
170 Class<?> shadowClass = loadClass(shadowClassName, instance.getClass().getClassLoader()); in shadowFor()
191 private void injectRealObjectOn(Object shadow, Class<?> shadowClass, Object instance) { in injectRealObjectOn()
[all …]
/external/mockito/src/main/java/org/mockito/internal/util/reflection/
DGenericMetadataSupport.java82 Class<?> rawType = extractRawTypeOf(typeToRegister); in registerAllTypeVariables()
88 protected Class<?> extractRawTypeOf(Type type) { in extractRawTypeOf()
89 if (type instanceof Class) { in extractRawTypeOf()
90 return (Class<?>) type; in extractRawTypeOf()
93 return (Class<?>) ((ParameterizedType) type).getRawType(); in extractRawTypeOf()
113 …TypeVariable<?>[] typeParameters = ((Class<?>) parameterizedType.getRawType()).getTypeParameters(); in registerTypeVariablesOn()
176 public abstract Class<?> rawType(); in rawType()
188 public Class<?>[] rawExtraInterfaces() { in rawExtraInterfaces()
189 return new Class[0]; in rawExtraInterfaces()
253 if (type instanceof Class) { in resolveGenericType()
[all …]
/external/guava/guava-testlib/src/com/google/common/testing/
DAbstractPackageSanityTests.java126 private Predicate<Class<?>> classFilter = new Predicate<Class<?>>() {
127 @Override public boolean apply(Class<?> cls) {
168 for (Class<?> classToTest in testSerializable()
210 for (Class<?> classToTest in testNulls()
245 for (Class<?> classToTest in testEquals()
263 protected final <T> void setDefault(Class<T> type, T value) { in setDefault()
273 protected final <T> void setDistinctValues(Class<T> type, T value1, T value2) { in setDistinctValues()
278 protected final void ignoreClasses(Predicate<? super Class<?>> condition) { in ignoreClasses()
283 Class<?> cls, List<String> explicitTestNames, String description, Throwable e) { in sanityError()
297 @VisibleForTesting List<Class<?>> findClassesToTest( in findClassesToTest()
[all …]
/external/testng/src/test/java/org/testng/remote/strprotocol/
DTestResultMessageTest.java20 { null, new Class[] { null }, Arrays.asList() }, in getP()
22 new Class[] { byte[].class }, Arrays.asList("[1]") }, in getP()
24 new Class[] { short[].class }, Arrays.asList("[1]") }, in getP()
26 new Class[] { long[].class }, Arrays.asList("[1]") }, in getP()
28 new Class[] { int[].class }, Arrays.asList("[1,2,3]") }, in getP()
30 new Class[] { boolean[].class }, in getP()
33 new Class[] { int[].class }, Arrays.asList("[a,b,c]") }, in getP()
35 new Class[] { float[].class }, in getP()
38 new Class[] { double[].class }, in getP()
41 new Class[] { String.class, Boolean.class }, in getP()
[all …]
/external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/
DFactoryModuleBuilder.java211 public <T> FactoryModuleBuilder implement(Class<T> source, Class<? extends T> target) { in implement()
218 public <T> FactoryModuleBuilder implement(Class<T> source, TypeLiteral<? extends T> target) { in implement()
225 public <T> FactoryModuleBuilder implement(TypeLiteral<T> source, Class<? extends T> target) { in implement()
240 public <T> FactoryModuleBuilder implement(Class<T> source, Annotation annotation, in implement()
241 Class<? extends T> target) { in implement()
248 public <T> FactoryModuleBuilder implement(Class<T> source, Annotation annotation, in implement()
257 Class<? extends T> target) { in implement()
272 public <T> FactoryModuleBuilder implement(Class<T> source, in implement()
273 Class<? extends Annotation> annotationType, Class<? extends T> target) { in implement()
280 public <T> FactoryModuleBuilder implement(Class<T> source, in implement()
[all …]
/external/testng/src/main/java/org/testng/junit/
DJUnitMethodFinder.java35 private Constructor findConstructor(Class cls, Class[] parameters) { in findConstructor()
49 public ITestNGMethod[] getTestMethods(Class cls, XmlTest xmlTest) { in getTestMethods()
68 private ITestNGMethod[] privateFindTestMethods(INameFilter filter, Class cls) { in privateFindTestMethods()
80 Class current = cls; in privateFindTestMethods()
106 private Object instantiate(Class cls) { in instantiate()
109 Constructor ctor = findConstructor(cls, new Class[] { String.class }); in instantiate()
115 ctor = cls.getConstructor(new Class[0]); in instantiate()
131 public ITestNGMethod[] getBeforeTestMethods(Class cls) { in getBeforeTestMethods()
143 public ITestNGMethod[] getAfterTestMethods(Class cls) { in getAfterTestMethods()
155 public ITestNGMethod[] getAfterClassMethods(Class cls) { in getAfterClassMethods()
[all …]

12345678910>>...101