Home
last modified time | relevance | path

Searched refs:elementClass (Results 1 – 18 of 18) sorted by relevance

/dalvik/vm/native/
Djava_lang_reflect_Array.c33 ClassObject* elementClass = (ClassObject*) args[0]; in Dalvik_java_lang_reflect_Array_createObjectArray() local
37 assert(elementClass != NULL); // tested by caller in Dalvik_java_lang_reflect_Array_createObjectArray()
43 newArray = dvmAllocObjectArray(elementClass, length, ALLOC_DEFAULT); in Dalvik_java_lang_reflect_Array_createObjectArray()
68 ClassObject* elementClass = (ClassObject*) args[0]; in Dalvik_java_lang_reflect_Array_createMultiArray() local
77 elementClass->descriptor, dimArray->length); in Dalvik_java_lang_reflect_Array_createMultiArray()
79 assert(elementClass != NULL); // verified by caller in Dalvik_java_lang_reflect_Array_createMultiArray()
104 (char*) malloc(strlen(elementClass->descriptor) + numDim + 1); in Dalvik_java_lang_reflect_Array_createMultiArray()
107 LOGVV("#### element name = '%s'\n", elementClass->descriptor); in Dalvik_java_lang_reflect_Array_createMultiArray()
108 if (dvmIsPrimitiveClass(elementClass)) { in Dalvik_java_lang_reflect_Array_createMultiArray()
109 assert(elementClass->primitiveType >= 0); in Dalvik_java_lang_reflect_Array_createMultiArray()
[all …]
Djava_lang_Class.c168 RETURN_PTR(thisPtr->elementClass); in Dalvik_java_lang_Class_getComponentType()
/dalvik/vm/oo/
DTypeCheck.c100 return dvmInstanceof(subElemClass, clazz->elementClass); in isArrayInstanceOfArray()
108 if (dvmIsInterfaceClass(clazz->elementClass)) { in isArrayInstanceOfArray()
114 return dvmImplements(clazz, clazz->elementClass); in isArrayInstanceOfArray()
121 return (clazz->elementClass == clazz->super); in isArrayInstanceOfArray()
161 return isArrayInstanceOfArray(sub->elementClass, sub->arrayDim, clazz); in isArrayInstanceOf()
207 return isArrayInstanceOfArray(objectClass->elementClass, in dvmCanPutArrayElement()
DArray.c252 gPrimLetter[arrayClass->elementClass->primitiveType], in dvmAllocMultiArray()
344 ClassObject* elementClass = NULL; in createArrayClass() local
363 elementClass = outer->elementClass; in createArrayClass()
367 assert(elementClass == NULL); /* make sure we fail */ in createArrayClass()
375 elementClass = dvmFindClassNoInit(subDescriptor, loader); in createArrayClass()
379 elementClass = dvmFindPrimitiveClass(descriptor[1]); in createArrayClass()
383 if (elementClass == NULL) { in createArrayClass()
409 if (loader != elementClass->classLoader) { in createArrayClass()
411 descriptor, loader, elementClass->classLoader); in createArrayClass()
412 newClass = dvmLookupClass(descriptor, elementClass->classLoader, false); in createArrayClass()
[all …]
DAccessCheck.c56 class1 = class1->elementClass; in dvmInSamePackage()
58 class2 = class2->elementClass; in dvmInSamePackage()
DResolve.c122 resClassCheck = resClassCheck->elementClass; in dvmResolveClass()
DObject.h368 ClassObject* elementClass; member
DClass.c4663 clazz->arrayDim, clazz->elementClass->descriptor); in dumpClass()
/dalvik/libcore/luni/src/main/java/java/util/
DEnumSet.java40 final Class<E> elementClass; field in EnumSet
43 elementClass = cls; in EnumSet()
98 EnumSet<E> set = EnumSet.noneOf(s.elementClass); in copyOf()
146 EnumSet<E> set = EnumSet.noneOf(s.elementClass); in complementOf()
331 return cls == elementClass || cls.getSuperclass() == elementClass; in isValidType()
356 proxy.elementType = elementClass; in writeReplace()
DMiniEnumSet.java131 if (!isValidType(set.elementClass)) { in addAll()
163 return isValidType(set.elementClass ) && ((bits & set.bits) == set.bits); in containsAll()
176 if (isValidType(set.elementClass)) { in removeAll()
193 if (!isValidType(set.elementClass)) { in retainAll()
227 if( !isValidType(set.elementClass) ) { in equals()
DHugeEnumSet.java139 if (!isValidType(set.elementClass)) { in addAll()
220 if(isValidType(set.elementClass )) { in containsAll()
267 if (!isValidType(set.elementClass)) { in removeAll()
291 if (!isValidType(set.elementClass)) { in retainAll()
/dalvik/vm/analysis/
DCodeVerify.c2250 commonElem = findCommonSuperclass(c1->elementClass, c2->elementClass); in findCommonArraySuperclass()
2322 !dvmIsPrimitiveClass(c1->elementClass) && in findCommonSuperclass()
2323 !dvmIsPrimitiveClass(c2->elementClass)) in findCommonSuperclass()
2889 elemType = resClass->elementClass->primitiveType; in verifyFilledNewArrayRegs()
2891 expectedType = regTypeFromClass(resClass->elementClass); in verifyFilledNewArrayRegs()
3950 resClass->elementClass->primitiveType == PRIM_NOT || in verifyInstruction()
3951 resClass->elementClass->primitiveType == PRIM_VOID) in verifyInstruction()
3960 resClass->elementClass->primitiveType); in verifyInstruction()
3974 switch (resClass->elementClass->primitiveType) { in verifyInstruction()
4111 resClass->elementClass->primitiveType == PRIM_NOT) in verifyInstruction()
[all …]
DDexOptimize.c1635 resClass = resClass->elementClass; in tweakLoader()
1650 resClass = resClass->elementClass; in untweakLoader()
/dalvik/vm/alloc/
DDdmHeap.c302 switch (clazz->elementClass->primitiveType) { in heap_chunk_callback()
DMarkSweep.c506 markObjectNonNull((Object *)clazz->elementClass, ctx); in scanClassObject()
/dalvik/vm/hprof/
DHprofHeap.c386 t = primitiveToBasicTypeAndSize(clazz->elementClass-> in hprofDumpHeapObject()
/dalvik/vm/
DCheckJni.c1052 PrimitiveType primType = arrObj->obj.clazz->elementClass->primitiveType; in createGuardedPACopy()
1072 PrimitiveType primType = arrObj->obj.clazz->elementClass->primitiveType; in releaseGuardedPACopy()
1862 jclass elementClass, jobject initialElement) in Check_NewObjectArray() argument
1865 CHECK_CLASS(env, elementClass); in Check_NewObjectArray()
1869 result = BASE_ENV(env)->NewObjectArray(env, length, elementClass, in Check_NewObjectArray()
/dalvik/libnativehelper/include/nativehelper/
Djni.h854 jobjectArray NewObjectArray(jsize length, jclass elementClass, in NewObjectArray()
856 { return functions->NewObjectArray(this, length, elementClass, in NewObjectArray()