• Home
  • Raw
  • Download

Lines Matching refs:i

136         for (int i = 0; i < count; i++) {  in loadStrings()
137 stringOffsets[i] = readInt(); in loadStrings()
143 for (int i = 0; i < count; i++) { in loadStrings()
144 seek(stringOffsets[i]); // should be a no-op in loadStrings()
145 mStrings[i] = readString(); in loadStrings()
159 for (int i = 0; i < count; i++) { in loadTypeIds()
160 mTypeIds[i] = new TypeIdItem(); in loadTypeIds()
161 mTypeIds[i].descriptorIdx = readInt(); in loadTypeIds()
181 for (int i = 0; i < count; i++) { in loadProtoIds()
182 mProtoIds[i] = new ProtoIdItem(); in loadProtoIds()
183 mProtoIds[i].shortyIdx = readInt(); in loadProtoIds()
184 mProtoIds[i].returnTypeIdx = readInt(); in loadProtoIds()
185 mProtoIds[i].parametersOff = readInt(); in loadProtoIds()
194 for (int i = 0; i < count; i++) { in loadProtoIds()
195 ProtoIdItem protoId = mProtoIds[i]; in loadProtoIds()
223 for (int i = 0; i < count; i++) { in loadFieldIds()
224 mFieldIds[i] = new FieldIdItem(); in loadFieldIds()
225 mFieldIds[i].classIdx = readShort() & 0xffff; in loadFieldIds()
226 mFieldIds[i].typeIdx = readShort() & 0xffff; in loadFieldIds()
227 mFieldIds[i].nameIdx = readInt(); in loadFieldIds()
243 for (int i = 0; i < count; i++) { in loadMethodIds()
244 mMethodIds[i] = new MethodIdItem(); in loadMethodIds()
245 mMethodIds[i].classIdx = readShort() & 0xffff; in loadMethodIds()
246 mMethodIds[i].protoIdx = readShort() & 0xffff; in loadMethodIds()
247 mMethodIds[i].nameIdx = readInt(); in loadMethodIds()
263 for (int i = 0; i < count; i++) { in loadClassDefs()
264 mClassDefs[i] = new ClassDefItem(); in loadClassDefs()
265 mClassDefs[i].classIdx = readInt(); in loadClassDefs()
285 for (int i = mClassDefs.length -1; i >= 0; i--) { in markInternalClasses()
286 mTypeIds[mClassDefs[i].classIdx].internal = true; in markInternalClasses()
289 for (int i = 0; i < mTypeIds.length; i++) { in markInternalClasses()
290 String className = mStrings[mTypeIds[i].descriptorIdx]; in markInternalClasses()
294 mTypeIds[i].internal = true; in markInternalClasses()
296 mTypeIds[i].internal = true; in markInternalClasses()
327 for (int i = 0; i < protoId.types.length; i++) { in argArrayFromProtoIndex()
328 result[i] = mStrings[mTypeIds[protoId.types[i]].descriptorIdx]; in argArrayFromProtoIndex()
355 for (int i = 0; i < mTypeIds.length; i++) { in getExternalReferences()
356 if (!mTypeIds[i].internal) { in getExternalReferences()
357 sparseRefs[i] = in getExternalReferences()
358 new ClassRef(mStrings[mTypeIds[i].descriptorIdx]); in getExternalReferences()
370 for (int i = 0; i < mTypeIds.length; i++) { in getExternalReferences()
371 if (sparseRefs[i] != null) in getExternalReferences()
372 classRefs[idx++] = sparseRefs[i]; in getExternalReferences()
385 for (int i = 0; i < mFieldIds.length; i++) { in addExternalFieldReferences()
386 if (!mTypeIds[mFieldIds[i].classIdx].internal) { in addExternalFieldReferences()
387 FieldIdItem fieldId = mFieldIds[i]; in addExternalFieldReferences()
392 sparseRefs[mFieldIds[i].classIdx].addField(newFieldRef); in addExternalFieldReferences()
402 for (int i = 0; i < mMethodIds.length; i++) { in addExternalMethodReferences()
403 if (!mTypeIds[mMethodIds[i].classIdx].internal) { in addExternalMethodReferences()
404 MethodIdItem methodId = mMethodIds[i]; in addExternalMethodReferences()
410 sparseRefs[mMethodIds[i].classIdx].addMethod(newMethodRef); in addExternalMethodReferences()