Home
last modified time | relevance | path

Searched refs:entryName (Results 1 – 6 of 6) sorted by relevance

/system/timezone/distro/core/src/main/com/android/timezone/distro/
DTimeZoneDistro.java94 private static byte[] getEntryContents(InputStream is, String entryName) throws IOException { in getEntryContents() argument
100 if (!entryName.equals(name)) { in getEntryContents()
105 throw new IOException("Entry " + entryName + " too large: " + entry.getSize()); in getEntryContents()
/system/security/identity/
DCredentialData.h83 void addEntryData(const string& namespaceName, const string& entryName, const EntryData& data);
103 bool hasEntryData(const string& namespaceName, const string& entryName) const;
105 optional<EntryData> getEntryData(const string& namespaceName, const string& entryName) const;
DCredentialData.cpp71 void CredentialData::addEntryData(const string& namespaceName, const string& entryName, in addEntryData() argument
73 idToEncryptedChunks_[namespaceName + ":" + entryName] = data; in addEntryData()
427 bool CredentialData::hasEntryData(const string& namespaceName, const string& entryName) const { in hasEntryData()
428 string id = namespaceName + ":" + entryName; in hasEntryData()
437 const string& entryName) const { in getEntryData()
438 string id = namespaceName + ":" + entryName; in getEntryData()
/system/core/adb/client/
Dincremental_utils.cpp329 std::string_view entryName; in InstallationPriorityBlocks() local
330 while (Next(cookie, &entry, &entryName) == 0) { in InstallationPriorityBlocks()
331 if (entryName == "classes.dex"sv) { in InstallationPriorityBlocks()
335 D("\tadding to priority blocks: '%.*s' (%d)", (int)entryName.size(), entryName.data(), in InstallationPriorityBlocks()
349 D("\tadding to priority blocks: '%.*s' (%d)", (int)entryName.size(), entryName.data(), in InstallationPriorityBlocks()
/system/libziparchive/
Dzip_archive.cc671 static int32_t FindEntry(const ZipArchive* archive, std::string_view entryName, in FindEntry() argument
748 CHECK_LE(entryName.size(), UINT16_MAX); in FindEntry()
749 auto nameLen = static_cast<uint16_t>(entryName.size()); in FindEntry()
752 std::string(entryName).c_str(), lfh->file_name_length, nameLen); in FindEntry()
766 if (memcmp(entryName.data(), name_buf.data(), nameLen) != 0) { in FindEntry()
784 ALOGW("Zip: extra field has a bad size for entry %s", std::string(entryName).c_str()); in FindEntry()
946 int32_t FindEntry(const ZipArchiveHandle archive, const std::string_view entryName, in FindEntry() argument
949 if (auto status = FindEntry(archive, entryName, &entry64); status != kSuccess) { in FindEntry()
956 int32_t FindEntry(const ZipArchiveHandle archive, const std::string_view entryName, in FindEntry() argument
958 if (entryName.empty() || entryName.size() > static_cast<size_t>(UINT16_MAX)) { in FindEntry()
[all …]
/system/libziparchive/include/ziparchive/
Dzip_archive.h213 int32_t FindEntry(const ZipArchiveHandle archive, const std::string_view entryName,
292 int32_t FindEntry(const ZipArchiveHandle archive, const std::string_view entryName, ZipEntry* data);