| 4871 | } |
| 4872 | |
| 4873 | static MZ_FORCEINLINE mz_bool |
| 4874 | mz_zip_reader_string_equal(const char *pA, const char *pB, mz_uint len, |
| 4875 | mz_uint flags) { |
| 4876 | mz_uint i; |
| 4877 | if (flags & MZ_ZIP_FLAG_CASE_SENSITIVE) |
| 4878 | return 0 == memcmp(pA, pB, len); |
| 4879 | for (i = 0; i < len; ++i) |
| 4880 | if (MZ_TOLOWER(pA[i]) != MZ_TOLOWER(pB[i])) |
| 4881 | return MZ_FALSE; |
| 4882 | return MZ_TRUE; |
| 4883 | } |
| 4884 | |
| 4885 | static MZ_FORCEINLINE int |
| 4886 | mz_zip_reader_filename_compare(const mz_zip_array *pCentral_dir_array, |
no outgoing calls
no test coverage detected