Home
last modified time | relevance | path

Searched refs:expected_encoding (Results 1 – 2 of 2) sorted by relevance

/PHP-5.6/ext/zip/lib/
H A Dzip_string.c139 enum zip_encoding_type expected_encoding; in _zip_string_new() local
146 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()
H A Dzip_utf-8.c120 _zip_guess_encoding(struct zip_string *str, enum zip_encoding_type expected_encoding) in _zip_guess_encoding() argument
169 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