/external/proguard/src/proguard/evaluation/ |
BasicInvocationUnit.java | 51 private Clazz returnTypeClass; 65 public void enterMethod(Clazz clazz, Method method, Variables variables) 67 String descriptor = method.getDescriptor(clazz); 90 Value value = getMethodParameterValue(clazz, 93 ClassUtil.internalTypeFromClassName(clazz.getName()), 94 clazz); 100 Clazz[] referencedClasses = ((ProgramMethod)method).referencedClasses; 108 Clazz referencedClass = referencedClasses != null && 114 Value value = getMethodParameterValue(clazz, [all...] |
/external/proguard/src/proguard/obfuscate/ |
NameAndTypeUsageMarker.java | 65 public void visitAnyConstant(Clazz clazz, Constant constant) {} 68 public void visitFieldrefConstant(Clazz clazz, FieldrefConstant fieldrefConstant) 70 visitRefConstant(clazz, fieldrefConstant); 74 public void visitInterfaceMethodrefConstant(Clazz clazz, InterfaceMethodrefConstant interfaceMethodrefConstant) 76 visitRefConstant(clazz, interfaceMethodrefConstant); 80 public void visitMethodrefConstant(Clazz clazz, MethodrefConstant methodrefConstant [all...] |
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
OldGenericTypesTest.java | 66 Class<? extends ConstructorGenericType> clazz = ConstructorGenericType.class; local 67 TypeVariable<Class> typeVariable = getTypeParameter(clazz); 68 Constructor<?> constructor = clazz.getDeclaredConstructor(Object.class); 77 Class<? extends GenericType> clazz = GenericType.class; local 78 TypeVariable<Class> typeVariable = getTypeParameter(clazz); 80 Method method = clazz.getDeclaredMethod("staticMethodGenericType", Object.class); 90 Class<? extends GenericType> clazz = GenericType.class; local 91 TypeVariable<Class> typeVariable = getTypeParameter(clazz); 93 Method method = clazz.getDeclaredMethod("hidingMethodGenericType", Object.class); 110 Class<? extends MultipleGenericTypes> clazz = MultipleGenericTypes.class local 147 Class<? extends MultipleBoundedGenericTypes> clazz = MultipleBoundedGenericTypes.class; local 163 Class<? extends SimpleInheritance> clazz = SimpleInheritance.class; local 184 Class<? extends InnerClassTest> clazz =InnerClassTest.class; local 214 Class<? extends ExceptionTest> clazz = ExceptionTest.class; local [all...] |
OldAndroidClassTest.java | 231 Class<?> clazz = this.getClass(); local 232 String pkg = (clazz.getPackage() == null ? "" : clazz.getPackage().getName() + "."); 236 assertEquals(pkg + "OldAndroidClassTest", clazz.getName()); 237 assertEquals("OldAndroidClassTest", clazz.getSimpleName()); 238 assertEquals(pkg + "OldAndroidClassTest", clazz.getCanonicalName()); 240 clazz = MemberClass.class; 242 assertEquals(pkg + "OldAndroidClassTest$MemberClass", clazz.getName()); 243 assertEquals("MemberClass", clazz.getSimpleName()); 244 assertEquals(pkg + "OldAndroidClassTest.MemberClass", clazz.getCanonicalName()) 287 Class<?> clazz = this.getClass(); local [all...] |
/external/proguard/src/proguard/classfile/editor/ |
VariableSizeUpdater.java | 50 public void visitAnyAttribute(Clazz clazz, Attribute attribute) {} 53 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 56 // clazz.getName().equals("abc/Def") && 57 // method.getName(clazz).equals("abc"); 61 ClassUtil.internalMethodParameterSize(method.getDescriptor(clazz), 66 System.out.println("VariableSizeUpdater: "+clazz.getName()+"."+method.getName(clazz)+method.getDescriptor(clazz)); [all...] |
ClassReferenceFixer.java | 183 public void visitAnyConstant(Clazz clazz, Constant constant) {} 186 public void visitStringConstant(Clazz clazz, StringConstant stringConstant) 189 Clazz referencedClass = stringConstant.referencedClass; 195 String externalClassName = stringConstant.getString(clazz); 207 new ConstantPoolEditor((ProgramClass)clazz).addUtf8Constant(newExternalClassName); 213 public void visitClassConstant(Clazz clazz, ClassConstant classConstant) 216 Clazz referencedClass = classConstant.referencedClass [all...] |
/external/proguard/src/proguard/optimize/info/ |
DotClassMarker.java | 46 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) {} 49 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction) 54 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this); 61 public void visitAnyConstant(Clazz clazz, Constant constant) {} 63 public void visitClassConstant(Clazz clazz, ClassConstant classConstant) 81 private static void setDotClassed(Clazz clazz [all...] |
AccessMethodMarker.java | 50 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) {} 53 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction) 57 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this); 63 public void visitAnyConstant(Clazz clazz, Constant constant) {} 66 public void visitStringConstant(Clazz clazz, StringConstant stringConstant) 74 public void visitAnyRefConstant(Clazz clazz, RefConstant refConstant [all...] |
InstanceofClassMarker.java | 46 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) {} 49 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction) 53 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this); 60 public void visitClassConstant(Clazz clazz, ClassConstant classConstant) 78 private static void setInstanceofed(Clazz clazz) 80 ClassOptimizationInfo info = ClassOptimizationInfo.getClassOptimizationInfo(clazz); [all...] |
/dalvik/vm/oo/ |
TypeCheck.h | 29 const ClassObject* clazz); 32 * Determine whether "instance" is an instance of "clazz". 36 INLINE int dvmInstanceof(const ClassObject* instance, const ClassObject* clazz) 38 if (instance == clazz) { 43 return dvmInstanceofNonTrivial(instance, clazz); 51 int dvmImplements(const ClassObject* clazz, const ClassObject* interface); 54 * Determine whether "sub" is a sub-class of "clazz". 58 INLINE int dvmIsSubClass(const ClassObject* sub, const ClassObject* clazz) { 60 /*printf("###### sub='%s' clazz='%s'\n", sub->name, clazz->name);* [all...] |
/external/proguard/src/proguard/optimize/peephole/ |
UnreachableCodeRemover.java | 76 public void visitAnyAttribute(Clazz clazz, Attribute attribute) {} 79 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 82 // clazz.getName().equals("abc/Def") && 83 // method.getName(clazz).equals("abc"); 90 visitCodeAttribute0(clazz, method, codeAttribute); 95 System.err.println(" Class = ["+clazz.getName()+"]"); 96 System.err.println(" Method = ["+method.getName(clazz)+method.getDescriptor(clazz)+"]") [all...] |
ReachableCodeMarker.java | 79 public void visitAnyAttribute(Clazz clazz, Attribute attribute) {} 82 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 101 markCode(clazz, method, codeAttribute, 0); 108 codeAttribute.exceptionsAccept(clazz, method, this); 116 public void visitSimpleInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SimpleInstruction simpleInstruction) 132 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction [all...] |
RetargetedInnerClassAttributeRemover.java | 85 public void visitAnyAttribute(Clazz clazz, Attribute attribute) {} 88 public void visitInnerClassesAttribute(Clazz clazz, InnerClassesAttribute innerClassesAttribute) 91 checkTarget(clazz); 94 innerClassesAttribute.innerClassEntriesAccept(clazz, this); 98 public void visitEnclosingMethodAttribute(Clazz clazz, EnclosingMethodAttribute enclosingMethodAttribute) 101 checkTarget(clazz); 110 public void visitInnerClassesInfo(Clazz clazz, InnerClassesInfo innerClassesInfo [all...] |
/art/test/085-old-style-inner-class/src/ |
Main.java | 33 private static String nameOf(Class clazz) { 34 return (clazz == null) ? "(null)" : clazz.getName(); 41 private static void infoFor(Class clazz) { 42 System.out.println("Class: " + nameOf(clazz) + "\n" + 44 nameOf(clazz.getDeclaringClass()) + "\n" + 46 nameOf(clazz.getEnclosingClass()) + "\n" + 48 nameOf(clazz.getEnclosingMethod()));
|
/dalvik/tests/085-old-style-inner-class/src/ |
Main.java | 33 private static String nameOf(Class clazz) { 34 return (clazz == null) ? "(null)" : clazz.getName(); 41 private static void infoFor(Class clazz) { 42 System.out.println("Class: " + nameOf(clazz) + "\n" + 44 nameOf(clazz.getDeclaringClass()) + "\n" + 46 nameOf(clazz.getEnclosingClass()) + "\n" + 48 nameOf(clazz.getEnclosingMethod()));
|
/external/proguard/src/proguard/classfile/attribute/annotation/visitor/ |
AnnotationVisitor.java | 36 public void visitAnnotation(Clazz clazz, Annotation annotation); 37 public void visitAnnotation(Clazz clazz, Field field, Annotation annotation); 38 public void visitAnnotation(Clazz clazz, Method method, Annotation annotation); 39 public void visitAnnotation(Clazz clazz, Method method, int parameterIndex, Annotation annotation);
|
/frameworks/base/core/jni/ |
android_util_FloatMath.cpp | 9 static float FloorF(JNIEnv* env, jobject clazz, float x) { 13 static float CeilF(JNIEnv* env, jobject clazz, float x) { 17 static float SinF(JNIEnv* env, jobject clazz, float x) { 21 static float CosF(JNIEnv* env, jobject clazz, float x) { 25 static float SqrtF(JNIEnv* env, jobject clazz, float x) { 29 static float ExpF(JNIEnv* env, jobject clazz, float x) { 33 static float PowF(JNIEnv* env, jobject clazz, float x, float y) { 37 static float HypotF(JNIEnv* env, jobject clazz, float x, float y) {
|
/external/objenesis/main/src/org/objenesis/ |
ObjenesisHelper.java | 39 * @param clazz Class to instantiate
40 * @return New instance of clazz
42 public static Object newInstance(Class clazz) {
43 return OBJENESIS_STD.newInstance(clazz);
50 * @param clazz Class to instantiate
51 * @return New instance of clazz
53 public static Serializable newSerializableInstance(Class clazz) {
54 return (Serializable) OBJENESIS_SERIALIZER.newInstance(clazz);
62 * @param clazz Class to instantiate
65 public static ObjectInstantiator getInstantiatorOf(Class clazz) {
[all...] |
/external/proguard/src/proguard/classfile/attribute/ |
EnclosingMethodAttribute.java | 38 * An extra field pointing to the referenced Clazz object. 43 public Clazz referencedClass; 79 public String getClassName(Clazz clazz) 81 return clazz.getClassName(u2classIndex); 87 public String getName(Clazz clazz) 89 return clazz.getName(u2nameAndTypeIndex); 95 public String getType(Clazz clazz) [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/internal/ |
AppSingletonizer.java | 11 private Class<T> clazz; field in class:AppSingletonizer 13 public AppSingletonizer(Class<T> clazz) { 14 this.clazz = clazz; 33 return newInstanceOf(clazz);
|
/dalvik/vm/alloc/ |
VisitInlines.h | 27 assert(obj->clazz != NULL); 28 if (obj->clazz->refOffsets != CLASS_WALK_SUPER) { 29 size_t refOffsets = obj->clazz->refOffsets; 38 for (ClassObject *clazz = obj->clazz; 39 clazz != NULL; 40 clazz = clazz->super) { 41 InstField *field = clazz->ifields; 42 for (int i = 0; i < clazz->ifieldRefCount; ++i, ++field) [all...] |
/external/proguard/src/proguard/optimize/evaluation/ |
EvaluationSimplifier.java | 86 public void visitAnyAttribute(Clazz clazz, Attribute attribute) {} 89 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 92 // clazz.getName().equals("abc/Def") && 93 // method.getName(clazz).equals("abc"); 100 visitCodeAttribute0(clazz, method, codeAttribute); 105 System.err.println(" Class = ["+clazz.getName()+"]"); 106 System.err.println(" Method = ["+method.getName(clazz)+method.getDescriptor(clazz)+"]") [all...] |
/external/proguard/src/proguard/classfile/attribute/preverification/visitor/ |
StackMapFrameVisitor.java | 35 public void visitSameZeroFrame(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SameZeroFrame sameZeroFrame); 36 public void visitSameOneFrame( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SameOneFrame sameOneFrame); 37 public void visitLessZeroFrame(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, LessZeroFrame lessZeroFrame); 38 public void visitMoreZeroFrame(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, MoreZeroFrame moreZeroFrame); 39 public void visitFullFrame( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, FullFrame fullFrame) [all...] |
/external/proguard/src/proguard/shrink/ |
InnerUsageMarker.java | 66 public void visitAnyAttribute(Clazz clazz, Attribute attribute) {} 69 public void visitInnerClassesAttribute(Clazz clazz, InnerClassesAttribute innerClassesAttribute) 73 innerClassesAttribute.innerClassEntriesAccept(clazz, this); 81 markConstant(clazz, innerClassesAttribute.u2attributeNameIndex); 88 public void visitInnerClassesInfo(Clazz clazz, InnerClassesInfo innerClassesInfo) 96 innerClassesInfo.innerClassConstantAccept(clazz, this); 101 innerClassesInfo.outerClassConstantAccept(clazz, this) [all...] |
/external/proguard/src/proguard/classfile/io/ |
ProgramClassReader.java | 212 public void visitIntegerConstant(Clazz clazz, IntegerConstant integerConstant) 218 public void visitLongConstant(Clazz clazz, LongConstant longConstant) 224 public void visitFloatConstant(Clazz clazz, FloatConstant floatConstant) 230 public void visitDoubleConstant(Clazz clazz, DoubleConstant doubleConstant) 236 public void visitStringConstant(Clazz clazz, StringConstant stringConstant [all...] |