MCPcopy Create free account
hub / github.com/CyanogenMod/android_frameworks_base / getEntryByIndex

Method getEntryByIndex

tools/aapt/ZipFile.cpp:200–206  ·  view source on GitHub ↗

* Return the Nth entry in the archive. */

Source from the content-addressed store, hash-verified

198 * Return the Nth entry in the archive.
199 */
200ZipEntry* ZipFile::getEntryByIndex(int idx) const
201{
202 if (idx < 0 || idx >= (int) mEntries.size())
203 return NULL;
204
205 return mEntries[idx];
206}
207
208/*
209 * Find an entry by name.

Callers 4

doListFunction · 0.80
slurpResourceZipMethod · 0.80
writeAPKFunction · 0.80
processJarFileFunction · 0.80

Calls 1

sizeMethod · 0.65

Tested by

no test coverage detected