Lines Matching refs:pDexFile
87 static const DexAnnotationsDirectoryItem* getAnnoDirectory(DexFile* pDexFile, in getAnnoDirectory() argument
96 pClassDef = dexFindClass(pDexFile, clazz->descriptor); in getAnnoDirectory()
98 return dexGetAnnotationsDirectoryItem(pDexFile, pClassDef); in getAnnoDirectory()
232 DexFile* pDexFile; in resolveAmbiguousMethod() local
243 pDexFile = referrer->pDvmDex->pDexFile; in resolveAmbiguousMethod()
244 pMethodId = dexGetMethodId(pDexFile, methodIdx); in resolveAmbiguousMethod()
258 name = dexStringById(pDexFile, pMethodId->nameIdx); in resolveAmbiguousMethod()
261 dexProtoSetFromMethodId(&proto, pDexFile, pMethodId); in resolveAmbiguousMethod()
335 (ptr-1) - (u1*)clazz->pDvmDex->pDexFile->baseAddr); in processAnnotationValue()
427 DexFile* pDexFile = clazz->pDvmDex->pDexFile; in processAnnotationValue() local
428 const char* desc = dexStringByTypeIdx(pDexFile, idx); in processAnnotationValue()
648 const DexFile* pDexFile = clazz->pDvmDex->pDexFile; in createAnnotationMember() local
672 name = dexStringById(pDexFile, elementNameIdx); in createAnnotationMember()
766 *pPtr, *pPtr - (u1*) clazz->pDvmDex->pDexFile->baseAddr, in processEncodedAnnotation()
831 DexFile* pDexFile = clazz->pDvmDex->pDexFile; in processAnnotationSet() local
845 pAnnoItem = dexGetAnnotationItem(pDexFile, pAnnoSet, i); in processAnnotationSet()
862 pAnnoItem = dexGetAnnotationItem(pDexFile, pAnnoSet, i); in processAnnotationSet()
886 DexFile* pDexFile = clazz->pDvmDex->pDexFile; in getAnnotationItemFromAnnotationSet() local
900 pAnnoItem = dexGetAnnotationItem(pDexFile, pAnnoSet, i); in getAnnotationItemFromAnnotationSet()
965 (ptr-1) - (u1*)clazz->pDvmDex->pDexFile->baseAddr); in skipAnnotationValue()
1047 static int compareClassDescriptor(DexFile* pDexFile, u4 typeIdx, in compareClassDescriptor() argument
1050 const char* str = dexStringByTypeIdx(pDexFile, typeIdx); in compareClassDescriptor()
1070 DexFile* pDexFile = clazz->pDvmDex->pDexFile; in searchAnnotationSet() local
1080 pAnnoItem = dexGetAnnotationItem(pDexFile, pAnnoSet, i); in searchAnnotationSet()
1086 if (compareClassDescriptor(pDexFile, typeIdx, descriptor) == 0) { in searchAnnotationSet()
1103 DexFile* pDexFile = clazz->pDvmDex->pDexFile; in searchEncodedAnnotation() local
1115 elemName = dexStringById(pDexFile, elementNameIdx); in searchEncodedAnnotation()
1212 DexFile* pDexFile; in findAnnotationSetForClass() local
1218 pDexFile = clazz->pDvmDex->pDexFile; in findAnnotationSetForClass()
1219 pAnnoDir = getAnnoDirectory(pDexFile, clazz); in findAnnotationSetForClass()
1221 return dexGetClassAnnotationSet(pDexFile, pAnnoDir); in findAnnotationSetForClass()
1563 static int compareMethodStr(DexFile* pDexFile, u4 methodIdx, in compareMethodStr() argument
1566 const DexMethodId* pMethodId = dexGetMethodId(pDexFile, methodIdx); in compareMethodStr()
1567 const char* str = dexStringByTypeIdx(pDexFile, pMethodId->classIdx); in compareMethodStr()
1571 str = dexStringById(pDexFile, pMethodId->nameIdx); in compareMethodStr()
1575 dexProtoSetFromMethodId(&proto, pDexFile, pMethodId); in compareMethodStr()
1597 DexFile* pDexFile = method->clazz->pDvmDex->pDexFile; in getMethodIdx() local
1598 u4 hi = pDexFile->pHeader->methodIdsSize -1; in getMethodIdx()
1606 cmp = compareMethodStr(pDexFile, cur, method); in getMethodIdx()
1637 DexFile* pDexFile; in findAnnotationSetForMethod() local
1644 pDexFile = clazz->pDvmDex->pDexFile; in findAnnotationSetForMethod()
1646 pAnnoDir = getAnnoDirectory(pDexFile, clazz); in findAnnotationSetForMethod()
1648 pMethodList = dexGetMethodAnnotations(pDexFile, pAnnoDir); in findAnnotationSetForMethod()
1662 u4 count = dexGetMethodAnnotationsSize(pDexFile, pAnnoDir); in findAnnotationSetForMethod()
1668 pAnnoSet = dexGetMethodAnnotationSetItem(pDexFile, in findAnnotationSetForMethod()
1800 DexFile* pDexFile = clazz->pDvmDex->pDexFile; in dvmGetAnnotationDefaultValue() local
1810 pAnnoDir = getAnnoDirectory(pDexFile, clazz); in dvmGetAnnotationDefaultValue()
1812 pAnnoSet = dexGetClassAnnotationSet(pDexFile, pAnnoDir); in dvmGetAnnotationDefaultValue()
1882 static int compareFieldStr(DexFile* pDexFile, u4 idx, const Field* field) in compareFieldStr() argument
1884 const DexFieldId* pFieldId = dexGetFieldId(pDexFile, idx); in compareFieldStr()
1885 const char* str = dexStringByTypeIdx(pDexFile, pFieldId->classIdx); in compareFieldStr()
1889 str = dexStringById(pDexFile, pFieldId->nameIdx); in compareFieldStr()
1892 str = dexStringByTypeIdx(pDexFile, pFieldId->typeIdx); in compareFieldStr()
1907 DexFile* pDexFile = field->clazz->pDvmDex->pDexFile; in getFieldIdx() local
1908 u4 hi = pDexFile->pHeader->fieldIdsSize -1; in getFieldIdx()
1916 cmp = compareFieldStr(pDexFile, cur, field); in getFieldIdx()
1944 DexFile* pDexFile = clazz->pDvmDex->pDexFile; in findAnnotationSetForField() local
1948 pAnnoDir = getAnnoDirectory(pDexFile, clazz); in findAnnotationSetForField()
1952 pFieldList = dexGetFieldAnnotations(pDexFile, pAnnoDir); in findAnnotationSetForField()
1968 u4 count = dexGetFieldAnnotationsSize(pDexFile, pAnnoDir); in findAnnotationSetForField()
1974 return dexGetFieldAnnotationSetItem(pDexFile, &pFieldList[idx]); in findAnnotationSetForField()
2071 DexFile* pDexFile = clazz->pDvmDex->pDexFile; in processAnnotationSetRefList() local
2090 pAnnoSet = dexGetSetRefItemItem(pDexFile, pItem); in processAnnotationSetRefList()
2116 DexFile* pDexFile; in findAnnotationsItemForMethod() local
2123 pDexFile = clazz->pDvmDex->pDexFile; in findAnnotationsItemForMethod()
2124 pAnnoDir = getAnnoDirectory(pDexFile, clazz); in findAnnotationsItemForMethod()
2128 pParameterList = dexGetParameterAnnotations(pDexFile, pAnnoDir); in findAnnotationsItemForMethod()
2144 u4 count = dexGetParameterAnnotationsSize(pDexFile, pAnnoDir); in findAnnotationsItemForMethod()
2188 DexFile* pDexFile = clazz->pDvmDex->pDexFile; in dvmGetParameterAnnotations() local
2192 size = dexGetParameterAnnotationSetRefSize(pDexFile, pItem); in dvmGetParameterAnnotations()
2193 pAnnoSetList = dexGetParameterAnnotationSetRefList(pDexFile, pItem); in dvmGetParameterAnnotations()