Home
last modified time | relevance | path

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

/PHP-7.0/ext/mbstring/libmbfl/mbfl/
H A Dmbfl_memory_device.c47 mbfl_memory_device_init(mbfl_memory_device *device, int initsz, int allocsz) in mbfl_memory_device_init() argument
52 if (initsz > 0) { in mbfl_memory_device_init()
53 device->buffer = (unsigned char *)mbfl_malloc(initsz*sizeof(unsigned char)); in mbfl_memory_device_init()
55 device->length = initsz; in mbfl_memory_device_init()
68 mbfl_memory_device_realloc(mbfl_memory_device *device, int initsz, int allocsz) in mbfl_memory_device_realloc() argument
73 if (initsz > device->length) { in mbfl_memory_device_realloc()
74 tmp = (unsigned char *)mbfl_realloc((void *)device->buffer, initsz*sizeof(unsigned char)); in mbfl_memory_device_realloc()
77 device->length = initsz; in mbfl_memory_device_realloc()
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 7 milliseconds