Lines Matching refs:idx
492 def extract_dt_file(self, idx, fout, decompress): argument
506 if idx > self.dt_entry_count:
507 raise ValueError('Invalid index %d of DtEntry' % idx)
509 size = self.dt_entries[idx].size
510 offset = self.dt_entries[idx].dt_offset
513 compression_format = self.dt_entries[idx].compression_info(self.version)
604 idx = 0
608 img_file_idx.append(idx)
609 idx = idx + 1
615 for idx in xrange(total_images):
616 start_idx = img_file_idx[idx]
617 if idx == total_images - 1:
620 end_idx = img_file_idx[idx + 1]
831 for idx in range(0, num_entries):
832 with open(args.dtfilename + '.{:d}'.format(idx), 'wb') as fout:
833 dtbo.extract_dt_file(idx, fout, args.decompress)