Searched refs:initsz (Results 1 - 2 of 2) sorted by relevance

/PHP_5_3/ext/mbstring/libmbfl/mbfl/
H A Dmbfl_memory_device.c47 mbfl_memory_device_init(mbfl_memory_device *device, int initsz, int allocsz) argument
52 if (initsz > 0) {
53 device->buffer = (unsigned char *)mbfl_malloc(initsz*sizeof(unsigned char));
55 device->length = initsz;
68 mbfl_memory_device_realloc(mbfl_memory_device *device, int initsz, int allocsz) argument
73 if (initsz > device->length) {
74 tmp = (unsigned char *)mbfl_realloc((void *)device->buffer, initsz*sizeof(unsigned char));
77 device->length = initsz;
H A Dmbfl_memory_device.h53 MBFLAPI extern void mbfl_memory_device_init(mbfl_memory_device *device, int initsz, int allocsz);
54 MBFLAPI extern void mbfl_memory_device_realloc(mbfl_memory_device *device, int initsz, int allocsz);

Completed in 4 milliseconds