Lines Matching refs:zentry
75 ZipEntry zentry; in FindElfInApkByOffsetWithoutCache() local
79 while ((zrc = Next(iteration_cookie, &zentry, &zname)) == 0) { in FindElfInApkByOffsetWithoutCache()
80 if (zentry.method == kCompressStored && in FindElfInApkByOffsetWithoutCache()
81 file_offset >= static_cast<uint64_t>(zentry.offset) && in FindElfInApkByOffsetWithoutCache()
82 file_offset < static_cast<uint64_t>(zentry.offset + zentry.uncompressed_length)) { in FindElfInApkByOffsetWithoutCache()
94 if (lseek(fhelper.fd(), zentry.offset, SEEK_SET) != zentry.offset) { in FindElfInApkByOffsetWithoutCache()
95 PLOG(ERROR) << "lseek() failed in " << apk_path << " offset " << zentry.offset; in FindElfInApkByOffsetWithoutCache()
109 return std::unique_ptr<EmbeddedElf>(new EmbeddedElf(apk_path, entry_name, zentry.offset, in FindElfInApkByOffsetWithoutCache()
110 zentry.uncompressed_length)); in FindElfInApkByOffsetWithoutCache()
127 ZipEntry zentry; in FindElfInApkByName() local
128 int32_t rc = FindEntry(handle, ZipString(elf_filename.c_str()), &zentry); in FindElfInApkByName()
134 if (zentry.method != kCompressStored || zentry.compressed_length != zentry.uncompressed_length) { in FindElfInApkByName()
138 return std::unique_ptr<EmbeddedElf>(new EmbeddedElf(apk_path, elf_filename, zentry.offset, in FindElfInApkByName()
139 zentry.uncompressed_length)); in FindElfInApkByName()