Searched defs:initsz (Results 1 - 1 of 1) 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;

Completed in 3 milliseconds