Searched refs:IsValidEntryName (Results 1 – 4 of 4) sorted by relevance
/system/libziparchive/ |
D | entry_name_utils_test.cc | 24 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()
|
D | entry_name_utils-inl.h | 28 inline bool IsValidEntryName(const uint8_t* entry_name, const size_t length) { in IsValidEntryName() function
|
D | zip_writer.cc | 231 if (!IsValidEntryName(reinterpret_cast<const uint8_t*>(file_entry.path.data()), in StartAlignedEntryWithTime()
|
D | zip_archive.cc | 520 if (!IsValidEntryName(file_name, file_name_length)) { in ParseZipArchive()
|