Lines Matching refs:entry

41     ZipEntry entry;
85 const int32_t error = FindEntry(mHandle, data->name, &(data->entry));
95 * Get the useful fields from the zip entry.
100 bool ZipFileRO::getEntryInfo(ZipEntryRO entry, uint16_t* pMethod,
104 const _ZipEntryRO* zipEntry = reinterpret_cast<_ZipEntryRO*>(entry);
105 const ZipEntry& ze = zipEntry->entry;
154 int32_t error = Next(ze->cookie, &(ze->entry), &(ze->name));
162 return &(ze->entry);
170 void ZipFileRO::releaseEntry(ZipEntryRO entry) const
172 delete reinterpret_cast<_ZipEntryRO*>(entry);
176 * Copy the entry's filename to the buffer.
178 int ZipFileRO::getEntryFileName(ZipEntryRO entry, char* buffer, size_t bufLen)
181 const _ZipEntryRO* zipEntry = reinterpret_cast<_ZipEntryRO*>(entry);
185 ALOGW("Buffer too short, requires %d bytes for entry name", requiredSize);
196 * Create a new FileMap object that spans the data in "entry".
198 FileMap* ZipFileRO::createEntryFileMap(ZipEntryRO entry) const
200 const _ZipEntryRO *zipEntry = reinterpret_cast<_ZipEntryRO*>(entry);
201 const ZipEntry& ze = zipEntry->entry;
221 * Uncompress an entry, in its entirety, into the provided output buffer.
226 bool ZipFileRO::uncompressEntry(ZipEntryRO entry, void* buffer, size_t size) const
228 _ZipEntryRO *zipEntry = reinterpret_cast<_ZipEntryRO*>(entry);
229 const int32_t error = ExtractToMemory(mHandle, &(zipEntry->entry),
240 * Uncompress an entry, in its entirety, to an open file descriptor.
244 bool ZipFileRO::uncompressEntry(ZipEntryRO entry, int fd) const
246 _ZipEntryRO *zipEntry = reinterpret_cast<_ZipEntryRO*>(entry);
247 const int32_t error = ExtractEntryToFile(mHandle, &(zipEntry->entry), fd);