Home
last modified time | relevance | path

Searched refs:pArchive (Results 1 – 2 of 2) sorted by relevance

/dalvik/libdex/
DZipArchive.h91 int dexZipOpenArchive(const char* fileName, ZipArchive* pArchive);
100 int dexZipPrepArchive(int fd, const char* debugFileName, ZipArchive* pArchive);
108 void dexZipCloseArchive(ZipArchive* pArchive);
113 DEX_INLINE int dexZipGetArchiveFd(const ZipArchive* pArchive) { in dexZipGetArchiveFd() argument
114 return pArchive->mFd; in dexZipGetArchiveFd()
121 ZipEntry dexZipFindEntry(const ZipArchive* pArchive,
130 int dexZipGetEntryInfo(const ZipArchive* pArchive, ZipEntry entry,
137 DEX_INLINE long dexGetZipEntryOffset(const ZipArchive* pArchive, in dexGetZipEntryOffset() argument
141 dexZipGetEntryInfo(pArchive, entry, NULL, NULL, NULL, &val, NULL, NULL); in dexGetZipEntryOffset()
144 DEX_INLINE size_t dexGetZipEntryUncompLen(const ZipArchive* pArchive, in dexGetZipEntryUncompLen() argument
[all …]
DZipArchive.cpp77 static int entryToIndex(const ZipArchive* pArchive, const ZipEntry entry) in entryToIndex() argument
80 if (ent < 0 || ent >= pArchive->mHashTableSize || in entryToIndex()
81 pArchive->mHashTable[ent].name == NULL) in entryToIndex()
105 static void addToHash(ZipArchive* pArchive, const char* str, int strLen, in addToHash() argument
108 const int hashTableSize = pArchive->mHashTableSize; in addToHash()
114 while (pArchive->mHashTable[ent].name != NULL) in addToHash()
117 pArchive->mHashTable[ent].name = str; in addToHash()
118 pArchive->mHashTable[ent].nameLen = strLen; in addToHash()
145 ZipArchive* pArchive, off_t fileLength, size_t readAmount, u1* scanBuf) in mapCentralDirectory0() argument
208 &pArchive->mDirectoryMap) != 0) in mapCentralDirectory0()
[all …]