Searched refs:arrayClass (Results 1 - 25 of 27) sorted by relevance

12

/dalvik/vm/mterp/c/
H A DOP_NEW_ARRAY.cpp3 ClassObject* arrayClass; local
19 arrayClass = dvmDexGetResolvedClass(methodClassDex, ref);
20 if (arrayClass == NULL) {
21 arrayClass = dvmResolveClass(curMethod->clazz, ref, false);
22 if (arrayClass == NULL)
26 assert(dvmIsArrayClass(arrayClass));
27 assert(dvmIsClassInitialized(arrayClass));
29 newArray = dvmAllocArrayByClass(arrayClass, length, ALLOC_DONT_TRACK);
H A DgotoTargets.cpp13 ClassObject* arrayClass; local
40 arrayClass = dvmDexGetResolvedClass(methodClassDex, ref);
41 if (arrayClass == NULL) {
42 arrayClass = dvmResolveClass(curMethod->clazz, ref, false);
43 if (arrayClass == NULL)
47 if (!dvmIsArrayClass(arrayClass)) {
54 assert(dvmIsArrayClass(arrayClass));
55 assert(dvmIsClassInitialized(arrayClass));
60 LOGVV("+++ filled-new-array type is '%s'", arrayClass->descriptor);
61 typeCh = arrayClass
[all...]
/dalvik/vm/oo/
H A DArray.cpp38 static ArrayObject* allocArray(ClassObject* arrayClass, size_t length, argument
41 assert(arrayClass != NULL);
42 assert(arrayClass->descriptor != NULL);
43 assert(arrayClass->descriptor[0] == '[');
53 std::string descriptor(dvmHumanReadableDescriptor(arrayClass->descriptor));
60 DVM_OBJECT_INIT(newArray, arrayClass);
62 dvmTrackAllocation(arrayClass, totalSize);
71 ArrayObject* dvmAllocArrayByClass(ClassObject* arrayClass, argument
74 const char* descriptor = arrayClass->descriptor;
82 return allocArray(arrayClass, lengt
93 ClassObject* arrayClass; local
116 ClassObject* arrayClass; local
171 dvmAllocMultiArray(ClassObject* arrayClass, int curDim, const int* dimensions) argument
598 dvmArrayClassElementWidth(const ClassObject* arrayClass) argument
[all...]
H A DTypeCheck.cpp198 const ClassObject* arrayClass)
203 * elements of "arrayClass" are compatible with "objectClass".
208 objectClass->arrayDim + 1, arrayClass);
216 return isArrayInstanceOfArray(objectClass, 1, arrayClass);
197 dvmCanPutArrayElement(const ClassObject* objectClass, const ClassObject* arrayClass) argument
H A DTypeCheck.h76 const ClassObject* arrayClass);
H A DArray.h44 extern "C" ArrayObject* dvmAllocArrayByClass(ClassObject* arrayClass,
66 ArrayObject* dvmAllocMultiArray(ClassObject* arrayClass, int curDim,
/dalvik/vm/native/
H A Djava_lang_reflect_Array.cpp42 ClassObject* arrayClass = local
45 dvmAllocArrayByClass(arrayClass, length, ALLOC_DEFAULT);
71 ClassObject* arrayClass; local
121 arrayClass = dvmFindArrayClass(acDescriptor, elementClass->classLoader);
122 if (arrayClass == NULL) {
131 newArray = dvmAllocMultiArray(arrayClass, numDim-1, dimensions);
H A Ddalvik_system_DexFile.cpp426 ClassObject* arrayClass = local
429 dvmAllocArrayByClass(arrayClass, count, ALLOC_DEFAULT);
H A Ddalvik_system_VMRuntime.cpp117 ClassObject* arrayClass = dvmFindArrayClassForElement(elementClass); local
118 ArrayObject* newArray = dvmAllocArrayByClass(arrayClass,
/dalvik/vm/compiler/codegen/arm/
H A DCalloutHelper.h71 const ClassObject* arrayClass);
76 ArrayObject* dvmAllocArrayByClass(ClassObject* arrayClass, // OP_NEW_ARRAY
/dalvik/vm/compiler/codegen/mips/
H A DCalloutHelper.h68 const ClassObject* arrayClass);
73 ArrayObject* dvmAllocArrayByClass(ClassObject* arrayClass, // OP_NEW_ARRAY
/dalvik/vm/mterp/out/
H A DInterpC-mips.cpp1204 ClassObject* arrayClass; local
1231 arrayClass = dvmDexGetResolvedClass(methodClassDex, ref);
1232 if (arrayClass == NULL) {
1233 arrayClass = dvmResolveClass(curMethod->clazz, ref, false);
1234 if (arrayClass == NULL)
1238 if (!dvmIsArrayClass(arrayClass)) {
1245 assert(dvmIsArrayClass(arrayClass));
1246 assert(dvmIsClassInitialized(arrayClass));
1251 LOGVV("+++ filled-new-array type is '%s'", arrayClass->descriptor);
1252 typeCh = arrayClass
[all...]
H A DInterpC-x86.cpp1280 ClassObject* arrayClass; local
1307 arrayClass = dvmDexGetResolvedClass(methodClassDex, ref);
1308 if (arrayClass == NULL) {
1309 arrayClass = dvmResolveClass(curMethod->clazz, ref, false);
1310 if (arrayClass == NULL)
1314 if (!dvmIsArrayClass(arrayClass)) {
1321 assert(dvmIsArrayClass(arrayClass));
1322 assert(dvmIsClassInitialized(arrayClass));
1327 LOGVV("+++ filled-new-array type is '%s'", arrayClass->descriptor);
1328 typeCh = arrayClass
[all...]
H A DInterpC-allstubs.cpp1691 ClassObject* arrayClass; local
1707 arrayClass = dvmDexGetResolvedClass(methodClassDex, ref);
1708 if (arrayClass == NULL) {
1709 arrayClass = dvmResolveClass(curMethod->clazz, ref, false);
1710 if (arrayClass == NULL)
1714 assert(dvmIsArrayClass(arrayClass));
1715 assert(dvmIsClassInitialized(arrayClass));
1717 newArray = dvmAllocArrayByClass(arrayClass, length, ALLOC_DONT_TRACK);
3099 ClassObject* arrayClass; local
3126 arrayClass
[all...]
H A DInterpC-portable.cpp1702 ClassObject* arrayClass; local
1718 arrayClass = dvmDexGetResolvedClass(methodClassDex, ref);
1719 if (arrayClass == NULL) {
1720 arrayClass = dvmResolveClass(curMethod->clazz, ref, false);
1721 if (arrayClass == NULL)
1725 assert(dvmIsArrayClass(arrayClass));
1726 assert(dvmIsClassInitialized(arrayClass));
1728 newArray = dvmAllocArrayByClass(arrayClass, length, ALLOC_DONT_TRACK);
3047 ClassObject* arrayClass; local
3074 arrayClass
[all...]
H A DInterpAsm-x86.S1222 movl offClassObject_descriptor(%eax),%ecx # ecx<- arrayClass->descriptor
1225 movl %eax,OUT_ARG0(%esp) # arg0<- arrayClass
1240 call dvmAllocArrayByClass # eax<- call(arrayClass, length, flags)
1353 movl offClassObject_descriptor(%eax),%ecx # ecx<- arrayClass->descriptor
1356 movl %eax,OUT_ARG0(%esp) # arg0<- arrayClass
1371 call dvmAllocArrayByClass # eax<- call(arrayClass, length, flags)
H A DInterpAsm-armv5te-vfp.S7994 ldr r3, [r0, #offClassObject_descriptor] @ r3<- arrayClass->descriptor
8079 ldr r3, [r0, #offClassObject_descriptor] @ r3<- arrayClass->descriptor
H A DInterpAsm-armv7-a-neon.S7948 ldr r3, [r0, #offClassObject_descriptor] @ r3<- arrayClass->descriptor
8033 ldr r3, [r0, #offClassObject_descriptor] @ r3<- arrayClass->descriptor
H A DInterpAsm-armv7-a.S7948 ldr r3, [r0, #offClassObject_descriptor] @ r3<- arrayClass->descriptor
8033 ldr r3, [r0, #offClassObject_descriptor] @ r3<- arrayClass->descriptor
/dalvik/vm/analysis/
H A DCodeVerify.cpp2374 ClassObject* arrayClass = NULL; local
2406 * We initialize arrayClass to Object here, because it's possible
2413 arrayClass = commonElem = c1->super; // == java.lang.Object
2422 arrayClass = dvmFindArrayClassForElement(commonElem);
2423 commonElem = arrayClass;
2425 assert(arrayClass != NULL);
2428 c1->descriptor, c2->descriptor, arrayClass->descriptor);
2429 return arrayClass;
4729 ClassObject* arrayClass; local
4737 arrayClass
[all...]
/dalvik/vm/mterp/armv5te/
H A DOP_FILLED_NEW_ARRAY.S34 ldr r3, [r0, #offClassObject_descriptor] @ r3<- arrayClass->descriptor
/dalvik/vm/mterp/mips/
H A DOP_FILLED_NEW_ARRAY.S35 LOAD_base_offClassObject_descriptor(a3, a0) # a3 <- arrayClass->descriptor
/dalvik/vm/reflect/
H A DReflect.cpp484 ClassObject* arrayClass = gDvm.classJavaLangReflectConstructorArray; local
485 ArrayObject* ctorArray = dvmAllocArrayByClass(arrayClass, count, ALLOC_DEFAULT);
/dalvik/vm/
H A DDebugger.cpp916 ClassObject* arrayClass = arrayObj->clazz; local
917 u1 tag = basicTagFromDescriptor(arrayClass->descriptor + 1);
920 tag = tagFromClass(arrayClass->elementClass);
H A DJni.cpp2248 ClassObject* arrayClass = dvmFindArrayClassForElement(elemClassObj); local
2249 ArrayObject* newObj = dvmAllocArrayByClass(arrayClass, length, ALLOC_DEFAULT);

Completed in 5188 milliseconds

12