Lines Matching refs:buffer_t
54 typedef struct buffer buffer_t; typedef
59 buffer_t *in;
60 buffer_t *out;
63 static void buffer_free(buffer_t *buffer);
64 static buffer_t *buffer_new(zip_uint64_t fragment_size);
65 static buffer_t *buffer_new_read(const void *data, zip_uint64_t length, int free_data);
66 static buffer_t *buffer_new_write(zip_uint64_t fragment_size);
67 static zip_int64_t buffer_read(buffer_t *buffer, zip_uint8_t *data, zip_uint64_t length);
68 static int buffer_seek(buffer_t *buffer, void *data, zip_uint64_t len, zip_error_t *error);
69 static zip_int64_t buffer_write(buffer_t *buffer, const zip_uint8_t *data, zip_uint64_t length, zip…
164 buffer_t *empty = buffer_new_read(NULL, 0, 0); in read_data()
241 buffer_free(buffer_t *buffer) in buffer_free()
259 static buffer_t *
262 buffer_t *buffer; in buffer_new()
280 static buffer_t *
283 buffer_t *buffer; in buffer_new_read()
307 static buffer_t *
310 buffer_t *buffer; in buffer_new_write()
329 buffer_read(buffer_t *buffer, zip_uint8_t *data, zip_uint64_t length) in buffer_read()
361 buffer_seek(buffer_t *buffer, void *data, zip_uint64_t len, zip_error_t *error) in buffer_seek()
375 buffer_write(buffer_t *buffer, const zip_uint8_t *data, zip_uint64_t length, zip_error_t *error) in buffer_write()