HomeSort by relevance Sort by last modified time
    Searched defs:clazz (Results 76 - 100 of 646) sorted by null

1 2 34 5 6 7 8 91011>>

  /dalvik/vm/native/
InternalNative.cpp 100 const char* classDescriptor = method->clazz->descriptor;
150 * Verify that "obj" is non-null and is an instance of "clazz".
155 bool dvmVerifyObjectInClass(Object* obj, ClassObject* clazz) {
159 } else if (!dvmInstanceof(obj->clazz, clazz)) {
167 std::string expectedClassName(dvmHumanReadableDescriptor(clazz->descriptor));
180 ClassObject* clazz = NULL; local
207 clazz = dvmFindClass(descriptor, loader);
209 clazz = dvmFindClassNoInit(descriptor, loader);
211 if (clazz == NULL)
    [all...]
  /external/android-mock/src/com/google/android/testing/mocking/
FileUtils.java 29 * @param clazz
33 static String getInterfaceNameFor(Class<?> clazz, SdkVersion sdkVersion) {
34 return sdkVersion.getPackagePrefix() + "genmocks." + clazz.getName() + "DelegateInterface";
37 * @param clazz
41 static String getSubclassNameFor(Class<?> clazz, SdkVersion sdkVersion) {
42 return sdkVersion.getPackagePrefix() + "genmocks." + clazz.getName() + "DelegateSubclass";
70 static void saveClassToFolder(GeneratedClassFile clazz, String outputFolderName)
73 File targetFile = new File(classFolder, getFilenameFor(clazz.getClassName()));
76 outputStream.write(clazz.getContents());
  /external/chromium_org/content/browser/web_contents/
web_contents_user_data_unittest.cc 93 WebContentsAttachedClass1* clazz = local
95 ASSERT_EQ(NULL, clazz);
98 clazz = WebContentsAttachedClass1::FromWebContents(contents);
99 ASSERT_TRUE(clazz != NULL);
105 ASSERT_EQ(clazz, class_again);
  /external/guava/guava/src/com/google/common/eventbus/
AnnotatedHandlerFinder.java 41 Class clazz = listener.getClass(); local
42 while (clazz != null) {
43 for (Method method : clazz.getMethods()) {
60 clazz = clazz.getSuperclass();
  /external/javassist/src/main/javassist/runtime/
Desc.java 87 Class clazz; local
94 clazz = Boolean.TYPE;
97 clazz = Character.TYPE;
100 clazz = Byte.TYPE;
103 clazz = Short.TYPE;
106 clazz = Integer.TYPE;
109 clazz = Long.TYPE;
112 clazz = Float.TYPE;
115 clazz = Double.TYPE;
118 clazz = Void.TYPE
    [all...]
  /external/jmonkeyengine/engine/src/test/jme3test/app/
TestChangeAppIcon.java 51 Class<TestChangeAppIcon> clazz = TestChangeAppIcon.class; local
54 ImageIO.read(clazz.getResourceAsStream("/Interface/icons/SmartMonkey256.png")),
55 ImageIO.read(clazz.getResourceAsStream("/Interface/icons/SmartMonkey128.png")),
56 ImageIO.read(clazz.getResourceAsStream("/Interface/icons/SmartMonkey32.png")),
57 ImageIO.read(clazz.getResourceAsStream("/Interface/icons/SmartMonkey16.png")),
  /external/mockito/src/org/mockito/internal/configuration/injection/scanner/
MockScanner.java 24 private final Class<?> clazz; field in class:MockScanner
30 * @param clazz The class in the type hierarchy of this instance.
32 public MockScanner(Object instance, Class<?> clazz) {
34 this.clazz = clazz;
51 * Scan and prepare mocks for the given <code>testClassInstance</code> and <code>clazz</code> in the type hierarchy.
57 for (Field field : clazz.getDeclaredFields()) {
  /external/proguard/src/proguard/classfile/attribute/
InnerClassesInfo.java 73 public void innerClassConstantAccept(Clazz clazz, ConstantVisitor constantVisitor)
77 clazz.constantPoolEntryAccept(u2innerClassIndex,
87 public void outerClassConstantAccept(Clazz clazz, ConstantVisitor constantVisitor)
91 clazz.constantPoolEntryAccept(u2outerClassIndex,
101 public void innerNameConstantAccept(Clazz clazz, ConstantVisitor constantVisitor)
105 clazz.constantPoolEntryAccept(u2innerNameIndex,
  /external/proguard/src/proguard/io/
DataEntryRewriter.java 131 Clazz clazz = classPool.getClass(className); local
132 if (clazz != null)
135 String newClassName = clazz.getName();
  /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...]
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...]
InstantiationClassMarker.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 setInstantiated(Clazz clazz)
80 ClassOptimizationInfo info = ClassOptimizationInfo.getClassOptimizationInfo(clazz);
    [all...]
  /external/proguard/src/proguard/shrink/
InterfaceUsageMarker.java 118 public void visitClassConstant(Clazz clazz, ClassConstant classConstant)
135 clazz.constantPoolEntryAccept(classConstant.u2nameIndex, this);
145 public void visitUtf8Constant(Clazz clazz, Utf8Constant utf8Constant)
ShortestUsageMark.java 41 private Clazz clazz; field in class:ShortestUsageMark
61 * @param clazz the class causing this mark.
66 Clazz clazz)
68 this(previousUsageMark, reason, cost, clazz, null);
76 * @param clazz the class causing this mark.
83 Clazz clazz,
89 this.clazz = clazz
    [all...]
  /frameworks/base/core/jni/
android_content_res_ObbScanner.cpp 31 jclass clazz; member in struct:android::__anon32748
39 static void android_content_res_ObbScanner_getObbInfo(JNIEnv* env, jobject clazz, jstring file,
87 #define GET_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \
88 var = env->GetFieldID(clazz, fieldName, fieldDescriptor); \
93 jclass clazz; local
94 FIND_CLASS(clazz, "android/content/res/ObbInfo");
96 GET_FIELD_ID(gObbInfoClassInfo.packageName, clazz,
98 GET_FIELD_ID(gObbInfoClassInfo.version, clazz,
100 GET_FIELD_ID(gObbInfoClassInfo.flags, clazz,
102 GET_FIELD_ID(gObbInfoClassInfo.salt, clazz,
    [all...]
android_os_UEventObserver.cpp 37 static void nativeSetup(JNIEnv *env, jclass clazz) {
64 static jstring nativeWaitForNextEvent(JNIEnv *env, jclass clazz) {
87 static void nativeAddMatch(JNIEnv* env, jclass clazz, jstring matchStr) {
94 static void nativeRemoveMatch(JNIEnv* env, jclass clazz, jstring matchStr) {
120 jclass clazz; local
122 clazz = env->FindClass("android/os/UEventObserver");
123 if (clazz == NULL) {
  /frameworks/base/media/mca/filterfw/jni/
jni_util.cpp 122 jclass clazz = env->FindClass(class_name.c_str()); local
123 return clazz ? env->IsInstanceOf(object, clazz) == JNI_TRUE : false;
165 jclass clazz = env->FindClass("java/lang/Integer"); local
166 jmethodID constructorID = env->GetMethodID(clazz, "<init>", "(I)V");
167 result = env->NewObject(clazz, constructorID, GetIntValue(value));
169 jclass clazz = env->FindClass("java/lang/Float"); local
170 jmethodID constructorID = env->GetMethodID(clazz, "<init>", "(F)V");
171 result = env->NewObject(clazz, constructorID, GetFloatValue(value));
  /external/android-mock/tests/com/google/android/testing/mocking/
AndroidFrameworkMockGeneratorTest.java 39 for (CtClass clazz : classes) {
40 clazz.detach();
77 for (GeneratedClassFile clazz : classes) {
78 classNames.add(clazz.getClassName());
110 for (Class<?> clazz : list) {
111 assertTrue(clazz.getName(), expectedClassNames.contains(clazz.getName()));
  /external/javassist/sample/evolve/
Evolution.java 53 CtClass clazz = _pool.get(classname); local
57 clazz.instrument(converter);
81 CtClass clazz = pool.getAndRename(orgname, classname); local
82 makeConcreteClass(clazz, updatableClass, version);
102 protected CtClass makeAbstractClass(CtClass clazz)
106 CtClass absClass = pool.makeClass(clazz.getName());
108 absClass.setSuperclass(clazz.getSuperclass());
109 absClass.setInterfaces(clazz.getInterfaces());
119 new String[] { clazz.getName() });
122 CtField[] fs = clazz.getDeclaredFields();
    [all...]
  /external/javassist/src/main/javassist/scopedpool/
ScopedClassPool.java 139 * @param clazz
142 public synchronized void soften(CtClass clazz) {
144 clazz.prune();
145 classes.remove(clazz.getName());
146 softcache.put(clazz.getName(), clazz); local
166 CtClass clazz = getCachedLocally(classname); local
167 if (clazz == null) {
199 clazz = pool.getCachedLocally(classname);
200 if (clazz != null)
270 CtClass clazz = (CtClass)classes.get(classname); local
    [all...]
  /external/mockito/src/org/mockito/internal/util/reflection/
GenericMetadataSupport.java 241 private Class<?> clazz; field in class:GenericMetadataSupport.FromClassGenericMetadataSupport
243 public FromClassGenericMetadataSupport(Class<?> clazz) {
244 this.clazz = clazz;
249 registerTypeParametersOn(clazz.getTypeParameters());
250 registerTypeVariablesOn(clazz.getGenericSuperclass());
251 for (Type genericInterface : clazz.getGenericInterfaces()) {
258 return clazz;
  /external/proguard/src/proguard/classfile/util/
DynamicClassReferenceInitializer.java 241 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction)
244 instruction.accept(clazz, method, codeAttribute, offset,
251 clazz.constantPoolEntryAccept(constantClassForNameMatcher.matchedConstantIndex(X), this);
259 instruction.accept(clazz, method, codeAttribute, offset,
266 clazz.constantPoolEntryAccept(classForNameCastMatcher.matchedConstantIndex(X), this);
270 instruction.accept(clazz, method, codeAttribute, offset,
275 isDotClassMethodref(clazz, dotClassJavacMatcher.matchedConstantIndex(0)))
278 clazz.constantPoolEntryAccept(dotClassJavacMatcher.matchedConstantIndex(X), this);
282 instruction.accept(clazz, method, codeAttribute, offset
445 Clazz clazz = programClassPool.getClass(name); local
    [all...]
  /art/test/JniTest/
jni_test.cc 44 jclass clazz = env->FindClass("JniTest"); local
45 assert(clazz != NULL);
48 jobjectArray array = env->NewObjectArray(0, clazz, NULL);
78 jclass clazz = env->FindClass("JniTest"); local
79 assert(clazz != NULL);
82 jfieldID field = env->GetStaticFieldID(clazz, "testFindFieldOnAttachedNativeThreadField", "Z");
86 env->SetStaticBooleanField(clazz, field, JNI_TRUE);
  /cts/apps/CtsVerifier/jni/verifier/
com_android_cts_verifier_os_FileUtils.cpp 102 jclass clazz = env->FindClass("com/android/cts/verifier/os/FileUtils"); local
119 return env->RegisterNatives(clazz, gMethods,
  /cts/tests/jni/
android_os_cts_FileUtils.cpp 93 jint android_os_cts_FileUtils_setPermissions(JNIEnv* env, jobject clazz,
124 jclass clazz = env->FindClass("android/os/cts/FileUtils"); local
140 return env->RegisterNatives(clazz, gMethods,

Completed in 452 milliseconds

1 2 34 5 6 7 8 91011>>