/external/bcc/src/lua/bcc/vendor/ |
D | middleclass.lua | 31 local function _createIndexWrapper(aClass, f) 33 return aClass.__instanceDict 36 local value = aClass.__instanceDict[name] 49 local function _propagateInstanceMethod(aClass, name, f) 50 f = name == "__index" and _createIndexWrapper(aClass, f) or f 51 aClass.__instanceDict[name] = f 53 for subclass in pairs(aClass.subclasses) do 60 local function _declareInstanceMethod(aClass, name, f) 61 aClass.__declaredMethods[name] = f 63 if f == nil and aClass.super then [all …]
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/ |
D | JavaParserAnonymousClassDeclarationTest.java | 23 ClassOrInterfaceDeclaration aClass = Navigator.demandClass(cu, "AnonymousClassDeclarations"); in anonymousClassAsMethodArgument() local 24 MethodDeclaration method = Navigator.demandMethod(aClass, "fooBar1"); in anonymousClassAsMethodArgument() 39 ClassOrInterfaceDeclaration aClass = Navigator.demandClass(cu, "AnonymousClassDeclarations"); in callingSuperClassInnerClassMethod() local 40 MethodDeclaration method = Navigator.demandMethod(aClass, "fooBar2"); in callingSuperClassInnerClassMethod() 55 ClassOrInterfaceDeclaration aClass = Navigator.demandClass(cu, "AnonymousClassDeclarations"); in callingAnonymousClassInnerMethod() local 56 MethodDeclaration method = Navigator.demandMethod(aClass, "fooBar3"); in callingAnonymousClassInnerMethod() 72 ClassOrInterfaceDeclaration aClass = Navigator.demandClass(cu, "AnonymousClassDeclarations"); in usingAnonymousSuperClassInnerType() local 73 MethodDeclaration method = Navigator.demandMethod(aClass, "fooBar4"); in usingAnonymousSuperClassInnerType() 87 ClassOrInterfaceDeclaration aClass = Navigator.demandClass(cu, "AnonymousClassDeclarations"); in usingAnonymousClassInnerType() local 88 MethodDeclaration method = Navigator.demandMethod(aClass, "fooBar5"); in usingAnonymousClassInnerType()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ClassNameResolver.java | 6 Class<T> aClass; in resolve() local 8 aClass = safeClassForName(className); in resolve() 11 aClass = safeClassForName(packageName + className); in resolve() 13 aClass = safeClassForName(packageName + "." + className); in resolve() 17 if (aClass == null) { in resolve() 21 return aClass; in resolve()
|
/external/mockito/src/test/java/org/mockitoutil/ |
D | ClassLoadersTest.java | 80 Class<?> aClass = cl.loadClass(CLASS_NAME_DEPENDING_ON_INTERFACE); in isolated_class_loader_can_load_classes_when_dependent_classes_are_matching_the_prefixes() local 83 assertThat(aClass).isNotNull(); in isolated_class_loader_can_load_classes_when_dependent_classes_are_matching_the_prefixes() 84 assertThat(aClass.getClassLoader()).isEqualTo(cl); in isolated_class_loader_can_load_classes_when_dependent_classes_are_matching_the_prefixes() 85 assertThat(aClass.getInterfaces()[0].getClassLoader()).isEqualTo(cl); in isolated_class_loader_can_load_classes_when_dependent_classes_are_matching_the_prefixes() 97 Class<?> aClass = cl.loadClass(AClass.class.getName()); in isolated_class_loader_can_load_classes_isolated_classes_in_isolation() local 100 assertThat(aClass).isNotNull(); in isolated_class_loader_can_load_classes_isolated_classes_in_isolation() 101 assertThat(aClass).isNotSameAs(AClass.class); in isolated_class_loader_can_load_classes_isolated_classes_in_isolation() 102 assertThat(aClass.getClassLoader()).isEqualTo(cl); in isolated_class_loader_can_load_classes_isolated_classes_in_isolation() 210 Class<?> aClass = cl.loadClass("yop.Dude"); in can_load_a_class_in_memory_from_bytes() local 213 assertThat(aClass).isNotNull(); in can_load_a_class_in_memory_from_bytes() [all …]
|
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/impl/ |
D | SmaliCompositeElement.java | 70 protected <T> T[] findChildrenByClass(Class<T> aClass) { in findChildrenByClass() argument 73 if (aClass.isInstance(cur)) result.add((T)cur); in findChildrenByClass() 75 return result.toArray((T[]) Array.newInstance(aClass, result.size())); in findChildrenByClass() 80 protected <T> T findChildByClass(Class<T> aClass) { in findChildByClass() argument 82 if (aClass.isInstance(cur)) return (T)cur; in findChildByClass() 89 protected <T> T findAncestorByClass(Class<T> aClass) { in findAncestorByClass() argument 92 if (aClass.isInstance(parent)) { in findAncestorByClass()
|
D | SmaliStubBasedPsiElement.java | 55 protected <E extends PsiElement> E findStubOrPsiAncestorOfType(@NotNull Class<E> aClass) { in findStubOrPsiAncestorOfType() argument 61 if (aClass.isInstance(parentPsi)) { in findStubOrPsiAncestorOfType() 71 if (aClass.isInstance(parent)) { in findStubOrPsiAncestorOfType()
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/objectdescriptors/ |
D | ObjectDescriptorFactory.java | 165 Class<? extends BaseDescriptor> aClass = tagMap.get(tag); in createFrom() local 174 if (aClass == null || aClass.isInterface() || Modifier.isAbstract(aClass.getModifiers())) { in createFrom() 176 " and tag " + Integer.toHexString(tag) + " found: " + aClass); in createFrom() 180 baseDescriptor = aClass.newInstance(); in createFrom() 182 …log.log(Level.SEVERE, "Couldn't instantiate BaseDescriptor class " + aClass + " for objectTypeIndi… in createFrom()
|
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
D | GCMParameters.java | 114 protected <T extends AlgorithmParameterSpec> T engineGetParameterSpec(Class<T> aClass) in engineGetParameterSpec() argument 116 if ((aClass != null) && aClass.getName().equals("javax.crypto.spec.GCMParameterSpec")) { in engineGetParameterSpec() 117 return aClass.cast(Platform.toGCMParameterSpec(tLen, iv)); in engineGetParameterSpec() 119 throw new InvalidParameterSpecException("Unsupported class: " + aClass); in engineGetParameterSpec()
|
D | DESEDESecretKeyFactory.java | 67 @SuppressWarnings("rawtypes") Class aClass) throws InvalidKeySpecException { in engineGetKeySpec() argument 71 if (aClass == SecretKeySpec.class) { in engineGetKeySpec() 84 } else if (aClass == DESedeKeySpec.class) { in engineGetKeySpec() 91 throw new InvalidKeySpecException("Unsupported KeySpec class: " + aClass); in engineGetKeySpec()
|
D | ECParameters.java | 89 protected <T extends AlgorithmParameterSpec> T engineGetParameterSpec(Class<T> aClass) in engineGetParameterSpec() argument 91 if (aClass == ECParameterSpec.class) { in engineGetParameterSpec() 93 } else if (aClass == ECGenParameterSpec.class) { in engineGetParameterSpec() 96 throw new InvalidParameterSpecException("Unsupported class: " + aClass); in engineGetParameterSpec()
|
D | PSSParameters.java | 108 protected <T extends AlgorithmParameterSpec> T engineGetParameterSpec(Class<T> aClass) in engineGetParameterSpec() argument 110 if ((aClass != null) && aClass == PSSParameterSpec.class) { in engineGetParameterSpec() 113 throw new InvalidParameterSpecException("Unsupported class: " + aClass); in engineGetParameterSpec()
|
D | IvParameters.java | 76 protected <T extends AlgorithmParameterSpec> T engineGetParameterSpec(Class<T> aClass) in engineGetParameterSpec() argument 78 if (aClass != IvParameterSpec.class) { in engineGetParameterSpec() 80 "Incompatible AlgorithmParametersSpec class: " + aClass); in engineGetParameterSpec()
|
D | OAEPParameters.java | 180 protected <T extends AlgorithmParameterSpec> T engineGetParameterSpec(Class<T> aClass) in engineGetParameterSpec() argument 182 if ((aClass != null) && aClass == OAEPParameterSpec.class) { in engineGetParameterSpec() 185 throw new InvalidParameterSpecException("Unsupported class: " + aClass); in engineGetParameterSpec()
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | GCMParameters.java | 110 protected <T extends AlgorithmParameterSpec> T engineGetParameterSpec(Class<T> aClass) in engineGetParameterSpec() argument 112 if ((aClass != null) && aClass.getName().equals("javax.crypto.spec.GCMParameterSpec")) { in engineGetParameterSpec() 113 return aClass.cast(Platform.toGCMParameterSpec(tLen, iv)); in engineGetParameterSpec() 115 throw new InvalidParameterSpecException("Unsupported class: " + aClass); in engineGetParameterSpec()
|
D | DESEDESecretKeyFactory.java | 63 @SuppressWarnings("rawtypes") Class aClass) throws InvalidKeySpecException { in engineGetKeySpec() argument 67 if (aClass == SecretKeySpec.class) { in engineGetKeySpec() 80 } else if (aClass == DESedeKeySpec.class) { in engineGetKeySpec() 87 throw new InvalidKeySpecException("Unsupported KeySpec class: " + aClass); in engineGetKeySpec()
|
D | ECParameters.java | 85 protected <T extends AlgorithmParameterSpec> T engineGetParameterSpec(Class<T> aClass) in engineGetParameterSpec() argument 87 if (aClass == ECParameterSpec.class) { in engineGetParameterSpec() 89 } else if (aClass == ECGenParameterSpec.class) { in engineGetParameterSpec() 92 throw new InvalidParameterSpecException("Unsupported class: " + aClass); in engineGetParameterSpec()
|
D | PSSParameters.java | 104 protected <T extends AlgorithmParameterSpec> T engineGetParameterSpec(Class<T> aClass) in engineGetParameterSpec() argument 106 if ((aClass != null) && aClass == PSSParameterSpec.class) { in engineGetParameterSpec() 109 throw new InvalidParameterSpecException("Unsupported class: " + aClass); in engineGetParameterSpec()
|
D | IvParameters.java | 70 protected <T extends AlgorithmParameterSpec> T engineGetParameterSpec(Class<T> aClass) in engineGetParameterSpec() argument 72 if (aClass != IvParameterSpec.class) { in engineGetParameterSpec() 74 "Incompatible AlgorithmParametersSpec class: " + aClass); in engineGetParameterSpec()
|
D | OAEPParameters.java | 176 protected <T extends AlgorithmParameterSpec> T engineGetParameterSpec(Class<T> aClass) in engineGetParameterSpec() argument 178 if ((aClass != null) && aClass == OAEPParameterSpec.class) { in engineGetParameterSpec() 181 throw new InvalidParameterSpecException("Unsupported class: " + aClass); in engineGetParameterSpec()
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | BoilerplateUtilities.java | 37 Class<?> aClass = a.getClass(); in compareToHelper() local 39 if (aClass != bClass) { in compareToHelper() 40 return aClass.getName().compareTo(bClass.getName()); in compareToHelper() 50 Field[] fields = aClass.getDeclaredFields(); in compareToHelper()
|
/external/robolectric-shadows/sandbox/src/test/java/org/robolectric/ |
D | SandboxClassLoaderTest.java | 323 Class<?> aClass = loadClass(AnInstrumentedChild.class); in shouldRetainSuperCallInConstructor() local 324 Object o = aClass.getDeclaredConstructor(String.class).newInstance("hortense"); in shouldRetainSuperCallInConstructor() 325 assertEquals("HORTENSE's child", aClass.getSuperclass().getDeclaredField("parentName").get(o)); in shouldRetainSuperCallInConstructor() 326 assertNull(aClass.getDeclaredField("childName").get(o)); in shouldRetainSuperCallInConstructor() 331 Class<?> aClass = loadClass(AClassWithFunnyConstructors.class); in shouldCorrectlySplitStaticPrepFromConstructorChaining() local 332 Object o = aClass.getDeclaredConstructor(String.class).newInstance("hortense"); in shouldCorrectlySplitStaticPrepFromConstructorChaining() 338 assertEquals(null, getDeclaredFieldValue(aClass, o, "name")); in shouldCorrectlySplitStaticPrepFromConstructorChaining() 339 assertEquals(null, getDeclaredFieldValue(aClass, o, "uninstrumentedParent")); in shouldCorrectlySplitStaticPrepFromConstructorChaining() 344 Class<?> aClass = loadClass(AClassWithFunnyConstructors.class); in shouldGenerateClassSpecificDirectAccessMethodForConstructorWhichDoesNotCallSuper() local 345 Object instance = aClass.getConstructor(String.class).newInstance("horace"); in shouldGenerateClassSpecificDirectAccessMethodForConstructorWhichDoesNotCallSuper() [all …]
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/piff/ |
D | ProtectionSpecificHeader.java | 39 final Class<? extends ProtectionSpecificHeader> aClass = uuidRegistry.get(systemId); in createFor() local 42 if (aClass != null) { in createFor() 44 protectionSpecificHeader = aClass.newInstance(); in createFor()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/ |
D | TestBoilerplate.java | 133 Class aClass = a.getClass(); in _clone() local 135 Method cloner = aClass.getMethod("clone", (Class[])null); in _clone() 138 Constructor constructor = aClass.getConstructor(new Class[] {aClass}); in _clone()
|
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/ |
D | TestBoilerplate.java | 132 Class aClass = a.getClass(); in _clone() local 134 Method cloner = aClass.getMethod("clone", (Class[])null); in _clone() 137 Constructor constructor = aClass.getConstructor(new Class[] {aClass}); in _clone()
|
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/ |
D | ResourceRemapper.java | 58 for (Class<?> aClass : rClass.getClasses()) { in remapRClass() 59 if (aClass.getSimpleName().equals("attr")) { in remapRClass() 60 for (Field field : aClass.getFields()) { in remapRClass()
|