Lines Matching refs:zip_uint8_t
120 const zip_uint8_t *name; in _zip_guess_encoding()
192 _zip_unicode_to_utf8(zip_uint32_t codepoint, zip_uint8_t *buf) in _zip_unicode_to_utf8()
199 buf[0] = (zip_uint8_t)(UTF_8_LEN_2_MATCH | ((codepoint >> 6) & 0x1f)); in _zip_unicode_to_utf8()
200 buf[1] = (zip_uint8_t)(UTF_8_CONTINUE_MATCH | (codepoint & 0x3f)); in _zip_unicode_to_utf8()
204 buf[0] = (zip_uint8_t)(UTF_8_LEN_3_MATCH | ((codepoint >> 12) & 0x0f)); in _zip_unicode_to_utf8()
205 buf[1] = (zip_uint8_t)(UTF_8_CONTINUE_MATCH | ((codepoint >> 6) & 0x3f)); in _zip_unicode_to_utf8()
206 buf[2] = (zip_uint8_t)(UTF_8_CONTINUE_MATCH | (codepoint & 0x3f)); in _zip_unicode_to_utf8()
209 buf[0] = (zip_uint8_t)(UTF_8_LEN_4_MATCH | ((codepoint >> 18) & 0x07)); in _zip_unicode_to_utf8()
210 buf[1] = (zip_uint8_t)(UTF_8_CONTINUE_MATCH | ((codepoint >> 12) & 0x3f)); in _zip_unicode_to_utf8()
211 buf[2] = (zip_uint8_t)(UTF_8_CONTINUE_MATCH | ((codepoint >> 6) & 0x3f)); in _zip_unicode_to_utf8()
212 buf[3] = (zip_uint8_t)(UTF_8_CONTINUE_MATCH | (codepoint & 0x3f)); in _zip_unicode_to_utf8()
217 zip_uint8_t *
218 _zip_cp437_to_utf8(const zip_uint8_t * const _cp437buf, zip_uint32_t len, in _zip_cp437_to_utf8()
221 zip_uint8_t *cp437buf = (zip_uint8_t *)_cp437buf; in _zip_cp437_to_utf8()
222 zip_uint8_t *utf8buf; in _zip_cp437_to_utf8()
235 if ((utf8buf=(zip_uint8_t*)malloc(buflen)) == NULL) { in _zip_cp437_to_utf8()