Searched refs:initsz (Results 1 – 2 of 2) sorted by relevance
41 mbfl_memory_device_init(mbfl_memory_device *device, size_t initsz, size_t allocsz) in mbfl_memory_device_init() argument46 if (initsz > 0) { in mbfl_memory_device_init()47 device->buffer = emalloc(initsz); in mbfl_memory_device_init()48 device->length = initsz; in mbfl_memory_device_init()60 mbfl_memory_device_realloc(mbfl_memory_device *device, size_t initsz, size_t allocsz) in mbfl_memory_device_realloc() argument63 if (initsz > device->length) { in mbfl_memory_device_realloc()64 device->buffer = erealloc(device->buffer, initsz); in mbfl_memory_device_realloc()65 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 7 milliseconds