Searched refs:expected_encoding (Results 1 – 2 of 2) sorted by relevance
132 zip_encoding_type_t expected_encoding; in _zip_string_new() local139 expected_encoding = ZIP_ENCODING_UNKNOWN; in _zip_string_new()142 expected_encoding = ZIP_ENCODING_UTF8_KNOWN; in _zip_string_new()145 expected_encoding = ZIP_ENCODING_CP437; in _zip_string_new()169 if (expected_encoding != ZIP_ENCODING_UNKNOWN) { in _zip_string_new()170 if (_zip_guess_encoding(s, expected_encoding) == ZIP_ENCODING_ERROR) { in _zip_string_new()
117 _zip_guess_encoding(zip_string_t *str, zip_encoding_type_t expected_encoding) in _zip_guess_encoding() argument166 if (expected_encoding != ZIP_ENCODING_UNKNOWN) { in _zip_guess_encoding()167 if (expected_encoding == ZIP_ENCODING_UTF8_KNOWN && enc == ZIP_ENCODING_UTF8_GUESSED) in _zip_guess_encoding()170 if (expected_encoding != enc && enc != ZIP_ENCODING_ASCII) in _zip_guess_encoding()
Completed in 11 milliseconds