Searched refs:IsValidEntryName (Results 1 – 3 of 3) sorted by relevance
/system/core/libziparchive/ |
D | entry_name_utils_test.cc | 24 ASSERT_FALSE(IsValidEntryName(zeroes, sizeof(zeroes))); in TEST() 27 ASSERT_FALSE(IsValidEntryName(zeroes_continuation_chars, in TEST() 34 ASSERT_FALSE(IsValidEntryName(invalid, sizeof(invalid))); in TEST() 38 ASSERT_FALSE(IsValidEntryName(invalid2, sizeof(invalid2))); in TEST() 45 ASSERT_FALSE(IsValidEntryName(truncated, sizeof(truncated))); in TEST() 50 ASSERT_FALSE(IsValidEntryName(truncated2, sizeof(truncated2))); in TEST() 57 ASSERT_FALSE(IsValidEntryName(bad, sizeof(bad))); in TEST() 62 ASSERT_FALSE(IsValidEntryName(bad2, sizeof(bad2))); in TEST()
|
D | entry_name_utils-inl.h | 25 inline bool IsValidEntryName(const uint8_t* entry_name, const size_t length) { in IsValidEntryName() function
|
D | zip_archive.cc | 603 if (!IsValidEntryName(file_name, file_name_length)) { in ParseZipArchive()
|