Home
last modified time | relevance | path

Searched refs:IsValidEntryName (Results 1 – 4 of 4) sorted by relevance

/system/libziparchive/
Dentry_name_utils_test.cc24 ASSERT_FALSE(IsValidEntryName(zeroes, sizeof(zeroes))); in TEST()
27 ASSERT_FALSE(IsValidEntryName(zeroes_continuation_chars, sizeof(zeroes_continuation_chars))); in TEST()
33 ASSERT_FALSE(IsValidEntryName(invalid, sizeof(invalid))); in TEST()
37 ASSERT_FALSE(IsValidEntryName(invalid2, sizeof(invalid2))); in TEST()
44 ASSERT_FALSE(IsValidEntryName(truncated, sizeof(truncated))); in TEST()
49 ASSERT_FALSE(IsValidEntryName(truncated2, sizeof(truncated2))); in TEST()
56 ASSERT_FALSE(IsValidEntryName(bad, sizeof(bad))); in TEST()
61 ASSERT_FALSE(IsValidEntryName(bad2, sizeof(bad2))); in TEST()
Dentry_name_utils-inl.h28 inline bool IsValidEntryName(const uint8_t* entry_name, const size_t length) { in IsValidEntryName() function
Dzip_writer.cc231 if (!IsValidEntryName(reinterpret_cast<const uint8_t*>(file_entry.path.data()), in StartAlignedEntryWithTime()
Dzip_archive.cc520 if (!IsValidEntryName(file_name, file_name_length)) { in ParseZipArchive()