Lines Matching refs:pDvmDex
81 void dvmDexFileFree(DvmDex* pDvmDex);
90 INLINE struct StringObject* dvmDexGetResolvedString(const DvmDex* pDvmDex, in dvmDexGetResolvedString() argument
93 assert(stringIdx < pDvmDex->pHeader->stringIdsSize); in dvmDexGetResolvedString()
94 return pDvmDex->pResStrings[stringIdx]; in dvmDexGetResolvedString()
96 INLINE struct ClassObject* dvmDexGetResolvedClass(const DvmDex* pDvmDex, in dvmDexGetResolvedClass() argument
99 assert(classIdx < pDvmDex->pHeader->typeIdsSize); in dvmDexGetResolvedClass()
100 return pDvmDex->pResClasses[classIdx]; in dvmDexGetResolvedClass()
102 INLINE struct Method* dvmDexGetResolvedMethod(const DvmDex* pDvmDex, in dvmDexGetResolvedMethod() argument
105 assert(methodIdx < pDvmDex->pHeader->methodIdsSize); in dvmDexGetResolvedMethod()
106 return pDvmDex->pResMethods[methodIdx]; in dvmDexGetResolvedMethod()
108 INLINE struct Field* dvmDexGetResolvedField(const DvmDex* pDvmDex, in dvmDexGetResolvedField() argument
111 assert(fieldIdx < pDvmDex->pHeader->fieldIdsSize); in dvmDexGetResolvedField()
112 return pDvmDex->pResFields[fieldIdx]; in dvmDexGetResolvedField()
119 INLINE void dvmDexSetResolvedString(DvmDex* pDvmDex, u4 stringIdx, in dvmDexSetResolvedString() argument
122 assert(stringIdx < pDvmDex->pHeader->stringIdsSize); in dvmDexSetResolvedString()
123 pDvmDex->pResStrings[stringIdx] = str; in dvmDexSetResolvedString()
125 INLINE void dvmDexSetResolvedClass(DvmDex* pDvmDex, u4 classIdx, in dvmDexSetResolvedClass() argument
128 assert(classIdx < pDvmDex->pHeader->typeIdsSize); in dvmDexSetResolvedClass()
129 pDvmDex->pResClasses[classIdx] = clazz; in dvmDexSetResolvedClass()
131 INLINE void dvmDexSetResolvedMethod(DvmDex* pDvmDex, u4 methodIdx, in dvmDexSetResolvedMethod() argument
134 assert(methodIdx < pDvmDex->pHeader->methodIdsSize); in dvmDexSetResolvedMethod()
135 pDvmDex->pResMethods[methodIdx] = method; in dvmDexSetResolvedMethod()
137 INLINE void dvmDexSetResolvedField(DvmDex* pDvmDex, u4 fieldIdx, in dvmDexSetResolvedField() argument
140 assert(fieldIdx < pDvmDex->pHeader->fieldIdsSize); in dvmDexSetResolvedField()
141 pDvmDex->pResFields[fieldIdx] = field; in dvmDexSetResolvedField()
159 INLINE struct StringObject* dvmDexGetResolvedString(const DvmDex* pDvmDex, in dvmDexGetResolvedString() argument
162 const DexIndexMap* pIndexMap = &pDvmDex->pDexFile->indexMap; in dvmDexGetResolvedString()
164 assert(stringIdx < pDvmDex->pHeader->stringIdsSize); in dvmDexGetResolvedString()
170 return pDvmDex->pResStrings[stringIdx]; in dvmDexGetResolvedString()
172 INLINE struct ClassObject* dvmDexGetResolvedClass(const DvmDex* pDvmDex, in dvmDexGetResolvedClass() argument
175 const DexIndexMap* pIndexMap = &pDvmDex->pDexFile->indexMap; in dvmDexGetResolvedClass()
177 assert(classIdx < pDvmDex->pHeader->typeIdsSize); in dvmDexGetResolvedClass()
183 return pDvmDex->pResClasses[classIdx]; in dvmDexGetResolvedClass()
185 INLINE struct Method* dvmDexGetResolvedMethod(const DvmDex* pDvmDex, in dvmDexGetResolvedMethod() argument
188 const DexIndexMap* pIndexMap = &pDvmDex->pDexFile->indexMap; in dvmDexGetResolvedMethod()
190 assert(methodIdx < pDvmDex->pHeader->methodIdsSize); in dvmDexGetResolvedMethod()
196 return pDvmDex->pResMethods[methodIdx]; in dvmDexGetResolvedMethod()
198 INLINE struct Field* dvmDexGetResolvedField(const DvmDex* pDvmDex, in dvmDexGetResolvedField() argument
201 const DexIndexMap* pIndexMap = &pDvmDex->pDexFile->indexMap; in dvmDexGetResolvedField()
203 assert(fieldIdx < pDvmDex->pHeader->fieldIdsSize); in dvmDexGetResolvedField()
209 return pDvmDex->pResFields[fieldIdx]; in dvmDexGetResolvedField()
216 INLINE void dvmDexSetResolvedString(DvmDex* pDvmDex, u4 stringIdx, in dvmDexSetResolvedString() argument
219 const DexIndexMap* pIndexMap = &pDvmDex->pDexFile->indexMap; in dvmDexSetResolvedString()
222 assert(stringIdx < pDvmDex->pHeader->stringIdsSize); in dvmDexSetResolvedString()
226 pDvmDex->pResStrings[newIdx] = str; in dvmDexSetResolvedString()
229 INLINE void dvmDexSetResolvedClass(DvmDex* pDvmDex, u4 classIdx, in dvmDexSetResolvedClass() argument
232 const DexIndexMap* pIndexMap = &pDvmDex->pDexFile->indexMap; in dvmDexSetResolvedClass()
235 assert(classIdx < pDvmDex->pHeader->typeIdsSize); in dvmDexSetResolvedClass()
239 pDvmDex->pResClasses[newIdx] = clazz; in dvmDexSetResolvedClass()
242 INLINE void dvmDexSetResolvedMethod(DvmDex* pDvmDex, u4 methodIdx, in dvmDexSetResolvedMethod() argument
245 const DexIndexMap* pIndexMap = &pDvmDex->pDexFile->indexMap; in dvmDexSetResolvedMethod()
248 assert(methodIdx < pDvmDex->pHeader->methodIdsSize); in dvmDexSetResolvedMethod()
252 pDvmDex->pResMethods[newIdx] = method; in dvmDexSetResolvedMethod()
255 INLINE void dvmDexSetResolvedField(DvmDex* pDvmDex, u4 fieldIdx, in dvmDexSetResolvedField() argument
258 const DexIndexMap* pIndexMap = &pDvmDex->pDexFile->indexMap; in dvmDexSetResolvedField()
261 assert(fieldIdx < pDvmDex->pHeader->fieldIdsSize); in dvmDexSetResolvedField()
265 pDvmDex->pResFields[newIdx] = field; in dvmDexSetResolvedField()
278 INLINE struct StringObject* dvmDexGetResolvedString(const DvmDex* pDvmDex, in dvmDexGetResolvedString() argument
283 INLINE struct ClassObject* dvmDexGetResolvedClass(const DvmDex* pDvmDex, in dvmDexGetResolvedClass() argument
288 INLINE struct Method* dvmDexGetResolvedMethod(const DvmDex* pDvmDex, in dvmDexGetResolvedMethod() argument
293 INLINE struct Field* dvmDexGetResolvedField(const DvmDex* pDvmDex, in dvmDexGetResolvedField() argument
302 INLINE void dvmDexSetResolvedString(DvmDex* pDvmDex, u4 stringIdx, in dvmDexSetResolvedString() argument
305 INLINE void dvmDexSetResolvedClass(DvmDex* pDvmDex, u4 classIdx, in dvmDexSetResolvedClass() argument
308 INLINE void dvmDexSetResolvedMethod(DvmDex* pDvmDex, u4 methodIdx, in dvmDexSetResolvedMethod() argument
311 INLINE void dvmDexSetResolvedField(DvmDex* pDvmDex, u4 fieldIdx, in dvmDexSetResolvedField() argument