Searched refs:index (Results 1 – 2 of 2) sorted by relevance
99 mzGetZipEntryAt(const ZipArchive* pArchive, unsigned int index) in mzGetZipEntryAt() argument101 if (index < pArchive->numEntries) { in mzGetZipEntryAt()102 return pArchive->pEntries + index; in mzGetZipEntryAt()
170 int* index = malloc(pairs * sizeof(int)); in LoadPartitionContents() local182 index[i] = i; in LoadPartitionContents()188 qsort(index, pairs, sizeof(int), compare_size_indices); in LoadPartitionContents()229 file->data = malloc(size[index[pairs-1]]); in LoadPartitionContents()237 size_t next = size[index[i]] - file->size; in LoadPartitionContents()266 if (ParseSha1(sha1sum[index[i]], parsed_sha) != 0) { in LoadPartitionContents()268 sha1sum[index[i]], filename); in LoadPartitionContents()278 size[index[i]], sha1sum[index[i]]); in LoadPartitionContents()317 free(index); in LoadPartitionContents()