Home | History | Annotate | Download | only in libzipfile

Lines Matching refs:entry

33     Zipentry* entry = file->entries;
34 while (entry) {
35 Zipentry* next = entry->next;
36 free(entry);
37 entry = next;
46 Zipentry* entry = file->entries;
47 while (entry) {
48 if (0 == memcmp(entryName, entry->fileName, entry->fileNameLength)) {
49 return entry;
51 entry = entry->next;
57 get_zipentry_size(zipentry_t entry)
59 return ((Zipentry*)entry)->uncompressedSize;
63 get_zipentry_name(zipentry_t entry)
65 Zipentry* e = (Zipentry*)entry;
118 Zipentry* entry = (Zipentry*)e;
119 switch (entry->compressionMethod)
122 memcpy(buf, entry->data, entry->uncompressedSize);
125 return uninflate(buf, bufsize, entry->data, entry->compressedSize);
135 Zipentry* entry = zip->entries;
141 fwrite(entry->fileName, entry->fileNameLength, 1, to);
143 entry = entry->next;
150 Zipentry* entry = (Zipentry*)*cookie;
151 if (entry == NULL) {
156 entry = entry->next;
157 *cookie = entry;
158 return entry;