Searched refs:fragment_size (Results 1 – 1 of 1) sorted by relevance
44 zip_uint64_t fragment_size; /* size of each fragment */ member64 static buffer_t *buffer_new(zip_uint64_t fragment_size);66 static buffer_t *buffer_new_write(zip_uint64_t fragment_size);260 buffer_new(zip_uint64_t fragment_size) in buffer_new() argument268 buffer->fragment_size = fragment_size; in buffer_new()308 buffer_new_write(zip_uint64_t fragment_size) in buffer_new_write() argument312 if ((buffer = buffer_new(fragment_size)) == NULL) { in buffer_new_write()342 i = buffer->offset / buffer->fragment_size; in buffer_read()343 fragment_offset = buffer->offset % buffer->fragment_size; in buffer_read()387 …t needed_fragments = (buffer->offset + length + buffer->fragment_size - 1) / buffer->fragment_size; in buffer_write()[all …]
Completed in 6 milliseconds