Lines Matching refs:entryName
716 static int32_t FindEntry(const ZipArchive* archive, std::string_view entryName, in FindEntry() argument
804 CHECK_LE(entryName.size(), UINT16_MAX); in FindEntry()
805 auto name_length = static_cast<uint16_t>(entryName.size()); in FindEntry()
808 std::string(entryName).c_str(), lfh->file_name_length, name_length); in FindEntry()
828 if (memcmp(entryName.data(), name_buf.data(), name_buf.size()) != 0) { in FindEntry()
846 ALOGW("Zip: extra field has a bad size for entry %s", std::string(entryName).c_str()); in FindEntry()
1008 int32_t FindEntry(const ZipArchiveHandle archive, const std::string_view entryName, in FindEntry() argument
1011 if (auto status = FindEntry(archive, entryName, &entry64); status != kSuccess) { in FindEntry()
1018 int32_t FindEntry(const ZipArchiveHandle archive, const std::string_view entryName, in FindEntry() argument
1020 if (entryName.empty() || entryName.size() > static_cast<size_t>(UINT16_MAX)) { in FindEntry()
1021 ALOGW("Zip: Invalid filename of length %zu", entryName.size()); in FindEntry()
1026 archive->cd_entry_map->GetCdEntryOffset(entryName, archive->central_directory.GetBasePtr()); in FindEntry()
1028 ALOGV("Zip: Could not find entry %.*s", static_cast<int>(entryName.size()), entryName.data()); in FindEntry()
1032 return FindEntry(archive, entryName, offset, data); in FindEntry()