/dalvik/vm/oo/ |
D | Array.h | 44 extern "C" ArrayObject* dvmAllocArrayByClass(ClassObject* arrayClass, 56 ArrayObject* dvmAllocPrimitiveArray(char type, size_t length, int allocFlags); 66 ArrayObject* dvmAllocMultiArray(ClassObject* arrayClass, int curDim, 74 INLINE bool dvmIsArray(const ArrayObject* arrayObj) in dvmIsArray() 96 INLINE bool dvmIsObjectArray(const ArrayObject* arrayObj) in dvmIsObjectArray() 118 bool dvmCopyObjectArray(ArrayObject* dstArray, const ArrayObject* srcArray, 126 bool dvmUnboxObjectArray(ArrayObject* dstArray, const ArrayObject* srcArray, 132 size_t dvmArrayObjectSize(const ArrayObject *array);
|
D | Array.cpp | 38 static ArrayObject* allocArray(ClassObject* arrayClass, size_t length, in allocArray() 50 size_t headerSize = OFFSETOF_MEMBER(ArrayObject, contents); in allocArray() 58 ArrayObject* newArray = (ArrayObject*)dvmMalloc(totalSize, allocFlags); in allocArray() 71 ArrayObject* dvmAllocArrayByClass(ClassObject* arrayClass, in dvmAllocArrayByClass() 113 ArrayObject* dvmAllocPrimitiveArray(char type, size_t length, int allocFlags) in dvmAllocPrimitiveArray() 115 ArrayObject* newArray; in dvmAllocPrimitiveArray() 171 ArrayObject* dvmAllocMultiArray(ClassObject* arrayClass, int curDim, in dvmAllocMultiArray() 174 ArrayObject* newArray; in dvmAllocMultiArray() 218 ArrayObject* newSubArray; in dvmAllocMultiArray() 492 bool dvmCopyObjectArray(ArrayObject* dstArray, const ArrayObject* srcArray, in dvmCopyObjectArray() [all …]
|
/dalvik/vm/reflect/ |
D | Reflect.h | 32 ArrayObject* dvmGetDeclaredFields(ClassObject* clazz, bool publicOnly); 42 ArrayObject* dvmGetDeclaredConstructors(ClassObject* clazz, bool publicOnly); 51 ArrayObject* dvmGetDeclaredMethods(ClassObject* clazz, bool publicOnly); 57 StringObject* nameObj, ArrayObject* args); 63 ArrayObject* dvmGetInterfaces(ClassObject* clazz); 125 ClassObject* dvmGenerateProxyClass(StringObject* str, ArrayObject* interfaces, 139 ArrayObject* dvmGetClassAnnotations(const ClassObject* clazz); 140 ArrayObject* dvmGetMethodAnnotations(const Method* method); 141 ArrayObject* dvmGetFieldAnnotations(const Field* field); 142 ArrayObject* dvmGetParameterAnnotations(const Method* method); [all …]
|
D | Proxy.cpp | 32 static bool gatherMethods(ArrayObject* interfaces, Method*** pMethods,\ 33 ArrayObject** pThrows, int* pMethodCount); 35 Method** outMethods, ArrayObject* throws); 66 ClassObject* dvmGenerateProxyClass(StringObject* str, ArrayObject* interfaces, in dvmGenerateProxyClass() 70 ArrayObject* throws = NULL; in dvmGenerateProxyClass() 239 static bool gatherMethods(ArrayObject* interfaces, Method*** pMethods, in gatherMethods() 240 ArrayObject** pThrows, int* pMethodCount) in gatherMethods() 243 ArrayObject* throws = NULL; in gatherMethods() 375 Method** outMethods, ArrayObject* throwLists) in copyWithoutDuplicates() 487 ArrayObject* throwArray; in copyWithoutDuplicates() [all …]
|
D | Annotation.cpp | 109 static ArrayObject* emptyAnnoArray() in emptyAnnoArray() 120 static ArrayObject* emptyAnnoArrayArray(int numElements) in emptyAnnoArrayArray() 123 ArrayObject* arr; in emptyAnnoArrayArray() 129 ArrayObject** elems = (ArrayObject**)(void*)arr->contents; in emptyAnnoArrayArray() 484 ArrayObject* newArray; in processAnnotationValue() 568 !dvmIsArray((ArrayObject*)valueObj) || !dvmIsArrayClass(methodReturn)) in convertReturnType() 602 ArrayObject* srcArray = (ArrayObject*) valueObj; in convertReturnType() 604 ArrayObject* newArray; in convertReturnType() 743 ArrayObject* elementArray = NULL; in processEncodedAnnotation() 828 static ArrayObject* processAnnotationSet(const ClassObject* clazz, in processAnnotationSet() [all …]
|
/dalvik/vm/ |
D | UtfString.cpp | 37 static StringObject* makeStringObject(u4 charsLength, ArrayObject** pChars) in makeStringObject() 61 ArrayObject* chars = dvmAllocPrimitiveArray('C', charsLength, ALLOC_DEFAULT); in makeStringObject() 214 ArrayObject* chars = in dvmComputeStringHash() 215 (ArrayObject*) dvmGetFieldObject(strObj, STRING_FIELDOFF_VALUE); in dvmComputeStringHash() 243 ArrayObject* chars; in dvmCreateStringFromCstrAndLength() 265 ArrayObject* chars; in dvmCreateStringFromUnicode() 293 ArrayObject* chars = in dvmCreateCstrFromString() 294 (ArrayObject*) dvmGetFieldObject(jstr, STRING_FIELDOFF_VALUE); in dvmCreateCstrFromString() 321 ArrayObject* chars = in utfLength() 322 (ArrayObject*) dvmGetFieldObject(this, STRING_FIELDOFF_VALUE); in utfLength() [all …]
|
D | Ddm.h | 57 ArrayObject* dvmDdmGenerateThreadStats(void); 78 ArrayObject* dvmDdmGetStackTraceById(u4 threadId); 85 ArrayObject* dvmDdmGetRecentAllocations(void);
|
D | Ddm.cpp | 44 ArrayObject* dataArray = NULL; in dvmDdmHandlePacket() 95 ArrayObject* replyData; in dvmDdmHandlePacket() 117 (ArrayObject*) dvmGetFieldObject(chunk, gDvm.offDalvikDdmcChunk_data); in dvmDdmHandlePacket() 359 ArrayObject* dvmDdmGenerateThreadStats() in dvmDdmGenerateThreadStats() 415 ArrayObject* arrayObj = dvmAllocPrimitiveArray('B', bufLen, ALLOC_DEFAULT); in dvmDdmGenerateThreadStats() 426 ArrayObject* dvmDdmGetStackTraceById(u4 threadId) in dvmDdmGetStackTraceById() 460 ArrayObject* trace = dvmGetStackTraceRaw(traceBuf, stackDepth); in dvmDdmGetStackTraceById() 470 ArrayObject* dvmDdmGetRecentAllocations() in dvmDdmGetRecentAllocations() 481 ArrayObject* arrayObj = dvmAllocPrimitiveArray('B', len, ALLOC_DEFAULT); in dvmDdmGetRecentAllocations()
|
D | InlineNative.cpp | 131 ArrayObject* chars; in javaLangString_charAt() 146 chars = (ArrayObject*) in javaLangString_charAt() 161 ArrayObject* thisArray; in badMatch() 162 ArrayObject* compArray; in badMatch() 175 thisArray = (ArrayObject*) in badMatch() 177 compArray = (ArrayObject*) in badMatch() 225 ArrayObject* thisArray; in javaLangString_compareTo() 226 ArrayObject* compArray; in javaLangString_compareTo() 237 thisArray = (ArrayObject*) in javaLangString_compareTo() 239 compArray = (ArrayObject*) in javaLangString_compareTo() [all …]
|
/dalvik/vm/native/ |
D | java_lang_reflect_Constructor.cpp | 38 ArrayObject* argList = (ArrayObject*) args[1]; in Dalvik_java_lang_reflect_Constructor_constructNative() 40 ArrayObject* params = (ArrayObject*) args[3]; in Dalvik_java_lang_reflect_Constructor_constructNative()
|
D | java_lang_reflect_Method.cpp | 52 ArrayObject* argList = (ArrayObject*) args[2]; in Dalvik_java_lang_reflect_Method_invokeNative() 54 ArrayObject* params = (ArrayObject*) args[4]; in Dalvik_java_lang_reflect_Method_invokeNative() 130 ArrayObject* annos = dvmGetMethodAnnotations(meth); in Dalvik_java_lang_reflect_Method_getDeclaredAnnotations() 180 ArrayObject* annos = dvmGetParameterAnnotations(meth); in Dalvik_java_lang_reflect_Method_getParameterAnnotations() 226 ArrayObject* arr = dvmGetMethodSignatureAnnotation(meth); in Dalvik_java_lang_reflect_Method_getSignatureAnnotation()
|
D | java_lang_reflect_Proxy.cpp | 35 ArrayObject* interfaces = (ArrayObject*) args[1]; in Dalvik_java_lang_reflect_Proxy_generateProxy()
|
D | org_apache_harmony_dalvik_ddmc_DdmServer.cpp | 34 ArrayObject* data = (ArrayObject*) args[1]; in Dalvik_org_apache_harmony_dalvik_ddmc_DdmServer_nativeSendChunk()
|
D | java_lang_reflect_Array.cpp | 44 ArrayObject* newArray = in Dalvik_java_lang_reflect_Array_createObjectArray() 70 ArrayObject* dimArray = (ArrayObject*) args[1]; in Dalvik_java_lang_reflect_Array_createMultiArray() 72 ArrayObject* newArray; in Dalvik_java_lang_reflect_Array_createMultiArray()
|
D | dalvik_system_Zygote.cpp | 163 static int setgroupsIntarray(ArrayObject* gidArray) in setgroupsIntarray() 192 static int setrlimitsFromArray(ArrayObject* rlimits) in setrlimitsFromArray() 203 ArrayObject** tuples = (ArrayObject **)(void *)rlimits->contents; in setrlimitsFromArray() 206 ArrayObject * rlimit_tuple = tuples[i]; in setrlimitsFromArray() 369 ArrayObject* gids = (ArrayObject *)args[2]; in forkAndSpecializeCommon() 371 ArrayObject *rlimits = (ArrayObject *)args[4]; in forkAndSpecializeCommon()
|
D | org_apache_harmony_dalvik_ddmc_DdmVmInternal.cpp | 49 ArrayObject* result = dvmDdmGenerateThreadStats(); in Dalvik_org_apache_harmony_dalvik_ddmc_DdmVmInternal_getThreadStats() 98 ArrayObject* trace; in Dalvik_org_apache_harmony_dalvik_ddmc_DdmVmInternal_getStackTraceById() 144 ArrayObject* data; in Dalvik_org_apache_harmony_dalvik_ddmc_DdmVmInternal_getRecentAllocations()
|
D | dalvik_system_VMRuntime.cpp | 114 ArrayObject* newArray = dvmAllocArrayByClass(arrayClass, in Dalvik_dalvik_system_VMRuntime_newNonMovableArray() 129 ArrayObject* array = (ArrayObject*) args[1]; in Dalvik_dalvik_system_VMRuntime_addressOf() 155 ArrayObject* result = dvmCreateStringArray(*gDvm.properties); in Dalvik_dalvik_system_VMRuntime_properties()
|
/dalvik/vm/compiler/codegen/x86/ia32/ |
D | ArchVariant.cpp | 67 assert(OFFSETOF_MEMBER(ArrayObject, length) < 128 && in dvmCompilerArchVariantInit() 68 (OFFSETOF_MEMBER(ArrayObject, length) & 0x3) == 0); in dvmCompilerArchVariantInit() 69 assert(OFFSETOF_MEMBER(ArrayObject, contents) < 256); in dvmCompilerArchVariantInit()
|
/dalvik/vm/mterp/c/ |
D | OP_ARRAY_LENGTH.cpp | 3 ArrayObject* arrayObj; in HANDLE_OPCODE() 7 arrayObj = (ArrayObject*) GET_REGISTER(vsrc1); in HANDLE_OPCODE()
|
D | OP_FILL_ARRAY_DATA.cpp | 5 ArrayObject* arrayObj; in HANDLE_OPCODE() 21 arrayObj = (ArrayObject*) GET_REGISTER(vsrc1); in HANDLE_OPCODE()
|
/dalvik/vm/compiler/codegen/arm/armv7-a/ |
D | ArchVariant.cpp | 62 assert(OFFSETOF_MEMBER(ArrayObject, length) < 128 && in dvmCompilerArchVariantInit() 63 (OFFSETOF_MEMBER(ArrayObject, length) & 0x3) == 0); in dvmCompilerArchVariantInit() 64 assert(OFFSETOF_MEMBER(ArrayObject, contents) < 256); in dvmCompilerArchVariantInit()
|
/dalvik/vm/compiler/codegen/arm/armv5te/ |
D | ArchVariant.cpp | 67 assert(OFFSETOF_MEMBER(ArrayObject, length) < 128 && in dvmCompilerArchVariantInit() 68 (OFFSETOF_MEMBER(ArrayObject, length) & 0x3) == 0); in dvmCompilerArchVariantInit() 69 assert(OFFSETOF_MEMBER(ArrayObject, contents) < 256); in dvmCompilerArchVariantInit()
|
/dalvik/vm/compiler/codegen/arm/armv5te-vfp/ |
D | ArchVariant.cpp | 67 assert(OFFSETOF_MEMBER(ArrayObject, length) < 128 && in dvmCompilerArchVariantInit() 68 (OFFSETOF_MEMBER(ArrayObject, length) & 0x3) == 0); in dvmCompilerArchVariantInit() 69 assert(OFFSETOF_MEMBER(ArrayObject, contents) < 256); in dvmCompilerArchVariantInit()
|
/dalvik/vm/compiler/codegen/arm/armv7-a-neon/ |
D | ArchVariant.cpp | 62 assert(OFFSETOF_MEMBER(ArrayObject, length) < 128 && in dvmCompilerArchVariantInit() 63 (OFFSETOF_MEMBER(ArrayObject, length) & 0x3) == 0); in dvmCompilerArchVariantInit() 64 assert(OFFSETOF_MEMBER(ArrayObject, contents) < 256); in dvmCompilerArchVariantInit()
|
/dalvik/vm/compiler/codegen/x86/ |
D | CalloutHelper.h | 43 ArrayObject* dvmAllocArrayByClass(ClassObject* arrayClass, // OP_NEW_ARRAY 47 bool dvmInterpHandleFillArrayData(ArrayObject* arrayObject,// OP_FILL_ARRAY_DATA
|