Searched refs:buffer_allocated (Results 1 – 4 of 4) sorted by relevance
/systemd-251/src/import/ |
D | import-compress.c | 247 static int enlarge_buffer(void **buffer, size_t *buffer_size, size_t *buffer_allocated) { in enlarge_buffer() argument 251 if (*buffer_allocated > *buffer_size) in enlarge_buffer() 260 *buffer_allocated = l; in enlarge_buffer() 265 … *c, const void *data, size_t size, void **buffer, size_t *buffer_size, size_t *buffer_allocated) { in import_compress() argument 271 assert(buffer_allocated); in import_compress() 293 r = enlarge_buffer(buffer, buffer_size, buffer_allocated); in import_compress() 298 c->xz.avail_out = *buffer_allocated - *buffer_size; in import_compress() 304 *buffer_size += (*buffer_allocated - *buffer_size) - c->xz.avail_out; in import_compress() 315 r = enlarge_buffer(buffer, buffer_size, buffer_allocated); in import_compress() 320 c->gzip.avail_out = *buffer_allocated - *buffer_size; in import_compress() [all …]
|
D | import-compress.h | 44 …s *c, const void *data, size_t size, void **buffer, size_t *buffer_size, size_t *buffer_allocated); 45 …t_compress_finish(ImportCompress *c, void **buffer, size_t *buffer_size, size_t *buffer_allocated);
|
D | export-raw.c | 46 size_t buffer_allocated; member 194 … r = import_compress_finish(&e->compress, &e->buffer, &e->buffer_size, &e->buffer_allocated); in raw_export_process() 197 … r = import_compress(&e->compress, input, l, &e->buffer, &e->buffer_size, &e->buffer_allocated); in raw_export_process()
|
D | export-tar.c | 36 size_t buffer_allocated; member 203 … r = import_compress_finish(&e->compress, &e->buffer, &e->buffer_size, &e->buffer_allocated); in tar_export_process() 206 … r = import_compress(&e->compress, input, l, &e->buffer, &e->buffer_size, &e->buffer_allocated); in tar_export_process()
|