Home
last modified time | relevance | path

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

/PHP-7.1/ext/zip/lib/
H A Dzip_source_buffer.c44 zip_uint64_t fragment_size; /* size of each fragment */ member
64 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() argument
268 buffer->fragment_size = fragment_size; in buffer_new()
308 buffer_new_write(zip_uint64_t fragment_size) in buffer_new_write() argument
312 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 5 milliseconds