Home
last modified time | relevance | path

Searched refs:get4LE (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/libs/utils/
DZipFileRO.cpp197 unsigned int header = get4LE(scanBuf); in mapCentralDirectory()
244 if (scanBuf[i] == 0x50 && get4LE(&scanBuf[i]) == kEOCDSignature) { in mapCentralDirectory()
265 unsigned int dirSize = get4LE(eocdPtr + kEOCDSize); in mapCentralDirectory()
266 unsigned int dirOffset = get4LE(eocdPtr + kEOCDFileOffset); in mapCentralDirectory()
340 if (get4LE(ptr) != kCDESignature) { in parseZipArchive()
349 long localHdrOffset = (long) get4LE(ptr + kCDELocalOffset); in parseZipArchive()
498 *pModWhen = get4LE(ptr + kCDEModWhen); in getEntryInfo()
500 *pCrc32 = get4LE(ptr + kCDECRC); in getEntryInfo()
502 size_t compLen = get4LE(ptr + kCDECompLen); in getEntryInfo()
505 size_t uncompLen = get4LE(ptr + kCDEUncompLen); in getEntryInfo()
[all …]
DZipUtils.cpp341 *pCRC32 = ZipFileRO::get4LE(&buf[0]); in examineGzip()
342 *pUncompressedLen = ZipFileRO::get4LE(&buf[4]); in examineGzip()
/frameworks/base/libs/androidfw/
DObbFile.cpp143 unsigned int fileSig = get4LE((unsigned char*)footer + sizeof(int32_t)); in parseObbFile()
150 footerSize = get4LE((unsigned char*)footer); in parseObbFile()
193 uint32_t sigVersion = get4LE((unsigned char*)scanBuf); in parseObbFile()
200 mVersion = (int32_t) get4LE((unsigned char*)scanBuf + kPackageVersionOffset); in parseObbFile()
201 mFlags = (int32_t) get4LE((unsigned char*)scanBuf + kFlagsOffset); in parseObbFile()
205 size_t packageNameLen = get4LE((unsigned char*)scanBuf + kPackageNameLenOffset); in parseObbFile()
/frameworks/base/include/androidfw/
DObbFile.h106 static inline uint32_t get4LE(const unsigned char* buf) { in get4LE() function
/frameworks/native/include/utils/
DZipFileRO.h198 static inline unsigned long get4LE(const unsigned char* buf) { in get4LE() function