Lines Matching refs:result
109 DexClassData* result = (DexClassData*) malloc(sizeof(DexClassData)); in dexReadAndVerifyClassData() local
110 memset(result, 0, sizeof(*result)); in dexReadAndVerifyClassData()
111 return result; in dexReadAndVerifyClassData()
124 DexClassData* result = (DexClassData*) malloc(resultSize); in dexReadAndVerifyClassData() local
125 u1* ptr = ((u1*) result) + sizeof(DexClassData); in dexReadAndVerifyClassData()
129 if (result == NULL) { in dexReadAndVerifyClassData()
133 result->header = header; in dexReadAndVerifyClassData()
136 result->staticFields = (DexField*) ptr; in dexReadAndVerifyClassData()
139 result->staticFields = NULL; in dexReadAndVerifyClassData()
143 result->instanceFields = (DexField*) ptr; in dexReadAndVerifyClassData()
146 result->instanceFields = NULL; in dexReadAndVerifyClassData()
150 result->directMethods = (DexMethod*) ptr; in dexReadAndVerifyClassData()
153 result->directMethods = NULL; in dexReadAndVerifyClassData()
157 result->virtualMethods = (DexMethod*) ptr; in dexReadAndVerifyClassData()
159 result->virtualMethods = NULL; in dexReadAndVerifyClassData()
165 &result->staticFields[i], &lastIndex); in dexReadAndVerifyClassData()
171 &result->instanceFields[i], &lastIndex); in dexReadAndVerifyClassData()
177 &result->directMethods[i], &lastIndex); in dexReadAndVerifyClassData()
183 &result->virtualMethods[i], &lastIndex); in dexReadAndVerifyClassData()
187 free(result); in dexReadAndVerifyClassData()
191 return result; in dexReadAndVerifyClassData()