/external/javassist/src/test/test/javassist/bytecode/analysis/ |
ErrorFinder.java | 41 CtClass clazz = pool.get(className); local 42 CtMethod[] methods = clazz.getDeclaredMethods(); 44 analyzeMethod(clazz, methods[i]); 50 private static void analyzeMethod(CtClass clazz, CtMethod method) { 51 String methodName = clazz.getName() + "." + method.getName() + method.getSignature(); 57 analyzer.analyze(clazz, method.getMethodInfo2());
|
ScannerTest.java | 28 CtClass clazz = pool.get("test.ScannerTest$GeneratedTest"); local 29 CtMethod method = clazz.getDeclaredMethod("doit"); 106 CtClass clazz = pool.makeClass("test.ScannerTest$GeneratedTest"); local 107 CtMethod method = new CtMethod(CtClass.voidType, "doit", new CtClass[] {CtClass.intType}, clazz); 114 /* 3 */ code.addInvokevirtual(clazz, "println", CtClass.voidType, new CtClass[] {stringClass}); 117 /* 9 */ code.addInvokevirtual(clazz, "println", CtClass.voidType, new CtClass[] {stringClass}); 138 /* 63 */ code.addInvokevirtual(clazz, "println", CtClass.voidType, new CtClass[] {stringClass}); 147 /* 82 */ code.addInvokevirtual(clazz, "println", CtClass.voidType, new CtClass[] {stringClass}); 156 /* 101 */ code.addInvokevirtual(clazz, "println", CtClass.voidType, new CtClass[] {stringClass}); 164 /* 120 */ code.addInvokevirtual(clazz, "println", CtClass.voidType, new CtClass[] {stringClass}) [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/asset/ |
AssetConfig.java | 97 Class clazz = Class.forName(name); local 98 return clazz != null;
|
/external/jmonkeyengine/engine/src/core/com/jme3/util/ |
JmeFormatter.java | 69 String clazz = null; local 71 clazz = Class.forName(record.getSourceClassName()).getSimpleName(); 76 sb.append(clazz).append(" ");
|
/external/jsilver/src/org/clearsilver/ |
FactoryLoader.java | 107 Class<ClearsilverFactory> clazz = local 109 Constructor<ClearsilverFactory> constructor = clazz.getConstructor();
|
/external/mockito/src/org/mockito/internal/configuration/ |
InjectingAnnotationEngine.java | 49 * @param clazz Not used
54 public void process(Class<?> clazz, Object testInstance) {
59 private void processInjectMocks(final Class<?> clazz, final Object testInstance) {
60 Class<?> classContext = clazz;
67 private void processIndependentAnnotations(final Class<?> clazz, final Object testInstance) {
68 Class<?> classContext = clazz;
90 Class<?> clazz = testClassInstance.getClass();
local 94 while (clazz != Object.class) {
95 new InjectMocksScanner(clazz).addTo(mockDependentFields);
96 new MockScanner(testClassInstance, clazz).addPreparedMocks(mocks); [all...] |
/external/proguard/src/proguard/classfile/editor/ |
ConstantAdder.java | 55 public int addConstant(Clazz clazz, int constantIndex) 57 clazz.constantPoolEntryAccept(constantIndex, this); 67 public int addConstant(Clazz clazz, Constant constant) 69 constant.accept(clazz, this); 87 public void visitIntegerConstant(Clazz clazz, IntegerConstant integerConstant) 94 public void visitLongConstant(Clazz clazz, LongConstant longConstant [all...] |
/external/proguard/src/proguard/classfile/util/ |
ClassSuperHierarchyInitializer.java | 98 Clazz[] interfaceClasses = new Clazz[interfaceNames.length]; 119 public void visitClassConstant(Clazz clazz, ClassConstant classConstant) 122 findClass(clazz.getName(), classConstant.getName(clazz)); 132 private Clazz findClass(String referencingClassName, String name) 135 Clazz clazz = programClassPool.getClass(name); local 138 if (clazz == null [all...] |
MethodLinker.java | 54 public void visitAnyClass(Clazz clazz) 57 clazz.hierarchyAccept(true, true, true, false, 69 public void visitAnyMember(Clazz clazz, Member member) 72 String name = member.getName(clazz); 73 String descriptor = member.getDescriptor(clazz);
|
StringSharer.java | 62 Clazz superClass = libraryClass.superClass; 73 public void visitAnyConstant(Clazz clazz, Constant constant) {} 76 public void visitAnyStringConstant(Clazz clazz, StringConstant stringConstant) 81 Clazz referencedClass = stringConstant.referencedClass; 85 clazz.constantPoolEntryAccept(stringConstant.u2stringIndex, this); 90 public void visitAnyRefConstant(Clazz clazz, RefConstant refConstant) 95 Clazz referencedClass = refConstant.referencedClass [all...] |
/external/proguard/src/proguard/obfuscate/ |
MappingKeeper.java | 40 private Clazz clazz; field in class:MappingKeeper 66 clazz = classPool.getClass(name); 67 if (clazz != null) 75 String currentNewName = ClassObfuscator.newClassName(clazz); 90 ClassObfuscator.setNewClassName(clazz, newName); 105 if (clazz != null) 111 Field field = clazz.findField(name, descriptor); 146 if (clazz != null) 152 Method method = clazz.findMethod(methodName, descriptor) [all...] |
MemberNameConflictFixer.java | 100 * @param clazz the class of the given member. 104 private void visitMember(Clazz clazz, 109 String name = member.getName(clazz); 110 String descriptor = member.getDescriptor(clazz); 138 descriptor = member.getDescriptor(clazz); 139 warningPrinter.print(clazz.getName(), 140 "Warning: " + ClassUtil.externalClassName(clazz.getName()) + 143 ": method '" + ClassUtil.externalFullMethodDescription(clazz.getName(), 0, name, descriptor)) + 156 member.accept(clazz, memberObfuscator) [all...] |
/external/proguard/src/proguard/optimize/ |
DuplicateInitializerInvocationFixer.java | 77 public void visitAnyAttribute(Clazz clazz, Attribute attribute) {} 80 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 87 codeAttribute.instructionsAccept(clazz, 92 codeAttributeEditor.visitCodeAttribute(clazz, method, codeAttribute); 98 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) {} 101 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction [all...] |
/external/proguard/src/proguard/optimize/info/ |
ClassOptimizationInfo.java | 23 import proguard.classfile.Clazz; 39 private Clazz targetClass; 114 public void setTargetClass(Clazz targetClass) 120 public Clazz getTargetClass() 137 public static void setClassOptimizationInfo(Clazz clazz) 139 clazz.setVisitorInfo(new ClassOptimizationInfo()); 143 public static ClassOptimizationInfo getClassOptimizationInfo(Clazz clazz) 145 Object visitorInfo = clazz.getVisitorInfo() [all...] |
MethodInvocationMarker.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) 51 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this); 57 public void visitAnyConstant(Clazz clazz, Constant constant) {} 60 public void visitStringConstant(Clazz clazz, StringConstant stringConstant) 67 public void visitAnyMethodrefConstant(Clazz clazz, RefConstant refConstant [all...] |
ReadWriteFieldMarker.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) 65 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this); 73 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this); 81 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this); 89 public void visitAnyConstant(Clazz clazz, Constant constant) {} 92 public void visitStringConstant(Clazz clazz, StringConstant stringConstant [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/smack/src/com/kenai/jbosh/ |
ServiceLib.java | 153 Class clazz = Class.forName(className); local 154 if (!ofClass.isAssignableFrom(clazz)) { 156 LOG.warning(clazz.getName() + " is not assignable to " 161 return ofClass.cast(clazz.newInstance());
|
/external/srec/srec_jni/ |
android_speech_srec_MicrophoneInputStream.cpp | 69 (JNIEnv *env, jclass clazz, jint sampleRate, jint fifoFrames) { 85 (JNIEnv *env, jclass clazz, jint audioRecord) { 90 (JNIEnv *env, jclass clazz, jint audioRecord, jbyteArray array, jint offset, jint length) { 103 (JNIEnv *env, jclass clazz, jint audioRecord) { 108 (JNIEnv *env, jclass clazz, jint audioRecord) { 133 jclass clazz = NULL; local 142 clazz = env->FindClass(className); 143 if (clazz == NULL) { 147 if (env->RegisterNatives(clazz, gMethods,
|
/frameworks/base/core/jni/android/graphics/ |
Camera.cpp | 120 jclass clazz = env->FindClass("android/graphics/Camera"); local 121 if (clazz == 0) { 124 gNativeInstanceFieldID = env->GetFieldID(clazz, "native_instance", "I");
|
/frameworks/base/core/jni/ |
android_backup_BackupDataInput.cpp | 33 ctor_native(JNIEnv* env, jobject clazz, jobject fileDescriptor) 44 dtor_native(JNIEnv* env, jobject clazz, int r) 50 readNextHeader_native(JNIEnv* env, jobject clazz, int r, jobject entity) 92 readEntityData_native(JNIEnv* env, jobject clazz, int r, jbyteArray data, int offset, int size) 115 skipEntityData_native(JNIEnv* env, jobject clazz, int r) 138 jclass clazz = env->FindClass("android/app/backup/BackupDataInput$EntityHeader"); local 139 LOG_FATAL_IF(clazz == NULL, "Unable to find class android.app.backup.BackupDataInput.EntityHeader"); 140 s_keyField = env->GetFieldID(clazz, "key", "Ljava/lang/String;"); 143 s_dataSizeField = env->GetFieldID(clazz, "dataSize", "I");
|
android_content_res_Configuration.cpp | 47 JNIEnv* env, jobject clazz, struct AConfiguration* out) { 48 out->mcc = env->GetIntField(clazz, gConfigurationClassInfo.mcc); 49 out->mnc = env->GetIntField(clazz, gConfigurationClassInfo.mnc); 50 out->screenLayout = env->GetIntField(clazz, gConfigurationClassInfo.screenLayout); 51 out->touchscreen = env->GetIntField(clazz, gConfigurationClassInfo.touchscreen); 52 out->keyboard = env->GetIntField(clazz, gConfigurationClassInfo.keyboard); 53 out->navigation = env->GetIntField(clazz, gConfigurationClassInfo.navigation); 55 out->inputFlags = env->GetIntField(clazz, gConfigurationClassInfo.keyboardHidden); 56 int hardKeyboardHidden = env->GetIntField(clazz, gConfigurationClassInfo.hardKeyboardHidden); 61 out->inputFlags |= env->GetIntField(clazz, gConfigurationClassInfo.navigationHidden 92 jclass clazz; local [all...] |
android_hardware_UsbDeviceConnection.cpp | 244 jclass clazz = env->FindClass("android/hardware/usb/UsbDeviceConnection"); local 245 if (clazz == NULL) { 249 field_context = env->GetFieldID(clazz, "mNativeContext", "I");
|
android_view_PointerIcon.cpp | 31 jclass clazz; member in struct:android::__anon32785 44 jobject pointerIconObj = env->CallStaticObjectMethod(gPointerIconClassInfo.clazz, 114 #define GET_STATIC_METHOD_ID(var, clazz, methodName, methodDescriptor) \ 115 var = env->GetStaticMethodID(clazz, methodName, methodDescriptor); \ 118 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \ 119 var = env->GetMethodID(clazz, methodName, methodDescriptor); \ 122 #define GET_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \ 123 var = env->GetFieldID(clazz, fieldName, fieldDescriptor); \ 127 FIND_CLASS(gPointerIconClassInfo.clazz, "android/view/PointerIcon"); 129 GET_FIELD_ID(gPointerIconClassInfo.mBitmap, gPointerIconClassInfo.clazz, [all...] |
/frameworks/base/services/jni/ |
com_android_server_UsbDeviceManager.cpp | 140 jclass clazz = env->FindClass("com/android/server/usb/UsbDeviceManager"); local 141 if (clazz == NULL) { 146 clazz = env->FindClass("android/os/ParcelFileDescriptor"); 147 LOG_FATAL_IF(clazz == NULL, "Unable to find class android.os.ParcelFileDescriptor"); 148 gParcelFileDescriptorOffsets.mClass = (jclass) env->NewGlobalRef(clazz); 149 gParcelFileDescriptorOffsets.mConstructor = env->GetMethodID(clazz, "<init>", "(Ljava/io/FileDescriptor;)V");
|