Lines Matching refs:zip_uint8_t
39 zip_uint8_t *
68 zip_uint8_t *
71 zip_uint8_t *data; in _zip_buffer_get()
87 zip_uint8_t *data = _zip_buffer_get(buffer, 2); in _zip_buffer_get_16()
100 zip_uint8_t *data = _zip_buffer_get(buffer, 4); in _zip_buffer_get_32()
113 zip_uint8_t *data = _zip_buffer_get(buffer, 8); in _zip_buffer_get_64()
124 zip_uint8_t
127 zip_uint8_t *data = _zip_buffer_get(buffer, 1); in _zip_buffer_get_8()
145 _zip_buffer_new(zip_uint8_t *data, zip_uint64_t size) in _zip_buffer_new()
151 if ((data = (zip_uint8_t *)malloc(size)) == NULL) { in _zip_buffer_new()
174 _zip_buffer_new_from_source(zip_source_t *src, zip_uint64_t size, zip_uint8_t *buf, zip_error_t *er… in _zip_buffer_new_from_source()
209 zip_uint8_t *dst = _zip_buffer_get(buffer, length); in _zip_buffer_put()
223 zip_uint8_t *data = _zip_buffer_get(buffer, 2); in _zip_buffer_put_16()
229 data[0] = (zip_uint8_t)(i & 0xff); in _zip_buffer_put_16()
230 data[1] = (zip_uint8_t)((i >> 8) & 0xff); in _zip_buffer_put_16()
239 zip_uint8_t *data = _zip_buffer_get(buffer, 4); in _zip_buffer_put_32()
245 data[0] = (zip_uint8_t)(i & 0xff); in _zip_buffer_put_32()
246 data[1] = (zip_uint8_t)((i >> 8) & 0xff); in _zip_buffer_put_32()
247 data[2] = (zip_uint8_t)((i >> 16) & 0xff); in _zip_buffer_put_32()
248 data[3] = (zip_uint8_t)((i >> 24) & 0xff); in _zip_buffer_put_32()
257 zip_uint8_t *data = _zip_buffer_get(buffer, 8); in _zip_buffer_put_64()
263 data[0] = (zip_uint8_t)(i & 0xff); in _zip_buffer_put_64()
264 data[1] = (zip_uint8_t)((i >> 8) & 0xff); in _zip_buffer_put_64()
265 data[2] = (zip_uint8_t)((i >> 16) & 0xff); in _zip_buffer_put_64()
266 data[3] = (zip_uint8_t)((i >> 24) & 0xff); in _zip_buffer_put_64()
267 data[4] = (zip_uint8_t)((i >> 32) & 0xff); in _zip_buffer_put_64()
268 data[5] = (zip_uint8_t)((i >> 40) & 0xff); in _zip_buffer_put_64()
269 data[6] = (zip_uint8_t)((i >> 48) & 0xff); in _zip_buffer_put_64()
270 data[7] = (zip_uint8_t)((i >> 56) & 0xff); in _zip_buffer_put_64()
277 _zip_buffer_put_8(zip_buffer_t *buffer, zip_uint8_t i) in _zip_buffer_put_8()
279 zip_uint8_t *data = _zip_buffer_get(buffer, 1); in _zip_buffer_put_8()