Home
last modified time | relevance | path

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

/system/core/libziparchive/
Dentry_name_utils_test.cc24 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()
Dentry_name_utils-inl.h25 inline bool IsValidEntryName(const uint8_t* entry_name, const size_t length) { in IsValidEntryName() function
Dzip_archive.cc603 if (!IsValidEntryName(file_name, file_name_length)) { in ParseZipArchive()