Lines Matching refs:entry
33 Zipentry* entry = file->entries; in release_zipfile() local
34 while (entry) { in release_zipfile()
35 Zipentry* next = entry->next; in release_zipfile()
36 free(entry); in release_zipfile()
37 entry = next; in release_zipfile()
46 Zipentry* entry = file->entries; in lookup_zipentry() local
47 while (entry) { in lookup_zipentry()
48 if (0 == memcmp(entryName, entry->fileName, entry->fileNameLength)) { in lookup_zipentry()
49 return entry; in lookup_zipentry()
51 entry = entry->next; in lookup_zipentry()
57 get_zipentry_size(zipentry_t entry) in get_zipentry_size() argument
59 return ((Zipentry*)entry)->uncompressedSize; in get_zipentry_size()
63 get_zipentry_name(zipentry_t entry) in get_zipentry_name() argument
65 Zipentry* e = (Zipentry*)entry; in get_zipentry_name()
117 Zipentry* entry = (Zipentry*)e; in decompress_zipentry() local
118 switch (entry->compressionMethod) in decompress_zipentry()
121 memcpy(buf, entry->data, entry->uncompressedSize); in decompress_zipentry()
124 return uninflate(buf, bufsize, entry->data, entry->compressedSize); in decompress_zipentry()
134 Zipentry* entry = zip->entries; in dump_zipfile() local
140 fwrite(entry->fileName, entry->fileNameLength, 1, to); in dump_zipfile()
142 entry = entry->next; in dump_zipfile()
149 Zipentry* entry = (Zipentry*)*cookie; in iterate_zipfile() local
150 if (entry == NULL) { in iterate_zipfile()
155 entry = entry->next; in iterate_zipfile()
156 *cookie = entry; in iterate_zipfile()
157 return entry; in iterate_zipfile()