Searched refs:expected_encoding (Results 1 – 2 of 2) sorted by relevance
139 enum zip_encoding_type expected_encoding; in _zip_string_new() local146 expected_encoding = ZIP_ENCODING_UNKNOWN; in _zip_string_new()149 expected_encoding = ZIP_ENCODING_UTF8_KNOWN; in _zip_string_new()152 expected_encoding = ZIP_ENCODING_CP437; in _zip_string_new()176 if (expected_encoding != ZIP_ENCODING_UNKNOWN) { in _zip_string_new()177 if (_zip_guess_encoding(s, expected_encoding) == ZIP_ENCODING_ERROR) { in _zip_string_new()
120 _zip_guess_encoding(struct zip_string *str, enum zip_encoding_type expected_encoding) in _zip_guess_encoding() argument169 if (expected_encoding != ZIP_ENCODING_UNKNOWN) { in _zip_guess_encoding()170 if (expected_encoding == ZIP_ENCODING_UTF8_KNOWN && enc == ZIP_ENCODING_UTF8_GUESSED) in _zip_guess_encoding()173 if (expected_encoding != enc && enc != ZIP_ENCODING_ASCII) in _zip_guess_encoding()
Completed in 16 milliseconds