Searched refs:initsz (Results 1 – 2 of 2) sorted by relevance
40 void mbfl_memory_device_init(mbfl_memory_device *device, size_t initsz, size_t allocsz) in mbfl_memory_device_init() argument42 device->buffer = (initsz > 0) ? emalloc(initsz) : NULL; in mbfl_memory_device_init()43 device->length = initsz; in mbfl_memory_device_init()48 void mbfl_memory_device_realloc(mbfl_memory_device *device, size_t initsz, size_t allocsz) in mbfl_memory_device_realloc() argument50 if (initsz > device->length) { in mbfl_memory_device_realloc()51 device->buffer = erealloc(device->buffer, initsz); in mbfl_memory_device_realloc()52 device->length = initsz; in mbfl_memory_device_realloc()
54 mbfl_memory_device *device, size_t initsz, size_t allocsz);56 mbfl_memory_device *device, size_t initsz, size_t allocsz);
Completed in 5 milliseconds