/external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.cat/ |
D | member_function_pointer.pass.cpp | 46 class Class class 52 test_member_function_pointer<void (Class::*)()>(); in main() 53 test_member_function_pointer<void (Class::*)(int)>(); in main() 54 test_member_function_pointer<void (Class::*)(int, char)>(); in main() 56 test_member_function_pointer<void (Class::*)() const>(); in main() 57 test_member_function_pointer<void (Class::*)(int) const>(); in main() 58 test_member_function_pointer<void (Class::*)(int, char) const>(); in main() 60 test_member_function_pointer<void (Class::*)() volatile>(); in main() 61 test_member_function_pointer<void (Class::*)(int) volatile>(); in main() 62 test_member_function_pointer<void (Class::*)(int, char) volatile>(); in main() [all …]
|
D | member_function_pointer_no_variadics.pass.cpp | 47 class Class class 53 test_member_function_pointer<void (Class::*)()>(); in main() 54 test_member_function_pointer<void (Class::*)(int)>(); in main() 55 test_member_function_pointer<void (Class::*)(int, char)>(); in main() 57 test_member_function_pointer<void (Class::*)() const>(); in main() 58 test_member_function_pointer<void (Class::*)(int) const>(); in main() 59 test_member_function_pointer<void (Class::*)(int, char) const>(); in main() 61 test_member_function_pointer<void (Class::*)() volatile>(); in main() 62 test_member_function_pointer<void (Class::*)(int) volatile>(); in main() 63 test_member_function_pointer<void (Class::*)(int, char) volatile>(); in main() [all …]
|
/external/guava/guava/src/com/google/common/primitives/ |
D | Primitives.java | 37 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/glide/library/src/main/java/com/bumptech/glide/load/model/ |
D | GenericLoaderFactory.java | 17 …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/ |
D | expression-traits.cpp | 180 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/slf4j/slf4j-site/src/site/pages/changes/ |
D | changes-1.3.txt | 9 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/guava/guava-tests/test/com/google/common/collect/ |
D | ImmutableClassToInstanceMapTest.java | 51 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/junit/src/org/junit/experimental/categories/ |
D | Categories.java | 72 public Class<?> value(); in value() 77 public Class<?> value(); in value() 81 public static CategoryFilter include(Class<?> categoryType) { in include() 85 private final Class<?> fIncluded; 87 private final Class<?> fExcluded; 89 public CategoryFilter(Class<?> includedCategory, in CategoryFilter() 90 Class<?> excludedCategory) { in CategoryFilter() 111 List<Class<?>> categories= categories(description); in hasCorrectCategoryAnnotation() 114 for (Class<?> each : categories) in hasCorrectCategoryAnnotation() 117 for (Class<?> each : categories) in hasCorrectCategoryAnnotation() [all …]
|
/external/junit/src/org/junit/runners/model/ |
D | TestClass.java | 22 private final Class<?> fClass; 24 …private Map<Class<?>, List<FrameworkMethod>> fMethodsForAnnotations= new HashMap<Class<?>, List<Fr… 26 …private Map<Class<?>, List<FrameworkField>> fFieldsForAnnotations= new HashMap<Class<?>, List<Fram… 34 public TestClass(Class<?> klass) { in TestClass() 40 for (Class<?> eachClass : getSuperClasses(fClass)) { in TestClass() 51 Map<Class<?>, List<T>> map) { in addToAnnotationLists() argument 53 Class<? extends Annotation> type= each.annotationType(); in addToAnnotationLists() 69 Class<? extends Annotation> annotationClass) { in getAnnotatedMethods() 78 Class<? extends Annotation> annotationClass) { in getAnnotatedFields() 82 private <T> List<T> getAnnotatedMembers(Map<Class<?>, List<T>> map, in getAnnotatedMembers() argument [all …]
|
D | RunnerBuilder.java | 39 private final Set<Class<?>> parents= new HashSet<Class<?>>(); 48 public abstract Runner runnerForClass(Class<?> testClass) throws Throwable; in runnerForClass() 55 public Runner safeRunnerForClass(Class<?> testClass) { in safeRunnerForClass() 63 Class<?> addParent(Class<?> parent) throws InitializationError { in addParent() 69 void removeParent(Class<?> klass) { in removeParent() 79 public List<Runner> runners(Class<?> parent, Class<?>[] children) in runners() 90 public List<Runner> runners(Class<?> parent, List<Class<?>> children) in runners() 92 return runners(parent, children.toArray(new Class<?>[0])); in runners() 95 private List<Runner> runners(Class<?>[] children) { in runners() 97 for (Class<?> each : children) { in runners()
|
/external/tcpdump/tests/ |
D | ospf-gmpls.out | 17 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 …]
|
D | lmp-v.out | 4 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/robolectric/src/main/java/com/xtremelabs/robolectric/bytecode/ |
D | ShadowWrangler.java | 33 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/guava/guava-testlib/src/com/google/common/testing/ |
D | AbstractPackageSanityTests.java | 126 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/mockito/src/org/mockito/internal/creation/jmock/ |
D | ClassImposterizer.java | 51 …ic <T> T imposterise(final MethodInterceptor interceptor, Class<T> mockedType, Collection<Class> a… in imposterise() 52 …return imposterise(interceptor, mockedType, ancillaryTypes.toArray(new Class[ancillaryTypes.size()… in imposterise() 55 …public <T> T imposterise(final MethodInterceptor interceptor, Class<T> mockedType, Class<?>... anc… in imposterise() 56 Class<?> proxyClass = null; in imposterise() 78 public void setConstructorsAccessible(Class<?> mockedType, boolean accessible) { in setConstructorsAccessible() 84 public Class<?> createProxyClass(Class<?> mockedType, Class<?>... interfaces) { in createProxyClass() 92 protected void filterConstructors(Class sc, List constructors) { in createProxyClass() 105 enhancer.setCallbackTypes(new Class[]{MethodInterceptor.class, NoOp.class}); in createProxyClass() 133 private Object createProxy(Class<?> proxyClass, final MethodInterceptor interceptor) { in createProxy() 139 private Class<?>[] prepend(Class<?> first, Class<?>... rest) { in prepend() [all …]
|
/external/mockito/src/org/mockito/internal/util/reflection/ |
D | GenericMetadataSupport.java | 73 … TypeVariable[] typeParameters = ((Class<?>) parameterizedType.getRawType()).getTypeParameters(); in registerTypeVariablesOn() 132 public abstract Class<?> rawType(); in rawType() 146 public Class<?>[] rawExtraInterfaces() { in rawExtraInterfaces() 147 return new Class[0]; in rawExtraInterfaces() 192 if (genericReturnType instanceof Class) { in resolveGenericReturnType() 219 if (type instanceof Class) { in inferFrom() 220 return new FromClassGenericMetadataSupport((Class<?>) type); in inferFrom() 241 private Class<?> clazz; 243 public FromClassGenericMetadataSupport(Class<?> clazz) { in FromClassGenericMetadataSupport() 257 public Class<?> rawType() { in rawType() [all …]
|
/external/mockito/cglib-and-asm/src/org/mockito/cglib/core/ |
D | ReflectUtils.java | 50 Class loader = Class.forName("java.lang.ClassLoader"); // JVM crash w/o this in AccessController.doPrivileged() 52 new Class[]{ String.class, in AccessController.doPrivileged() 149 … private static Class[] parseTypes(String desc, ClassLoader loader) throws ClassNotFoundException { in parseTypes() 165 Class[] types = new Class[params.size()]; in parseTypes() 172 …private static Class getClass(String className, ClassLoader loader) throws ClassNotFoundException { in getClass() 176 …private static Class getClass(String className, ClassLoader loader, String[] packages) throws Clas… in getClass() 192 return Class.forName(prefix + className + suffix, false, loader); in getClass() 196 … return Class.forName(prefix + packages[i] + '.' + className + suffix, false, loader); in getClass() 200 Class c = (Class)primitives.get(className); in getClass() 208 return Class.forName(brackets + transform, false, loader); in getClass() [all …]
|
/external/mockito/cglib-and-asm/src/org/mockito/cglib/reflect/ |
D | FastClass.java | 28 private Class type; 34 protected FastClass(Class type) { in FastClass() 38 public static FastClass create(Class type) { in create() 43 public static FastClass create(ClassLoader loader, Class type) { in create() 53 private Class type; 59 public void setType(Class type) { in setType() 76 protected Object firstInstance(Class type) { in firstInstance() 78 new Class[]{ Class.class }, in firstInstance() 87 …public Object invoke(String name, Class[] parameterTypes, Object obj, Object[] args) throws Invoca… in invoke() 95 …public Object newInstance(Class[] parameterTypes, Object[] args) throws InvocationTargetException { in newInstance() [all …]
|
/external/android-mock/src/com/google/android/testing/mocking/ |
D | AndroidFrameworkMockGenerator.java | 57 public List<GeneratedClassFile> getMocksForClass(Class<?> clazz) throws ClassNotFoundException, in getMocksForClass() 59 List<Class<?>> prebuiltClasses = getPrebuiltClassesFor(clazz); in getMocksForClass() 61 for (Class<?> prebuiltClass : prebuiltClasses) { in getMocksForClass() 76 private List<Class<?>> getPrebuiltClassesFor(Class<?> clazz) throws ClassNotFoundException { in getPrebuiltClassesFor() 77 List<Class<?>> classes = new ArrayList<Class<?>>(); in getPrebuiltClassesFor() 80 classes.add(Class.forName(FileUtils.getSubclassNameFor(clazz, sdkVersion))); in getPrebuiltClassesFor() 81 classes.add(Class.forName(FileUtils.getInterfaceNameFor(clazz, sdkVersion))); in getPrebuiltClassesFor() 90 public List<GeneratedClassFile> createMocksForClass(Class<?> clazz, SdkVersion version) in createMocksForClass() 101 List<Class<?>> getClassList(JarFile jar) throws ClassNotFoundException { in getClassList() 105 List<Class<?>> getClassList(Collection<JarEntry> jarEntries) throws ClassNotFoundException { in getClassList() [all …]
|
/external/guava/guava/src/com/google/common/reflect/ |
D | TypeToken.java | 139 protected TypeToken(Class<?> declaringClass) { in TypeToken() 141 if (captured instanceof Class) { in TypeToken() 153 public static <T> TypeToken<T> of(Class<T> type) { in of() 176 public final Class<? super T> getRawType() { in getRawType() 177 Class<?> rawType = getRawType(runtimeType); in getRawType() 179 Class<? super T> result = (Class<? super T>) rawType; in getRawType() 187 private ImmutableSet<Class<? super T>> getImmediateRawTypes() { in getImmediateRawTypes() 190 ImmutableSet<Class<? super T>> result = (ImmutableSet) getRawTypes(runtimeType); in getImmediateRawTypes() 238 public final <X> TypeToken<T> where(TypeParameter<X> typeParam, Class<X> typeArg) { in where() 375 public final TypeToken<? super T> getSupertype(Class<? super T> superclass) { in getSupertype() [all …]
|
/external/dexmaker/src/mockito/java/com/google/dexmaker/mockito/ |
D | UnsafeAllocator.java | 30 public abstract <T> T newInstance(Class<T> c) throws Exception; in newInstance() 38 Class<?> unsafeClass = Class.forName("sun.misc.Unsafe"); in create() 42 final Method allocateInstance = unsafeClass.getMethod("allocateInstance", Class.class); in create() 46 public <T> T newInstance(Class<T> c) throws Exception { in create() 60 .getDeclaredMethod("newInstance", Class.class, Class.class); in create() 65 public <T> T newInstance(Class<T> c) throws Exception { in create() 79 .getDeclaredMethod("getConstructorId", Class.class); in create() 83 .getDeclaredMethod("newInstance", Class.class, int.class); in create() 88 public <T> T newInstance(Class<T> c) throws Exception { in create() 98 public <T> T newInstance(Class<T> c) { in create()
|
/external/javassist/src/main/javassist/runtime/ |
D | Desc.java | 36 private static Class getClassObject(String name) in getClassObject() 43 return Class.forName(name); in getClassObject() 50 public static Class getClazz(String name) { in getClazz() 66 public static Class[] getParams(String desc) { in getParams() 77 public static Class getType(String desc) { in getType() 78 Class[] result = getType(desc, desc.length(), 0, 0); in getType() 85 private static Class[] getType(String desc, int descLen, in getType() 87 Class clazz; in getType() 89 return new Class[num]; in getType() 124 return new Class[num]; in getType() [all …]
|
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/ |
D | gUnitBaseTest.java | 80 Class lexer = null; in execLexer() 85 lexer = Class.forName(lexerPath); in execLexer() 86 Class[] lexArgTypes = new Class[]{CharStream.class}; // assign type to lexer's args in execLexer() 92 Method ruleName = lexer.getMethod("m"+testRuleName, new Class[0]); in execLexer() 105 Method ruleName2 = lexer.getMethod("getCharIndex", new Class[0]); in execLexer() 171 Class lexer = null; in execParser() 172 Class parser = null; in execParser() 179 lexer = Class.forName(lexerPath); in execParser() 180 Class[] lexArgTypes = new Class[]{CharStream.class}; // assign type to lexer's args in execParser() 187 parser = Class.forName(parserPath); in execParser() [all …]
|
/external/guava/guava/src/com/google/common/collect/ |
D | ImmutableClassToInstanceMap.java | 36 extends ForwardingMap<Class<? extends B>, B> 65 private final ImmutableMap.Builder<Class<? extends B>, B> mapBuilder 72 public <T extends B> Builder<B> put(Class<T> key, T value) { in put() 86 Map<? extends Class<? extends T>, ? extends T> map) { in putAll() 87 for (Entry<? extends Class<? extends T>, ? extends T> entry in putAll() 89 Class<? extends T> type = entry.getKey(); in putAll() 96 private static <B, T extends B> T cast(Class<T> type, B value) { in cast() 125 Map<? extends Class<? extends S>, ? extends S> map) { in copyOf() 135 private final ImmutableMap<Class<? extends B>, B> delegate; 138 ImmutableMap<Class<? extends B>, B> delegate) { in ImmutableClassToInstanceMap() [all …]
|
/external/objenesis/main/src/org/objenesis/instantiator/perc/ |
D | PercSerializationInstantiator.java | 41 public PercSerializationInstantiator(Class type) { in PercSerializationInstantiator() 44 Class unserializableType = type; in PercSerializationInstantiator() 52 Class percMethodClass = Class.forName("COM.newmonics.PercClassLoader.Method"); in PercSerializationInstantiator() 55 new Class[] {Class.class, Object.class, percMethodClass}); in PercSerializationInstantiator() 59 Class percClassClass = Class.forName("COM.newmonics.PercClassLoader.PercClass"); in PercSerializationInstantiator() 61 new Class[] {Class.class}); in PercSerializationInstantiator() 64 new Class[] {String.class}); in PercSerializationInstantiator()
|