Home
last modified time | relevance | path

Searched refs:ArrayObject (Results 1 – 25 of 74) sorted by relevance

123

/dalvik/vm/oo/
DArray.h44 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);
DArray.cpp38 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/
DReflect.h32 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 …]
DProxy.cpp32 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 …]
DAnnotation.cpp109 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/
DUtfString.cpp37 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 …]
DDdm.h57 ArrayObject* dvmDdmGenerateThreadStats(void);
78 ArrayObject* dvmDdmGetStackTraceById(u4 threadId);
85 ArrayObject* dvmDdmGetRecentAllocations(void);
DDdm.cpp44 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()
DInlineNative.cpp131 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/
Djava_lang_reflect_Constructor.cpp38 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()
Djava_lang_reflect_Method.cpp52 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()
Djava_lang_reflect_Proxy.cpp35 ArrayObject* interfaces = (ArrayObject*) args[1]; in Dalvik_java_lang_reflect_Proxy_generateProxy()
Dorg_apache_harmony_dalvik_ddmc_DdmServer.cpp34 ArrayObject* data = (ArrayObject*) args[1]; in Dalvik_org_apache_harmony_dalvik_ddmc_DdmServer_nativeSendChunk()
Djava_lang_reflect_Array.cpp44 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()
Ddalvik_system_Zygote.cpp163 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()
Dorg_apache_harmony_dalvik_ddmc_DdmVmInternal.cpp49 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()
Ddalvik_system_VMRuntime.cpp114 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/
DArchVariant.cpp67 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/
DOP_ARRAY_LENGTH.cpp3 ArrayObject* arrayObj; in HANDLE_OPCODE()
7 arrayObj = (ArrayObject*) GET_REGISTER(vsrc1); in HANDLE_OPCODE()
DOP_FILL_ARRAY_DATA.cpp5 ArrayObject* arrayObj; in HANDLE_OPCODE()
21 arrayObj = (ArrayObject*) GET_REGISTER(vsrc1); in HANDLE_OPCODE()
/dalvik/vm/compiler/codegen/arm/armv7-a/
DArchVariant.cpp62 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/
DArchVariant.cpp67 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/
DArchVariant.cpp67 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/
DArchVariant.cpp62 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/
DCalloutHelper.h43 ArrayObject* dvmAllocArrayByClass(ClassObject* arrayClass, // OP_NEW_ARRAY
47 bool dvmInterpHandleFillArrayData(ArrayObject* arrayObject,// OP_FILL_ARRAY_DATA

123