/dalvik/vm/native/ |
D | java_lang_reflect_Array.c | 33 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 …]
|
D | java_lang_Class.c | 168 RETURN_PTR(thisPtr->elementClass); in Dalvik_java_lang_Class_getComponentType()
|
/dalvik/vm/oo/ |
D | TypeCheck.c | 100 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()
|
D | Array.c | 252 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 …]
|
D | AccessCheck.c | 56 class1 = class1->elementClass; in dvmInSamePackage() 58 class2 = class2->elementClass; in dvmInSamePackage()
|
D | Resolve.c | 122 resClassCheck = resClassCheck->elementClass; in dvmResolveClass()
|
D | Object.h | 368 ClassObject* elementClass; member
|
D | Class.c | 4663 clazz->arrayDim, clazz->elementClass->descriptor); in dumpClass()
|
/dalvik/libcore/luni/src/main/java/java/util/ |
D | EnumSet.java | 40 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()
|
D | MiniEnumSet.java | 131 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()
|
D | HugeEnumSet.java | 139 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/ |
D | CodeVerify.c | 2250 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 …]
|
D | DexOptimize.c | 1635 resClass = resClass->elementClass; in tweakLoader() 1650 resClass = resClass->elementClass; in untweakLoader()
|
/dalvik/vm/alloc/ |
D | DdmHeap.c | 302 switch (clazz->elementClass->primitiveType) { in heap_chunk_callback()
|
D | MarkSweep.c | 506 markObjectNonNull((Object *)clazz->elementClass, ctx); in scanClassObject()
|
/dalvik/vm/hprof/ |
D | HprofHeap.c | 386 t = primitiveToBasicTypeAndSize(clazz->elementClass-> in hprofDumpHeapObject()
|
/dalvik/vm/ |
D | CheckJni.c | 1052 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/ |
D | jni.h | 854 jobjectArray NewObjectArray(jsize length, jclass elementClass, in NewObjectArray() 856 { return functions->NewObjectArray(this, length, elementClass, in NewObjectArray()
|