Lines Matching refs:idx
178 idx = 0
180 if idx < len(extend_component_list):
181 file_path = extend_path_list[idx]
183 file_path = all_image_file_obj_list[idx - len(extend_component_list)].name
190 component_list[idx].digest = (ctypes.c_ubyte * 32).from_buffer_copy(
192 component_list[idx].file_path = file_path.encode("utf-8")
194 component_list[idx].component_addr = ('/%s' % component[0]).encode("utf-8")
196 component_list[idx].component_addr = ('%s' % component[0]).encode("utf-8")
197 component_list[idx].version = component[4].encode("utf-8")
198 component_list[idx].size = os.path.getsize(file_path)
199 component_list[idx].id = int(component[1])
201 component_list[idx].original_size = os.path.getsize(file_path)
203 component_list[idx].original_size = 0
204 component_list[idx].res_type = int(component[2])
205 component_list[idx].type = int(component[3])
206 component_list[idx].flags = IS_DEL
208 idx += 1